/* =====================================================================
   EMPIRE OF GIFTS — MAIN STYLESHEET
   Colours are set as CSS variables below and are overridden at runtime
   from config.js so the whole site can be re-themed from one place.
   The page is fully styled and readable even if JavaScript never runs.
   ===================================================================== */

:root {
  --color-primary: #1B2A4A;
  --color-primary-dark: #11192E;
  --color-accent: #C9A227;
  --color-accent-light: #E4C766;
  --color-secondary-accent: #D98FB3;
  --color-plum: #4A1942;
  --color-background: #FBF8F3;
  --color-surface: #FFFFFF;
  --color-text-dark: #1F2430;
  --color-text-muted: #6B7080;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --shadow-soft: 0 10px 30px rgba(27, 42, 74, 0.08);
  --shadow-medium: 0 16px 40px rgba(27, 42, 74, 0.14);
  --radius-md: 14px;
  --radius-lg: 26px;

  --header-height: 84px;
  --section-pad: 100px;
  --gutter: 24px;

  /* Height of the sticky mobile action bar; 0 on desktop */
  --mobile-bar-height: 0px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* -------------------- RESET -------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-background);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(27, 42, 74, 0.12);
  /* keeps the last section clear of the sticky mobile bar */
  padding-bottom: calc(var(--mobile-bar-height) + var(--safe-bottom));
}

/* Prevents background scroll when the mobile menu or lightbox is open */
body.no-scroll { overflow: hidden; }

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon.light { filter: brightness(0) invert(1); }
.icon.flip { transform: rotate(180deg); }

/* -------------------- BUTTONS -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  min-height: 48px;                 /* comfortable tap target */
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  text-align: center;
}
.btn-small { padding: 11px 22px; min-height: 42px; font-size: 0.88rem; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.32);
}
@media (hover: hover) {
  .btn-primary:hover { background: var(--color-accent-light); box-shadow: 0 14px 30px rgba(201, 162, 39, 0.42); }
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
@media (hover: hover) {
  .btn-outline:hover { background: var(--color-primary); color: #fff; }
  .btn-outline:hover .icon { filter: brightness(0) invert(1); }
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
@media (hover: hover) {
  .btn-outline-light:hover { background: #fff; color: var(--color-primary); }
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
}
@media (hover: hover) {
  .btn-whatsapp:hover { background: #1ebe57; }
}

/* -------------------- HEADER -------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 243, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(27, 42, 74, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 26px rgba(27, 42, 74, 0.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-img { height: 46px; width: auto; }

.main-nav .nav-list { display: flex; gap: 30px; }

.nav-link {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--color-primary);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--color-accent);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-panel-footer { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  position: relative;
  border-radius: 12px;
}
.nav-toggle .icon { position: absolute; transition: opacity 0.2s ease, transform 0.2s ease; }
.nav-toggle .close-icon { opacity: 0; transform: rotate(-90deg); }
.nav-toggle.open .menu-icon { opacity: 0; transform: rotate(90deg); }
.nav-toggle.open .close-icon { opacity: 1; transform: rotate(0deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(17, 25, 46, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}
.nav-scrim.open { opacity: 1; visibility: visible; }

/* -------------------- HERO -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;              /* correct on iOS/Android with browser chrome */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.14); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17,25,46,0.78) 0%, rgba(17,25,46,0.5) 42%, rgba(17,25,46,0.92) 100%),
    radial-gradient(120% 90% at 15% 30%, rgba(74,25,66,0.35) 0%, rgba(74,25,66,0) 65%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 780px;
  padding-top: 48px;
  padding-bottom: 150px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.15rem, 6vw, 3.9rem);
  color: #fff;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-subtext {
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* Credential strip pinned to the base of the hero */
.hero-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(17, 25, 46, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
}
.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-block: 20px;
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 18px;
}
.strip-item:first-child { border-left: 0; padding-left: 4px; }
.strip-item strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1.2;
}
.strip-item span {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
}

/* -------------------- SECTIONS -------------------- */
section { padding-block: var(--section-pad); position: relative; }

