/* =====================================================================
   FREON ENTERPRISES  —  style.css
   Construction • Interiors • HVAC
   Palette: Ink #0F172A · Slate #1E293B · Gold #C89B3C · White #FFFFFF
   Type:    Poppins (headings) · Inter (body & UI)
   ---------------------------------------------------------------------
   BEGINNER EDITING GUIDE
   - All colors, fonts and spacing live in the :root block below.
     Change a value once there and it updates everywhere.
   - Section padding is controlled by --section-y.
   - To change the brand gold, edit --gold.
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand colors */
  --ink:        #0F172A;   /* primary   */
  --slate:      #1E293B;   /* secondary */
  --gold:       #C89B3C;   /* accent    */
  --gold-soft:  #E2C275;
  --bg:         #FFFFFF;   /* background */
  --text:       #111827;   /* body text  */

  /* Derived neutrals */
  --muted:      #64748B;
  --line:       #E5E7EB;
  --line-dark:  rgba(255,255,255,0.10);
  --surface:    #F8FAFC;
  --surface-2:  #F1F5F9;

  /* Typography */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing rhythm */
  --section-y: 7rem;      /* vertical padding for sections */
  --container: 1240px;    /* max content width */
  --radius:    16px;
  --radius-sm: 10px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 6px 18px rgba(15,23,42,.05);
  --shadow-md: 0 10px 30px rgba(15,23,42,.10);
  --shadow-lg: 0 30px 60px rgba(15,23,42,.18);
  --ease:      cubic-bezier(.16,.84,.44,1);
}

/* ---------- 2. RESET & BASE ---------- */
*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

/* Fluid heading scale */
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1rem; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- 3. LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }

.section { padding-block: var(--section-y); position: relative; }
.section--tint  { background: var(--surface); }
.section--dark  { background: var(--ink); color: #CBD5E1; }
.section--dark h2,.section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }

