/* ==========================================================
   NORTHVALE DENTAL — Template Stylesheet
   Aesthetic: bold modern clinical · blue + sunshine yellow
   Fonts: Bricolage Grotesque (display) + Plus Jakarta Sans (body)
   ========================================================== */

:root {
  --bg:           #FFFFFF;
  --bg-soft:      #F4F6FE;
  --bg-warm:      #FFF8E8;
  --ink:          #0E1B45;
  --ink-soft:     #4B5377;
  --muted:        #8E94B0;
  --line:         #E5E8F3;
  --line-soft:    #EFF1F8;

  --blue:         #3F5BFF;
  --blue-deep:    #2A3FCE;
  --blue-soft:    #DDE3FF;
  --yellow:       #FFD45E;
  --yellow-soft:  #FFF1C2;
  --mint:         #8DD9C5;
  --pink:         #FFD9D2;
  --green-ok:    #0EB07A;

  --shadow-sm:    0 1px 2px rgba(14,27,69,.04);
  --shadow-md:    0 12px 36px rgba(14,27,69,.08);
  --shadow-lg:    0 30px 70px rgba(14,27,69,.14);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;

  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ==========================================================
   TOP BAR + NAV
   ========================================================== */
.topbar {
  background: var(--ink);
  color: #DDE3FF;
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a { color: #DDE3FF; }
.topbar a:hover { color: var(--yellow); }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin: 0; padding: 0;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links .has-menu > a::after {
  content: ' ▾';
  font-size: 11px;
  opacity: 0.6;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 12px;
  list-style: none;
  margin: 16px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 100;
}
.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { padding: 0; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #FFF !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover { background: var(--blue-deep); }
.nav-cart {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.nav-cart svg { width: 18px; height: 18px; color: var(--ink); }
.nav-cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FBC83C; transform: translateY(-2px); }
.btn-arrow::after {
  content: '→';
  font-size: 18px;
  transition: transform .25s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================
   SECTIONS
   ========================================================== */
section { padding: 110px 0; }
.section-tight { padding: 70px 0; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head.align-left { text-align: left; margin-left: 0; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 22px;
}
.section-eyebrow.warm { background: var(--yellow-soft); color: #8B6800; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 1.05rem; }

/* ==========================================================
   HERO — HOME (split, decorated)
   ========================================================== */
.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -180px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: 0.55;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--yellow-soft);
  opacity: 0.7;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content .section-eyebrow { margin-bottom: 24px; }
.hero-content h1 { margin-bottom: 22px; }
.hero-content h1 .blue { color: var(--blue); }
.hero-content p { font-size: 1.1rem; margin-bottom: 32px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-trust-avatars { display: flex; }
.hero-trust-avatars img {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}
.hero-trust-avatars img:first-child { margin-left: 0; }
.hero-trust-text strong { display: block; font-size: 14px; color: var(--ink); }
.hero-trust-text span { font-size: 12px; color: var(--muted); }

.hero-media {
  position: relative;
}
.hero-media-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.hero-media-img img { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
  position: absolute;
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}
.floating-card .fc-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.floating-card .fc-icon svg { width: 22px; height: 22px; }
.floating-card.warm .fc-icon { background: var(--yellow-soft); color: #8B6800; }
.floating-card.mint .fc-icon { background: #D4F2EA; color: #126A52; }
.floating-card h4 { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 600; margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.floating-card p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.fc-1 { top: 10%; left: -36px; }
.fc-2 { bottom: 22%; right: -32px; }
.fc-3 { bottom: -28px; left: 40px; }

/* Secondary hero (other pages) */
.hero-secondary {
  padding: 70px 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-secondary::before {
  content: '';
  position: absolute;
  top: -200px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: 0.6;
  z-index: -1;
}
.hero-secondary-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-secondary-inner.single { grid-template-columns: 1fr; text-align: center; }
.hero-secondary-inner.single h1 { margin: 18px auto; max-width: 720px; }
.hero-secondary-inner.single p { margin: 0 auto; max-width: 560px; }
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--ink); }
.hero-secondary-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.hero-secondary-image img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   SERVICES GRID (cards)
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.svc-card {
  background: #FFF;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.svc-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.svc-card-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all .3s ease;
}
.svc-card-icon svg { width: 30px; height: 30px; }
.svc-card:hover .svc-card-icon { background: var(--blue); color: #fff; }
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { font-size: 0.95rem; margin-bottom: 22px; }
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue);
  font-size: 14px;
}
.svc-card-link:hover { gap: 12px; }

/* ==========================================================
   ABOUT / IMAGE STACK
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 540px;
}
.about-images img {
  position: absolute;
  border-radius: var(--r-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about-img-1 {
  top: 0; left: 0;
  width: 65%; height: 70%;
}
.about-img-2 {
  bottom: 0; right: 0;
  width: 55%; height: 60%;
  border: 8px solid #fff;
}
.about-doc-card {
  position: absolute;
  bottom: 60px; left: -20px;
  background: #fff;
  padding: 20px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.about-doc-card img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.about-doc-card h4 { font-family: var(--font-body); margin: 0 0 2px; font-size: 14px; font-weight: 700; }
.about-doc-card span { font-size: 12px; color: var(--muted); }

.about-text h2 { margin-bottom: 22px; }
.about-checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-checklist li {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.about-checklist li::before {
  content: '✓';
  background: var(--blue);
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  padding: 34px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
}
.testimonial-card .stars {
  color: var(--yellow);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 26px;
  font-weight: 500;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author h4 { font-family: var(--font-body); margin: 0 0 2px; font-size: 15px; }
.testimonial-author span { font-size: 12px; color: var(--muted); }

/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-banner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.4;
  z-index: -1;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.2;
  z-index: -1;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.75); margin: 0; }
.cta-banner-img {
  height: 280px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.cta-banner-img img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   BLOG CARDS
   ========================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1.5px solid var(--line);
  transition: all .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px 30px 32px; }
.blog-card-tag {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-card p { font-size: 0.93rem; margin-bottom: 18px; }
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* Featured blog card */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 60px;
}
.blog-featured-img { height: 100%; min-height: 360px; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body { padding: 50px; align-self: center; }
.blog-featured-body h2 { margin-bottom: 20px; }

/* ==========================================================
   BLOG POST (article)
   ========================================================== */
.article-hero {
  padding: 50px 0 30px;
  background: var(--bg-soft);
}
.article-hero .container { max-width: 860px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.article-meta .dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }
.article-hero h1 { margin-bottom: 24px; }
.article-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 30px 0 0;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 28px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-body h2 { font-size: 1.8rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.35rem; margin: 32px 0 14px; }
.article-body p { margin-bottom: 1.4rem; }
.article-body ul { padding-left: 22px; margin-bottom: 1.6rem; }
.article-body li { margin-bottom: 10px; }
.article-body blockquote {
  margin: 32px 0;
  padding: 24px 30px;
  border-left: 4px solid var(--blue);
  background: var(--bg-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  font-style: italic;
}
.article-body a { color: var(--blue); text-decoration: underline; }

/* ==========================================================
   PLANS / PRICING
   ========================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.plan-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 44px 36px;
  transition: all .3s ease;
  position: relative;
}
.plan-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.04);
}
.plan-card.featured h3,
.plan-card.featured .plan-price { color: #fff; }
.plan-card.featured .plan-price-sub,
.plan-card.featured .plan-features li { color: rgba(255,255,255,.8); }
.plan-card.featured .plan-features li::before { background: var(--yellow); color: var(--ink); }
.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-tier {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.plan-card.featured .plan-tier { color: var(--yellow); }
.plan-card h3 { margin-bottom: 8px; font-size: 1.5rem; }
.plan-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin: 22px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price-sub { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.plan-features {
  list-style: none;
  padding: 28px 0 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}
.plan-card.featured .plan-features { border-color: rgba(255,255,255,.15); }
.plan-features li {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ink);
}
.plan-features li::before {
  content: '✓';
  background: var(--blue);
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.plan-cta { width: 100%; justify-content: center; margin-top: 6px; }

/* Plan single — ecommerce style */
.plan-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.plan-detail-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.plan-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.plan-detail-price {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  margin: 16px 0 8px;
}
.plan-detail .plan-price-sub { font-size: 1rem; }
.plan-quantity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 22px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  width: 44px; height: 44px;
  background: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}
.qty-control button:hover { background: var(--bg-soft); }
.qty-control input {
  width: 40px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.plan-add { width: 100%; justify-content: center; margin-top: 8px; }

/* ==========================================================
   TEAM
   ========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  text-align: center;
  background: var(--bg-soft);
  padding: 32px;
  border-radius: var(--r-md);
  transition: all .3s ease;
}
.team-card:hover { background: var(--blue); color: #fff; transform: translateY(-6px); }
.team-card:hover h3,
.team-card:hover .team-role { color: #fff; }
.team-card-img {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 22px;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.team-role { font-size: 13px; color: var(--blue); font-weight: 600; letter-spacing: 0.04em; }
.team-card:hover .team-role { color: rgba(255,255,255,.85); }
.team-social {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.team-social a {
  width: 34px; height: 34px;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.team-card:hover .team-social a { background: rgba(255,255,255,.15); color: #fff; }

/* Team detail */
.team-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.team-detail-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: sticky;
  top: 120px;
}
.team-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.team-detail-role {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.team-detail h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 24px; }
.team-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.team-spec {
  background: var(--bg-soft);
  padding: 18px 22px;
  border-radius: var(--r-sm);
}
.team-spec h4 { font-family: var(--font-body); font-size: 12px; color: var(--muted); margin: 0 0 4px; text-transform: uppercase; font-weight: 600; }
.team-spec p { margin: 0; font-weight: 600; color: var(--ink); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--bg-soft);
  padding: 48px;
  border-radius: var(--r-lg);
}
.contact-info-stack { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact-info-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-card h4 { font-family: var(--font-body); margin: 0 0 4px; font-size: 13px; color: var(--muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.04em; }
.contact-info-card p { margin: 0; font-weight: 600; color: var(--ink); }

/* Form fields */
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field input, .field textarea, .field select {
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success {
  display: none;
  padding: 16px 20px;
  background: #DFF6EE;
  color: #0A6147;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
}
.form-success.is-visible { display: block; }
.form-submit { width: 100%; justify-content: center; }

/* Map placeholder */
.map-block {
  height: 280px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blue-soft), var(--yellow-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-q::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--blue);
  font-weight: 400;
  transition: transform .25s ease;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.is-open .faq-a {
  max-height: 500px;
  padding: 0 28px 26px;
}
.faq-a p { margin: 0; }

/* ==========================================================
   STATS
   ========================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-block {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
}
.stat-block .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
  line-height: 1;
}
.stat-block .lbl {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==========================================================
   NEWSLETTER
   ========================================================== */
.newsletter {
  background: var(--blue);
  border-radius: var(--r-lg);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -100px; right: -50px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.newsletter::after {
  content: '';
  position: absolute;
  bottom: -150px; right: 100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,212,94,.15);
}
.newsletter h2 { color: #fff; margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,.8); margin: 0; }
.newsletter-form {
  position: relative;
  z-index: 2;
}
.newsletter-form .field-inline {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.newsletter-form button:hover { background: #000; }

/* ==========================================================
   PROCESS STEPS
   ========================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  position: relative;
  padding-top: 24px;
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--blue-soft);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.process-step p { font-size: 0.95rem; margin: 0; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 90px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand-mark { background: var(--blue); }
.footer-brand p { color: rgba(255,255,255,.65); max-width: 300px; font-size: 0.95rem; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--blue); }
.footer-col h4 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,.7);
  font-size: 0.95rem;
}
.footer-col a:hover { color: #fff; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================
   CART DRAWER (mockup)
   ========================================================== */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform .35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header h3 { font-size: 1.2rem; margin: 0; }
.cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1;
  color: var(--muted);
}
.cart-body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.cart-footer {
  padding: 22px 26px;
  border-top: 1px solid var(--line);
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,27,69,.45);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .floating-card { display: none; }
  .floating-card.fc-2 { display: flex; bottom: 20px; right: 16px; }
}
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .topbar-left .hide-sm { display: none; }
  .nav-links, .nav-phone { display: none; }
  .menu-toggle { display: block; }
  .nav-mobile {
    position: fixed;
    inset: 64px 0 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 36px 28px;
    z-index: 80;
    overflow-y: auto;
  }
  .nav-mobile.is-open { transform: translateX(0); }
  .nav-mobile ul { list-style: none; padding: 0; margin: 0 0 30px; }
  .nav-mobile li { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-mobile a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
  }
  .services-grid,
  .testimonial-row,
  .blog-grid,
  .plans-grid,
  .team-grid,
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .hero-secondary-inner,
  .contact-grid,
  .plan-detail,
  .team-detail,
  .cta-banner,
  .newsletter,
  .blog-featured { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner { padding: 40px 30px; }
  .cta-banner-img { height: 200px; }
  .blog-featured-body { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan-card.featured { transform: none; }
  .team-detail-image { position: static; }
  .contact-form-wrap { padding: 28px 22px; }
  .newsletter { padding: 40px 28px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .services-grid,
  .testimonial-row,
  .blog-grid,
  .plans-grid,
  .team-grid,
  .process-grid,
  .footer-grid,
  .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-checklist { grid-template-columns: 1fr; }
  .about-images { height: 420px; }
  .newsletter-form .field-inline { flex-direction: column; border-radius: var(--r-md); }
  .newsletter-form button { width: 100%; }
}


/* ───────────────────────────────────────────────────────────────────
   smyleee mobile-nav fix
   - Desktop: hide the drawer entirely so it can't leak into the page.
   - Mobile (≤960px): force an opaque background + high z-index so the
     open drawer actually covers the page content.
   ─────────────────────────────────────────────────────────────────── */
@media (min-width: 961px) {
  .nav-mobile { display: none !important; }
}
@media (max-width: 960px) {
  .nav-mobile {
    background: #ffffff !important;
    z-index: 9999 !important;
  }
}


/* ───────────────────────────────────────────────────────────────────
   smyleee mobile-nav fix
   - Desktop: hide the drawer entirely so it can't leak into the page.
   - Mobile (≤960px):
       * Force opaque white background + high z-index.
       * Remove backdrop-filter on the sticky header — that property
         creates a containing block for position:fixed descendants,
         which trapped the drawer inside the ~80px-tall header.
   ─────────────────────────────────────────────────────────────────── */
@media (min-width: 961px) {
  .nav-mobile { display: none !important; }
}
@media (max-width: 960px) {
  .site-header, header.site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-mobile {
    background: #ffffff !important;
    z-index: 9999 !important;
  }
}
