/*
 * Cravo — redesigned Hero Section (v2).
 * Fully namespaced under `.fdh-*` so it can't collide with the page's shared
 * components (.eyebrow, .btn-primary, .lead-card, etc.). Design tokens are
 * scoped to .fdh-section so they don't leak into the rest of the page.
 * Loaded after cravo.css + cravo-base.css.
 */

/* Section wrapper carries the dark backdrop + all design tokens */
.fdh-section {
  --panel:        #0f172a;
  --surface:      rgba(255,255,255,.04);
  --line:         rgba(255,255,255,.09);
  --line-strong:  rgba(255,255,255,.14);
  --white:        #f5f7fa;
  --text:         #cbd5e1;
  --muted:        #64748b;
  --accent:       #fa419c;
  --accent-hi:    #fa419c;
  --accent-soft:  rgba(250,65,156,.12);
  --accent-line:  rgba(250,65,156,.34);
  --accent-eyebrow:#fca5c7;
  --coral:        #fa419c;
  --green:        #25d366;

  /* Full-bleed dark hero (no card/box) — the backdrop + glow live on the
     section so they span edge to edge, like the original hero. */
  position: relative;
  overflow: hidden;
  background: #0f172a;
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}
.fdh-section::before {  /* dotted weave — full bleed */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.fdh-section::after {   /* pink halo glow — full bleed */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 45% at 72% 14%, rgba(250,65,156,.18), transparent 60%),
    radial-gradient(35% 35% at 6% 70%, rgba(250,65,156,.10), transparent 60%);
  pointer-events: none;
}
.fdh-wrap {
  /* Match the sticky header: max-w-7xl (1280px) + px-5 / sm:px-8 so the hero
     content lines up with the logo and the "Schedule a Call" button. */
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .fdh-wrap { padding: 0 32px; } }

/* ----------------------------- Hero ------------------------------ */
.fdh-hero {
  position: relative;
  padding: 44px 0 48px;
}
.fdh-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  gap: 44px;
  align-items: stretch;
}

/* ----------------------------- Eyebrow --------------------------- */
.fdh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250,65,156,.14);
  border: 1px solid var(--accent-line);
  color: var(--accent-eyebrow);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.fdh-eyebrow svg { width: 14px; height: 14px; }

/* ----------------------------- Headline -------------------------- */
.fdh-headline {
  margin: 22px 0 0;
  font-family: 'Sora', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
}
.fdh-accent {
  color: var(--accent-hi);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-color: rgba(250,65,156,.6);
}

/* ----------------------------- Price line ------------------------ */
.fdh-lede {
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 34em;
  color: var(--text);
}
.fdh-strong { color: var(--white); font-weight: 600; }
.fdh-strike { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.fdh-save   { color: var(--coral); font-weight: 600; }

/* ----------------------------- Chips ----------------------------- */
.fdh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fdh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: #c7ccd4;
  font-size: 13px;
  font-weight: 500;
}
.fdh-chip svg { width: 15px; height: 15px; opacity: .85; }
.fdh-chip--accent {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent-hi);
}
.fdh-chip--accent svg { opacity: 1; }

/* ----------------------------- Form card ------------------------- */
.fdh-form-card {
  margin-top: 24px;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 22px 44px -28px rgba(0,0,0,.7);
}
.fdh-form-title {
  margin: 0 0 16px;
  font-family: 'Sora', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.fdh-field { margin-bottom: 11px; }
.fdh-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #c7ccd4;
  margin-bottom: 6px;
}
.fdh-req { color: var(--accent); font-weight: 700; }
.fdh-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--white);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fdh-input::placeholder { color: #7a818c; }
.fdh-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(250,65,156,.22);
}

/* International phone field (intl-tel-input) on the hero form — dark theme.
   The library wraps #fdh-phone in a `.iti` element; pin it full-width and
   recolour the flag button + dial code to read on the dark input (mirrors the
   #try-it-yourself overrides in cravo-base.css). The body-appended search
   dropdown keeps its own light styling, untouched. */
