:root {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface-2: #f2f2ef;
  --text: #111111;
  --text-soft: #5d5d5d;
  --line: #e7e7e2;
  --black: #000000;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --container: 1440px;
  --transition: all 0.35s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

input,
textarea,
button,
select {
  font-family: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-sm {
  padding: 80px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 780px;
}

.section-desc {
  max-width: 600px;
  color: var(--text-soft);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-light {
  background: var(--white);
  color: var(--text);
  border-color: var(--line);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--white);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.site-header.scrolled {
  background: var(--white);
  border-bottom-color: var(--line);
}

.site-header .logo,
.site-header .logo span,
.site-header .nav-link {
  color: var(--text);
}

.site-header.scrolled .logo,
.site-header.scrolled .logo span,
.site-header.scrolled .nav-link {
  color: var(--text);
}

.site-header .nav-link::after {
  background: var(--text);
}

.site-header.scrolled .nav-link::after {
  background: var(--text);
}

/* Home page header styling */
body.home .site-header {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-bottom-color: transparent;
  box-shadow: none;
}

body.home .site-header .logo,
body.home .site-header .logo span,
body.home .site-header .nav-link {
  color: #ffffff;
}

body.home .site-header .nav-link::after {
  background: #ffffff;
}

body.home .site-header.scrolled {
  background: var(--white);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-soft);
}

body.home .site-header.scrolled .logo,
body.home .site-header.scrolled .logo span,
body.home .site-header.scrolled .nav-link {
  color: var(--text);
}

body.home .site-header.scrolled .nav-link::after {
  background: var(--text);
}

.header-inner {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  min-height: 86px;
  gap: 20px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.logo span {
  font-weight: 500;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1.5px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  justify-content: flex-end;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  min-width: 220px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-soft);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--surface);
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  padding: 0;
}

.hero-card {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 100vh;
  height: 100vh;
  border-radius: 0;
  overflow: hidden;
  background: #ddd;
  box-shadow: none;
}

.hero-card img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.14)),
    linear-gradient(to right, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.10));
  z-index: 1;
}

.hero-content {
  position: absolute;
  left: 70px;
  right: 70px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: white;
  z-index: 2;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
}

.hero-title {
  max-width: 850px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.stat-box {
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.stat-box h3 {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}

.stat-box p {
  color: var(--text-soft);
  font-size: 14px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  display: block;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.16);
}

.project-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card-media img {
  transform: scale(1.08);
}

.project-card-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover .project-card-title {
  opacity: 1;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.14));
}

.project-card-body {
  display: none;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.08);
  margin-bottom: 14px;
}

.project-title {
  font-size: 22px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  color: #111827;
}

.project-location {
  font-size: 14px;
  color: #475569;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #111827;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.project-card:hover .project-cta {
  background: #0b1120;
  transform: translateY(-1px);
}

.offer-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f4 100%);
}

.offer-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.offer-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 44px;
  box-shadow: var(--shadow-soft);
}

.offer-content p {
  color: var(--text-soft);
  margin-top: 16px;
  max-width: 520px;
}

.offer-points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.offer-points li {
  display: flex;
  gap: 12px;
  color: var(--text);
}

.offer-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.page-hero {
  padding: 80px 0 30px;
}

.page-hero-card {
  border-radius: 28px;
  background: #ffffff;
  padding: 48px 36px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.page-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.page-hero-text {
  max-width: 680px;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 0;
}

.hero-stats .stat-item {
  min-width: 120px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat-item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-stats .stat-item span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.page-hero-grid {
  display: block;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.section-title {
  font-size: clamp(26px, 3vw, 32px);
}

.section-desc {
  color: #475569;
  font-size: 15.5px;
  line-height: 1.9;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .page-hero-grid,
  .feature-grid,
  .content-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding-top: 60px;
  }

  .page-hero-card,
  .about-card,
  .card,
  .feature-card {
    padding: 24px;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  gap: 24px;
  justify-content: center;
}

.team-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  max-width: 420px;
  margin: 0 auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
  min-height: 0;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.14);
}

..team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-card-title {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

.team-card-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  font-weight: 600;
  font-size: 13px;
}

.team-card-copy {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.team-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.14);
}

