/* =====================================================
   AdviceOnMedicare.com — Shared Stylesheet
   Design direction: "Confident Kitchen-Table Clarity"
   Warm editorial trust + the brand's glossy 3D icon-block energy,
   translated into a calm, high-contrast, approachable system.
   Paste this file's contents into WordPress: Appearance → Customize →
   Additional CSS, or enqueue as a child-theme stylesheet.
   ===================================================== */

:root{
  /* Brand palette, pulled from the 3D icon lockup */
  --aom-blue:      #1D63C9;
  --aom-blue-deep: #123E80;
  --aom-orange:    #F0932B;
  --aom-teal:      #159C8B;
  --aom-red:       #E1503C;
  --aom-cream:     #FBF6EC;
  --aom-cream-2:   #F3ECDC;
  --aom-ink:       #17233B;
  --aom-ink-soft:  #46536B;
  --aom-line:      rgba(23,35,59,0.12);
  --aom-white:     #FFFFFF;

  --aom-radius:    18px;
  --aom-radius-sm: 10px;
  --aom-shadow:    0 20px 40px -18px rgba(18,62,128,0.28);
  --aom-shadow-sm: 0 10px 24px -14px rgba(18,62,128,0.24);

  --aom-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --aom-font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Fonts — add once to your theme header or via WordPress "Additional CSS" @import */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&family=Figtree:wght@400;500;600;700;800&display=swap');

.aom-scope, .aom-scope * { box-sizing: border-box; }
.aom-scope{
  font-family: var(--aom-font-body);
  color: var(--aom-ink);
  background: var(--aom-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.aom-scope h1, .aom-scope h2, .aom-scope h3, .aom-scope h4{
  font-family: var(--aom-font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--aom-ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
.aom-scope h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 900; }
.aom-scope h2{ font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.aom-scope h3{ font-size: clamp(1.3rem, 2vw, 1.6rem); }
.aom-scope p{ margin: 0 0 1.1em; color: var(--aom-ink-soft); font-size: 1.05rem; }
.aom-scope a{ color: var(--aom-blue-deep); text-decoration: none; }
.aom-scope img{ max-width: 100%; display: block; border-radius: var(--aom-radius); }

.aom-wrap{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.aom-section{ padding: 88px 0; }
.aom-section--tight{ padding: 56px 0; }
.aom-section--cream2{ background: var(--aom-cream-2); }
.aom-section--ink{ background: var(--aom-ink); color: #EDEFF4; }
.aom-section--ink h2, .aom-section--ink h3{ color: #fff; }
.aom-section--ink p{ color: #B9C2D6; }

.aom-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--aom-font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aom-teal); margin-bottom: 14px;
}
.aom-eyebrow::before{ content:""; width: 22px; height: 3px; background: var(--aom-orange); border-radius: 2px; display:inline-block; }

/* Buttons — compound selectors (.aom-scope a.aom-btn...) intentionally used so these
   beat the base ".aom-scope a" link-color rule on specificity. */
.aom-scope a.aom-btn, .aom-scope .aom-btn{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--aom-font-body); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.aom-scope a.aom-btn--primary, .aom-scope .aom-btn--primary{ background: var(--aom-orange); color: var(--aom-ink); box-shadow: var(--aom-shadow-sm); }
.aom-scope a.aom-btn--primary:hover, .aom-scope .aom-btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(240,147,43,0.55); }
.aom-scope a.aom-btn--dark, .aom-scope .aom-btn--dark{ background: var(--aom-blue-deep); color: #fff; box-shadow: var(--aom-shadow-sm); }
.aom-scope a.aom-btn--dark:hover, .aom-scope .aom-btn--dark:hover{ transform: translateY(-2px); background: var(--aom-blue); color:#fff; }
.aom-scope a.aom-btn--outline, .aom-scope .aom-btn--outline{ background: transparent; border-color: currentColor; color: var(--aom-ink); }
.aom-scope a.aom-btn--outline:hover, .aom-scope .aom-btn--outline:hover{ background: rgba(23,35,59,0.06); }
.aom-btn--pill-sm{ padding: 10px 20px; font-size: 0.9rem; }

/* Header / Nav */
.aom-header{
  position: relative; z-index: 20; background: var(--aom-cream);
  border-bottom: 1px solid var(--aom-line);
}
.aom-nav{ display:flex; align-items:center; justify-content: space-between; padding: 18px 0; }
.aom-logo{ display:flex; align-items:center; gap: 12px; font-family: var(--aom-font-display); font-weight: 800; font-size: 1.25rem; color: var(--aom-ink); }
.aom-logo img{ width: 42px; height: 42px; border-radius: 10px; }
.aom-navlinks{ display:flex; gap: 30px; list-style:none; margin:0; padding:0; }
.aom-navlinks a{ color: var(--aom-ink); font-weight: 600; font-size: 0.96rem; }
.aom-navlinks a:hover{ color: var(--aom-blue); }
.aom-navcta{ display:flex; align-items:center; gap: 16px; }
.aom-phone{ font-weight: 800; color: var(--aom-blue-deep); }

/* Hero */
.aom-hero{ position: relative; overflow: hidden; }
.aom-hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items:center; }
.aom-hero-art{ position: relative; }
.aom-hero-art img{ box-shadow: var(--aom-shadow); }
.aom-hero-badge{
  position:absolute; bottom:-22px; left:-22px; background: var(--aom-white);
  border-radius: var(--aom-radius-sm); padding: 14px 18px; box-shadow: var(--aom-shadow-sm);
  display:flex; align-items:center; gap: 10px; font-weight: 800; font-size: 0.92rem;
  border: 1px solid var(--aom-line); color: var(--aom-ink);
}
.aom-hero-badge .dot{ width:10px; height:10px; border-radius:50%; background: var(--aom-teal); flex-shrink:0; }
.aom-hero-stats{ display:flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.aom-stat b{ display:block; font-family: var(--aom-font-display); font-size: 1.7rem; color: var(--aom-blue-deep); }
.aom-stat span{ font-size: 0.85rem; color: var(--aom-ink-soft); }
.aom-cta-row{ display:flex; gap: 16px; margin: 28px 0; flex-wrap: wrap; }

/* Trust bar */
.aom-trustbar{ display:flex; flex-wrap:wrap; gap: 34px; align-items:center; justify-content: space-between; padding: 26px 0; }
.aom-trust-item{ display:flex; align-items:center; gap: 12px; font-weight: 700; font-size: 0.95rem; color: var(--aom-ink-soft); }
.aom-trust-item .icon{
  width: 40px; height: 40px; border-radius: 12px; display:flex; align-items:center; justify-content:center;
  font-size: 1.1rem; color: #fff; flex-shrink:0;
}

/* Cards / grids */
.aom-grid{ display:grid; gap: 26px; }
.aom-grid--3{ grid-template-columns: repeat(3, 1fr); }
.aom-grid--2{ grid-template-columns: repeat(2, 1fr); }
.aom-grid--4{ grid-template-columns: repeat(4, 1fr); }
.aom-card{
  background: var(--aom-white); border-radius: var(--aom-radius); padding: 30px;
  border: 1px solid var(--aom-line); box-shadow: var(--aom-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.aom-card:hover{ transform: translateY(-4px); box-shadow: var(--aom-shadow); }
.aom-card .icon-badge{
  width: 52px; height: 52px; border-radius: 14px; display:flex; align-items:center; justify-content:center;
  font-size: 1.4rem; color:#fff; margin-bottom: 18px;
}
.bg-blue{ background: var(--aom-blue); } .bg-orange{ background: var(--aom-orange); color:var(--aom-ink); }
.bg-teal{ background: var(--aom-teal); } .bg-red{ background: var(--aom-red); }

/* Steps (5-step / process) */
.aom-steps{ display:grid; grid-template-columns: repeat(5,1fr); gap: 18px; counter-reset: step; }
.aom-step{ position:relative; background: var(--aom-white); border-radius: var(--aom-radius); padding: 26px 20px; border: 1px solid var(--aom-line); }
.aom-step .num{
  counter-increment: step; display:flex; align-items:center; justify-content:center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--aom-blue-deep); color:#fff;
  font-family: var(--aom-font-display); font-weight: 800; margin-bottom: 14px;
}
.aom-step .num::before{ content: counter(step); }

/* Timeline (AEP/OEP) */
.aom-timeline{ position:relative; padding-left: 34px; border-left: 3px solid var(--aom-line); }
.aom-tl-item{ position:relative; padding-bottom: 34px; }
.aom-tl-item:last-child{ padding-bottom: 0; }
.aom-tl-item::before{
  content:""; position:absolute; left:-42px; top:2px; width: 16px; height:16px; border-radius:50%;
  background: var(--aom-orange); border: 3px solid var(--aom-cream);
}
.aom-tl-item .when{ font-family: var(--aom-font-display); font-weight: 800; color: var(--aom-blue-deep); font-size: 1.15rem; }

/* Comparison table (AEP vs OEP) */
.aom-compare{ width: 100%; border-collapse: separate; border-spacing: 0; background:#fff; border-radius: var(--aom-radius); overflow:hidden; border: 1px solid var(--aom-line); }
.aom-compare th, .aom-compare td{ padding: 16px 20px; text-align:left; border-bottom: 1px solid var(--aom-line); font-size: 0.96rem; }
.aom-compare th{ background: var(--aom-blue-deep); color:#fff; font-family: var(--aom-font-display); font-weight:700; }
.aom-compare tr:last-child td{ border-bottom:none; }
.aom-compare td:first-child{ font-weight:700; color: var(--aom-ink); }

/* Blog */
.aom-post-card{ background:#fff; border-radius: var(--aom-radius); overflow:hidden; border: 1px solid var(--aom-line); box-shadow: var(--aom-shadow-sm); }
.aom-post-card img{ border-radius:0; aspect-ratio: 16/10; object-fit: cover; }
.aom-post-body{ padding: 22px 24px 26px; }
.aom-post-body h3{ color: var(--aom-ink); }
.aom-tag{ display:inline-block; background: var(--aom-cream-2); color: var(--aom-blue-deep); font-weight:700; font-size: 0.76rem; letter-spacing:0.04em; text-transform:uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.aom-meta{ font-size: 0.85rem; color: var(--aom-ink-soft); display:flex; gap:14px; margin-top: 14px; }

/* Testimonials */
.aom-quote{ background: var(--aom-white); border-left: 5px solid var(--aom-orange); border-radius: var(--aom-radius); padding: 26px 28px; box-shadow: var(--aom-shadow-sm); }
.aom-quote p{ font-family: var(--aom-font-display); font-size: 1.2rem; color: var(--aom-ink); font-weight: 500; }
.aom-quote-by{ font-weight: 700; color: var(--aom-blue-deep); font-size: 0.9rem; }

/* CTA band */
.aom-ctaband{ background: linear-gradient(120deg, var(--aom-blue-deep), var(--aom-blue)); color:#fff; border-radius: 28px; padding: 56px; text-align:center; position:relative; overflow:hidden; }
.aom-ctaband::after{ content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 20%, rgba(240,147,43,0.35), transparent 55%); }
.aom-ctaband h2, .aom-ctaband p{ position:relative; color:#fff; }
.aom-ctaband p{ color:#D7E2F8; max-width:560px; margin: 0 auto 26px; }

/* Forms */
.aom-form{ background:#fff; border-radius: var(--aom-radius); padding: 34px; border:1px solid var(--aom-line); box-shadow: var(--aom-shadow-sm); }
.aom-form label{ display:block; font-weight:700; font-size:0.88rem; margin-bottom:6px; color: var(--aom-ink); }
.aom-form input, .aom-form select, .aom-form textarea{
  width:100%; padding:13px 14px; border-radius: 10px; border:1.5px solid var(--aom-line);
  font-family: var(--aom-font-body); font-size: 0.98rem; margin-bottom:18px; background: var(--aom-cream);
}
.aom-form input:focus, .aom-form select:focus, .aom-form textarea:focus{ outline:2px solid var(--aom-blue); }
.aom-form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* Footer */
.aom-footer{ background: var(--aom-ink); color:#B9C2D6; padding: 60px 0 30px; }
.aom-footer h4{ color:#fff; font-family: var(--aom-font-body); font-size: 0.9rem; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:16px; }
.aom-footer a{ color:#B9C2D6; }
.aom-footer a:hover{ color:#fff; }
.aom-footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.aom-footer-bottom{ border-top:1px solid rgba(255,255,255,0.1); margin-top:40px; padding-top:22px; font-size:0.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

@media (max-width: 900px){
  .aom-hero-grid{ grid-template-columns: 1fr; }
  .aom-grid--3, .aom-grid--4, .aom-grid--2{ grid-template-columns: 1fr; }
  .aom-steps{ grid-template-columns: 1fr 1fr; }
  .aom-navlinks{ display:none; }
  .aom-footer-grid{ grid-template-columns: 1fr 1fr; }
  .aom-form-row{ grid-template-columns: 1fr; }
}