.section-head { max-width: 720px; margin-bottom: 3.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.075rem; color: var(--muted); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  --pad-y: .92rem; --pad-x: 1.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; line-height: 1;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-gold     { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,155,60,.35); }
.btn-ink      { background: var(--ink); color: #fff; }
.btn-ink:hover{ background: var(--slate); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline  { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background:#fff; color: var(--ink); transform: translateY(-2px); }
.btn-sm { --pad-y:.7rem; --pad-x:1.35rem; font-size:.85rem; }
.btn-block { width: 100%; }

/* ---------- 5. NAVBAR ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding-block: 1.1rem;
  background: transparent;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  padding-block: .65rem; box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-weight: 600; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--ink); font-weight: 700; font-size: 1.15rem;
}
.brand-name { line-height: 1.1; color: #fff; transition: color .4s var(--ease); }
.brand-name b { display: block; font-size: 1.12rem; letter-spacing: .04em; }
.brand-name span { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); font-weight: 600; }
.navbar.scrolled .brand-name { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.85);
  position: relative; transition: color .3s;
}
.nav-links a::after {
  content:""; position: absolute; left:0; bottom:-6px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--slate); }
.navbar.scrolled .nav-links a:hover, .navbar.scrolled .nav-links a.active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  cursor: pointer; padding: 10px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: all .3s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.navbar.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.78) 42%, rgba(15,23,42,.45) 100%);
}
.hero__content { max-width: 760px; padding-block: 7rem 4rem; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero__sub { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.75rem; margin-top: 3.5rem;
  padding-top: 2.25rem; border-top: 1px solid var(--line-dark);
}
.hero__stats .num { font-family: var(--font-head); font-weight: 600; font-size: 2.1rem; color: #fff; }
.hero__stats .num .plus { color: var(--gold); }
.hero__stats .lbl { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{ opacity:1; transform: scaleY(1);} }

/* ---------- 7. ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-figure { position: relative; }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; right: -18px; bottom: -22px;
  background: var(--gold); color: var(--ink); padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  font-family: var(--font-head);
}
.about-badge b { display: block; font-size: 2rem; line-height: 1; }
.about-badge span { font-size: .78rem; letter-spacing: .08em; }
.mvv { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.mvv-item { display: flex; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--surface); border-radius: var(--radius-sm); border-left: 3px solid var(--gold); }
.mvv-item .ic { color: var(--gold); flex: none; }
.mvv-item h4 { margin: 0 0 .15rem; font-size: 1rem; }
.mvv-item p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- 8. SERVICES (3 cards) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.svc-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.25rem 2rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content:""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ic {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); margin-bottom: 1.4rem;
}
.svc-card h3 { margin-bottom: .9rem; }
.svc-list { display: grid; gap: .55rem; margin-bottom: 1.6rem; }
.svc-list li { display: flex; gap: .6rem; align-items: center; font-size: .94rem; color: var(--slate); }
.svc-list li::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.svc-card .btn { margin-top: auto; }

/* ---------- 9. SHOWCASE (alternating) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.showcase + .showcase { margin-top: 5rem; }
.showcase.reverse .showcase__media { order: 2; }
.showcase__media { position: relative; }
.showcase__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.showcase__media .tag {
  position: absolute; top: 1rem; left: 1rem; background: rgba(15,23,42,.85);
  color:#fff; padding:.45rem .9rem; border-radius:999px; font-size:.74rem; letter-spacing:.12em; text-transform:uppercase;
}
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.5rem 0; }
.feature-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.feature-list .ic { color: var(--gold); flex: none; margin-top: 2px; }

/* mini process chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.chip { font-size: .8rem; padding: .45rem .9rem; border-radius: 999px; background: var(--surface-2); color: var(--slate); font-weight: 500; }

/* before / after */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ba-grid figure { margin: 0; position: relative; }
.ba-grid img { border-radius: var(--radius-sm); }
.ba-grid figcaption {
  position: absolute; bottom: .75rem; left: .75rem; background: var(--gold); color: var(--ink);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px;
}

/* ---------- 10. WHY CHOOSE ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.why-card {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 2rem 1.75rem; transition: background .35s, transform .35s var(--ease);
}
.why-card:hover { background: rgba(200,155,60,.10); transform: translateY(-5px); }
.why-card .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--ink); margin-bottom: 1.15rem; }
.why-card h3 { color:#fff; font-size: 1.18rem; margin-bottom: .5rem; }
.why-card p { color: #94A3B8; font-size: .92rem; margin: 0; }

/* ---------- 11. PORTFOLIO ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  padding: .65rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--slate); cursor: pointer; transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.pf-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pf-item:hover img { transform: scale(1.08); }
.pf-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; color: #fff;
  background: linear-gradient(to top, rgba(15,23,42,.88), rgba(15,23,42,0) 60%);
  opacity: 0; transform: translateY(10px); transition: all .4s var(--ease);
}
.pf-item:hover .pf-overlay { opacity: 1; transform: translateY(0); }
.pf-overlay .cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pf-overlay h4 { color:#fff; margin: .2rem 0 0; font-size: 1.15rem; }
.pf-overlay .view { margin-top: .75rem; font-size: .82rem; display: inline-flex; align-items: center; gap: .4rem; }
.pf-item.hide { display: none; }

/* ---------- 12. PROCESS (numbered timeline) ---------- */
.process-track { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.25rem; position: relative; }
.process-track::before {
  content:""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: .5;
}
.step { text-align: center; position: relative; }
.step .num {
  width: 70px; height: 70px; margin: 0 auto 1.25rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem;
  background: #fff; color: var(--ink); border: 2px solid var(--gold); box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.step:hover .num { background: var(--gold); }
.step h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- 13. TESTIMONIALS ---------- */
.tslider { position: relative; max-width: 860px; margin-inline: auto; }
.tslide { display: none; text-align: center; padding: .5rem; animation: fadeIn .6s var(--ease); }
.tslide.active { display: block; }
@keyframes fadeIn { from{ opacity:0; transform: translateY(12px);} to{ opacity:1; transform: none;} }
.tstars { color: var(--gold); letter-spacing: .15em; margin-bottom: 1.25rem; font-size: 1.1rem; }
.tquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem,2vw,1.5rem); color: var(--ink); line-height: 1.5; margin-bottom: 1.75rem; }
.tquote::before { content: "\201C"; color: var(--gold); }
.tquote::after { content: "\201D"; color: var(--gold); }
.tauthor { display: flex; align-items: center; justify-content: center; gap: .85rem; }
.tauthor img { width: 56px; height: 56px; border-radius: 50%; }
.tauthor b { display: block; font-family: var(--font-head); }
.tauthor span { font-size: .85rem; color: var(--muted); }
.tnav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.tnav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background:#fff; cursor: pointer; display: grid; place-items: center; transition: all .3s; }
.tnav button:hover { background: var(--ink); color:#fff; border-color: var(--ink); }
.tdots { display: flex; gap: .5rem; }
.tdots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); cursor: pointer; transition: all .3s; }
.tdots i.active { background: var(--gold); width: 26px; border-radius: 999px; }

/* ---------- 14. FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
  padding: 1.4rem 3rem 1.4rem 0; position: relative; display: flex; gap: 1rem;
}
.faq-q .qnum { color: var(--gold); font-size: .95rem; }
.faq-q .ic { position: absolute; right: 0; top: 50%; translate: 0 -50%; transition: transform .35s var(--ease); color: var(--gold); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 1.4rem; color: var(--muted); margin: 0; }

/* ---------- 15. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; }
.contact-info .info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-info .info-row .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(200,155,60,.15); color: var(--gold); flex: none; }
.contact-info .info-row b { color:#fff; display:block; font-family: var(--font-head); }
.contact-info .info-row span,.contact-info .info-row a { color:#94A3B8; font-size: .94rem; }
.contact-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.75rem; }

.form-card { background: #fff; border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--slate); }
.field input,.field select,.field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .25s, box-shadow .25s;
}
.field input:focus,.field select:focus,.field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,155,60,.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: #DC2626; font-size: .78rem; display: none; }
.field.invalid input,.field.invalid select,.field.invalid textarea { border-color: #DC2626; }
.field.invalid .err { display: block; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .75rem; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 1rem 1.25rem; margin-top: 1rem;
  background: rgba(16,185,129,.10); color: #047857; border: 1px solid rgba(16,185,129,.3); border-radius: var(--radius-sm); font-weight: 500;
}
.form-success.show { display: block; }

/* ---------- 16. FOOTER ---------- */
.footer { background: #0A0F1C; color: #94A3B8; padding-top: 4.5rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer h4 { color:#fff; font-size: 1rem; margin-bottom: 1.25rem; letter-spacing: .02em; }
.footer .brand { margin-bottom: 1.1rem; }
.footer .brand-name b { color:#fff; }
.footer p { font-size: .92rem; line-height: 1.7; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { font-size: .92rem; transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer .hours-row { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .5rem; }
.footer .hours-row span:last-child { color:#CBD5E1; }
.socials { display: flex; gap: .65rem; margin-top: 1.25rem; }
.socials a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color:#fff; transition: all .3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; }
.footer-bottom p { margin: 0; font-size: .85rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.legal-links a { font-size: .82rem; }
.legal-links a:hover { color: var(--gold); }

/* ---------- 17. FLOATING ACTIONS ---------- */
.floaters { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 900; display: flex; flex-direction: column; gap: .75rem; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color:#fff; box-shadow: var(--shadow-md); cursor: pointer; transition: transform .3s var(--ease); border: none; }
.fab:hover { transform: scale(1.08); }
.fab--wa { background: #25D366; }
.fab--call { background: var(--ink); }
.fab--top { background: var(--gold); color: var(--ink); opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab--top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- 18. LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,15,28,.94); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lb-close,.lb-prev,.lb-next { position: absolute; background: rgba(255,255,255,.1); border: none; color:#fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.lb-close:hover,.lb-prev:hover,.lb-next:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1.5rem; top: 50%; translate: 0 -50%; }
.lb-caption { position: absolute; bottom: 1.5rem; left: 50%; translate: -50% 0; color:#fff; font-size: .9rem; letter-spacing: .05em; }

/* ---------- 19. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
.reveal[data-delay="4"]{ transition-delay: .32s; }

/* ---------- 20. MOBILE NAV PANEL ---------- */
.mobile-panel {
  position: fixed; inset: 0; z-index: 999; background: var(--ink); color:#fff;
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; padding: 6rem 1.75rem 2rem;
}
.mobile-panel.open { transform: none; }
.mobile-panel a { font-family: var(--font-head); font-size: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line-dark); }
.mobile-panel .btn { margin-top: 1.5rem; }

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 992px) {
  :root { --section-y: 5rem; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .about-grid, .showcase, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .showcase.reverse .showcase__media { order: 0; }
  .cards-3, .why-grid, .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .process-track { grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; }
  .process-track::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --section-y: 4rem; }
  .cards-3, .why-grid, .portfolio-grid, .form-grid, .feature-list, .ba-grid, .process-track, .footer-top { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.75rem; }
  .about-badge { right: 12px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- 22. ACCESSIBILITY ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
