/* ==========================================================
   Monte Mar - Snagging landing page
   ========================================================== */

:root {
  --navy: #10222D;
  --navy-deep: #0B1A23;
  --cream: #FAF7F2;
  --sand: #F1EBDD;
  --gold: #C99A4B;
  --gold-light: #D9B36C;
  --gold-text: #8A5F22;
  --muted: #55606A;
  --line: #E9E2D3;
  --soft: #D8D3C8;
  --paper: #F7F2E8;
  --on-dark: #F3EEE5;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Montserrat', 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
}
h1, h2, h3 { margin: 0; font-family: var(--font-head); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  border: 0; border-radius: 12px; cursor: pointer;
  font: 700 17px var(--font-body);
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--sm { min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 600; }
.btn--lg { min-height: 58px; padding: 0 36px; border-radius: 14px; font-size: 19px; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--dark { background: var(--navy); color: var(--paper); }
.btn--outline { color: var(--on-dark); border: 1.5px solid rgba(243, 238, 229, .45); background: transparent; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); }
.hero .container { position: relative; z-index: 1; }

.waves { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; overflow: hidden; pointer-events: none; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 110px; }
.wave--1 { animation: drift 22s linear infinite; }
.wave--2 { animation: drift 34s linear infinite reverse; }

.nav {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid rgba(243, 238, 229, .14);
}
.logo { display: block; }
.logo img { display: block; width: 210px; height: auto; }

.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 72px 0 100px; }
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__visual { flex: 1 1 380px; min-width: 0; }

.badge {
  align-self: flex-start; padding: 6px 16px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--gold-light);
  border: 1px solid rgba(217, 179, 108, .5); border-radius: 999px;
}
.hero__title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.18; font-weight: 800; color: var(--paper); }
.hero__lead { max-width: 560px; font-size: 19px; line-height: 1.75; color: var(--soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 18px; font-size: 15px; color: var(--soft); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--gold-light); }

/* Report card */
.report {
  padding: 28px; border-radius: 20px;
  color: var(--navy); background: var(--cream);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.report__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid #E4DCCB; color: var(--gold-text);
}
.report__head div { display: flex; flex-direction: column; color: var(--navy); }
.report__head strong { font: 700 18px var(--font-head); }
.report__head span { font-size: 14px; color: var(--muted); }
.report__rows { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; }
.report__rows li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.report__note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }

.chip { padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.chip--fix { color: #7A3B0C; background: #F8E3CF; }
.chip--ok { color: #14532D; background: #DCEFE0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--why { padding-bottom: 40px; }
.section--checks { padding: 72px 0 96px; }
.section--dark { color: var(--on-dark); background: var(--navy); }
.section--sand { padding: 88px 0; background: var(--sand); }
.section--form { padding: 0 0 96px; }
.section--faq { padding: 0 0 96px; }

.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 700px; margin-bottom: 44px; }
.section__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; font-weight: 700; }
.section--dark .section__title { color: var(--paper); }
.section__lead { font-size: 18px; line-height: 1.75; color: var(--muted); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--gold-text); }
.eyebrow--light { color: var(--gold-light); }

/* ---------- Cards ---------- */
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.grid > * { flex: 1 1 300px; min-width: 0; }
.grid--4 > * { flex-basis: 240px; }
.grid--2 > * { flex-basis: 380px; }

.card {
  display: flex; flex-direction: column; gap: 14px; padding: 30px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(16, 34, 45, .12); }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.card__icon { color: var(--gold-text); line-height: 0; }
.card__icon--ink { color: var(--navy); }

.card--check { gap: 10px; padding: 26px; border-top: 3px solid var(--gold); border-radius: 0 0 16px 16px; }
.card--check h3 { font-size: 19px; }
.card--check p { font-size: 15px; line-height: 1.7; }

