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

:root {
  --purple: #8B6FD4;
  --purple-light: #A98FE8;
  --purple-dark: #6B52B0;
  --teal: #5CC8C8;
  --teal-light: #7ED8D8;
  --teal-dark: #3FAAAA;
  --white: #FFFFFF;
  --off-white: #F7F5FF;
  --gray-light: #F0EDF9;
  --text: #2D2540;
  --text-light: #5C5375;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* NAVBAR */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,111,212,0.12);
  padding: 0 5%; display: flex; align-items: center;
  justify-content: space-between; height: 72px; transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(139,111,212,0.15); }
.nav-logo img { height: 52px; width: 52px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-light); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-cta { background: var(--purple) !important; color: white !important; padding: 10px 22px; border-radius: 50px; font-weight: 800 !important; transition: background 0.2s, transform 0.2s !important; }
.nav-cta:hover { background: var(--purple-dark) !important; transform: translateY(-1px); }
.nav-phone { color: var(--teal-dark) !important; font-weight: 800 !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--purple); border-radius: 2px; transition: 0.3s; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: white; padding: 24px 5%; flex-direction: column; gap: 20px; box-shadow: 0 12px 32px rgba(0,0,0,0.1); z-index: 999; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-weight: 800; text-decoration: none; color: var(--text); font-size: 1rem; padding: 8px 0; border-bottom: 1px solid var(--gray-light); }

/* PAGE HERO */
.page-hero {
  padding: 120px 5% 60px;
  background: linear-gradient(135deg, #F7F5FF 0%, #EDF8F8 100%);
  position: relative; overflow: hidden;
}
.page-hero-bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(92,200,200,0.2), rgba(92,200,200,0.03)); border: 1px solid rgba(92,200,200,0.15); }
.page-hero .breadcrumb { font-size: 0.82rem; font-weight: 700; color: var(--text-light); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--purple); text-decoration: none; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--purple); }
.page-hero p { font-size: 1.05rem; color: var(--text-light); font-weight: 600; line-height: 1.7; max-width: 560px; }

/* AREAS STRIP */
.areas-strip { background: var(--purple); padding: 12px 5%; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.areas-strip span { color: rgba(255,255,255,0.7); font-size: 0.82rem; font-weight: 700; }
.areas-strip .area-tag { background: rgba(255,255,255,0.15); color: white; padding: 3px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 800; }

/* SECTIONS */
section { padding: 72px 5%; }
.section-label { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--teal); }
h2.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--text); margin-bottom: 14px; line-height: 1.2; }
h2.section-title em { font-style: italic; color: var(--purple); }
.section-sub { color: var(--text-light); font-size: 0.98rem; font-weight: 600; line-height: 1.6; max-width: 540px; margin-bottom: 44px; }

/* BUTTONS */
.btn-primary { background: var(--purple); color: white; padding: 14px 28px; border-radius: 50px; font-weight: 800; font-size: 0.95rem; text-decoration: none; transition: all 0.25s; box-shadow: 0 6px 24px rgba(139,111,212,0.3); display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); }
.btn-secondary { background: white; color: var(--teal-dark); padding: 14px 28px; border-radius: 50px; font-weight: 800; font-size: 0.95rem; text-decoration: none; border: 2px solid var(--teal); transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondary:hover { background: var(--teal); color: white; transform: translateY(-2px); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* CTA BANNER */
.cta-banner { background: linear-gradient(135deg, var(--purple) 0%, var(--teal-dark) 100%); padding: 64px 5%; text-align: center; position: relative; overflow: hidden; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: white; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1rem; font-weight: 600; margin-bottom: 28px; }
.cta-banner .btn-primary { background: white; color: var(--purple); }
.cta-banner .btn-secondary { border-color: rgba(255,255,255,0.5); color: white; background: rgba(255,255,255,0.1); }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,0.2); color: white; }

/* FOOTER */
footer { background: var(--text); color: white; padding: 52px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 40px; }
.footer-brand img { height: 56px; margin-bottom: 14px; filter: brightness(0) invert(1) opacity(0.85); }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,0.5); line-height: 1.7; font-weight: 600; max-width: 260px; }
.footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 14px; font-weight: 800; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; font-weight: 600; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-col ul li { color: rgba(255,255,255,0.6); font-size: 0.88rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); font-weight: 600; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-group { flex-direction: column; }
  .btn-group a { text-align: center; justify-content: center; }
}


/* ── MOBILE OPTIMIZATIONS ── */
@media (max-width: 768px) {
  /* Navbar */
  nav { padding: 0 4%; height: 64px; }
  .nav-logo img { height: 44px; width: 44px; }

  /* Sections */
  section { padding: 52px 4%; }
  h2.section-title { font-size: 1.6rem; }
  .section-sub { font-size: 0.9rem; margin-bottom: 32px; }

  /* Page hero */
  .page-hero { padding: 100px 4% 48px; }
  .page-hero h1 { font-size: 1.8rem; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why-card { padding: 20px 16px; }
  .why-icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 12px; }

  /* Services grid */
  .svc-grid, .services-preview { grid-template-columns: 1fr; gap: 20px; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-wrap { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps-wrap::before { display: none; }

  /* Freq grid */
  .freq-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .freq-card { padding: 20px 16px; }

  /* Addons */
  .addons-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* CTA banner */
  .cta-banner { padding: 52px 4%; }
  .cta-banner h2 { font-size: 1.5rem; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn-group a { text-align: center; justify-content: center; width: 100%; max-width: 280px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 44px 4% 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Areas strip */
  .areas-strip { gap: 6px; padding: 10px 4%; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Hero */
  .hero { padding: 88px 4% 52px; min-height: auto; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { text-align: center; justify-content: center; }
  .hero-inline-stats { padding: 12px 14px; }
  .his-item { padding: 0 12px; }
  .his-num { font-size: 1.1rem; }

  /* Why grid single col on very small */
  .why-grid { grid-template-columns: 1fr; }
  .freq-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .steps-wrap { grid-template-columns: 1fr; }

  /* Photo grid */
  .photo-grid { grid-template-columns: 1fr !important; }
  .photo-grid > div:first-child { grid-column: 1 !important; grid-row: auto !important; height: 240px !important; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-q { font-size: 0.9rem; }

  /* Article */
  .article-layout { grid-template-columns: 1fr; }
  .freq-table { font-size: 0.78rem; }
  .freq-table th, .freq-table td { padding: 8px 10px; }
}
