/* ===== Fiberonex Composites ===== */
:root {
  --navy: #0C3249;
  --navy-900: #071F2F;
  --navy-700: #144564;
  --gold: #D9A441;
  --gold-600: #B9862A;
  --gold-50: #FBF4E4;
  --ink: #15242F;
  --muted: #5B6B78;
  --line: #E3E8ED;
  --bg: #FFFFFF;
  --bg-light: #F4F7F9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 50, 73, .10);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-light { background: var(--bg-light); }
.section-navy { background: var(--navy); color: #D6E1EA; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow.light { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #E6B65A; box-shadow: 0 8px 22px rgba(217,164,65,.35); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(12,50,73,.08); border-color: var(--line); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 34px; width: auto; }
.brand .logo-light { display: none; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--font-head); font-weight: 500; color: var(--navy); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav-cta { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 60px) 0 70px;
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(217,164,65,.12), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-text { position: relative; z-index: 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 22px; }
.hero h1 .script { font-family: "Great Vibes", cursive; font-weight: 400; font-size: 1.15em; color: var(--navy-700); padding-left: 4px; }
.hero h1 .accent { color: var(--navy); position: relative; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; z-index: -1;
  background: linear-gradient(90deg, var(--gold), #F0CD84); border-radius: 4px; opacity: .55;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4/4.2; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -24px; bottom: 36px; background: var(--navy); color: #fff;
  padding: 18px 22px; border-radius: 16px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 14px 34px rgba(7,31,47,.35);
}
.hero-badge strong { font-family: var(--font-head); font-size: 2rem; color: var(--gold); }
.hero-badge span { font-size: .85rem; line-height: 1.3; }

.stats {
  list-style: none; margin: 64px 0 0; padding: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.stats li { text-align: center; padding: 6px 10px; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--navy); }
.stats span { font-size: .9rem; color: var(--muted); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.about-media img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-text p { color: var(--muted); }
.about-text strong { color: var(--navy); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.vm-card { background: var(--bg-light); border-left: 4px solid var(--gold); border-radius: 12px; padding: 22px; }
.vm-card i { color: var(--gold-600); font-size: 1.3rem; margin-bottom: 8px; }
.vm-card p { font-size: .93rem; margin: 0; }

/* ===== Values ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.value-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 28px; transition: transform .3s, background .3s, border-color .3s;
}
.value-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(217,164,65,.5); }
.value-card i {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); color: var(--navy-900); font-size: 1.25rem; margin-bottom: 16px;
}
.value-card p { font-size: .94rem; margin: 0; }

/* ===== Pillars ===== */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pillars li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); line-height: 1.25;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pillars li:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.pillars i {
  flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 1.05rem;
}
.bundle { margin: 56px auto 0; max-width: 900px; width: 100%; }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; -webkit-overflow-scrolling: touch; }
.tech-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
.tech-table th, .tech-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tech-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; }
.tech-table thead th.hl { background: var(--gold); color: var(--navy-900); }
.tech-table td.hl { background: var(--gold-50); font-weight: 600; color: var(--navy); }
.tech-table tbody tr:hover td { background: #EEF3F7; }
.tech-table tbody tr:hover td.hl { background: #F6E7C4; }
.tech-table tbody tr:last-child td { border-bottom: 0; }

.sub-head { text-align: center; margin: 80px auto 24px; max-width: 640px; }
.sub-head p { color: var(--muted); }
.sub-table th, .sub-table td { text-align: center; }
.sub-table .eq { width: 48px; background: var(--bg-light) !important; color: var(--muted); font-weight: 700; }
.sub-table thead tr.sub-th th { background: var(--navy-700); font-size: .88rem; }
.sub-table thead tr.sub-th th.eq { background: var(--navy-700) !important; }
.sub-table small { font-weight: 400; opacity: .8; }
.sub-table tr.match td { background: #FFF1CF !important; }
.note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

.sub-finder {
  display: grid; grid-template-columns: auto 200px 1fr; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 22px;
}
.sub-finder label { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.sub-finder select {
  font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-light); color: var(--ink);
}
.sub-result { font-size: .98rem; color: var(--ink); }
.sub-result strong { color: var(--navy); }
.sub-result .save { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--gold); color: var(--navy-900); font-weight: 600; font-size: .85rem; }

/* ===== Attributes ===== */
.attr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.attr-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.attr-card h3 { background: var(--navy); color: #fff; margin: 0; padding: 16px 22px; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.attr-card h3 i { color: var(--gold); }
.attr-card ul { list-style: none; margin: 0; padding: 18px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.attr-card li { position: relative; padding-left: 18px; font-size: .95rem; color: var(--muted); }
.attr-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--navy); box-shadow: 0 4px 14px rgba(12,50,73,.08); }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  padding: 12px 14px; text-align: center;
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(rgba(7,31,47,.86), rgba(7,31,47,.86)), url("../img/mesh.jpg") center/cover;
  padding: 72px 0; color: #D6E1EA;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 6px; }
.cta-inner p { margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 920px; }
.faq-list { display: grid; gap: 14px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-light); color: var(--navy); font-size: 1.3rem; font-weight: 500; transition: background .25s, transform .25s;
}
.faq[open] summary::after { content: "–"; background: var(--gold); }
.faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq-body h4 { font-size: 1rem; margin-bottom: 8px; }
.faq-body ul { padding-left: 20px; margin: 0 0 1em; }
.faq-body .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-body ul.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-body ul.chips li { background: var(--bg-light); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .88rem; color: var(--navy); }
.faq-body .ref { font-size: .9rem; border-left: 3px solid var(--gold); padding-left: 12px; }

/* ===== Approvals ===== */
.approvals { padding: 48px 0; border-top: 1px solid var(--line); background: var(--bg-light); text-align: center; }
.approvals h3 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.approval-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.approval-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 22px; min-width: 170px; }
.approval-list strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); }
.approval-list span { font-size: .8rem; color: var(--muted); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list i { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(217,164,65,.15); color: var(--gold); }
.contact-list span { display: block; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: .95rem; }
.contact-list a:hover { color: var(--gold); }

.contact-form { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.contact-form h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 18px; }
.contact-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-light); transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.contact-form .invalid { border-color: #D9534F; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-form .btn-outline-light { color: var(--navy); border-color: var(--navy); }
.contact-form .btn-outline-light:hover { background: var(--navy); color: #fff; }
.form-error { color: #C0392B; font-size: .9rem; min-height: 1.2em; margin: 0 0 10px; }

.map { margin-top: 56px; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: 20px; filter: grayscale(.2); }

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: #9FB3C2; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer img { height: 38px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { display: block; margin-bottom: 8px; transition: color .2s; overflow-wrap: anywhere; }
.footer a:hover { color: var(--gold); }
.footer-bottom a.credit { display: inline; margin: 0; color: var(--gold); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* Floating buttons */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; font-size: 1.8rem;
  box-shadow: 0 8px 22px rgba(37,211,102,.4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.to-top {
  position: fixed; right: 26px; bottom: 90px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav { gap: 22px; }
  .hero-grid, .about-grid, .contact-grid { gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(12,50,73,.1);
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; }

  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-badge { left: 12px; bottom: 18px; }
  .about-media { order: 2; }
  .about-media img { aspect-ratio: 16/11; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2) { border-right: 0; }
  .attr-grid { grid-template-columns: 1fr; }
  .sub-finder { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .btn { padding: 13px 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats { padding: 18px 10px; gap: 14px 6px; }
  .stats strong { font-size: 1.6rem; }
  .vm-grid, .field-row, .faq-body .two-col, .attr-card ul { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery figcaption { font-size: .82rem; padding: 10px 8px; }
  .contact-form { padding: 24px 18px; }
  .form-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: .98rem; padding: 18px 56px 18px 18px; }
  .faq-body { padding: 0 18px 18px; }
  .map iframe { height: 260px; }
}
