/* ═══════════════════════════════════════════════════════════════
   Irma Ramos Insurance — irmaramosinsurance.com
   Palette: "South Florida dusk" — gulf teal, sunset coral, sun gold
   Type: Fraunces (display) · Nunito Sans (body)
   Signature: the sunset arc — sun-over-horizon motif in mark,
   hero divider and step markers.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #1b2a38;
  --ink-2: #12333a;
  --paper: #ffffff;
  --tint: #f0f7f6;
  --teal: #0e6b72;
  --teal-deep: #0a4d53;
  --coral: #e76f51;
  --coral-deep: #d05a3d;
  --gold: #f2b75c;
  --muted: #5b6b76;
  --line: #dce8e7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(18, 51, 58, 0.10);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, Segoe UI, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.5em; }
h3 { font-size: 1.3rem; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: var(--tint); }
.eyebrow {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 0.9em;
}
.section-lede { max-width: 620px; color: var(--muted); margin-bottom: 2rem; }

/* ─────────── Header ─────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1240px, 94%); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.55rem 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; display: block; }
.brand-text em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--teal); }

.main-nav { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.95rem;
  padding: 0.3rem 0; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--teal); border-bottom-color: var(--gold); }
.main-nav .nav-cta {
  background: var(--teal); color: #fff; padding: 0.5rem 1.1rem; border-radius: 999px; border: none;
}
.main-nav .nav-cta:hover { background: var(--teal-deep); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-toggle {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.35rem 0.7rem; cursor: pointer; font-family: var(--font-body);
  font-weight: 800; font-size: 0.85rem; color: var(--muted); display: flex; gap: 0.35rem;
}
.lang-toggle .lang-opt.active { color: var(--coral); }
.lang-sep { color: var(--line); }
.header-phone {
  display: flex; align-items: center; gap: 0.45rem; text-decoration: none;
  color: var(--teal); font-weight: 800; font-size: 0.95rem; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; fill: currentColor; }
.nav-burger { display: none; }

/* ─────────── Hero ─────────── */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-media, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 40, 48, 0.82) 0%, rgba(10, 40, 48, 0.55) 45%, rgba(231, 111, 81, 0.18) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1120px, 92%); margin: 0 auto; padding: 130px 0 150px;
  color: #fff; max-width: 100%;
}
.hero-eyebrow {
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; max-width: 13ch; margin-bottom: 1rem;
}
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.22rem); max-width: 54ch; opacity: 0.94; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 1rem; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(231, 111, 81, 0.35); }
.btn-coral:hover { background: var(--coral-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-chips li {
  font-size: 0.85rem; font-weight: 700; padding: 0.42rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(4px);
}
.arc-divider { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); z-index: 3; }

/* ─────────── Service cards ─────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem; margin-top: 2.2rem;
}
.svc-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(18, 51, 58, 0.16); }
.svc-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 1.5rem 1.6rem 1.8rem; }
.svc-body h3 { margin-bottom: 0.55rem; color: var(--teal-deep); }
.svc-body p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.9rem; }
.svc-list { list-style: none; }
.svc-list li {
  position: relative; padding-left: 1.5rem; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.35rem;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.72em; height: 0.36em;
  border-radius: 0.72em 0.72em 0 0;
  background: var(--gold);
}

/* ─────────── About ─────────── */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait-card {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius); padding: 2.4rem 1.5rem 1.8rem; text-align: center;
  color: #fff; box-shadow: var(--shadow); position: sticky; top: 100px;
}
.portrait-card svg { width: 150px; margin: 0 auto 1rem; }
.portrait-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.portrait-role { font-size: 0.85rem; opacity: 0.85; }
.about-copy p { margin-bottom: 1rem; max-width: 58ch; }
.about-quote {
  border-left: 4px solid var(--gold); padding: 0.4rem 0 0.4rem 1.3rem; margin: 1.6rem 0;
}
.about-quote p { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--teal-deep); margin-bottom: 0.4rem; }
.about-quote cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: 0.9rem; }
.about-facts { display: flex; gap: 2.2rem; flex-wrap: wrap; margin-top: 1.4rem; }
.about-facts div { line-height: 1.3; }
.about-facts strong { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); }
.about-facts span { font-weight: 800; font-size: 1.05rem; }

