/* ============================================================
   iTel GSM — Rebrandable Template Stylesheet
   All colours come from CSS variables set via [data-brand]
   ============================================================ */

/* ─── BASE (light theme) ─── */
:root {
  color-scheme: light;
  --bg: #f4f7fc;
  --bg-soft: #eef3fa;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --line: rgba(30, 80, 150, .14);
  --line-bright: rgba(20, 110, 220, .40);
  --text: #0d1b2a;
  --muted: #5a6d82;
  --muted-2: #8a9bb0;
  --whatsapp: #0eaf76;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .08);
  --header-bg: rgba(255, 255, 255, .88);
  --overlay-bg: rgba(2, 8, 18, .9);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

/* ─── DARK THEME ─── */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080d18;
  --bg-soft: #0d1626;
  --panel: #0d1829;
  --panel-2: #101e32;
  --line: rgba(126, 169, 224, .17);
  --line-bright: rgba(51, 150, 255, .48);
  --text: #f4f7fc;
  --muted: #aab8cb;
  --muted-2: #71839d;
  --shadow: 0 24px 70px rgba(0, 0, 0, .3);
  --header-bg: rgba(7, 13, 24, .82);
  --overlay-bg: rgba(0, 3, 9, .88);
}

/* ─── BRAND PRESETS (light) ─── */
[data-brand="blue"]    { --brand: #1675ff; --brand-2: #0876e8; --accent: #0a9fd4; --brand-glow: rgba(22, 117, 255, .22); }
[data-brand="emerald"] { --brand: #0eaf76; --brand-2: #0a9b68; --accent: #14c98c; --brand-glow: rgba(14, 175, 118, .22); }
[data-brand="violet"]  { --brand: #7c4dff; --brand-2: #6a3ae8; --accent: #a074ff; --brand-glow: rgba(124, 77, 255, .22); }
[data-brand="crimson"] { --brand: #e63946; --brand-2: #cc2f3c; --accent: #ff5c6c; --brand-glow: rgba(230, 57, 70, .22); }
[data-brand="amber"]   { --brand: #e08700; --brand-2: #c67a00; --accent: #f5a623; --brand-glow: rgba(224, 135, 0, .22); }

/* ─── BRAND PRESETS (dark — slightly brighter) ─── */
[data-theme="dark"][data-brand="blue"]    { --brand: #2184ff; --brand-2: #1675ff; --accent: #28d1f3; --brand-glow: rgba(33, 132, 255, .32); }
[data-theme="dark"][data-brand="emerald"] { --brand: #16c784; --brand-2: #0eaf76; --accent: #2ae0a0; --brand-glow: rgba(22, 199, 132, .32); }
[data-theme="dark"][data-brand="violet"]  { --brand: #9270ff; --brand-2: #7c4dff; --accent: #b28aff; --brand-glow: rgba(146, 112, 255, .32); }
[data-theme="dark"][data-brand="crimson"] { --brand: #ff4d5c; --brand-2: #e63946; --accent: #ff7a86; --brand-glow: rgba(255, 77, 92, .32); }
[data-theme="dark"][data-brand="amber"]   { --brand: #f5a623; --brand-2: #e08700; --accent: #ffc14d; --brand-glow: rgba(245, 166, 35, .32); }

/* ─── GLOBAL RESET ─── */
* { box-sizing: border-box; }
html { scroll-padding-top: 86px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65; overflow-x: hidden; transition: background .35s ease, color .35s ease; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 42%), radial-gradient(ellipse at 0% 45%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 36%); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; background: var(--panel); color: var(--text); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

/* ─── HEADER / NAV ─── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); transition: background .35s ease, border-color .35s ease; }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.brand b { color: var(--accent); }
.brand-mark { width: 31px; height: 35px; display: grid; place-items: center; color: var(--accent); }
.brand-mark svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); }
.primary-nav > a:not(.nav-cta) { color: var(--muted); font-size: 12px; font-weight: 600; transition: color .2s ease; }
.primary-nav > a:not(.nav-cta):hover, .primary-nav > a.active { color: var(--text); }
[data-theme="dark"] .primary-nav > a:not(.nav-cta) { color: #c7d1df; }
[data-theme="dark"] .primary-nav > a:not(.nav-cta):hover, [data-theme="dark"] .primary-nav > a.active { color: white; }
.nav-cta { padding: 11px 19px; background: var(--brand); border-radius: 999px; font-size: 12px; font-weight: 700; box-shadow: 0 8px 24px var(--brand-glow); transition: transform .2s, background .2s; color: white; }
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.1); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.theme-toggle { background: transparent; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; padding: 0; cursor: pointer; display: grid; place-items: center; position: relative; transition: border-color .2s; flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--accent); }
.theme-icon { position: absolute; font-size: 18px; transition: opacity .3s, transform .3s; }
.theme-icon.sun { opacity: 1; transform: scale(1); }
.theme-icon.moon { opacity: 0; transform: scale(.6); }
[data-theme="dark"] .theme-icon.sun { opacity: 0; transform: scale(.6); }
[data-theme="dark"] .theme-icon.moon { opacity: 1; transform: scale(1); }

/* ─── HERO ─── */
.hero { padding: 82px 0 74px; overflow: hidden; min-height: 610px; display: flex; align-items: center; }
.hero-glow { position: absolute; width: 720px; height: 520px; right: -170px; top: -35px; background: radial-gradient(ellipse, color-mix(in srgb, var(--brand) 20%, transparent), color-mix(in srgb, var(--brand) 6%, transparent) 42%, transparent 72%); filter: blur(10px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 28px; position: relative; z-index: 1; }
.hero-copy { max-width: 560px; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 10px; letter-spacing: 2px; font-weight: 800; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow-line { width: 24px; height: 2px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(43px, 5.2vw, 70px); line-height: 1.04; letter-spacing: -3.5px; font-weight: 800; margin-bottom: 23px; }
h1 > span:nth-child(2), h2 span { color: var(--accent); }
.hero-description { color: var(--muted); max-width: 470px; font-size: 15px; line-height: 1.85; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 23px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(120deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 28px var(--brand-glow); }
.button-primary:hover { box-shadow: 0 14px 32px var(--brand-glow); }
.button-whatsapp { color: white; background: var(--whatsapp); box-shadow: 0 10px 28px rgba(14, 175, 118, .15); }
.button-whatsapp:hover { filter: brightness(1.08); }
.button-outline { border-color: var(--line-bright); color: var(--text); background: color-mix(in srgb, var(--brand) 6%, transparent); }
.button-outline:hover { background: color-mix(in srgb, var(--brand) 14%, transparent); }
.button-icon { font-size: 16px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; color: var(--text); border-bottom: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); padding-bottom: 4px; }
.text-link span { color: var(--accent); font-size: 17px; }
.hero-art { height: 430px; position: relative; perspective: 1000px; }
.hero-art::before { content: ""; position: absolute; inset: 10% -8% 3% 0; background: linear-gradient(120deg, transparent 12%, color-mix(in srgb, var(--brand) 8%, transparent), color-mix(in srgb, var(--accent) 18%, transparent), transparent 85%); filter: blur(28px); transform: skewY(-10deg); }
.hero-art::after { content: ""; position: absolute; bottom: 34px; left: 0; right: -5%; height: 3px; background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent); box-shadow: 0 0 34px var(--brand-glow); }
.phone { position: absolute; border: 2px solid #526a89; border-radius: 32px; background: #07101f; box-shadow: 0 35px 65px rgba(0, 0, 0, .5), inset 0 0 0 4px #111c2d; overflow: hidden; }
.phone-front { width: 190px; height: 365px; left: 39%; top: 25px; z-index: 4; transform: rotate(-5deg); background: linear-gradient(155deg, #0e1e38, #050916 60%); }
.phone-back { width: 175px; height: 337px; top: 46px; }
.phone-back-left { left: 19%; transform: rotate(-14deg); z-index: 2; background: linear-gradient(135deg, #244c79, #07101e 65%); }
.phone-back-right { right: 1%; transform: rotate(11deg); z-index: 1; background: linear-gradient(145deg, #183c63, #030711); }
.camera-set { display: grid; grid-template-columns: 35px 35px; gap: 8px; padding: 20px; }
.camera-set i { width: 32px; height: 32px; border: 3px solid #0b1525; background: radial-gradient(circle at 40% 35%, #5b95c9, #07101c 55%); border-radius: 50%; box-shadow: 0 0 0 1px #54718c; }
.phone-logo { position: absolute; top: 48%; left: 50%; transform: translate(-50%, -50%); color: #6f8cad; font-size: 24px; }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 65px; height: 16px; border-radius: 0 0 12px 12px; background: #02050a; z-index: 4; }
.screen-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 35% 30%, var(--accent), transparent 30%), radial-gradient(ellipse at 75% 68%, var(--brand), transparent 34%), linear-gradient(150deg, #0c76cb, #061326 62%, #030711); }
.screen-wallpaper { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(145deg, #0d5cb5, #06152d 55%, #07101f); }
.screen-wallpaper span { position: absolute; display: block; width: 240px; height: 150px; border-radius: 50%; filter: blur(2px); transform: rotate(-38deg); }
.screen-wallpaper span:nth-child(1) { background: linear-gradient(90deg, transparent, var(--accent), var(--brand)); top: 40px; left: -90px; }
.screen-wallpaper span:nth-child(2) { background: linear-gradient(90deg, transparent, var(--brand), var(--accent)); top: 135px; right: -100px; }
.screen-wallpaper span:nth-child(3) { background: linear-gradient(90deg, transparent, var(--brand), var(--accent)); bottom: -20px; left: -40px; }
.screen-time { position: absolute; top: 45px; width: 100%; text-align: center; color: rgba(255,255,255,.75); font-size: 10px; }
.hero-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 430px; height: 240px; top: 70px; left: 0; }
.orbit-two { width: 390px; height: 190px; top: 130px; left: 10px; border-color: color-mix(in srgb, var(--accent) 15%, transparent); }
.hero-art-caption { position: absolute; bottom: 0; left: 19%; color: var(--muted); font-size: 10px; letter-spacing: .4px; display: flex; align-items: center; gap: 8px; z-index: 6; }
.status-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.hero-bottom-line { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-bright), transparent); }

/* ─── TRUST STRIP ─── */
.trust-strip { background: var(--bg-soft); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 15px; padding: 8px 22px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; padding-right: 0; }
.line-icon { color: var(--accent); font-size: 32px; line-height: 1; min-width: 32px; text-align: center; }
.trust-item h3 { font-size: 12px; line-height: 1.4; margin: 0 0 5px; }
.trust-item p { color: var(--muted); font-size: 10px; margin: 0; }

/* ─── SECTIONS ─── */
.section-heading { max-width: 690px; margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 13px; }
h2 { font-size: clamp(31px, 3.5vw, 44px); letter-spacing: -1.8px; line-height: 1.15; margin-bottom: 14px; font-weight: 800; }
.section-heading > p:not(.eyebrow), .section-lead { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 600px; margin-bottom: 0; }

/* ─── SERVICES ─── */
.services-section { background: color-mix(in srgb, var(--bg-soft) 60%, transparent); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 228px; padding: 25px 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); position: relative; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.service-card::before { content: ""; position: absolute; top: -65px; right: -65px; width: 140px; height: 140px; background: color-mix(in srgb, var(--brand) 8%, transparent); filter: blur(35px); border-radius: 50%; }
.service-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand) 50%, transparent); box-shadow: 0 18px 42px rgba(0, 0, 0, .08); }
.service-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 15%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); color: var(--accent); font-size: 26px; font-weight: 500; margin-bottom: 18px; }
.service-icon.icon-audio { font-size: 17px; }
.service-card h3 { font-size: 15px; margin-bottom: 8px; letter-spacing: -.2px; }
.service-card p { color: var(--muted); font-size: 12px; line-height: 1.7; min-height: 41px; margin-bottom: 17px; }
.service-link { display: inline-flex; gap: 12px; align-items: center; color: var(--brand); font-size: 11px; font-weight: 700; }
.service-link span { color: var(--accent); transition: transform .2s; }
.service-link:hover span { transform: translate(3px, -3px); }
.fine-print { color: var(--muted-2); font-size: 10px; margin: 20px 0 0; }

/* ─── WHY US ─── */
.why-section { background: var(--bg-soft); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 90px; align-items: center; }
.why-copy h2 { max-width: 520px; }
.section-lead { margin-bottom: 30px; }
.benefit-list { padding: 0; margin: 0 0 30px; list-style: none; display: grid; gap: 20px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 13px; }
.benefit-list li > span { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); border-radius: 50%; font-size: 13px; }
.benefit-list strong { display: block; font-size: 13px; margin-bottom: 3px; }
.benefit-list p { color: var(--muted); font-size: 12px; margin: 0; }
.why-visual { position: relative; min-height: 470px; }
.why-visual > img { width: 100%; height: 470px; object-fit: cover; border-radius: 22px; border: 1px solid var(--line-bright); filter: saturate(.8); }
.why-visual::after { content: ""; position: absolute; inset: 0; border-radius: 22px; background: linear-gradient(180deg, transparent 40%, rgba(3, 10, 20, .7)); pointer-events: none; }
.visual-label { position: absolute; z-index: 2; left: -25px; bottom: 25px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line-bright); box-shadow: var(--shadow); }
.visual-label-icon { color: var(--accent); font-size: 23px; }
.visual-label strong, .visual-label small { display: block; }
.visual-label strong { font-size: 12px; }
.visual-label small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.visual-corner { position: absolute; right: -14px; top: -14px; width: 95px; height: 95px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); border-radius: 0 20px 0 0; }

/* ─── GALLERY (dynamic mosaic) ─── */
.gallery-section { background: var(--bg); }
.section-heading-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.gallery-count { font-size: 10px; letter-spacing: 1.4px; color: var(--accent); margin-bottom: 10px; white-space: nowrap; text-transform: uppercase; }
.gallery-count b { color: var(--muted-2); font-weight: 500; }

/* 4-col grid; dense flow backfills gaps so the mosaic stays tight */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  background: var(--panel);
  cursor: zoom-in;
  min-width: 0;
  min-height: 0;
}

/* ── Size variants ── */
.gallery-item.size-small { grid-column: span 1; grid-row: span 1; }
.gallery-item.size-large { grid-column: span 2; grid-row: span 2; }
.gallery-item.size-wide  { grid-column: span 2; grid-row: span 1; }
.gallery-item.size-tall  { grid-column: span 1; grid-row: span 2; }

/* Legacy fallback: `.large` behaves like `.size-large` */
.gallery-item.large { grid-column: span 2; grid-row: span 2; }

/* Image fills the tile no matter what size it is */
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s;
  filter: saturate(.82);
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1); }

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, var(--overlay-bg));
  opacity: 0;
  transform: translateY(5px);
  transition: .25s;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  color: white;
  z-index: 3;
}
.gallery-overlay b { color: var(--accent); font-size: 17px; }
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay { opacity: 1; transform: none; }

/* ─── GALLERY VIDEO TILE ─── */
.gallery-video-tile { cursor: pointer; }
.gallery-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 22px;
  padding-left: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  transition: transform .25s ease, background .25s ease;
  pointer-events: none;
  z-index: 2;
}
.gallery-video-tile:hover .gallery-video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}
.gallery-video-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  z-index: 3;
  backdrop-filter: blur(6px);
}

/* ─── REVIEWS ─── */
.reviews-section { background: var(--bg-soft); }
.reviews-section .section-heading { text-align: center; margin-inline: auto; }
.reviews-section .section-heading .eyebrow { justify-content: center; }
.reviews-panel { border: 1px solid var(--line-bright); background: var(--panel); border-radius: 20px; max-width: 790px; min-height: 340px; margin: 0 auto; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 34px; text-align: center; }
.review-symbol { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-bright); color: var(--accent); border-radius: 50%; font-size: 35px; line-height: 1; margin-bottom: 16px; }
.reviews-panel h3 { font-size: 17px; margin-bottom: 12px; }
.review-text { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 600px; margin-bottom: 14px; font-style: italic; min-height: 50px; }
.review-author { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.review-stars { color: #f5a623; font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.review-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.review-prev, .review-next { background: transparent; border: 1px solid var(--line-bright); color: var(--accent); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 20px; display: grid; place-items: center; transition: background .2s; }
.review-prev:hover, .review-next:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.review-dots { display: flex; gap: 6px; }
.review-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line-bright); cursor: pointer; padding: 0; }
.review-dots button.active { background: var(--accent); }
.reviews-panel .button { min-height: 39px; padding: 9px 17px; }

/* ─── CONTACT ─── */
.contact-section { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: stretch; }
.contact-details { display: flex; flex-direction: column; }
.contact-row { display: flex; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row > span:nth-child(2) { flex: 1; min-width: 0; }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 13px; color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); font-size: 22px; }
.contact-row small, .contact-row strong, .contact-row em { display: block; }
.contact-row small { font-size: 9px; color: var(--accent); font-weight: 800; letter-spacing: 1.4px; margin-bottom: 3px; text-transform: uppercase; }
.contact-row strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.contact-row em { font-size: 10px; color: var(--muted); font-style: normal; margin-top: 2px; }
.contact-row > b { color: var(--accent); font-weight: 500; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 22px; }
.contact-actions .button { min-height: 39px; font-size: 10px; padding: 9px 13px; }
.button-facebook { background: var(--panel-2); color: var(--text); border-color: var(--line-bright); }
.map-card { border: 1px solid var(--line-bright); border-radius: 18px; overflow: hidden; background: var(--panel); padding: 10px; display: flex; flex-direction: column; min-height: 385px; }
.map-embed { flex: 1; min-height: 310px; border-radius: 11px; overflow: hidden; background: var(--panel-2); }
.map-embed iframe { width: 100%; height: 100%; display: block; border: 0; }
.directions-link { border-radius: 10px; margin-top: 10px; width: 100%; }

/* ─── FOOTER ─── */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 45px; padding-block: 48px; }
.footer-brand .brand { font-size: 19px; }
.footer-brand .brand-mark { width: 26px; height: 29px; }
.footer-brand p { font-size: 11px; color: var(--muted); margin: 15px 0 0; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links h4 { font-size: 11px; margin: 3px 0 8px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { color: var(--muted); font-size: 10px; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted-2); font-size: 10px; }
.developer-link { color: var(--accent); font-weight: 600; }

/* ─── FLOATING WHATSAPP ─── */
.floating-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--whatsapp); border: 4px solid rgba(255,255,255,.13); color: white; font-size: 25px; box-shadow: 0 10px 28px rgba(16, 191, 120, .28); transition: transform .2s, box-shadow .2s; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 13px 35px rgba(16, 191, 120, .4); }

