@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
  --primary: #A8CBB9;
  --accent: #CBB9D1;
  --bg: #FDFBF7;
  --surface: #F4EFEA;
  --text: #3A3532;
  --muted: #8A8582;

  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Lora', serif;

  --radius: 4px;
  --shadow-glow-primary: 0 0 40px rgba(168, 203, 185, 0.3);
  --shadow-glow-accent: 0 0 40px rgba(203, 185, 209, 0.3);
  --shadow-card: 0 4px 24px rgba(58, 53, 50, 0.06);
  --shadow-elevated: 0 8px 40px rgba(58, 53, 50, 0.1);

  --header-height: 72px;
  --container-max: 1200px;
  --section-padding: 4rem 1.25rem;

  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ============================================
   FOCUS & ACCESSIBILITY
   ============================================ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

:focus:not(:focus-visible) {
  outline: none;
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

.text-muted {
  color: var(--muted);
}

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(253, 251, 247, 0.97);
  border-bottom-color: rgba(138, 133, 130, 0.15);
  box-shadow: 0 2px 20px rgba(58, 53, 50, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition-base);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--accent);
}

.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--transition-base);
}

.mobile-menu-toggle:hover {
  background: var(--surface);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1rem;
    border-top: 1px solid var(--muted);
    box-shadow: var(--shadow-elevated);
  }

  .nav-menu.open a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
  }

  .nav-menu.open a:hover {
    background: var(--surface);
  }

  .nav-menu.open a::after {
    display: none;
  }
}

/* ============================================
   PHOTO BACKGROUND OVERLAY (CRITICAL)
   ============================================ */

.has-photo-bg {
  position: relative;
  isolation: isolate;
}

.has-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.has-photo-bg > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-secondary,
.cta-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
  background: #96bfaa;
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(168, 203, 185, 0.45);
  color: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--muted);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.cta-button {
  background: var(--accent);
  color: var(--text);
  box-shadow: var(--shadow-glow-accent);
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.cta-button:hover {
  background: #bfa8c9;
  transform: translateY(-2px);
  box-shadow: 0 0 55px rgba(203, 185, 209, 0.5);
  color: var(--text);
}

.form-submit {
  background: var(--primary);
  color: var(--text);
  box-shadow: var(--shadow-glow-primary);
  width: 100%;
  padding: 1rem 2rem;
}

.form-submit:hover {
  background: #96bfaa;
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(168, 203, 185, 0.45);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 3rem) 1.25rem 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section .container {
  max-width: 800px;
}

.hero-section h1 {
  color: var(--bg);
  margin-bottom: 1.25rem;
}

.hero-section .hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(253, 251, 247, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-section .btn-secondary {
  color: var(--bg);
  border-color: rgba(253, 251, 247, 0.4);
}

.hero-section .btn-secondary:hover {
  border-color: var(--bg);
  color: var(--bg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(253, 251, 247, 0.1);
  border: 1px solid rgba(253, 251, 247, 0.2);
  border-radius: var(--radius);
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(253, 251, 247, 0.9);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
  padding: var(--section-padding);
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-glow-primary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(168, 203, 185, 0.15);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 55px rgba(168, 203, 185, 0.35);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  padding: var(--section-padding);
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(138, 133, 130, 0.08);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-card .btn-secondary {
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  padding: var(--section-padding);
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.about-list {
  margin: 1.5rem 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.about-list li::before {
  content: '✦';
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
  padding: var(--section-padding);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonial-section {
  padding: var(--section-padding);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.testimonial-section .section-label,
.testimonial-section .section-title,
.testimonial-section .section-subtitle {
  color: var(--bg);
}

.testimonial-section .section-label {
  color: var(--accent);
}

.testimonial-section .section-subtitle {
  color: rgba(253, 251, 247, 0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: var(--section-padding);
  background: var(--bg);
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, rgba(168, 203, 185, 0.15), rgba(203, 185, 209, 0.15));
  border-radius: var(--radius);
  border: 1px solid rgba(203, 185, 209, 0.2);
}

.cta-inner h2 {
  margin-bottom: 1rem;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: var(--section-padding);
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-row .contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 1.4rem;
  text-align: center;
  margin-top: 0.15rem;
  color: var(--accent);
}

.contact-row .contact-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-row .contact-value {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-form-wrapper {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  width: 100%;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(203, 185, 209, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #2A2623;
  color: rgba(253, 251, 247, 0.8);
  padding: 4rem 1.25rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-brand .logo {
  color: var(--bg);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: rgba(253, 251, 247, 0.6);
  font-size: 0.9rem;
  max-width: 280px;
  margin-bottom: 0;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg);
  margin-bottom: 1.25rem;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column ul li a {
  font-size: 0.9rem;
  color: rgba(253, 251, 247, 0.6);
  transition: color var(--transition-base);
}

.footer-column ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(253, 251, 247, 0.4);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(253, 251, 247, 0.08);
  color: rgba(253, 251, 247, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--text);
}

/* ============================================
   COOKIE POPUP
   ============================================ */

.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid rgba(138, 133, 130, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-elevated);
  z-index: 9999;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.cookie-popup.hidden {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.cookie-popup h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-popup p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn-primary {
  font-size: 0.8rem;
  padding: 0.55rem 1.25rem;
}

.cookie-buttons .btn-secondary {
  font-size: 0.8rem;
  padding: 0.55rem 1.25rem;
}

@media (min-width: 768px) {
  .cookie-popup {
    left: auto;
  }
}

/* ============================================
   POLICY PAGES
   ============================================ */

.policy-page {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
}

.policy-page .container {
  max-width: 780px;
}

.policy-page h1 {
  margin-bottom: 0.5rem;
}

.policy-page .policy-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-family: var(--font-heading);
}

.policy-page h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(138, 133, 130, 0.12);
}

.policy-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.policy-page p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.policy-page ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.policy-page ul li {
  list-style: disc;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.policy-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-page a:hover {
  color: var(--primary);
}

/* ============================================
   PAGE HERO (INNER PAGES)
   ============================================ */

.page-hero {
  padding: calc(var(--header-height) + 4rem) 1.25rem 3rem;
  text-align: center;
  background: var(--surface);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 550px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--muted);
}

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

.breadcrumb .separator {
  opacity: 0.4;
}

/* ============================================
   CARD COMPONENT
   ============================================ */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============================================
   DIVIDER
   ============================================ */

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 1.5rem 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */

@media (min-width: 768px) {
  :root {
    --section-padding: 5rem 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */

@media (min-width: 1024px) {
  :root {
    --section-padding: 6rem 2rem;
    --header-height: 80px;
  }

  .container {
    padding: 0 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .about-grid {
    gap: 4rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .feature-card {
    padding: 2.5rem;
  }

  .service-card {
    padding: 3rem 2.5rem;
  }

  .testimonial-card {
    padding: 2.5rem;
  }

  .contact-form-wrapper {
    padding: 2.5rem;
  }

  .cta-inner {
    padding: 4.5rem 3rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out both;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out both;
}

/* ============================================
   SCROLL-TRIGGERED ANIMATION HELPERS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */

::selection {
  background: var(--accent);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .header,
  .footer,
  .cookie-popup,
  .mobile-menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .has-photo-bg::before {
    display: none;
  }

  .section {
    padding: 2rem 0;
  }

  a {
    text-decoration: underline;
  }
}