.fdh-field .iti { display: block; width: 100%; font-size: 14.5px; }
.fdh-form-card .iti { --iti-icon-color: #cbd5e1; --iti-hover-color: rgba(255,255,255,.08); }
.fdh-form-card .iti__selected-dial-code,
.fdh-form-card .iti__selected-country { color: #e2e8f0; }

.fdh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 11px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease, background .2s ease, border-color .15s ease;
}
.fdh-btn svg { width: 17px; height: 17px; }
.fdh-btn-primary {
  margin-top: 5px;
  color: #fff;
  background: linear-gradient(180deg, #fa419c 0%, #e52f87 100%);
  box-shadow: 0 10px 24px -12px rgba(250,65,156,.65), inset 0 1px 0 rgba(255,255,255,.25);
}
.fdh-btn-primary:hover { transform: translateY(-1px); filter: saturate(1.05) brightness(1.03); }
.fdh-btn-primary:active { transform: translateY(0); }

.fdh-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12.5px;
}
.fdh-or::before, .fdh-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.fdh-btn-whatsapp {
  color: var(--green);
  background: transparent;
  border: 1px solid var(--line-strong);
}
.fdh-btn-whatsapp:hover { border-color: rgba(37,211,102,.55); background: rgba(37,211,102,.06); }
.fdh-btn-whatsapp svg { fill: var(--green); }

.fdh-fineprint { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--muted); }

/* Honeypot — off-screen, never visible to humans */
.fdh-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Inline validation / send error */
.fdh-error {
  display: none;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #fca5a5;
  text-align: center;
}
.fdh-error.is-active { display: block; }

/* Disabled (sending…) state */
.fdh-btn[disabled] { opacity: .65; cursor: default; transform: none; filter: none; }

/* Success panel */
.fdh-success { text-align: center; padding: 14px 6px 6px; }
.fdh-success-ico {
  height: 52px; width: 52px; border-radius: 9999px; margin: 0 auto 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(250,65,156,.16); color: var(--accent);
}
.fdh-success-ico svg { width: 26px; height: 26px; }
.fdh-success h3 {
  margin: 12px 0 0;
  font-family: 'Sora', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700; font-size: 18px; color: var(--white);
}
.fdh-success p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--text); }

/* ----------------------------- Callout --------------------------- */
.fdh-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  max-width: 540px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #b9bfc8;
}
.fdh-callout svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--accent-hi); }
.fdh-callout strong { color: var(--white); font-weight: 600; }

/* ----------------------------- Trust strip ----------------------- */
.fdh-trust { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.fdh-trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.fdh-trust-item { display: inline-flex; align-items: center; gap: 8px; color: #c7ccd4; }
.fdh-trust-item svg { width: 16px; height: 16px; }
.fdh-trust-item strong { color: var(--white); font-weight: 600; }
.fdh-ico-star { color: var(--accent); }
.fdh-ico-code, .fdh-ico-apps { color: var(--accent-hi); }

/* ----------------------------- Right: images --------------------- */
.fdh-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 100%;
  padding: 12px;
}
.fdh-glow {
  position: absolute;
  inset: -8%;
  z-index: 0;
  opacity: .5;
  filter: blur(60px);
  background:
    radial-gradient(46% 30% at 50% 24%, rgba(250,65,156,.26), transparent 70%),
    radial-gradient(46% 30% at 50% 78%, rgba(250,65,156,.20), transparent 70%);
  pointer-events: none;
}
.fdh-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 540px;
  margin: 0 auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* ----------------------------- Responsive ------------------------ */
@media (max-width: 920px) {
  .fdh-hero { padding: 32px 0 36px; }
  .fdh-inner { grid-template-columns: 1fr; gap: 32px; }
  .fdh-headline { font-size: 38px; }
  .fdh-mockup { min-height: auto; }
  .fdh-form-card { max-width: 100%; }
}
@media (max-width: 480px) {
  .fdh-hero { padding: 24px 0 28px; }
  .fdh-headline { font-size: 32px; }
}
