/* ==========================================================================
   Blueprint Med Mastery — styles
   ========================================================================== */

:root {
  --navy-900: #0e2033;
  --navy-800: #16324a;
  --navy-700: #1f4463;
  --blue-600: #2f5d8a;
  --blue-500: #4a7fb5;
  --blue-400: #7ba6d1;
  --blue-200: #c3dcef;
  --blue-100: #e4eff8;
  --gold-500: #d9a441;
  --gold-600: #c68f2e;
  --gold-100: #f6e9cc;
  --ink: #16324a;
  --ink-soft: #4c6178;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 20px 45px -20px rgba(22, 50, 74, 0.25);
  --shadow-btn: 0 12px 24px -10px rgba(22, 50, 74, 0.35);
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-head); color: var(--navy-800); margin: 0 0 0.5em; line-height: 1.15; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.kicker-light { color: var(--gold-500); }

.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
}

.placeholder-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--blue-500);
  background: var(--blue-100);
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--navy-700); }

.btn-light {
  background: #fff;
  color: var(--navy-800);
  box-shadow: var(--shadow-btn);
}
.btn-light:hover { background: var(--gold-100); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 251, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 50, 74, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy-800);
}
.brand-name em { font-style: normal; color: var(--blue-500); }

.brand-tagline {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a { color: var(--ink-soft); position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--navy-800); }

.nav-cta { display: none; }

/* Services dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 4px 0;
}
.nav-dropdown-trigger:hover { color: var(--navy-800); }

.nav-dropdown .caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-top: -2px;
}
.nav-dropdown.open .caret { transform: rotate(-135deg); margin-top: 2px; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 10px;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
}
.nav-dropdown.open .dropdown-menu { display: flex; }

.dropdown-menu a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--blue-100); color: var(--navy-800); }
.dropdown-menu a:first-child {
  font-weight: 700;
  color: var(--navy-800);
  border-bottom: 1px solid rgba(22,50,74,0.08);
  border-radius: 0;
  margin-bottom: 4px;
  padding-bottom: 10px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--navy-800) 70%, var(--navy-900) 100%);
  padding: 90px 0 110px;
}

.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  right: -120px;
  top: -40px;
  width: 900px;
  height: 700px;
  fill: none;
  stroke: rgba(255,255,255,0.22);
  stroke-width: 1.4;
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: #fff;
}
.dot-1 { width: 12px; height: 12px; top: 22%; right: 18%; opacity: 0.85; }
.dot-2 { width: 8px; height: 8px; bottom: 28%; right: 28%; opacity: 0.6; }
.dot-3 { width: 16px; height: 16px; bottom: 14%; right: 8%; opacity: 0.35; }

.blob-gold {
  position: absolute;
  width: 140px;
  height: 140px;
  bottom: -40px;
  right: 22%;
  background: var(--gold-500);
  opacity: 0.9;
  border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%;
  filter: blur(0.5px);
}

.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: rgba(255,255,255,0.86);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 20px;
}

.hero-emblem-ring {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0.04) 60%);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.hero-emblem {
  border-radius: 50%;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45);
}

.hero-brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
}
.hero-brand-name em { font-style: normal; color: var(--blue-200); }

.hero-brand-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  text-align: center;
  margin-top: -12px;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services { padding: 100px 0 90px; }

.services h2, .about h2, .results h2, .contact h2, .cta-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(22,50,74,0.06);
}

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

.service-card h3 { font-size: 1.12rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600));
  padding: 70px 0;
}
.cta-inner { text-align: center; max-width: 720px; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 30px; }
.cta-inner { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

/* ==========================================================================
   About
   ========================================================================== */

.about { padding: 100px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-visual { display: flex; justify-content: center; }

.about-badge {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100), var(--gold-100));
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}
.about-badge img { border-radius: 50%; }

.about-points {
  margin: 26px 0;
  padding: 20px 22px;
  background: var(--blue-100);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blue-500);
}
.about-points li strong { display: block; font-family: var(--font-head); color: var(--navy-800); margin-bottom: 4px; }
.about-points li span { font-size: 0.95rem; color: var(--ink-soft); }

/* ==========================================================================
   Results / testimonials
   ========================================================================== */

.results { padding: 90px 0 100px; background: var(--blue-100); }

.testimonial-grid { grid-template-columns: repeat(3, 1fr); }

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 26px;
  margin: 0;
  box-shadow: var(--shadow-card);
}
.testimonial-card p {
  font-size: 0.98rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-card footer {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-800);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card footer span {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--blue-500);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { padding: 100px 0; background: var(--navy-900); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact h2 { color: #fff; }
.contact-info p { color: rgba(255,255,255,0.75); }

.contact-detail {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-detail a {
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
}
.contact-detail a:hover { color: var(--gold-500); }
.contact-or { color: rgba(255,255,255,0.5); margin: 0 8px; font-size: 0.9rem; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.form-row .optional { color: var(--ink-soft); font-weight: 400; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #dfe6ee;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-500);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  margin: 12px 0 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.08); }

.footer-inner {
  padding: 44px 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-tagline { color: rgba(255,255,255,0.55); }

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-nav a { color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: var(--gold-500); }

.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--gold-500); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin: 0; }

/* ==========================================================================
   Coming soon (placeholder sub-pages)
   ========================================================================== */

.coming-soon {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--navy-800) 70%, var(--navy-900) 100%);
  padding: 120px 0 140px;
  text-align: center;
}

.coming-soon-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coming-soon-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-bottom: 26px;
  padding: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0.04) 60%);
  border: 1px solid rgba(255,255,255,0.25);
}
.coming-soon-badge img { border-radius: 50%; }

.coming-soon .eyebrow { background: rgba(217, 164, 65, 0.22); color: var(--gold-100); }

.coming-soon h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 2.8rem);
}

.coming-soon-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 34px;
}

.coming-soon-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-badge { max-width: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .hero-emblem-ring { max-width: 220px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 20px;
    box-shadow: 0 16px 30px -18px rgba(22,50,74,0.3);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .header-actions > .btn-primary { display: none; }
  .nav-cta { display: inline-flex; margin-top: 10px; }
  .testimonial-grid, .card-grid { grid-template-columns: 1fr; }
  .brand-tagline { display: none; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 10px 0; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 6px 14px;
    margin-top: 0;
    border-left: 2px solid var(--blue-200);
    border-radius: 0;
  }
  .dropdown-menu a { padding: 8px 10px; }
  .dropdown-menu a:first-child { border-bottom: none; margin-bottom: 0; padding-bottom: 8px; }
}