.card--step { gap: 12px; padding: 26px; background: transparent; border-color: rgba(243, 238, 229, .16); border-radius: 16px; }
.card--step:hover { box-shadow: none; }
.card--step h3 { font-size: 19px; color: var(--paper); }
.card--step p { font-size: 15px; line-height: 1.7; color: var(--soft); }
.step__num { font: 800 40px/1 var(--font-head); color: var(--gold-light); }

.card--tick { flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px; border-radius: 16px; }
.card--tick h3 { margin-bottom: 4px; font-size: 18px; }
.card--tick p { font-size: 15px; line-height: 1.7; }
.card--tick .card__icon { flex: none; }

.card--who { gap: 12px; padding: 34px; border: 0; }
.card--who h3 { font-size: 22px; }

/* Deliverables split */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split__intro { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split__list { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Team + reviews ---------- */
.team { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.team__lead {
  flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 36px; border-radius: 20px; color: var(--on-dark); background: var(--navy);
}
.team__lead h2 { font-size: 26px; line-height: 1.35; font-weight: 700; color: var(--paper); }
.team__lead p { font-size: 16px; line-height: 1.75; color: var(--soft); }
.rating { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.rating strong { font: 800 44px/1 var(--font-head); color: var(--gold-light); }

.team__quotes { flex: 2 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.card--quote { flex: 1 1 280px; justify-content: space-between; gap: 18px; margin: 0; padding: 30px; border-radius: 20px; }
.card--quote blockquote { margin: 0; font-size: 17px; line-height: 1.8; }
.card--quote figcaption { font-size: 14px; color: var(--muted); }
.card--quote strong { color: var(--navy); }

/* ---------- Request form ---------- */
.lead {
  display: flex; flex-wrap: wrap; gap: 40px; padding: 40px;
  background: var(--sand); border-radius: 20px;
}
.lead__info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lead__info h2 { font-size: 26px; font-weight: 700; }
.lead__info p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.lead__form { flex: 1 1 420px; min-width: 0; display: grid; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: 400 16px var(--font-body); color: var(--navy);
  background: #fff; border: 1.5px solid #8C8576; border-radius: 10px;
}
.field textarea { resize: vertical; }
.field input:invalid:not(:placeholder-shown):not(:focus) { border-color: #B3261E; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.6em; font-size: 15px; font-weight: 600; }
.form-status[data-state="ok"] { color: #14532D; }
.form-status[data-state="error"] { color: #B3261E; }
.form-status[data-state="sending"] { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.faq details { padding: 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { font-size: 28px; line-height: 1; color: var(--gold-text); transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin-bottom: 22px; font-size: 16px; line-height: 1.8; color: var(--muted); }

/* ---------- Final CTA + footer ---------- */
.cta { padding: 88px 0; text-align: center; color: var(--on-dark); background: var(--navy); }
.cta .container { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.25; font-weight: 800; color: var(--paper); }
.cta p { font-size: 18px; line-height: 1.75; color: var(--soft); }

.footer { padding: 36px 0; font-size: 15px; color: #B9B5AB; background: var(--navy-deep); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__inner > div { display: flex; flex-direction: column; gap: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { font-weight: 600; color: var(--gold-light); }

/* ---------- Motion ---------- */
.in { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .35s; }
.d4 { animation-delay: .5s; }  .d5 { animation-delay: .65s; }
.float { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) .35s backwards, bob 6s ease-in-out 1.3s infinite; }
.pulse { animation: ring 2.4s ease-out infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes bob    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ring   { 0% { box-shadow: 0 0 0 0 rgba(201, 100, 40, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(201, 100, 40, 0); } }
@keyframes drift  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise   { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* Scroll reveal: pure CSS where supported... */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
/* ...and a JS-driven fallback (see assets/js/main.js) */
.js-reveal .reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .card.reveal.is-visible:hover { transform: translateY(-6px); }

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

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .hero__grid { padding: 48px 0 80px; gap: 40px; }
  .section { padding: 64px 0; }
  .lead { padding: 24px; }
  .team__lead { padding: 28px; }
  .logo img { width: 170px; }
}
