/* ============================================
   Happy Flamingo Gifts — Master Stylesheet
   ============================================ */

/* --- Custom Properties --- */
:root {
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-light: #FCE4EC;
  --accent: #FF6F00;
  --accent-light: #FFF3E0;
  --text: #2D3436;
  --text-light: #636E72;
  --text-muted: #B2BEC3;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-xl: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container: 1200px;
  --transition: 0.3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--text-light); line-height: 1.8; }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--white);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}
.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* --- Grids --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-1 { grid-template-columns: 2fr 1fr; }
.grid-1-2 { grid-template-columns: 1fr 2fr; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  z-index: 10000;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* --- Top Bar --- */
.top-bar {
  background: var(--text);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}
.top-bar a {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
}
.top-bar a:hover { color: var(--white); }

/* --- Header --- */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-lg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.logo:hover { color: var(--primary); }

/* --- Navigation --- */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-list > li > a {
  padding: 0.5rem 1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.dropdown li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.header-cta {
  margin-left: 1rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- Breadcrumbs --- */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.breadcrumb-list li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--text-muted);
}
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list [aria-current] {
  color: var(--text);
  font-weight: 500;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #E65100;
  border-color: #E65100;
  color: var(--white);
}
.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #880E4F 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.hero h1 {
  color: var(--white);
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.hero-sm {
  padding: 3.5rem 0 3rem;
}
.hero-sm h1 {
  font-size: 2.25rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body {
  padding: 1.5rem;
}
.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--primary); }
.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--text);
  color: var(--white);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 0;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-stars {
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.testimonial-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover {
  background: var(--primary-light);
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.active .faq-question::after {
  content: "−";
}
.faq-item.active .faq-question {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step {
  text-align: center;
  counter-increment: step;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--text-light); }

/* --- Author Bio --- */
.author-bio {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
}
.author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.author-title {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.author-bio-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Timeline / Milestones --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-light);
}
.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  transform: translateX(-5.5px);
}
.timeline-year {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.timeline-item p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary-light);
}
.team-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.team-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.team-bio {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Values Cards --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* --- Blog Layout --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card .card-img { height: 200px; }
.blog-card .card-meta { margin-bottom: 0; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}
.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
  list-style: disc;
  color: var(--text-light);
}
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}
.article-body img {
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}
.article-featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.article-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.article-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

/* Sidebar */
.sidebar { position: sticky; top: 6rem; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.sidebar-widget h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-light);
}
.sidebar-widget ul li {
  margin-bottom: 0.5rem;
}
.sidebar-widget ul li a {
  color: var(--text-light);
  font-size: 0.9rem;
}
.sidebar-widget ul li a:hover { color: var(--primary); }

/* --- Tool / Calculator --- */
.tool-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.tool-result {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.tool-result-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.tool-result-label {
  font-size: 0.9rem;
  color: var(--text-light);
}
.tool-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.form-error {
  color: #D32F2F;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}
.form-group.error input,
.form-group.error textarea {
  border-color: #D32F2F;
}
.form-group.error .form-error { display: block; }

/* --- Contact Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.contact-info-card h3 { margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-item p { margin-bottom: 0; font-size: 0.95rem; }
.contact-item strong { display: block; margin-bottom: 0.15rem; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { opacity: 0.92; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }

/* --- Service Detail --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.service-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.included-list {
  list-style: none;
  padding: 0;
}
.included-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}
.included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.pricing-note {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.pricing-note strong { color: var(--accent); }

/* --- Location Grid --- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.location-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.location-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.location-card a {
  font-weight: 600;
  color: var(--text);
}
.location-card a:hover { color: var(--primary); }

/* --- Footer --- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.footer-col p a {
  color: rgba(255,255,255,0.85);
}
.footer-col p a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom p { margin-bottom: 0; color: rgba(255,255,255,0.5); }
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.footer-legal a:hover { color: var(--white); }

/* --- Cookie Consent --- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  z-index: 9999;
  padding: 1.25rem 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-consent.visible {
  transform: translateY(0);
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cookie-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  flex: 1;
}
.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-buttons .btn { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* --- Quiz specific --- */
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.quiz-option {
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  font-weight: 500;
}
.quiz-option:hover,
.quiz-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.quiz-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.quiz-progress-step {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  transition: background var(--transition);
}
.quiz-progress-step.active { background: var(--primary); }
.quiz-progress-step.done { background: var(--primary-dark); }
.quiz-result-card {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 1.5rem 0;
}
.hidden { display: none !important; }

/* --- Range Input --- */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  border: none;
  padding: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  .hero h1 { font-size: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { max-height: 300px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }

  /* Mobile Nav */
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav,
  #nav,
  #main-nav,
  #mainNav,
  #primary-nav,
  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: right 0.35s ease;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    z-index: 999;
  }
  .nav.active,
  #nav.active,
  #main-nav.active,
  #mainNav.active,
  #primary-nav.active,
  .primary-nav.active { right: 0; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list > li > a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    background: transparent;
    min-width: 0;
  }
  .dropdown li a {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .top-bar-inner { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .quiz-options { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  h1 { font-size: 1.75rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-sm h1 { font-size: 1.5rem; }
  .container { padding: 0 1rem; }
  .process-steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .author-bio { flex-direction: column; text-align: center; }
  .tool-results-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-large { padding: 0.85rem 2rem; }
  .trust-badges { flex-direction: column; align-items: center; }
}

/* Print */
@media print {
  .header, .top-bar, .footer, .cookie-consent, .breadcrumb, .cta-section { display: none; }
  body { background: white; color: black; }
  .section { padding: 1rem 0; }
  a { color: black; text-decoration: underline; }
}