/* ─────────── Steps ─────────── */
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem; margin-top: 2.4rem;
}
.steps li {
  counter-increment: step; position: relative;
  background: var(--tint); border-radius: var(--radius); padding: 2rem 1.7rem 1.8rem;
}
.step-sun {
  display: block; width: 46px; height: 23px; margin-bottom: 1.1rem;
  border-radius: 46px 46px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--coral));
  position: relative;
}
.step-sun::after {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 58px; top: -6px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--teal);
}
.steps h3 { margin-bottom: 0.5rem; color: var(--teal-deep); }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* ─────────── Bands (Florida + final CTA) ─────────── */
.florida-band, .final-cta { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; }
.florida-band img, .final-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-overlay {
  position: relative; z-index: 2; width: min(1120px, 92%); margin: 0 auto;
  color: #fff; padding: 70px 0; max-width: 100%;
}
.florida-band::before, .final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(10, 40, 48, 0.85) 10%, rgba(10, 40, 48, 0.35) 80%);
}
.band-overlay h2 { max-width: 22ch; }
.band-overlay p { max-width: 52ch; opacity: 0.92; margin: 0.6rem 0 1.4rem; font-size: 1.08rem; }

/* ─────────── Videos ─────────── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.8rem; }
.video-card { margin: 0; }
.video-facade {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: none; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--ink); box-shadow: var(--shadow); padding: 0;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.2s, transform 0.3s; }
.video-facade:hover img { opacity: 1; transform: scale(1.03); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(231, 111, 81, 0.94); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); transition: transform 0.2s;
}
.video-facade:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.play-btn svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: none; border-radius: var(--radius); box-shadow: var(--shadow); }
.video-card figcaption { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin-top: 0.7rem; }

/* ─────────── FAQ ─────────── */
.faq-wrap { max-width: 780px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-top: 0.9rem; box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.4rem;
  font-weight: 800; font-size: 1.02rem; color: var(--teal-deep); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%;
  width: 0.85em; height: 0.42em; transform: translateY(-50%);
  border-radius: 0.85em 0.85em 0 0; background: var(--gold);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* ─────────── Contact / form ─────────── */
.section-contact { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-copy p { max-width: 46ch; }
.contact-direct { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-line {
  display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--ink);
  font-size: 0.98rem; line-height: 1.35;
}
.contact-line strong { color: var(--teal-deep); }
.contact-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.contact-ico svg { width: 20px; height: 20px; fill: var(--coral); }

.book-form {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.book-form label { display: block; font-weight: 700; font-size: 0.9rem; }
.book-form label span { display: block; margin-bottom: 0.35rem; }
.book-form input, .book-form select, .book-form textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink); background: #fff;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal);
}
.form-full { margin-bottom: 1rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.consent-check {
  display: flex !important; gap: 0.6rem; align-items: flex-start;
  font-size: 0.82rem !important; font-weight: 500 !important; color: var(--muted);
  margin-bottom: 0.8rem;
}
.consent-check input { width: auto; margin-top: 0.2rem; accent-color: var(--teal); }
.btn-submit { width: 100%; justify-content: center; margin-top: 0.4rem; font-size: 1.05rem; }
.form-status { min-height: 1.4em; font-weight: 700; margin-top: 0.7rem; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--coral-deep); }
.form-fineprint { font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; }

/* ─────────── Footer ─────────── */
.site-footer { background: var(--ink-2); color: #cfe0e0; padding: 64px 0 40px; }
.site-footer a { color: #cfe0e0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand-mark { width: 42px; margin-bottom: 0.8rem; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.footer-contact { margin-top: 1rem; font-weight: 700; line-height: 1.8; }
.footer-links h4 {
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.footer-links a { display: block; margin-bottom: 0.55rem; font-weight: 600; font-size: 0.95rem; }
.footer-legal { padding-top: 1.8rem; }
.footer-legal p { font-size: 0.8rem; opacity: 0.75; margin-bottom: 0.8rem; max-width: 90ch; }

/* ─────────── Reveal animation ─────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .svc-card, .video-facade img, .play-btn { transition: none; }
}

/* ─────────── Responsive ─────────── */
@media (max-width: 960px) {
  .main-nav {
    position: fixed; inset: 64px 0 auto 0; z-index: 55;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 0.5rem 0;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.85rem 6%; width: 100%; border-bottom: none; font-size: 1.05rem; }
  .main-nav .nav-cta { border-radius: 0; margin-top: 0.3rem; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; background: none; border: 1.5px solid var(--line);
    border-radius: 10px; cursor: pointer; padding: 0 9px;
  }
  .nav-burger span { height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .header-phone span { display: none; }
  .header-phone svg { width: 22px; height: 22px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .portrait-card { position: static; max-width: 380px; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row label { margin-bottom: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-content { padding: 100px 0 120px; }
}
