/* ============ RGS Tecnoimpianti ============ */
:root {
  --navy: #0c1a33;
  --navy-2: #132a50;
  --navy-3: #1c3a6b;
  --gold: #d2aa55;
  --gold-2: #e8c97f;
  --gold-d: #a8822f;
  --orange: #e8771e;
  --blue: #1d6fc4;
  --paper: #f7f5f1;
  --white: #ffffff;
  --ink: #17202e;
  --muted: #5a6475;
  --line: #e5e1d8;
  --wa: #1fa855;
  --wa-d: #178a45;
  --danger: #c0392b;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 51, .06), 0 2px 8px rgba(12, 26, 51, .05);
  --shadow: 0 10px 30px -10px rgba(12, 26, 51, .18), 0 2px 6px rgba(12, 26, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(12, 26, 51, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Sora", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--navy); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-d);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); box-shadow: 0 8px 22px -8px rgba(210, 170, 85, .7); }
.btn--primary:hover { box-shadow: 0 14px 28px -10px rgba(210, 170, 85, .85); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px -10px rgba(31, 168, 85, .8); }
.btn--wa:hover { background: var(--wa-d); }
.btn svg { width: 1.15em; height: 1.15em; }

.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .95rem; color: var(--blue); text-decoration: none; margin-top: auto; padding-top: 1rem; }
.link svg { transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.link--light { color: var(--gold-2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 241, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(12, 26, 51, .25); background: rgba(247, 245, 241, .94); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand img { height: 54px; width: auto; mix-blend-mode: multiply; }
.nav { display: none; gap: .25rem; margin-left: auto; }
.nav a { position: relative; padding: .5rem .85rem; font-weight: 600; font-size: .96rem; text-decoration: none; color: var(--navy); border-radius: 999px; transition: background-color .2s; }
.nav a:hover { background: rgba(12, 26, 51, .06); }
.nav a.is-active { background: rgba(12, 26, 51, .08); }
.header__cta { display: none; align-items: center; gap: 1rem; }
.header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.header__phone svg { color: var(--gold-d); }

.burger { margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; position: relative; z-index: 61; }
.burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .header__cta { display: flex; }
  .burger { display: none; }
}
@media (min-width: 1100px) and (max-width: 1240px) { .header__phone { display: none; } }

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 55;
  padding: calc(var(--header-h) + 16px) 24px calc(24px + env(safe-area-inset-bottom));
  background: var(--paper);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease);
}
.mmenu.is-open { opacity: 1; transform: none; }
.mmenu[hidden] { display: none; }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; color: var(--navy); text-decoration: none; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.mmenu__foot { margin-top: auto; display: grid; gap: .75rem; }
.mmenu .btn--ghost-light { color: var(--navy); border-color: var(--line); background: var(--white); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(29, 111, 196, .35), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(210, 170, 85, .18), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #0a1529 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; gap: 3rem; padding-block: 3.5rem 4.5rem; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6.2vw, 4rem); font-weight: 700; margin-top: 1.1rem; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 1.25rem; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: rgba(255, 255, 255, .78); max-width: 36rem; }
.hero__actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.hero__trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust svg { color: var(--gold-2); width: 1.05em; height: 1.05em; }

.hero__media { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.hero__photo { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; border: 1px solid rgba(255, 255, 255, .12); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 12px; bottom: 20px;
  display: flex; align-items: center; gap: .7rem;
  background: var(--white); color: var(--navy); padding: .85rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.hero__badge strong { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; background: linear-gradient(135deg, var(--gold), var(--gold-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__badge span { font-size: .8rem; font-weight: 700; line-height: 1.25; color: var(--muted); }
.hero__tag {
  position: absolute; right: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(12, 26, 51, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: .8rem; font-weight: 600; padding: .45rem .8rem; border-radius: 999px;
}

@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; padding-block: 5.5rem 6.5rem; }
  .hero__media { max-width: none; }
  .hero__photo { aspect-ratio: 4 / 4.8; }
  .hero__badge { left: -28px; }
}

/* ---------- Strip ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip__grid { display: grid; grid-template-columns: 1fr 1fr; }
.strip__item { display: flex; gap: .85rem; align-items: center; padding: 1.4rem .5rem; border-bottom: 1px solid var(--line); }
.strip__item:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); }
.strip__item:nth-child(even) { padding-left: 1rem; }
.strip__item:nth-child(n+3) { border-bottom: 0; }
.strip__item svg { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 12px; background: rgba(210, 170, 85, .14); color: var(--gold-d); }
.strip__item strong { display: block; font-family: var(--f-display); font-size: 1rem; color: var(--navy); line-height: 1.25; }
.strip__item span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 420px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item, .strip__item:nth-child(odd), .strip__item:nth-child(even) { padding: 1.1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .strip__item:last-child { border-bottom: 0; }
}
@media (min-width: 992px) {
  .strip__grid { grid-template-columns: repeat(4, 1fr); }
  .strip__item, .strip__item:nth-child(odd), .strip__item:nth-child(even) { padding: 1.8rem 1.5rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .strip__item:first-child { padding-left: 0; }
  .strip__item:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--alt { background: var(--white); border-block: 1px solid var(--line); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section__head h2, .faq__head h2, .about__text h2, .ba__text h2, .contact__info h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-top: .9rem; }
.section__head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section__head--row { max-width: none; display: grid; gap: 1rem; align-items: end; }
@media (min-width: 900px) {
  .section__head--row { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .section__head--row p { margin: 0; justify-self: end; max-width: 26rem; }
}

/* ---------- Services ---------- */
.services { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service h3 { font-size: 1.35rem; margin-top: .4rem; }
.service p { color: var(--muted); margin-top: .65rem; font-size: 1rem; }
.service__num { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.service__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: var(--gold-2);
  box-shadow: 0 10px 20px -10px rgba(12, 26, 51, .6);
}
.service__icon svg { width: 26px; height: 26px; }

.service--feature { padding: 0; overflow: hidden; }
.service__media { aspect-ratio: 16 / 10; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service--feature:hover .service__media img { transform: scale(1.04); }
.service__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; font-size: .96rem; font-weight: 600; color: var(--navy); }
.ticks li { display: flex; gap: .55rem; align-items: baseline; }
.ticks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); flex-shrink: 0; }

.service--photo { padding: 0; overflow: hidden; min-height: 380px; border: 0; color: #fff; }
.service--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service--photo:hover > img { transform: scale(1.05); }
.service__overlay { position: relative; margin-top: auto; padding: 1.75rem; background: linear-gradient(180deg, transparent, rgba(8, 18, 36, .55) 30%, rgba(8, 18, 36, .92)); padding-top: 5rem; display: flex; flex-direction: column; }
.service--photo h3 { color: #fff; }
.service--photo p { color: rgba(255, 255, 255, .82); }
.service--photo .service__num { color: var(--gold-2); }

@media (min-width: 680px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service--feature { grid-column: span 2; flex-direction: row; }
  .service--feature .service__media { aspect-ratio: auto; flex: 0 0 46%; }
}
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service--feature .service__body { padding: 2.25rem; }
  .service--feature h3 { font-size: 1.7rem; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.gallery__item {
  position: relative; padding: 0; border: 0; background: var(--navy); border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 3 / 4; text-align: left; color: #fff;
}
.gallery__item--tall { grid-column: span 2; aspect-ratio: 4 / 3.6; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .85rem;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 36, .85));
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; line-height: 1.25;
}
.gallery__cap small { display: block; font-family: var(--f-body); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .2rem; }
.gallery__item::after {
  content: "+"; position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 1.3rem; font-weight: 600;
  opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease);
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }
@media (min-width: 768px) {
  .gallery { gap: 1rem; grid-template-columns: repeat(3, 1fr); }
  .gallery__item--tall { grid-column: span 1; grid-row: span 2; aspect-ratio: auto; }
  .gallery__item:nth-child(5) { grid-column: span 2; aspect-ratio: auto; }
  .gallery__cap { font-size: 1.1rem; padding: 3rem 1.2rem 1.1rem; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: 1.3fr 1fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 300px)); }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item:nth-child(5) { grid-column: span 2; }
}

/* ---------- Before / After ---------- */
.ba { display: grid; gap: 2.5rem; align-items: center; }
.ba__text p { color: rgba(255, 255, 255, .75); margin: 1rem 0 2rem; max-width: 30rem; font-size: 1.08rem; }
.compare {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.2;
  box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; width: 100%; max-width: 560px; margin-inline: auto;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.compare__handle span {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.compare__handle span::before, .compare__handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%);
}
.compare__handle span::before { left: 9px; border-right-color: var(--navy); }
.compare__handle span::after { right: 9px; border-left-color: var(--navy); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.compare__range:focus-visible + .compare__handle, .compare:focus-within .compare__handle span { outline: 3px solid var(--gold); }
.compare__label { position: absolute; top: 14px; padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(12, 26, 51, .75); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.compare__label--l { left: 14px; }
.compare__label--r { right: 14px; background: var(--gold); color: var(--navy); }
@media (min-width: 992px) {
  .ba { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .compare { aspect-ratio: 4 / 3.6; max-width: none; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: s; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; overflow: hidden; }
.step__n { position: absolute; top: .6rem; right: 1rem; font-family: var(--f-display); font-weight: 800; font-size: 3.6rem; line-height: 1; color: rgba(210, 170, 85, .2); }
.step__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 111, 196, .1); color: var(--blue); margin-bottom: 1.2rem; }
.step__icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin-top: .5rem; font-size: .98rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

/* ---------- About ---------- */
.about { display: grid; gap: 3rem; align-items: center; }
.about__media { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.about__media > img { border-radius: var(--radius); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about__card { position: absolute; right: 12px; bottom: -20px; width: 44%; background: var(--paper); padding: .9rem; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.about__card img { mix-blend-mode: multiply; }
.about__text p { color: var(--muted); margin-top: 1.1rem; font-size: 1.05rem; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.about__facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about__facts dd { margin: .3rem 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--navy); }
@media (min-width: 992px) {
  .about { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .about__card { right: -30px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2.5rem; }
.faq__head p { color: var(--muted); margin: 1rem 0 1.75rem; }
.faq__list { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.3rem; font-weight: 700; color: var(--navy); min-height: 60px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(210, 170, 85, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8822f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.25rem; color: var(--muted); }
@media (min-width: 992px) {
  .faq { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Contact ---------- */
.section--contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.section--contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 100% 0%, rgba(29, 111, 196, .3), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(210, 170, 85, .15), transparent 60%);
}
.contact { display: grid; gap: 2.5rem; align-items: start; }
.contact__info h2 { color: #fff; }
.contact__info > p { color: rgba(255, 255, 255, .75); margin-top: 1rem; max-width: 30rem; font-size: 1.05rem; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 700; }
.contact__list a, .contact__list span:not(.contact__ic) { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: #fff; }
.contact__list a:hover { color: var(--gold-2); }
.contact__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: var(--gold-2); flex-shrink: 0; }
.contact__ic--wa { color: #4ade80; }
.contact__card { background: var(--white); color: var(--ink); border-radius: 22px; padding: 1.5rem; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .contact__card { padding: 2.25rem; } }
@media (min-width: 992px) { .contact { grid-template-columns: .85fr 1.15fr; gap: 4.5rem; } .contact__info { position: sticky; top: calc(var(--header-h) + 32px); } }

.form__grid { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: .6rem; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.field input, .field select, .field textarea, .ready textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .8rem 1rem; min-height: 52px; transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1a33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(29, 111, 196, .14); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fdf3f2; }
.field__err { color: var(--danger); font-size: .85rem; font-weight: 600; min-height: 1.2em; margin-top: .25rem; }
.field__err:empty { min-height: 0; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: .4rem 0 .2rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--navy); flex-shrink: 0; }
.consent a { color: var(--blue); font-weight: 600; }
.form .btn--block { margin-top: 1rem; }
.form__note { font-size: .85rem; color: var(--muted); margin-top: .85rem; text-align: center; }

.ready { text-align: center; outline: none; }
.ready__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; background: rgba(31, 168, 85, .12); color: var(--wa); }
.ready__icon svg { width: 30px; height: 30px; }
.ready h3 { font-size: 1.6rem; }
.ready p { color: var(--muted); margin: .5rem auto 1.25rem; max-width: 30rem; }
.ready textarea { font-size: .92rem; text-align: left; resize: none; }
.ready__actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
@media (min-width: 560px) { .ready__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; } }

/* ---------- Footer ---------- */
.footer { background: #08132a; color: rgba(255, 255, 255, .72); font-size: .95rem; border-top: 3px solid var(--gold); }
.footer__grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold-2); }
.footer p + p { margin-top: .9rem; }
.footer__logo { display: inline-block; background: #f1efeb; padding: .6rem .9rem; border-radius: 14px; margin-bottom: 1.2rem; }
.footer__logo img { height: 72px; width: auto; }
.footer__brand p { max-width: 22rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.25rem; font-size: .85rem; text-align: center; color: rgba(255, 255, 255, .5); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 3rem; } }

/* ---------- Floating WA + mobile bar ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: none; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(31, 168, 85, .7);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); background: var(--wa-d); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(12, 26, 51, .2);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar .btn { min-height: 50px; padding-inline: .8rem; }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

@media (min-width: 768px) {
  .mbar { display: none; }
  .wa-float { display: grid; }
  body { padding-bottom: 0; }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(6, 12, 26, .92); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; padding: 64px 16px; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 170px); max-width: min(92vw, 1000px); width: auto; border-radius: 12px; object-fit: contain; }
.lightbox figcaption { color: #fff; margin-top: 1rem; font-weight: 600; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: 20px; transform: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Legal page ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 1rem 0 1.5rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .8rem; }
.legal a { color: var(--blue); }
body.no-bar { padding-bottom: 0; }
