/*
Theme Name: Arvind Constructions Theme
Theme URI: https://arvinddesigns.com
Author: Arvind Team
Description: Custom WordPress theme for Arvind Design and Construction — client landing design.
Version: 2.0.0
Text Domain: arvind-theme
*/

:root {
  --navy: #0b1c2c;
  --navy-deep: #07131e;
  --gold: #d4a017;
  --gold-bright: #e8b923;
  --orange: #e07b1a;
  --cream: #f5f1ea;
  --cream-card: #faf7f2;
  --olive: #3f4a35;
  --olive-deep: #323b2b;
  --text: #1a1a1a;
  --text-muted: #5c6570;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f7f4ef;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--orange));
  color: var(--white) !important;
  box-shadow: 0 6px 18px rgba(212, 160, 23, 0.35);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(212, 160, 23, 0.45);
}

.btn-outline-dark {
  border: 1.5px solid var(--navy);
  color: var(--navy) !important;
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.btn-outline-gold {
  border: 1.5px solid var(--gold);
  color: var(--navy) !important;
  background: var(--white);
}

.btn-outline-gold:hover {
  background: rgba(212, 160, 23, 0.1);
  color: var(--navy) !important;
}

.btn-arrow {
  font-size: 1.05em;
  line-height: 1;
}

.wa-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-icon .icon-whatsapp {
  width: 20px;
  height: 20px;
  display: block;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: var(--white) !important;
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--olive-deep) !important;
}