/* ─── INQUIRY MODAL ─── */
.inquiry-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.inquiry-overlay { position: absolute; inset: 0; background: rgba(0, 3, 9, .6); backdrop-filter: blur(6px); }
.inquiry-panel { position: relative; z-index: 1; width: min(420px, calc(100% - 36px)); background: var(--panel); border: 1px solid var(--line-bright); border-radius: 20px; padding: 30px 28px 26px; box-shadow: var(--shadow); }
.inquiry-close { position: absolute; right: 16px; top: 14px; background: transparent; border: none; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.inquiry-panel h3 { font-size: 18px; margin-bottom: 6px; }
.inquiry-subtitle { color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.inquiry-field { margin-bottom: 16px; }
.inquiry-field label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 6px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.inquiry-field select { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); font-size: 13px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7f94' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.inquiry-field select:focus { border-color: var(--accent); outline: none; }
.inquiry-send { width: 100%; margin-top: 6px; }

/* ─── LIGHTBOX ─── */
.lightbox { width: min(1000px, calc(100% - 30px)); max-width: none; max-height: 90vh; padding: 12px; border: 1px solid var(--line-bright); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(0, 3, 9, .88); backdrop-filter: blur(8px); }
.lightbox img { max-height: calc(90vh - 24px); width: 100%; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; right: 18px; top: 18px; z-index: 2; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(3, 10, 20, .8); color: white; font-size: 26px; cursor: pointer; }
.noscript-note { position: fixed; z-index: 100; bottom: 0; background: #ffe9a7; color: #241a00; padding: 12px; width: 100%; text-align: center; font-size: 12px; }

/* ─── LIGHTBOX VIDEO MODE ─── */
.lightbox-video-wrap {
  width: min(420px, 90vw);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.lightbox-video-wrap[data-ratio="16:9"] {
  width: min(1000px, 92vw);
  aspect-ratio: 16 / 9;
}
.lightbox-video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.lightbox.video-mode #lightbox-image { display: none; }
.lightbox:not(.video-mode) .lightbox-video-wrap { display: none !important; }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .primary-nav { gap: 15px; }
  .primary-nav > a:not(.nav-cta) { font-size: 11px; }
  .nav-cta { padding: 10px 14px; }
  .hero { min-height: 570px; }
  .hero-art { transform: scale(.9); transform-origin: center; margin-inline: -20px; }
  .trust-item { padding-inline: 14px; gap: 10px; }
  .trust-item h3 { font-size: 11px; }
  .why-grid { gap: 45px; }
  .contact-grid { gap: 28px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 155px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 36px, 600px); }
  .section { padding: 74px 0; }
  .nav-wrap {
    min-height: 70px;
    justify-content: flex-start;
    gap: 10px;
  }
  .brand {
    font-size: 21px;
    margin-right: auto;
  }
  .menu-toggle { order: 3; }
  .theme-toggle { order: 2; }
  .menu-toggle { display: block; z-index: 55; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; top: 70px; left: 0; right: 0; padding: 18px 22px 24px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--header-bg); border-bottom: 1px solid var(--line-bright); transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
  .primary-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .primary-nav > a:not(.nav-cta) { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav-cta { text-align: center; margin-top: 15px; padding: 13px; }
  .theme-toggle { width: 40px; height: 40px; }
  .hero { padding: 66px 0 48px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: none; }
  h1 { font-size: clamp(43px, 11vw, 62px); letter-spacing: -2.5px; }
  .hero-description { font-size: 14px; max-width: 500px; }
  .hero-art { height: 330px; margin: 0 -10px; transform: none; }
  .phone-front { width: 150px; height: 290px; left: 39%; top: 15px; border-radius: 27px; }
  .phone-back { width: 135px; height: 265px; top: 28px; border-radius: 25px; }
  .phone-back-left { left: 19%; }
  .phone-back-right { right: 4%; }
  .camera-set { padding: 15px; grid-template-columns: 28px 28px; gap: 6px; }
  .camera-set i { width: 25px; height: 25px; }
  .hero-orbit.orbit-one { width: 320px; height: 190px; left: 4%; top: 50px; }
  .hero-orbit.orbit-two { width: 300px; height: 150px; left: 5%; top: 100px; }
  .hero-art-caption { left: 18%; bottom: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding-block: 12px; }
  .trust-item { padding: 16px 8px; border-right: 0; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:first-child { padding-left: 8px; }
  .trust-item:last-child { padding-right: 8px; }
  .line-icon { font-size: 27px; min-width: 28px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-card { padding: 19px 16px; min-height: 230px; }
  .service-card h3 { font-size: 13px; }
  .service-card p { font-size: 11px; }
  .why-grid { grid-template-columns: 1fr; gap: 38px; }
  .why-visual { min-height: 350px; margin-inline: 12px; }
  .why-visual > img { height: 350px; }
  .visual-label { left: -12px; bottom: 17px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 10px; }
  .gallery-item.size-wide { grid-column: span 2; grid-row: span 1; }
  .gallery-video-play { width: 54px; height: 54px; font-size: 20px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .gallery-count { margin: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .map-card { min-height: 350px; }
  .map-embed { min-height: 270px; }
  .footer-main { grid-template-columns: 1.2fr 1fr; gap: 35px 25px; padding-block: 38px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 15px; gap: 5px; }
  .inquiry-panel { padding: 26px 20px 22px; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 30px); }
  .section { padding: 62px 0; }
  .hero { padding-top: 54px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding: 11px 13px; font-size: 11px; }
  .hero-art { height: 290px; }
  .phone-front { width: 132px; height: 255px; left: 39%; }
  .phone-back { width: 118px; height: 230px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card p { min-height: 0; }
  .gallery-grid { grid-auto-rows: 110px; }
  .contact-actions .button { flex: 1 1 auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .floating-whatsapp { width: 49px; height: 49px; right: 15px; bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}