/* ==========================================================================
   EMA General Construction Corp — main stylesheet (mobile-first)
   Palette sampled from the real EMA logo (BRIEF section 5): brand blue / bright blue /
   dark navy + metallic gold; the logo's red triangle is used only as a tiny accent.
   ========================================================================== */
:root {
  --navy: #00336B;        /* EMA Primary Blue — letters of the logo */
  --navy-900: #001B3A;    /* Dark Navy — "GENERAL CONSTRUCTION CORP", footer, dark sections */
  --navy-800: #00264f;
  --steel: #2E86D4;       /* Bright Blue — metallic highlight: hovers, gradients, accents */
  --steel-600: #1f6fb6;
  --silver: #C9D6E3;      /* light blue-gray for small text on dark */
  --silver-200: #E3E9EF;  /* hairlines / borders */
  --ink: #1A1D21;         /* Charcoal body text */
  --muted: #56606B;
  --bg-alt: #F4F6F8;      /* Light Gray section background */
  --white: #fff;
  --amber: #D4A017;       /* Brand Gold — accents, icons, CTA */
  --amber-600: #B8890F;
  --gold-light: #FFD765;  /* Light Gold — metallic shine in gradients */
  --red: #A6111F;         /* Accent Red — logo triangle, use sparingly */
  --yellow-pale: #FFF4D6;
  --wa: #25D366;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 51, 107, .08);
  --shadow: 0 16px 40px rgba(0, 51, 107, .16);
  --blue-grad: linear-gradient(135deg, #00336B 0%, #2E86D4 100%);
  --steel-grad: linear-gradient(135deg, #FFD765 0%, #D4A017 45%, #FFD765 62%, #B8890F 100%);
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--amber); color: var(--navy-900); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .01em; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; text-align: center; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--navy-900); box-shadow: 0 10px 24px rgba(212, 160, 23, .35); }
.btn--amber:hover { background: var(--amber-600); color: var(--navy-900); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--steel); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fb457; color: #fff; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #cfd8e1; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar a { color: #e8eef4; }
.topbar a:hover { color: var(--amber); }
.topbar__info { display: flex; gap: 18px; align-items: center; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; color: var(--silver); }
.topbar__hide-m { display: none !important; }
.social { display: flex; gap: 8px; }
.social a { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--amber); color: var(--navy-900); }
.social svg { width: 14px; height: 14px; color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--silver-200); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 51, 107, .12); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 48px; width: auto; }
.nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--silver); background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: .85rem; cursor: pointer; transition: border-color .2s, background .2s; }
.lang-toggle:hover { border-color: var(--steel); background: var(--bg-alt); }
.lang-toggle svg { width: 16px; height: 16px; color: var(--steel); }
.header-cta { display: none; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 27, 58, .55); opacity: 0; transition: opacity .25s ease; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: #fff; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--silver-200); }
.drawer__head img { height: 40px; width: auto; }
.drawer__close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg-alt); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer nav { padding: 8px 0; }
.drawer nav a { display: block; padding: 14px 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--bg-alt); }
.drawer nav a[aria-current="page"] { color: var(--steel); box-shadow: inset 4px 0 0 var(--amber); }
.drawer__ctas { padding: 16px; display: grid; gap: 10px; margin-top: auto; background: var(--bg-alt); }
.drawer__ctas small { text-align: center; color: var(--muted); }

