/* ============================================================
   Along Insure — Global CSS
   alonginsure.com
   ============================================================ */

/* ── Google Fonts loaded via <link> in HTML ─────────────────
   Playfair Display (headings) + Inter (body) + Barlow Condensed (labels)
   ──────────────────────────────────────────────────────────── */

:root {
  --navy:        #003366;
  --navy-dark:   #001f3f;
  --navy-mid:    #004488;
  --royal:       #4169e1;
  --royal-dark:  #2f50c8;
  --orange:      #ff8200;
  --orange-dark: #e06000;
  --white:       #ffffff;
  --off-white:   #f8faff;
  --light:       #eef2fb;
  --border:      #e2e8f0;
  --text-dark:   #0f172a;
  --text-body:   #334155;
  --text-muted:  #64748b;
  --success:     #16a34a;
  --danger:      #dc2626;

  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --font-label: 'Barlow Condensed', sans-serif;

  --sidebar-w:  260px;
  --topbar-h:   64px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow:     0 2px 12px rgba(0,51,102,.08);
  --shadow-md:  0 8px 32px rgba(0,51,102,.12);
  --shadow-lg:  0 20px 60px rgba(0,51,102,.16);
  --transition: all .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,130,0,.35); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ── SECTION EYEBROW ─────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,130,0,.1);
  border: 1px solid rgba(255,130,0,.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ── SECTION HEADING ─────────────────────────────────────── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}
.section-head-center { text-align: center; margin-bottom: 50px; }
.section-head-center .section-sub { margin: 0 auto; }

/* ── FLASH MESSAGES ──────────────────────────────────────── */
.flash {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.flash-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.flash-error   { background: #fee2e2; color: var(--danger); border: 1px solid #fecaca; }
.flash-info    { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ── FORM ────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .83rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .92rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #fff;
  transition: border .2s;
  outline: none;
  appearance: none;
}
.form-control:focus { border-color: var(--navy); }
textarea.form-control { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #004499 60%, var(--royal) 100%);
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 560px; line-height: 1.75; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: .84rem;
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: #fff; }

/* ── CARD ────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ── BADGE ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  background: #f3f4f6;
  color: #555;
}
.badge-green   { background: #dcfce7; color: #15803d; }
.badge-red     { background: #fee2e2; color: var(--danger); }
.badge-blue    { background: #dbeafe; color: #1d4ed8; }
.badge-orange  { background: #ffedd5; color: #c2410c; }
.badge-info    { background: #dbeafe; color: #1d4ed8; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger  { background: #fee2e2; color: var(--danger); }
.badge-warning { background: #fef9c3; color: #92400e; }
.badge-primary { background: #ede9fe; color: #6d28d9; }
.badge-secondary{ background: #f3f4f6; color: #6b7280; }

/* ── ANIMATE ON SCROLL ───────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FLOATING WHATSAPP ───────────────────────────────────── */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}
.float-whatsapp:hover { transform: scale(1.12); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