/* Image placeholders */
.image-slot {
  overflow: hidden;
  background: rgba(11, 28, 44, 0.06);
  border: 1px dashed rgba(11, 28, 44, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.image-placeholder-light {
  color: rgba(255, 255, 255, 0.75);
}

.image-slot-sm {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: none;
  background: rgba(212, 160, 23, 0.12);
}

.icon-fallback {
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--navy);
  position: relative;
  z-index: 1000;
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(12px, 1.5vw, 20px);
  width: min(var(--max), 92%);
  min-height: 82px;
  padding: 28px 0 14px;
  margin: 0 auto;
  position: relative;
}

.branding {
  grid-column: 1;
  justify-self: start;
  align-self: center;
  flex-shrink: 0;
}

.custom-logo-link {
  display: inline-flex;
}

.custom-logo {
  max-height: var(--logo-height, 56px);
  width: auto;
}

.branding-text {
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-nav {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

.top-nav ul,
.top-nav .menu-center {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: auto;
  gap: clamp(18px, 2.2vw, 28px);
}

.top-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.top-nav a:hover,
.top-nav .current-menu-item a,
.top-nav .current_page_item a {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.header-right {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 4px;
  min-height: 36px;
}

.header-right-top {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  white-space: nowrap;
}

.header-meta-mobile {
  display: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
}

.header-phone .footer-contact-svg {
  width: 13px;
  height: 13px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.header-phone:hover {
  color: var(--gold-bright);
}

.header-right-top .header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-right-top .header-social a {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.header-right-top .header-social a:hover {
  color: var(--gold);
  transform: none;
  opacity: 0.9;
}

.header-right-top .header-social .icon {
  width: 14px;
  height: 14px;
  display: block;
}

.header-cta-desktop.btn {
  padding: 9px 20px;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.05em;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(212, 160, 23, 0.28);
  gap: 6px;
}

.header-cta-desktop.btn .btn-arrow {
  font-size: 12px;
}

.header-cta-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle-bar {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-menu-overlay,
.mobile-nav-header,
.menu-close {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

/* ========== HERO ========== */
.section-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #f7f4ef;
  padding: 72px 0 140px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-hero.has-hero-image .hero-bg {
  left: 38%;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.section-hero.has-hero-image .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f7f4ef 0%,
    rgba(247, 244, 239, 0.92) 12%,
    rgba(247, 244, 239, 0.55) 28%,
    rgba(247, 244, 239, 0.18) 48%,
    transparent 68%
  );
}

.section-hero.no-hero-image .hero-bg {
  background: linear-gradient(90deg, #f7f4ef 0%, #ebe6dc 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: clamp(12px, 3vw, 36px);
}

.hero-copy {
  max-width: 540px;
  position: relative;
  z-index: 2;
  margin-left: clamp(8px, 2vw, 28px);
}

.hero-image-hint {
  position: absolute;
  right: 4%;
  top: 40%;
  transform: translateY(-50%);
  max-width: 220px;
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px dashed rgba(11, 28, 44, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(42px, 5.8vw, 68px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-title-plain {
  display: block;
  color: #1a2330;
}

.hero-title-gold {
  display: block;
  color: #d49e35;
}

.hero-text {
  margin: 0 0 24px;
  max-width: 480px;
  color: #5c6570;
  font-size: 15px;
  line-height: 1.7;
}

.hero-trust {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-right: 1px solid rgba(26, 35, 48, 0.18);
}

.hero-trust li:first-child {
  padding-left: 0;
}

.hero-trust li:last-child {
  border-right: none;
  padding-right: 0;
}

.trust-icon {
  width: 42px;
  height: 42px;
  color: #d49e35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.trust-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a2330;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== SERVICES FLOATING CARD ========== */
.section-services {
  position: relative;
  z-index: 5;
  background: transparent;
  margin-top: -110px;
  padding: 0 0 56px;
}

.hero-services-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(11, 28, 44, 0.14);
  padding: 40px 36px 34px;
}

.services-head {
  text-align: center;
  margin-bottom: 30px;
}

.services-eyebrow {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #d49e35;
  text-transform: uppercase;
}

.services-eyebrow-line {
  width: 40px;
  height: 1.5px;
  background: #d49e35;
  flex-shrink: 0;
}

.services-heading {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a2330;
  line-height: 1.3;
}

.services-heading-gold {
  color: #d49e35;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.service-card {
  background: #f8f5ef;
  border: 1px solid rgba(26, 35, 48, 0.06);
  border-radius: 10px;
  padding: 28px 16px 24px;
  text-align: center;
}

.service-card h3 {
  margin: 16px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1a2330;
  line-height: 1.25;
}

.service-icon {
  margin: 0 auto;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d49e35;
}

.service-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.service-svg {
  display: block;
  width: 72px;
  height: 72px;
}

.service-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card p {
  margin: 0 auto;
  max-width: 180px;
  font-size: 13px;
  color: #6a7380;
  line-height: 1.55;
}

.section-title {
  margin: 0 0 34px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.section-title-center {
  text-align: center;
}

.section-title-light {
  color: var(--white);
}

/* ========== WHY ========== */
.section-why {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  align-items: stretch;
  min-height: 0;
}

.why-copy-panel {
  display: flex;
  align-items: center;
  padding: 48px 28px 48px 40px;
  position: relative;
  z-index: 2;
}

.why-copy-inner {
  width: 100%;
  max-width: none;
}

.why-title {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
}

.why-title-gold {
  color: var(--gold);
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.why-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.why-icon-wrap {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.why-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.why-list h3 {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.why-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  line-height: 1.5;
}

.why-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
  z-index: 1;
}

.why-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ========== PROCESS ========== */
.section-process {
  background: var(--cream);
  padding: 70px 0;
}

.process-title {
  margin: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olive);
}

.process-title-line {
  width: 56px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding-top: 4px;
}

.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(50% + 40px);
  width: calc(100% - 40px);
  height: 1px;
  background: #d8d0c4;
  z-index: 0;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 33px;
  right: -8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  z-index: 1;
}

.process-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.process-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.process-num {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  line-height: 1;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.process-step p {
  margin: 0 auto;
  max-width: 180px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== PROJECTS ========== */
.section-projects {
  background: #faf7f2;
  padding: 10px 0 80px;
}

.projects-title {
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  column-gap: 18px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.projects-title-text {
  grid-column: 2;
  text-align: center;
  line-height: 1.15;
}

.projects-title-line {
  width: 56px;
  height: 1.5px;
  background: var(--gold);
}

.projects-title-line:first-child {
  grid-column: 1;
  justify-self: end;
}

.projects-title-line:last-child {
  grid-column: 3;
  justify-self: start;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project-card {
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(11, 28, 44, 0.08);
  box-shadow: 0 6px 18px rgba(11, 28, 44, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.project-media {
  aspect-ratio: 4 / 3;
  min-height: 0;
  border: none;
  border-radius: 0;
  background: #e6dfd4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-meta {
  padding: 14px 12px 16px;
  text-align: center;
  background: #f7f3ec;
}

.project-type {
  display: block;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.project-name {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== FINAL CTA ========== */
.section-cta {
  background: var(--olive);
  padding: 36px 0;
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
}

.cta-title .hero-title-gold {
  display: block;
  margin-top: 2px;
}

.cta-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  max-width: 480px;
}

.cta-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.cta-actions .btn {
  padding: 11px 18px;
  font-size: 12px;
}

.cta-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

.cta-media img {
  width: auto;
  max-width: min(320px, 38vw);
  max-height: 220px;
  height: auto;
  object-fit: contain;
  display: block;
}

.cta-media-placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr;
  gap: 22px;
  padding-bottom: 24px;
}

.footer-brand {
  margin-bottom: 4px;
}

.footer-brand-name {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-brand .custom-logo-link {
  display: inline-flex;
  margin-bottom: 10px;
}

.footer-brand .custom-logo {
  max-height: var(--footer-logo-height, 76px);
  width: auto;
  height: auto;
}

.footer-about {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--orange));
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.footer-social .icon {
  width: 12px;
  height: 12px;
  display: block;
}

.footer-col-title {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li,
.footer-contact-list li + li {
  margin-top: 6px;
}

.footer-links a,
.footer-contact-list a,
.footer-contact-list span {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.45;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-top: 1px;
}

.footer-contact-svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0 16px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy,
.footer-tagline {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-tagline {
  color: var(--gold);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 18px;
  }

  .process-step:not(:last-child)::before,
  .process-step:not(:last-child)::after {
    display: none;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-title {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    column-gap: 12px;
    font-size: clamp(18px, 4.8vw, 24px);
    margin-bottom: 28px;
  }

  .projects-title-line {
    width: 36px;
  }

  .header-bar {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 10px;
  }

  .top-nav ul,
  .top-nav .menu-center {
    gap: 16px;
  }

  .top-nav a {
    font-size: 14px;
  }

  .header-cta-desktop.btn {
    padding: 8px 16px;
    font-size: 10px;
  }
}

@media (max-width: 960px) {
  .header-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    padding: 8px 0;
    gap: 16px;
  }

  .branding {
    grid-column: unset;
    flex: 1;
    min-width: 0;
    align-self: center;
  }

  .custom-logo {
    max-height: min(var(--logo-height, 56px), 48px);
  }

  .top-nav {
    grid-column: unset;
    justify-self: unset;
    align-self: unset;
  }

  .header-right {
    grid-column: unset;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    padding: 0;
    gap: 0;
    flex-shrink: 0;
  }

  .header-right-top,
  .header-cta-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
  }

  body.menu-open .menu-toggle {
    display: none;
  }

  .header-cta-mobile {
    display: block;
    flex-shrink: 0;
    margin-top: 8px;
    padding: 16px 20px 24px;
    border-top: 1px solid #ececec;
  }

  .header-cta-mobile .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 12px;
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-header,
  .mobile-nav-title {
    display: none;
  }

  .mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .menu-close {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
    padding: 0;
    margin: 0 -6px 0 0;
    flex-shrink: 0;
  }

  .header-meta.header-meta-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 12px;
    margin: 0;
    padding: 12px 20px 16px;
    border-bottom: 1px solid #ececec;
    flex-shrink: 0;
  }

  .header-meta-mobile .header-phone {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    width: auto;
    flex: 1;
    min-width: 0;
    padding: 0;
    white-space: nowrap;
  }

  .header-meta-mobile .header-phone .footer-contact-svg {
    display: block;
    flex-shrink: 0;
    color: var(--gold);
    width: 16px;
    height: 16px;
  }

  .header-meta-mobile .header-social {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .header-meta-mobile .header-social a {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--gold);
  }

  .header-meta-mobile .header-social .icon {
    width: 20px;
    height: 20px;
  }

  .top-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 999;
    padding: 0;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
  }

  .top-nav.is-open {
    transform: translateX(0);
  }

  .top-nav ul,
  .top-nav .menu-center {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    width: 100%;
  }

  .top-nav li {
    border-bottom: 1px solid #ececec;
    padding: 0 20px;
  }

  .top-nav li:last-child {
    border-bottom: none;
  }

  .top-nav a {
    display: block;
    padding: 16px 0;
    color: var(--navy);
    white-space: normal;
    font-size: 16px;
    font-weight: 600;
    border-bottom: none;
  }

  .top-nav a:hover,
  .top-nav .current-menu-item a,
  .top-nav .current_page_item a {
    color: var(--gold);
    border-bottom: none;
  }

  .top-nav .current-menu-item a,
  .top-nav .current_page_item a {
    font-weight: 700;
    color: var(--gold);
  }

  .why-layout {
    grid-template-columns: 1fr;
  }

  .why-copy-panel {
    padding: 40px 24px 28px;
  }

  .why-copy-inner {
    max-width: 100%;
  }

  .why-media {
    min-height: 240px;
    max-height: 280px;
  }

  .cta-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-media {
    justify-content: center;
    order: 2;
  }

  .cta-media img {
    max-width: 260px;
    max-height: 180px;
  }

  .section-hero {
    min-height: auto;
    padding: 32px 0 80px;
  }

  .section-hero .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-layout {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-copy {
    max-width: 100%;
    margin-left: 0;
    padding: 18px 16px 20px;
    background: rgba(247, 244, 239, 0.9);
    border-radius: 16px;
  }

  .hero-title {
    font-size: clamp(34px, 7vw, 52px);
    margin-bottom: 14px;
  }

  .hero-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 100%;
    color: #1a2330;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }

  .hero-trust li {
    padding: 0;
    border-right: none;
    width: 100%;
  }

  .trust-icon {
    width: 36px;
    height: 36px;
  }

  .trust-label {
    font-size: 12px;
    color: #1a2330;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 12px 16px;
    font-size: 12px;
  }

  .section-services {
    margin-top: -70px;
    padding-bottom: 40px;
  }

  .hero-services-card {
    padding: 28px 20px 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    border: 1px solid rgba(26, 35, 48, 0.06);
  }

  .section-hero.has-hero-image .hero-bg {
    left: 0;
    background-size: cover;
    background-position: center 40%;
  }

  .section-hero.has-hero-image .hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(247, 244, 239, 0.62) 0%,
      rgba(247, 244, 239, 0.42) 45%,
      rgba(247, 244, 239, 0.22) 100%
    );
  }

  .hero-image-hint {
    position: static;
    transform: none;
    max-width: 100%;
    margin-top: 20px;
  }

  .why-media {
    min-height: 200px;
    max-height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .header-bar {
    min-height: 58px;
    padding: 6px 0;
  }

  .site-header .custom-logo {
    max-height: 42px;
  }

  .site-header .menu-toggle {
    width: 40px;
    height: 40px;
    gap: 5px;
  }

  .site-header .menu-toggle-bar {
    width: 20px;
  }

  .section-hero {
    padding: 24px 0 64px;
  }

  .section-hero .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-why,
  .section-process,
  .section-cta {
    padding: 40px 0;
  }

  .section-services {
    margin-top: -45px;
  }

  .hero-title {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.02;
  }

  .hero-text {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .hero-trust {
    gap: 10px;
    margin-bottom: 18px;
  }

  .trust-icon {
    width: 32px;
    height: 32px;
  }

  .trust-label {
    font-size: 11px;
  }

  .hero-actions .btn {
    font-size: 11px;
    padding: 11px 14px;
  }

  .hero-services-card {
    padding: 24px 16px 20px;
  }

  .services-grid,
  .process-track,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .projects-title {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    column-gap: 10px;
    font-size: clamp(16px, 4.5vw, 20px);
  }

  .projects-title-line {
    width: 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