.section-heading {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}
.section-heading.left { margin: 0 0 40px; text-align: left; max-width: 100%; }
.section-heading h2 {
  font-size: clamp(1.75rem, 4.4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-heading .eyebrow { margin-bottom: 10px; }
.section-subtext { color: var(--color-text-muted); font-size: 1.02rem; }
.section-heading.light h2 { color: #fff; }
.section-heading.light .section-subtext { color: rgba(255, 255, 255, 0.75); }

/* -------------------- ABOUT -------------------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-medium);
}
.about-badge {
  position: absolute;
  bottom: -26px;
  right: -26px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-medium);
  border: 4px solid var(--color-background);
}
.about-badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1.1;
}
.about-badge-label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }

.about-text h2 { margin-bottom: 22px; font-size: clamp(1.75rem, 4.4vw, 2.5rem); font-weight: 600; }
.about-text p { color: var(--color-text-muted); margin-bottom: 16px; }

.highlight-list { margin-top: 26px; display: grid; gap: 14px; }
.highlight-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.97rem;
}
.highlight-list li .icon-check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
}
.highlight-list li .icon-check img { width: 14px; height: 14px; filter: brightness(0) invert(1); }

/* -------------------- SERVICES -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); }
  .service-card:hover .service-card-img img { transform: scale(1.08); }
}
.service-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card-body { padding: 26px; }
.service-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card-body p { color: var(--color-text-muted); font-size: 0.95rem; }

/* -------------------- WHY US -------------------- */
.why-us { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-plum) 100%); }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}
@media (hover: hover) {
  .why-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); }
}
.why-card-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-card-mark img { width: 20px; height: 20px; }
.why-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { color: rgba(255, 255, 255, 0.75); font-size: 0.94rem; }

/* -------------------- GALLERY -------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
/* Two feature tiles give the grid rhythm instead of a flat 4x2 */
.gallery-item:nth-child(1),
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  padding: 0;
  display: block;
  width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,42,74,0) 50%, rgba(17,25,46,0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.08); }
  .gallery-item:hover::after { opacity: 1; }
}

/* -------------------- TESTIMONIALS -------------------- */
.testimonials { background: var(--color-primary-dark); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  color: #fff;
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-stars img { width: 16px; height: 16px; }
.testimonial-quote {
  color: rgba(255, 255, 255, 0.86);
  font-style: italic;
  margin-bottom: 22px;
  font-size: 0.98rem;
  border: 0;
  padding: 0;
}
.testimonial-quote::before { content: "\201C"; }
.testimonial-quote::after  { content: "\201D"; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-person strong { display: block; color: #fff; font-size: 0.95rem; }
.testimonial-person span { color: var(--color-accent); font-size: 0.82rem; }

/* -------------------- SERVICE AREAS -------------------- */
.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.areas-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
.areas-list li img { width: 18px; height: 18px; flex-shrink: 0; }
.areas-list li span { overflow-wrap: anywhere; }

/* -------------------- CONTACT -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.contact-info {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}
.contact-item .icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 3px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--color-text-muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.text-link { color: var(--color-primary); font-weight: 600; }
.text-link:hover { color: var(--color-accent); }
#availability-text { max-width: 360px; }

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.contact-buttons .btn { flex: 1 1 190px; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
  background: #e8e6e1;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* -------------------- FOOTER -------------------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255, 255, 255, 0.75); padding-top: 80px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo { height: 44px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 340px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--color-accent); transform: translateY(-3px); }
.footer-social img { width: 17px; height: 17px; filter: brightness(0) invert(1); }

.footer-links h3, .footer-contact h3 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.footer-links ul { display: grid; gap: 12px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--color-accent); }
.footer-contact p { margin-bottom: 12px; font-size: 0.92rem; overflow-wrap: anywhere; }

.footer-bottom { text-align: center; padding: 26px 0; font-size: 0.85rem; }

/* -------------------- STICKY MOBILE BAR -------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 950;
  gap: 8px;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 -6px 24px rgba(27, 42, 74, 0.12);
}
.mobile-bar-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.mobile-bar-btn.call { background: var(--color-primary); color: #fff; }
.mobile-bar-btn.whatsapp { background: #25D366; color: #fff; }
.mobile-bar-btn.quote { background: var(--color-accent); color: var(--color-primary-dark); }

/* -------------------- BACK TO TOP -------------------- */
#back-to-top {
  position: fixed;
  bottom: calc(28px + var(--mobile-bar-height) + var(--safe-bottom));
  right: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: var(--shadow-medium);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 900;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top .icon.rotate-up { transform: rotate(-90deg); filter: brightness(0) invert(1); }

/* -------------------- LIGHTBOX -------------------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(17, 25, 46, 0.94);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 72px 20px calc(72px + var(--safe-bottom));
  touch-action: pan-y;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img#lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute;
  bottom: calc(24px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* -------------------- SCROLL REVEAL --------------------
   The hidden state is only applied when JavaScript is running.
   With JS off or broken, every section stays fully visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.js .reveal.in-view { opacity: 1; transform: none; will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 1100px) {
  .about-inner { gap: 48px; }
  .areas-inner, .contact-grid { gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(6) { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 960px) {
  :root { --header-height: 72px; --section-pad: 80px; }

  /* Slide-in mobile menu */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 360px);
    background: var(--color-surface);
    box-shadow: -12px 0 40px rgba(27, 42, 74, 0.18);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-height) + 20px) 26px calc(30px + var(--safe-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.open { transform: translateX(0); }

  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid rgba(27, 42, 74, 0.08); }
  .nav-link { display: block; padding: 16px 0; font-size: 1.02rem; }
  .nav-link::after { display: none; }

  .nav-panel-footer { display: grid; gap: 14px; margin-top: 30px; }
  .nav-panel-phone {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; color: var(--color-primary); min-height: 44px;
  }
  .nav-panel-cta { width: 100%; }

  .header-phone { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; z-index: 1001; }

  .about-inner { grid-template-columns: 1fr; }
  .about-image { max-width: 520px; margin-inline: auto; }
  .areas-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 32px 24px; }
  .contact-map, .contact-map iframe { min-height: 340px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Sticky call bar on touch-sized screens */
  :root { --mobile-bar-height: 68px; }
  .mobile-bar { display: flex; }
}

