/* ===== Bourne Group – main stylesheet ===== */
:root {
  --navy: #0e1f36;
  --navy-2: #16304f;
  --gold: #c8a24a;
  --gold-dark: #a8842f;
  --ink: #1b2430;
  --muted: #5d6877;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --wa: #25d366;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(14, 31, 54, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--navy); }
h3 { font-size: 1.1rem; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #dfe6ef; }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--gold-dark); margin-bottom: .8em; }
.section-dark .eyebrow { color: var(--gold); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.center-v { align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); font-weight: 600; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--gold); cursor: pointer; font: inherit; font-weight: 600; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 162, 74, .35); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: var(--wa); border-color: var(--wa); box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.btn-light { background: #fff; border-color: #fff; }
.btn-full { width: 100%; justify-content: center; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--gold-dark); }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(14, 31, 54, .96); box-shadow: 0 4px 20px rgba(0,0,0,.15); backdrop-filter: blur(8px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 1.25rem; letter-spacing: .02em; }
.logo strong { color: var(--gold); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .9; }
.nav a:not(.btn):hover, .nav a.active { color: var(--gold); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 80% 20%, rgba(200,162,74,.25), transparent 55%),
  linear-gradient(135deg, rgba(14,31,54,.94), rgba(22,48,79,.88)),
  url("../images/hero.jpg") center/cover no-repeat, var(--navy); }
.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: 60px 60px; }
.hero-inner { position: relative; max-width: 860px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5.2vw, 3.8rem); font-weight: 700; }
.hero h1 span { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #cfd8e3; max-width: 680px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: #b9c5d3; }
.hero-points li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }

/* Values */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .25s; }
.value:hover { transform: translateY(-4px); }
.value p { color: var(--muted); font-size: .93rem; margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(200,162,74,.14); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; fill: var(--gold-dark); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); border-top: 3px solid var(--gold); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-ico { font-size: 1.8rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .93rem; flex: 1; }
.card a { font-weight: 600; text-decoration: none; color: var(--gold-dark); font-size: .92rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--bg-alt); }
.steps span { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); font-weight: 700; display: block; line-height: 1; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list a { font-weight: 600; font-size: 1.08rem; text-decoration: none; word-break: break-word; }
.form { background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.form input, .form select, .form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,74,.2); }
.form .invalid { border-color: #d64545; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin: 14px 0 0; font-size: .93rem; min-height: 1.4em; }
.form-status.ok { color: #1e8a4c; }
.form-status.err { color: #c43b3b; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* Footer */
.footer { background: var(--navy); color: #a9b6c6; padding: 60px 0 24px; font-size: .93rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; margin: 0 0 12px; }
.footer a { color: #cfd8e3; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer .logo { margin-bottom: 14px; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* WhatsApp floating button */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 100; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); animation: wa-pulse 2.4s infinite; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; right: 72px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; font-size: .88rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none; }
.whatsapp-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 99; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: .85; 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) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 12px 16px 24px; transform: translateY(-120%); transition: transform .35s ease; box-shadow: 0 10px 20px rgba(0,0,0,.2); }
  .nav.open { transform: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a.btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .header { background: rgba(14, 31, 54, .96); }
  .grid-2, .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards, .steps, .values, .form .row { grid-template-columns: 1fr; }
  .form .row { gap: 0; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { right: 24px; bottom: 86px; }
}
