/* =========================================================
   Shree Krishna Realty — styles (mobile first)
   ========================================================= */

:root {
  --navy: #1B2A3A;
  --navy-deep: #131F2B;
  --gold: #C9A54C;
  --gold-dark: #A9873A;
  --gold-soft: #F3EBD6;
  --brown: #4A2E25;
  --bg: #FAF7F2;
  --white: #FFFFFF;
  --text: #2A2A2A;
  --muted: #5E6670;
  --line: #E8E1D3;
  --wa: #25D366;        /* WhatsApp brand green (icon-only float button) */
  --wa-text: #15803D;   /* darker green: white text passes WCAG AA contrast */
  --wa-text-dark: #116632;
  --focus: var(--navy);
  --error: #B3261E;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(27, 42, 58, 0.08);
  --shadow-lg: 0 16px 40px rgba(27, 42, 58, 0.14);
  --header-h: 68px;
  --mobile-bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: var(--mobile-bar-h);
}

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.ico { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.gold { color: var(--gold); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero, .section-dark, .site-footer, .mobile-bar, .call-pop { --focus: var(--gold); }
.btn:focus-visible { border-radius: 999px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 .98rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #D4B260; }
.btn-wa { background: var(--wa-text); color: #fff; }
.btn-wa:hover { background: var(--wa-text-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(27,42,58,.08); border-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-logo { height: 48px; width: auto; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.08rem; line-height: 1.15;
  color: var(--navy); white-space: nowrap;
}
.brand-name small {
  display: block;
  font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brown);
}

.header-cta { display: none; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px;
  background: none; border: 0; cursor: pointer; border-radius: 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 8px 20px 24px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.main-nav.open { opacity: 1; transform: none; visibility: visible; }
.main-nav a:not(.btn) {
  display: block;
  padding: 14px 4px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-cta-mobile { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  color: #fff;
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero-bg, .hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: -2;
}
.hero-bg::after {
  /* dark navy overlay keeps text readable over the photo */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19,31,43,.82) 0%, rgba(19,31,43,.78) 55%, rgba(19,31,43,.92) 100%);
}
.hero-inner { position: relative; }
.hero::after {
  /* subtle gold skyline line */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 34rem; margin-bottom: 28px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem; font-weight: 600;
  text-decoration: none;
}
.badge-rating { background: var(--gold); color: var(--navy-deep); transition: transform .2s ease; }
.badge-rating:hover { transform: translateY(-1px); }

.hero-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; gap: 4px; padding-top: 20px; padding-bottom: 20px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.trust-item p { margin: 0; font-weight: 600; color: var(--navy); }
.trust-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold-soft); color: var(--brown);
  flex-shrink: 0;
}
.trust-icon .ico { width: 22px; height: 22px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #F3EEE5; }
.section-dark { background: var(--navy); color: rgba(255,255,255,.88); }
.section-dark h2 { color: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,.8); }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--gold); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(232,225,211,.7);
}

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 18px; }
.service-card {
  padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-card p { color: var(--muted); flex-grow: 1; }
.service-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--navy); color: var(--gold);
  margin-bottom: 18px;
}
.service-icon .ico { width: 26px; height: 26px; }
.enquire {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  font-weight: 600; color: var(--brown);
  text-decoration: none;
  align-self: flex-start;
}
.enquire .ico { transition: transform .2s ease; }
.enquire:hover { color: var(--navy); text-decoration: underline; }
.enquire:hover .ico { transform: translateX(4px); }

/* ---------- Projects ---------- */
.projects-grid { display: grid; gap: 22px; }
.project-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project-img.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    repeating-linear-gradient(135deg, rgba(201,165,76,.08) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--navy), var(--brown));
  color: var(--gold);
  font-size: .9rem; letter-spacing: .05em;
}
.project-img.placeholder .ico { width: 56px; height: 56px; opacity: .85; }
.project-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.project-tag {
  align-self: flex-start;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brown); background: var(--gold-soft);
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.project-body h3 { font-size: 1.4rem; margin-bottom: 4px; }
.project-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 16px; }
.project-loc .ico { color: var(--gold-dark); }
.project-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 0 0 20px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.project-meta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.project-meta dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }
.project-body .btn { margin-top: auto; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: 40px; align-items: center; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list h3 { margin-bottom: 4px; font-size: 1.15rem; }
.why-list p { margin: 0; color: var(--muted); }
.why-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-soft); color: var(--brown);
  flex-shrink: 0;
}
.why-photo { margin: 0; }
.why-photo img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- Reviews ---------- */
.rating-summary { font-size: 1.15rem !important; color: #fff !important; }
.rating-summary strong { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 2px; }

.review {
  margin: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.review:hover { transform: translateY(-3px); border-color: rgba(201,165,76,.6); background: rgba(255,255,255,.08); }
.review blockquote { margin: 0; color: rgba(255,255,255,.92); flex-grow: 1; }

.review-featured {
  background: var(--white);
  border-color: var(--gold);
  margin-bottom: 22px;
  padding: 30px 26px;
}
.review-featured:hover { background: var(--white); }
.review-featured blockquote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
  line-height: 1.55;
  color: var(--navy);
}
.review-featured .reviewer strong { color: var(--navy); }
.review-featured .reviewer small { color: var(--muted); }

.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer strong { display: block; color: #fff; }
.reviewer small { display: block; color: rgba(255,255,255,.65); font-size: .82rem; }
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep);
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}