.service-card-image {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: #f8fafc;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.placeholder-icon {
  font-size: 48px;
  opacity: 0.6;
}

.service-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0;
}

.service-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 600;
  font-size: 14px;
  margin-top: 12px;
  transition: gap 0.25s ease;
}

.service-card:hover .service-card-link {
  gap: 12px;
}

/* Service Detail Page */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.service-detail-image {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.service-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-text {
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.service-detail-text p {
  margin-bottom: 16px;
}

.service-detail-text strong {
  color: #0f172a;
  font-weight: 700;
}

.service-detail-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.service-detail-cta .btn {
  flex: 1;
  min-width: 160px;
}

.service-sidebar-card {
  position: sticky;
  top: 100px;
  background: #f8fafc;
  border-radius: 28px;
  padding: 28px;
}

.service-sidebar-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-link {
  display: block;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 12px;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
}

.service-link:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-left-color: #2563eb;
}

.service-link.active {
  background: #dbeafe;
  color: #1e40af;
  border-left-color: #2563eb;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.blog-info {
  padding: 24px;
}

.blog-meta {
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.blog-info h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.blog-info p {
  color: var(--text-soft);
}

/* Blog Detail Page */
.blog-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.blog-detail-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-detail-image {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.blog-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-detail-text {
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
  word-break: break-word;
}

.blog-detail-text p {
  margin-bottom: 16px;
}

.blog-detail-text strong {
  color: #0f172a;
  font-weight: 700;
}

.blog-detail-text h2,
.blog-detail-text h3 {
  color: #0f172a;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 12px;
}

.blog-detail-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.blog-detail-sidebar {
  position: sticky;
  top: 100px;
}

.blog-sidebar-card {
  background: #f8fafc;
  border-radius: 28px;
  padding: 28px;
}

.blog-sidebar-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.related-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-post-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  cursor: pointer;
}

.related-post-item:hover {
  background: #e5f0ff;
  transform: translateX(4px);
}

.related-post-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-post-content h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
}

.related-post-date {
  font-size: 12px;
  color: #94a3b8;
}

.blog-meta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.meta-date {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-box h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list li {
  color: var(--text-soft);
}

.map-box iframe {
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 28px;
}

.site-footer {
  padding: 80px 0 30px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 32px;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: var(--text-soft);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1400px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .projects-grid,
  .services-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid,
  .footer-top,
  .offer-wrap,
  .contact-grid,
  .content-grid-2 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    color: #ffffff;
  }

  .site-header.scrolled .menu-toggle {
    color: var(--text);
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-content {
    left: 24px;
    right: 24px;
    bottom: 24px;
    gap: 18px;
  }

  .hero-card,
  .hero-card img {
    min-height: 100vh;
    height: 100vh;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 52px);
    line-height: 1;
  }

  .hero-text {
    font-size: 14px;
    max-width: 100%;
  }

  .projects-grid,
  .services-grid,
  .blog-grid,
  .team-grid,
  .form-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .page-hero-card,
  .offer-content,
  .offer-form,
  .contact-box,
  .card {
    padding: 24px;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-card img {
    min-height: 280px;
  }

  .team-card {
    padding: 20px;
  }

  .team-card h3 {
    font-size: 18px;
  }

  .team-card p {
    font-size: 14px;
  }

  /* Services responsive */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-sidebar-card {
    position: static;
  }

  .service-detail-cta {
    flex-direction: column;
  }

  .service-detail-cta .btn {
    width: 100%;
  }

  /* Blog Detail Responsive */
  .blog-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-detail-sidebar {
    position: static;
  }
}