/* ---------- Hero (home slider) ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - 38px); min-height: 600px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 27, 58, .35) 0%, rgba(0, 27, 58, .55) 45%, rgba(0, 27, 58, .94) 100%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 40px; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--steel-grad); }
.hero .eyebrow { color: var(--silver); }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff 0%, var(--silver) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.08rem; max-width: 56ch; color: #e5ebf1; }
.hero__ctas { display: grid; gap: 10px; margin: 26px 0 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); }
.chip svg { width: 16px; height: 16px; color: var(--amber); }
.hero__dots { position: absolute; z-index: 3; right: 16px; top: 18px; display: flex; gap: 6px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s ease, background .3s; }
.hero__dots button.is-active { width: 28px; background: var(--amber); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 27, 58, .95) 0%, rgba(0, 51, 107, .82) 55%, rgba(0, 51, 107, .55) 100%); }
.page-hero .container { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 48px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 6.4vw, 3.1rem); max-width: 22ch; }
.page-hero p { color: #dfe6ed; max-width: 60ch; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--silver); }
.page-hero__ctas { display: grid; gap: 10px; margin-top: 22px; }
.crumbs { font-size: .82rem; color: var(--silver); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: #fff; opacity: .85; }
.crumbs a:hover { color: var(--amber); opacity: 1; }
.stock-tag { position: absolute; z-index: 3; right: 10px; bottom: 10px; font-size: .7rem; color: #fff; background: rgba(0, 27, 58, .72); padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: radial-gradient(120% 120% at 0% 0%, #0f4f93 0%, var(--navy) 45%, var(--navy-900) 100%); color: #dfe6ed; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--silver); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.04rem; }
.section--navy .section-head p { color: #c4cfda; }
.steel-rule { height: 4px; width: 72px; border-radius: 4px; background: var(--steel-grad); margin: 14px 0 0; }

/* Trust strip */
.trust { background: var(--navy-900); color: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); padding: 0; }
.trust__item { background: var(--navy-900); padding: 22px 16px; text-align: center; }
.trust__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; background: var(--steel-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust__num .star { color: var(--amber); -webkit-text-fill-color: var(--amber); }
.trust__lbl { display: block; margin-top: 6px; font-size: .82rem; color: #b9c5d1; letter-spacing: .04em; }

/* About split */
.split { display: grid; gap: 32px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media .badge-float { position: absolute; left: -6px; bottom: -18px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .12); }
.badge-float strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--amber); }
.badge-float span { font-size: .82rem; color: #d6dee6; }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--steel); margin-top: 1px; }

/* Why choose us */
.why-grid { display: grid; gap: 14px; }
.why-card { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(183, 192, 201, .22); overflow: hidden; }
.why-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--steel-grad); }
.why-card__icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--steel-grad); color: var(--navy); margin-bottom: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.why-card__icon svg { width: 28px; height: 28px; }
.why-card p { margin: 0; color: #c4cfda; font-size: .95rem; }

/* Service grid */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--silver-200); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--silver); color: var(--ink); }
.svc-card__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%); color: #fff; box-shadow: 0 6px 14px rgba(46, 134, 212, .28); }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: .98rem; margin: 0; }
.svc-card p { display: none; margin: 0; color: var(--muted); font-size: .9rem; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .82rem; font-weight: 700; font-family: var(--font-head); color: var(--steel); }
.svc-card__more svg { width: 14px; height: 14px; transition: transform .2s; }
.svc-card:hover .svc-card__more svg { transform: translateX(4px); }

/* Photo service cards (services hub) */
.svc-photo-grid { display: grid; gap: 16px; }
.svc-photo { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--silver-200); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.svc-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.svc-photo__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.svc-photo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-photo:hover .svc-photo__img img { transform: scale(1.05); }
.svc-photo__icon { position: absolute; left: 16px; top: -26px; width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; border: 3px solid #fff; z-index: 2; }
.svc-photo__icon svg { width: 24px; height: 24px; }
.svc-photo__body { position: relative; padding: 34px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc-photo__body h3 { margin: 0; }
.svc-photo__body p { margin: 0; color: var(--muted); font-size: .93rem; }
.svc-photo__sub { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--steel); }
.svc-photo__img .stock-tag { bottom: auto; top: 10px; }

/* Gallery / work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.work-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--bg-alt); border: 0; padding: 0; aspect-ratio: 1/1; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-item:hover img { transform: scale(1.06); }
.work-item figcaption, .work-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; font-size: .78rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 27, 58, .85)); text-align: left; }
.work-item--wide { grid-column: span 2; aspect-ratio: 16/9; }

/* Gallery slider */
.gslider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow); }
.gslider__track { display: flex; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gslider__slide { flex: 0 0 100%; position: relative; aspect-ratio: 4/3; }
.gslider__slide img { width: 100%; height: 100%; object-fit: cover; }
.gslider__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0, 27, 58, .9)); }
.gslider__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm); z-index: 2; }
.gslider__btn svg { width: 22px; height: 22px; }
.gslider__btn--prev { left: 10px; }
.gslider__btn--next { right: 10px; }
.gslider__count { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0, 27, 58, .7); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 14, 30, .94); display: none; align-items: center; justify-content: center; padding: 56px 12px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #e6ecf2; font-size: .9rem; padding: 0 60px; }
.lightbox button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--amber); color: var(--navy-900); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px dashed var(--silver); color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--steel); margin-top: 2px; }