/* horizontal swipe on mobile */
.reviews-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  margin: 0 -20px;
  padding-left: 20px; padding-right: 20px;
  scroll-padding-left: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,165,76,.6) transparent;
}
.reviews-scroller .review { scroll-snap-align: start; }

.reviews-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-photo { position: relative; }
.about-photo::before {
  content: "";
  position: absolute; inset: 16px -10px -10px 16px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}
.about-photo img {
  position: relative; z-index: 1;
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-text p { color: var(--muted); font-size: 1.05rem; }
.about-text p strong { color: var(--navy); }
.about-sign {
  font-family: var(--serif); font-size: 1.3rem; color: var(--brown) !important;
  margin: 24px 0 24px !important;
}
.about-sign span { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 28px; }
.form-card { padding: 26px 22px; }

.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.req { color: var(--error); }
.field input, .field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: 400 1rem var(--sans); /* 16px+ prevents iOS zoom */
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231B2A3A' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,165,76,.25);
}
.field.invalid input { border-color: var(--error); }
.field.invalid input:focus { box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.error { color: var(--error); font-size: .88rem; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }

.phone-wrap { display: flex; }
.phone-prefix {
  display: grid; place-items: center;
  padding: 0 12px;
  background: #F3EEE5;
  border: 1.5px solid var(--line); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-weight: 600; color: var(--navy);
}
.phone-wrap input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.field-row { display: grid; gap: 0 14px; }

.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin: 10px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

.form-thanks { text-align: center; padding: 40px 10px; }
.form-thanks .thanks-icon {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-soft); color: var(--brown);
  margin-bottom: 16px;
}
.form-thanks .thanks-icon .ico { width: 30px; height: 30px; }
.form-thanks h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-thanks p { color: var(--muted); margin: 0; }

.contact-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--navy); font-size: .92rem; }
.contact-list address { font-style: normal; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a { display: inline-block; padding: 10px 0; margin: -6px 0; }
.contact-list a:hover { color: var(--brown); text-decoration: underline; }
.ci-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  flex-shrink: 0;
}
.ci-icon .ico { width: 20px; height: 20px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  aspect-ratio: 4 / 3;
  background: #E9E4DA;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 56px 0 0; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo {
  height: 56px; width: auto;
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.site-footer h4 {
  font-family: var(--serif); color: var(--gold);
  font-size: 1.1rem; font-weight: 600; margin: 0 0 12px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px; padding-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .88rem;
  display: flex; flex-direction: column; gap: 4px;
}
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(var(--mobile-bar-h) + 16px);
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  outline-color: var(--navy);
  box-shadow: 0 8px 22px rgba(37,211,102,.4);
  transition: transform .2s ease;
}
.wa-float .ico { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--wa);
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr;
  height: var(--mobile-bar-h);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 18px rgba(0,0,0,.12);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1.02rem; line-height: 1.15;
  text-decoration: none;
}
.mobile-bar a:focus-visible { outline-offset: -4px; }
.mobile-bar small { display: block; font-weight: 500; font-size: .8rem; opacity: .9; }
.mb-call { background: var(--navy); color: #fff; }
.mb-wa { background: var(--wa-text); color: #fff; }

/* ---------- Desktop call popup ---------- */
.call-pop {
  position: fixed;
  z-index: 150;
  width: 260px;
  padding: 18px 18px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201,165,76,.4);
  text-align: center;
  animation: pop-in .18s ease-out;
}
.call-pop[hidden] { display: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.call-pop-title { margin: 0; font-size: .85rem; color: rgba(255,255,255,.75); }
.call-pop-number {
  margin: 4px 0 14px;
  font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--gold);
  user-select: all;
}
.call-pop-msg { margin: 8px 0 0; font-size: .85rem; color: rgba(255,255,255,.85); }
.call-pop-msg:empty { display: none; }
.call-pop-close {
  position: absolute; top: 4px; right: 4px;
  width: 36px; height: 36px;
  background: none; border: 0; border-radius: 50%;
  color: rgba(255,255,255,.7); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.call-pop-close:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Fade-in on scroll ---------- */
.js .fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .fade-in { opacity: 1; transform: none; }
}

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .reviews-actions { flex-direction: row; justify-content: center; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-scroller { grid-auto-columns: 46%; }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .hero { padding: 96px 0 110px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
  .trust-item { justify-content: center; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .form-card { padding: 34px 32px; }
}

@media (min-width: 960px) {
  :root { --header-h: 80px; }
  body { padding-bottom: 0; }

  .brand-logo { height: 58px; }
  .brand-name { font-size: 1.2rem; }
  .nav-toggle, .nav-cta-mobile, .mobile-bar { display: none; }
  .header-cta { display: inline-flex; }

  .main-nav {
    position: static;
    flex-direction: row;
    gap: 6px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-left: auto;
  }
  .main-nav a:not(.btn) {
    border: 0;
    padding: 10px 14px;
    font-size: .98rem;
    position: relative;
  }
  .main-nav a:not(.btn)::after {
    content: "";
    position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .25s ease;
  }
  .main-nav a:not(.btn):hover::after { transform: scaleX(1); }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }

  .reviews-scroller {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
    margin: 0; padding: 0;
  }
  .review-featured { padding: 44px 48px; }

  .wa-float { bottom: 28px; right: 28px; width: 62px; height: 62px; }
}