@media (max-width: 760px) {
  :root { --section-pad: 68px; }

  .hero { min-height: 92svh; }
  .hero-content { padding-bottom: 190px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }

  .hero-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    padding-block: 16px;
  }
  .strip-item { padding-left: 12px; }
  .strip-item:nth-child(odd) { border-left: 0; padding-left: 2px; }
  .strip-item strong { font-size: 1.06rem; }
  .strip-item span { font-size: 0.72rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) { grid-column: span 1; grid-row: span 1; }

  .areas-list { grid-template-columns: 1fr; }
  .contact-buttons .btn { flex: 1 1 100%; }

  .lightbox { padding: 64px 12px calc(64px + var(--safe-bottom)); }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox img#lightbox-img { max-height: 70vh; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; --section-pad: 56px; }

  .logo-img { height: 36px; }
  .about-image { margin-bottom: 34px; }
  .about-badge { right: 8px; bottom: -18px; padding: 14px 18px; }
  .about-badge-number { font-size: 1.5rem; }
  .about-badge-label { font-size: 0.66rem; }
  .service-card-body { padding: 22px; }
  .why-card { padding: 26px 22px; }
  .testimonial-card { padding: 28px 22px; }
  .mobile-bar-btn { font-size: 0.82rem; gap: 5px; }
  .mobile-bar-btn .icon { width: 16px; height: 16px; }
}

/* Very small phones (iPhone SE and similar) */
@media (max-width: 360px) {
  .mobile-bar-btn.quote { font-size: 0.78rem; }
  .strip-item strong { font-size: 0.98rem; }
}

/* Short landscape phones: don't force a full-height hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-block: calc(var(--header-height) + 40px) 40px; }
  .hero-strip { position: static; }
  .hero-content { padding-bottom: 30px; }
}

@media print {
  .site-header, .mobile-bar, #back-to-top, .lightbox, .nav-scrim { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { padding-bottom: 0; }
}

/* =====================================================================
   EMAIL PICKER
   Shown when someone taps an email link, so they can choose Gmail,
   Outlook.com, Yahoo, their device's default mail app, or just copy
   the address. Without JavaScript this never appears and the links
   behave as ordinary mailto: links.
   ===================================================================== */
.email-picker {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 25, 46, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.email-picker.open { opacity: 1; visibility: visible; }

.email-picker-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 34px 28px 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.email-picker.open .email-picker-panel { transform: none; }

.email-picker-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.email-picker-close:hover { background: rgba(27, 42, 74, 0.08); }

.email-picker-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.email-picker-address {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}

.email-picker-list { display: grid; gap: 8px; }

.email-picker-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 42, 74, 0.1);
  background: transparent;
  color: var(--color-text-dark);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .email-picker-option:hover {
    border-color: var(--color-accent);
    background: rgba(201, 162, 39, 0.07);
    transform: translateX(2px);
  }
}
.email-picker-option strong { display: block; font-size: 0.96rem; font-weight: 600; }
.email-picker-option small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.79rem;
  line-height: 1.4;
}

.email-picker-mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.email-picker-mark.gmail   { background: #EA4335; }
.email-picker-mark.outlook { background: #0F6CBD; }
.email-picker-mark.yahoo   { background: #6001D2; }
.email-picker-mark.app     { background: var(--color-primary); }
.email-picker-mark.copy    { background: var(--color-accent); }
.email-picker-mark img { filter: brightness(0) invert(1); }

.email-picker-option.copied {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.08);
}
.email-picker-option.copied .email-picker-mark.copy { background: #25D366; }

@media (max-width: 480px) {
  .email-picker { padding: 14px; align-items: flex-end; }
  .email-picker-panel {
    max-width: none;
    padding: 28px 20px calc(20px + var(--safe-bottom));
    border-radius: var(--radius-lg);
    transform: translateY(24px);
  }
  .email-picker-option small { font-size: 0.75rem; }
}