/* ---------- Reviews ---------- */
.g-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--silver-200); box-shadow: var(--shadow-sm); margin: 0 auto 28px; color: var(--ink); }
.g-badge:hover { color: var(--ink); box-shadow: var(--shadow); }
.g-badge svg.g-logo { width: 26px; height: 26px; }
.g-badge strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); }
.g-badge small { color: var(--muted); font-size: .85rem; }
.stars { display: inline-flex; gap: 2px; color: #F5B400; }
.stars svg { width: 18px; height: 18px; }
.reviews-wrap { text-align: center; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; text-align: left; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: center; background: #fff; border: 1px solid var(--silver-200); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.review__head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; flex: none; }
.review__name { font-weight: 700; color: var(--navy); line-height: 1.2; }
.review__meta { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }
.review__meta svg.g-logo { width: 14px; height: 14px; }
.review__text { margin: 0; color: #3a434d; font-size: .95rem; }
.reviews-hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ---------- Contact block ---------- */
.contact-wrap { display: grid; gap: 24px; }
.contact-info { display: grid; gap: 12px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--silver-200); color: var(--ink); }
a.info-card:hover { border-color: var(--steel); color: var(--ink); }
.info-card__icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); color: var(--steel); }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card strong { display: block; font-family: var(--font-head); color: var(--navy); }
.info-card span { color: var(--muted); font-size: .93rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours .closed { color: #b4472f; }

/* The form — desktop only (BRIEF §3) */
.contact-form-block { display: none; }
.mobile-contact { display: grid; gap: 10px; padding: 22px 18px; border-radius: var(--radius); background: var(--navy); color: #dfe6ed; text-align: center; }
.mobile-contact h3 { color: #fff; margin: 0; }
.mobile-contact p { margin: 0 0 6px; font-size: .95rem; }
.form-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--silver-200); border-top: 4px solid var(--steel); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .97rem; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--silver-200); background: var(--bg-alt); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); background: #fff; box-shadow: 0 0 0 4px rgba(46, 134, 212, .14); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 600; }
.form-status.is-error { color: #b4472f; }
.form-status.is-ok { color: #1d7a46; }
.hp { position: absolute; left: -9999px; }

/* Map */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--silver-200); box-shadow: var(--shadow-sm); background: var(--bg-alt); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Service detail ---------- */
.detail { display: grid; gap: 32px; }
.detail__body p { font-size: 1.05rem; color: #353d46; }
.detail__media { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pt-grid { list-style: none; padding: 0; display: grid; gap: 10px; margin: 22px 0; }
.pt-grid li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); border-left: 3px solid var(--steel); font-weight: 600; color: var(--navy); font-size: .95rem; }
.pt-grid svg { width: 18px; height: 18px; color: var(--steel); flex: none; }
.aside-card { background: var(--navy); color: #dfe6ed; border-radius: var(--radius); padding: 24px; }
.aside-card h3 { color: #fff; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 8px; }
.aside-card li { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .93rem; }

.steps { display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 22px 20px 20px 74px; border-radius: var(--radius); background: #fff; border: 1px solid var(--silver-200); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 20px; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; color: var(--navy); background: var(--steel-grad); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

.chips-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips-list a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--silver-200); font-size: .88rem; font-weight: 600; color: var(--navy); }
.chips-list a:hover { border-color: var(--steel); background: var(--steel); color: #fff; }
.section--navy .chips-list a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.section--navy .chips-list a:hover { background: var(--amber); color: var(--navy-900); border-color: var(--amber); }

/* Areas list */
.area-groups { display: grid; gap: 24px; }
.area-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.area-group h3::after { content: ""; flex: 1; height: 1px; background: var(--silver-200); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--silver-200); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-family: var(--font-head); font-weight: 700; color: var(--navy); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--steel); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-band__bg { position: absolute; inset: 0; opacity: .22; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .container { position: relative; padding-top: 56px; padding-bottom: 56px; display: grid; gap: 22px; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 0; color: #d1dbe5; }
.cta-band__btns { display: grid; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c5d1; font-size: .93rem; padding-top: 56px; }
.footer-grid { display: grid; gap: 34px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d8e1ea; }
.site-footer a:hover { color: var(--amber); }
.footer-svc { display: block !important; columns: 2; column-gap: 16px; }
.footer-svc li { break-inside: avoid; margin-bottom: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--silver); flex: none; margin-top: 3px; }
.footer-bottom { margin-top: 44px; padding: 20px 0 100px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 8px; text-align: center; font-size: .82rem; }
.credit { opacity: .8; }
.credit a { color: #fff; font-weight: 600; }

/* ---------- Floating buttons (fab) ---------- */
.fab { position: fixed; right: 16px; z-index: 120; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab--wa { bottom: calc(16px + env(safe-area-inset-bottom)); background: var(--wa); color: #fff; }
.fab--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; }
.fab--call { bottom: calc(86px + env(safe-area-inset-bottom)); background: var(--amber); color: var(--navy-900); }
.fab--call svg { width: 26px; height: 26px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* Thank you */
.thanks { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.thanks .check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--steel-grad); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.thanks .check svg { width: 42px; height: 42px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   ≥ 600px
   ========================================================================== */
@media (min-width: 600px) {
  .hero__ctas, .page-hero__ctas, .cta-band__btns { display: flex; flex-wrap: wrap; }
  .svc-card p { display: block; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust .container { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-auto-columns: 46%; }
  .pt-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   ≥ 768px — desktop/tablet: show the contact form, hide the mobile-only bits
   ========================================================================== */
@media (min-width: 768px) {
  .contact-form-block { display: block; }
  .mobile-contact { display: none; }
  .fab--call { display: none; }
  .topbar__hide-m { display: inline-flex !important; }
  .section { padding: 88px 0; }
  .container { padding: 0 24px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .svc-card { padding: 22px 20px; }
  .contact-wrap { grid-template-columns: 1fr 1.25fr; align-items: start; gap: 32px; }
  .map iframe { height: 400px; }
  .gslider__slide { aspect-ratio: 16/8; }
  .footer-bottom { flex-direction: row; justify-content: space-between; padding-bottom: 28px; text-align: left; }
}

/* ==========================================================================
   ≥ 1024px
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .brand img { height: 58px; }
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav a { position: relative; padding: 10px 12px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); border-radius: 8px; }
  .nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 20px; font-size: .9rem; }
  .hero { min-height: 680px; height: calc(100vh - var(--header-h) - 38px); align-items: center; }
  .hero__content { padding-top: 80px; padding-bottom: 80px; }
  .hero__lead { font-size: 1.2rem; }
  .hero__dots { top: auto; bottom: 28px; right: 24px; }
  .page-hero .container { padding-top: 84px; padding-bottom: 84px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-photo-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .work-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 4px 0; }
  .review:nth-child(4), .review:nth-child(5) { grid-column: span 1; }
  .reviews-hint { display: none; }
  .detail { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
  .detail aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .cta-band .container { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .cta-band__btns { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.3fr 1.2fr .9fr 1.1fr; gap: 40px; }
  .area-groups { grid-template-columns: 1fr 1fr; gap: 32px 48px; }
  .lightbox { padding: 60px 80px; }
  .lightbox__prev { left: 20px; }
  .lightbox__next { right: 20px; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: .84rem; }
  .header-cta { padding: 10px 14px; }
}

/* ==========================================================================
   Effects layer (same v2 treatment as the Wilmer site)
   ========================================================================== */

/* ---------- Header ---------- */
.topbar { background: #00122a; }
.site-header { background: rgba(0, 27, 58, .9); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { background: var(--blue-grad); box-shadow: 0 10px 30px rgba(0, 27, 58, .35); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, transparent, var(--amber), transparent); opacity: 0; transition: opacity .35s ease; }
.site-header.is-scrolled::after { opacity: 1; }
.lang-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.lang-toggle:hover { background: rgba(255, 255, 255, .1); border-color: var(--amber); }
.lang-toggle svg { color: var(--amber); }
.menu-btn { background: var(--amber); color: var(--navy-900); }
@media (min-width: 1024px) {
  .nav a { color: #fff; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--amber); }
}

/* ---------- Buttons: yellow CTA with shimmer ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--amber { background: linear-gradient(110deg, #D4A017 0%, #FFD765 50%, #D4A017 100%); color: var(--navy-900); box-shadow: 0 10px 24px rgba(212, 160, 23, .35); }
.btn--amber:hover { background: var(--amber-600); color: var(--navy-900); box-shadow: 0 14px 30px rgba(184, 137, 15, .45); }
.btn--amber::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg); animation: shimmer 3.2s ease-in-out infinite; }
@keyframes shimmer { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.btn--navy { background: var(--blue-grad); }
.btn--navy:hover { background: var(--navy-900); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); }

/* Accents */
.eyebrow { color: var(--steel); }
.hero .eyebrow, .page-hero .eyebrow, .section--navy .eyebrow { color: var(--amber); }
.hero h1 em { background: linear-gradient(90deg, #fff 0%, var(--amber) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero::after { background: linear-gradient(120deg, rgba(0, 27, 58, .95) 0%, rgba(0, 51, 107, .85) 55%, rgba(46, 134, 212, .55) 100%); }
.hero::after { background: linear-gradient(180deg, rgba(0, 27, 58, .45) 0%, rgba(0, 51, 107, .55) 45%, rgba(0, 27, 58, .95) 100%); }
.badge-float { background: var(--blue-grad) !important; }
.badge-float strong { color: var(--amber); }
.pt-grid li { border-left-color: var(--amber); }
.svc-card__icon { background: var(--blue-grad); transition: background .25s, color .25s; }
.svc-card:hover .svc-card__icon { background: var(--amber); color: var(--navy-900); }
.why-card__icon { color: var(--navy-900); }
.aside-card { background: var(--blue-grad); }
.mobile-contact { background: var(--blue-grad); }
.form-card { border-top-color: var(--amber); }
.footer-logo { background: transparent; padding: 0; }
.footer-logo img { height: 58px; }
.site-footer h4 { color: var(--amber); }
.review { border-top: 3px solid var(--amber); transition: transform .25s ease, box-shadow .25s ease; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- Home hero: text 55% + quote form 45% (desktop) ---------- */
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero-form { display: none; }                 /* hidden on mobile (BRIEF v1 section 3) */
@media (min-width: 768px) {
  .hero-form { display: block; }              /* always visible >=768px (BRIEF v2 section 2) */
}
.hero-form .form-card { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(255, 255, 255, .6); border-top: 4px solid var(--amber); box-shadow: 0 30px 60px rgba(0, 14, 30, .45); padding: 26px; }
.hero-form .form-card h3 { font-size: 1.3rem; }
.hero-form .form-card > p { margin-bottom: 14px; font-size: .93rem; }
.hero-form .form-grid { gap: 12px; }
.hero-form .field textarea { min-height: 80px; }
.hero-form .field input, .hero-form .field select, .hero-form .field textarea { background: #fff; padding: 10px 12px; }
.hero-form__badge { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--navy); background: var(--yellow-pale); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.hero-form__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
@media (min-width: 768px) and (max-width: 1023px) {
  .hero { align-items: flex-start; }
  .hero-form { max-width: 560px; }
}
@media (min-width: 1024px) {
  .hero { height: auto; min-height: 720px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero h1 { max-width: 14ch; }
}

/* ---------- Photo marquee (teleprompter) ---------- */
.marquee { background: var(--navy-900); padding: 14px 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-900), transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { position: relative; flex: none; height: 210px; border-radius: 12px; overflow: hidden; }
.marquee__item img { height: 100%; width: auto; object-fit: cover; transition: transform .5s ease; }
.marquee__item:hover img { transform: scale(1.05); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 768px) { .marquee__item { height: 300px; } .marquee { padding: 18px 0; } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } }

/* ---------- Service photo cards: hover darken + yellow "View" ---------- */
.svc-photo__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 27, 58, .55)); opacity: .55; transition: opacity .35s ease; }
.svc-photo:hover .svc-photo__img::after { opacity: 1; }
.svc-photo__img .stock-tag { z-index: 2; }
.svc-photo__icon { background: var(--blue-grad); transition: background .25s, color .25s; }
.svc-photo:hover .svc-photo__icon { background: var(--amber); color: var(--navy-900); }
.svc-photo .svc-card__more { align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); margin-top: 8px; transition: background .25s, color .25s; }
.svc-photo:hover .svc-card__more { background: var(--amber); color: var(--navy-900); }
.svc-photo-grid--home { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc-photo-grid--home .svc-photo__body { padding: 30px 12px 14px; }
.svc-photo-grid--home .svc-photo__body h3 { font-size: .95rem; }
.svc-photo-grid--home .svc-photo__body p, .svc-photo-grid--home .svc-photo__sub { display: none; }
.svc-photo-grid--home .svc-photo__icon { width: 42px; height: 42px; top: -22px; left: 12px; }
.svc-photo-grid--home .svc-photo__icon svg { width: 20px; height: 20px; }
.svc-photo-grid--home .svc-card__more { font-size: .75rem; padding: 6px 10px; }
.svc-photo-grid--home .stock-tag { font-size: .6rem; padding: 3px 8px; }
@media (min-width: 600px) { .svc-photo-grid--home .svc-photo__body p { display: block; font-size: .88rem; } }
@media (min-width: 768px) { .svc-photo-grid--home { grid-template-columns: repeat(3, 1fr); gap: 16px; } .svc-photo-grid--home .svc-photo__body { padding: 32px 16px 18px; } }
@media (min-width: 1024px) { .svc-photo-grid--home { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ---------- Service areas: multi-column directory ---------- */
.area-list { list-style: none; padding: 0; margin: 0; columns: 1; column-gap: 20px; }
.area-list li { break-inside: avoid; border-bottom: 1px solid var(--silver-200); }
.area-list a { display: flex; align-items: center; gap: 8px; padding: 9px 2px; color: var(--ink); font-weight: 500; font-size: .9rem; line-height: 1.3; transition: color .2s, transform .2s; }
.area-list a svg { width: 16px; height: 16px; flex: none; color: var(--steel); transition: color .2s; }
.area-list a:hover { color: var(--navy); transform: translateX(3px); }
.area-list a:hover svg { color: var(--amber-600); }
.area-dir { background: #fff; border: 1px solid var(--silver-200); border-radius: var(--radius); padding: 10px 18px 14px; box-shadow: var(--shadow-sm); }
.area-dir h3 { margin: 14px 0 4px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
@media (min-width: 600px) { .area-list { columns: 2; } .area-list a { font-size: .95rem; } }
@media (min-width: 1024px) { .area-list { columns: 4; column-gap: 32px; } .area-dir { padding: 14px 28px 20px; } .area-list--2 { columns: 2; } }

/* ---------- Gallery filters ---------- */
.gfilters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 10px; scrollbar-width: none; }
.gfilters::-webkit-scrollbar { display: none; }
.gfilters button { flex: none; font: inherit; font-family: var(--font-head); font-weight: 700; font-size: .85rem; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--silver-200); background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.gfilters button:hover { border-color: var(--steel); }
.gfilters button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: inset 0 -3px 0 var(--amber); }
.gfilters .count { opacity: .65; font-weight: 600; margin-left: 4px; }
.work-item[hidden] { display: none; }
.work-item { transition: transform .25s ease, box-shadow .25s ease; }
.work-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ba-tag { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ba-tag--before { background: #fff; color: #b4472f; }
.ba-tag--after { background: var(--amber); color: var(--navy-900); }

/* ---------- Counters ---------- */
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.counter-box { text-align: center; padding: 20px 10px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.counter-box strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--amber); }
.counter-box > span { display: block; margin-top: 6px; font-size: .85rem; color: #c9d6e3; }
@media (min-width: 768px) { .counters { grid-template-columns: repeat(4, 1fr); gap: 16px; } .counter-box strong { font-size: 2.8rem; } }
.trust__num { background: none; -webkit-text-fill-color: var(--amber); color: var(--amber); }

/* ---------- Staggered reveal ---------- */
.reveal { transition-duration: .7s; }
.svc-photo-grid > .reveal:nth-child(4n+2), .svc-grid > .reveal:nth-child(4n+2), .why-grid > .reveal:nth-child(2), .work-grid > .reveal:nth-child(4n+2), .steps > .reveal:nth-child(2) { transition-delay: .08s; }
.svc-photo-grid > .reveal:nth-child(4n+3), .svc-grid > .reveal:nth-child(4n+3), .why-grid > .reveal:nth-child(3), .work-grid > .reveal:nth-child(4n+3), .steps > .reveal:nth-child(3) { transition-delay: .16s; }
.svc-photo-grid > .reveal:nth-child(4n), .svc-grid > .reveal:nth-child(4n), .why-grid > .reveal:nth-child(4), .work-grid > .reveal:nth-child(4n), .steps > .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- FAQ ---------- */
.faq { margin: 0 auto; }
.faq details { transition: box-shadow .25s, border-color .25s; }
.faq details[open] { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.faq summary::after { color: var(--amber-600); font-weight: 700; }

/* ---------- Floating stack: WhatsApp (bottom) + assistant above it. Call fab bottom-left on mobile ---------- */
.fab--call { right: auto; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
.chat { position: fixed; right: 15px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 130; }
.chat-fab { position: relative; display: block; width: 60px; height: 60px; border-radius: 50%; padding: 0; border: 3px solid #fff; background: var(--navy); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 14, 30, .35); transition: transform .2s ease; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chat-dot { position: absolute; right: -1px; bottom: 1px; width: 15px; height: 15px; border-radius: 50%; background: #22c55e; border: 2.5px solid #fff; }
.chat-teaser { position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(10px); white-space: nowrap; background: #fff; color: var(--navy-900); font-weight: 700; font-size: .88rem; padding: 10px 12px 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: 0 10px 28px rgba(0, 14, 30, .22); opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease; display: flex; align-items: center; }
.chat-teaser.is-shown { opacity: 1; transform: translateY(-50%); pointer-events: auto; cursor: pointer; }
.chat-teaser button { border: 0; background: none; color: var(--muted); font-size: 1.1rem; line-height: 1; margin-left: 8px; cursor: pointer; padding: 0 2px; }
.chat.is-open .chat-teaser { display: none; }
.chat-panel { position: fixed; right: 16px; bottom: calc(160px + env(safe-area-inset-bottom)); width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 190px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 14, 30, .35); opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; pointer-events: none; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.chat.is-open .chat-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--blue-grad); color: #fff; }
.chat-head img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--amber); object-fit: cover; }
.chat-head strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: #d6e4f1; font-size: .78rem; }
.chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.chat-close { margin-left: auto; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-close svg { width: 20px; height: 20px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 14px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.45; animation: msgIn .3s ease both; }
.chat-msg--bot { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-msg--me { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9fb3c8; animation: typing 1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--silver-200); max-height: 210px; overflow-y: auto; background: #fff; }
.chat-opts button, .chat-opts a { font: inherit; font-size: .84rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--steel); background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, color .2s; text-decoration: none; }
.chat-opts button:hover, .chat-opts a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.chat-opts .is-primary { background: var(--amber); border-color: var(--amber); color: var(--navy-900); }
.chat-opts .is-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.chat-foot { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 12px 10px; background: #fff; }


/* ==========================================================================
   White header (the EMA logo is designed for a light background)
   ========================================================================== */
.site-header { background: #fff; border-bottom: 1px solid var(--silver-200); }
.site-header.is-scrolled { background: #fff; box-shadow: 0 6px 24px rgba(0, 51, 107, .14); }
.lang-toggle { background: transparent; color: var(--navy); border-color: var(--silver-200); }
.lang-toggle:hover { background: rgba(0, 51, 107, .06); border-color: var(--navy); }
.lang-toggle svg { color: var(--navy); }
@media (min-width: 1024px) {
  .nav a { color: var(--navy); }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--navy-900); }
}


/* ==========================================================================
   Hero form also visible on mobile (see NOTAS-PENDIENTES.md, question 3)
   ========================================================================== */
.hero-form--all { display: block; }
@media (max-width: 767px) {
  .hero-form { margin-top: 22px; }
  .hero-form .form-card { padding: 20px; }
}


/* ==========================================================================
   EMA — video hero, ratings, video gallery, brand accents
   ========================================================================== */
.hero__media { position: absolute; inset: 0; }
.hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__pause { position: absolute; z-index: 3; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(0, 27, 58, .45); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px; backdrop-filter: blur(4px); }
.hero__pause[hidden] { display: none; }
.hero__pause::before, .hero__pause::after { content: ""; width: 4px; height: 13px; border-radius: 2px; background: currentColor; }
.hero__pause.is-paused::after { display: none; }
.hero__pause.is-paused::before { width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.hero__pause:hover { border-color: var(--amber); color: var(--gold-light); }
@media (min-width: 1024px) { .hero__pause { top: auto; bottom: 24px; right: 24px; } }
.hero h1 em { background: linear-gradient(90deg, #fff 0%, var(--gold-light) 70%, var(--amber) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow, .page-hero .eyebrow, .section--navy .eyebrow { color: var(--gold-light); }

/* Partial-star rating (4.4) */
.rstars { position: relative; display: inline-flex; line-height: 0; }
.rstars svg { width: 16px; height: 16px; flex: none; }
.rstars__base { display: inline-flex; gap: 1px; color: #cfd6de; }
.rstars__fill { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 1px; overflow: hidden; color: #F5B400; white-space: nowrap; }
.g-badge .rstars svg { width: 18px; height: 18px; }
.topbar .container { min-height: 38px; }
.topbar__rating { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font-weight: 700; }
.topbar__rating svg.g-logo { width: 15px; height: 15px; }
.topbar__rating .rstars svg { width: 13px; height: 13px; color: inherit; }
.topbar__rating .rstars__base { color: rgba(255, 255, 255, .3); }
.topbar__rating .rstars__fill { color: var(--gold-light); }
.footer-tag { font-family: var(--font-head); font-weight: 700; color: var(--gold-light); letter-spacing: .02em; margin-bottom: 8px; }
.footer-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.footer-rating svg.g-logo { width: 18px; height: 18px; }
.footer-rating strong { color: #fff; }
.footer-rating small { color: #b9c5d1; }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.footer-logo img { height: 64px; width: auto; }
.reviews-all { margin-top: 18px; }
.reviews-all a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-family: var(--font-head); }
.reviews-all svg { width: 16px; height: 16px; }

/* Video tiles in the project grids */
.work-item--video img { filter: saturate(1.05); }
.play-badge { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0, 27, 58, .6); border: 2px solid var(--gold-light); color: #fff; backdrop-filter: blur(4px); transition: transform .25s ease, background .25s ease; }
.play-badge svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.work-item--video:hover .play-badge { transform: translate(-50%, -50%) scale(1.1); background: var(--amber); color: var(--navy-900); }
.work-item--video .cap::before { content: "▶ "; color: var(--gold-light); }
.gfilters button svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; fill: currentColor; }
.lightbox video { max-width: 100%; max-height: 100%; border-radius: 8px; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox video[hidden], .lightbox img[hidden] { display: none; }

/* Contact page shows the full form on phones too */
.contact-form-block--all { display: block; }
@media (max-width: 767px) { .contact-form-block--all .form-card { padding: 22px 18px; } .contact-form-block--all .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .hero-form .form-grid { grid-template-columns: 1fr; } }
.info-card__icon--wa { background: #e8f9ef; color: #1fb457; }
.info-card__icon--wa svg { width: 22px; height: 22px; }

/* Logo-red accent — used sparingly (BRIEF section 5) */
.fab--call { background: var(--red); color: #fff; }
.steel-rule { position: relative; }
.steel-rule::after { content: ""; position: absolute; right: -16px; top: -3px; border-style: solid; border-width: 0 5px 9px 5px; border-color: transparent transparent var(--red) transparent; }
.split__media .badge-float { border-left: 3px solid var(--red); }

/* Header logo sizing (wide EMA lockup) */
.brand img { height: 46px; width: auto; }
.drawer__head img { height: 42px; }
@media (min-width: 1024px) { .brand img { height: 58px; } }

/* GoHighLevel embedded form */
.ghl-form { position: relative; min-height: 820px; }
.ghl-form iframe { display: block; min-height: 820px; }
.hero-form .ghl-card { padding-bottom: 18px; }

