/* ============================================================
   LEOVISIO HEALTHCARE CONSULTING — Main Stylesheet
   Brand: Pantone 301C (#0057A8), Butler-inspired headings,
          Exo 2 for body/subtext
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Playfair+Display:wght@700;800&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0057A8;
  --dark-blue:   #002D62;
  --mid-blue:    #1A6BBF;
  --light-blue:  #D6E8F7;
  --accent:      #00AEEF;
  --white:       #FFFFFF;
  --off-white:   #F4F8FC;
  --dark-text:   #1A1A2E;
  --mid-gray:    #5A6A7A;
  --light-gray:  #EAF0F7;
  --border:      #D0DCEA;
  --green:       #22C55E;
  --nav-h:       82px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

h4 { font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-light  { background: var(--off-white); }
.section-dark   { background: var(--dark-blue); color: var(--white); }
.section-blue   { background: var(--blue); color: var(--white); }
.section-white  { background: var(--white); }

/* ── EYEBROW / LABEL ────────────────────────────────────────── */
.eyebrow {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.section-dark .eyebrow, .section-blue .eyebrow { color: var(--accent); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  height: var(--nav-h);
  background: var(--dark-blue);
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--blue);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--dark-blue) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--white) !important; color: var(--dark-blue) !important; }

.nav-phone {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s !important;
}
.nav-phone:hover { color: var(--accent) !important; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark-blue);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--dark-blue);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  color: var(--white);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--dark-blue);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,87,168,0.4) 0%, rgba(0,45,98,0.2) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero-left p  { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stat {
  background: rgba(0,87,168,0.4);
  border: 1px solid rgba(0,174,239,0.3);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* ── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
  background: var(--blue);
  padding: 18px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item::before {
  content: '✓';
  color: var(--accent);
  font-size: 1rem;
}

/* ── SECTION HEADERS ──────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { font-size: 1.05rem; color: var(--mid-gray); }
.section-dark .section-header p,
.section-blue .section-header p { color: rgba(255,255,255,0.7); }
.section-dark .section-header h2,
.section-blue .section-header h2 { color: var(--white); }

/* ── GRID CARDS ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(0,45,98,0.12);
  transform: translateY(-2px);
}

.card-accent {
  border-top: 4px solid var(--blue);
}

.card-dark {
  background: var(--dark-blue);
  border-color: rgba(0,174,239,0.2);
  color: var(--white);
}

.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.72); }

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card-dark .card-icon { background: rgba(0,174,239,0.15); }

/* ── NUMBERED STEPS ───────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }

.step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.step-body h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step-body p  { font-size: 0.95rem; color: var(--mid-gray); }

/* ── RESULT STATS ─────────────────────────────────────────── */
.stat-block {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  transition: background 0.2s;
}
.stat-block:hover {
  background: rgba(255,255,255,0.1);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* ── CALLOUT BOX ──────────────────────────────────────────── */
.callout {
  background: var(--light-blue);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  font-size: 0.97rem;
  color: var(--dark-blue);
}

.callout-dark {
  background: rgba(0,174,239,0.12);
  border-left-color: var(--accent);
  color: rgba(255,255,255,0.85);
}

/* ── PRICING CARDS ───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,45,98,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: 0 10px 32px rgba(0,45,98,0.14);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(0,87,168,0.18);
  transform: scale(1.03);
}

.pricing-header {
  background: var(--dark-blue);
  padding: 28px 28px 22px;
  color: var(--white);
}

.pricing-card.featured .pricing-header { background: var(--blue); }

.pricing-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-title { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.pricing-price span {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

.pricing-body {
  padding: 28px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--mid-gray);
}

.pricing-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  min-width: 16px;
  margin-top: 1px;
}

/* ── TESTIMONIAL / QUOTE ──────────────────────────────────── */
.quote-block {
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  background: var(--off-white);
  border-radius: 0 8px 8px 0;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.quote-attr {
  font-size: 0.85rem;
  color: var(--mid-gray);
  font-weight: 600;
}

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--dark-blue);
  color: var(--white);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { font-size: 1.1rem; color: rgba(255,255,255,0.72); max-width: 600px; }

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: var(--blue);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ── AGENCY BADGE ─────────────────────────────────────────── */
.agency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,174,239,0.15);
  border: 1px solid rgba(0,174,239,0.4);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── CONTACT FORM ─────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark-text);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,168,0.12);
}

.form-textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--dark-blue);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
  border-top: 2px solid var(--blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }

.footer-col h4 {
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.92rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .grid-3, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: scale(1); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar .container { gap: 24px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; }
  h1 { font-size: 2rem; }
}

/* ── UTILITIES ────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-blue   { color: var(--blue); }
.text-muted  { color: var(--mid-gray); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.tag {
  display: inline-block;
  background: var(--light-blue);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.tag-dark {
  background: rgba(0,174,239,0.15);
  color: var(--accent);
}

.divider {
  width: 48px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 20px 0;
}
.divider-center { margin: 20px auto; }

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq-item {
  background: rgba(0,40,100,0.5);
  border: 1px solid rgba(0,174,239,0.12);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  transition: background 0.2s;
}
.faq-question:hover {
  background: rgba(255,255,255,0.04);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 24px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.7;
}

/* ── NAV TOGGLE (blog pages mobile menu) ─────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark-blue); padding: 16px 24px; z-index: 100; }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 12px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ── BLOG PAGE SIMPLE FOOTER ──────────────────────────────── */
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 20px 0;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* ── SERVICE CARD LAYOUT ─────────────────────────────────── */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

/* ── CONTACT LAYOUT ──────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── MAIN PAGE MOBILE NAV ────────────────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    padding: 16px 24px;
    z-index: 100;
    list-style: none;
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-cta {
    background: none !important;
    color: var(--accent) !important;
    padding: 12px 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  .service-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── BLOG FAQ SECTION ────────────────────────────────────── */
.blog-faq-section {
  background: #f8fafc;
  padding: 56px 24px;
  border-top: 2px solid #e8edf2;
}

.blog-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.blog-faq-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #002D62;
  margin-bottom: 32px;
}

.blog-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid #dde4ed;
}

.blog-faq-item:last-child {
  border-bottom: none;
}

.blog-faq-item h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #002D62;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-faq-item p {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.75;
  margin: 0;
}
