/* ==========================================================================
   1. IMPORTS & CUSTOM PROPERTIES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --primary: #b84c2e;
  --accent: #8c8c8c;
  --bg: #fafafa;
  --surface: #f1f1f1;
  --text: #1a1a1a;
  --muted: #6e6e6e;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 4px;
  --shadow-offset: 6px 6px 0 var(--primary);
  --shadow-offset-sm: 4px 4px 0 var(--primary);
  --shadow-offset-hover: 8px 8px 0 var(--primary);

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

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul,
ol {
  list-style: none;
}

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(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

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

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   3. FOCUS & ACCESSIBILITY
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--primary);
  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;
}

/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */

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

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-header p {
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

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

/* ==========================================================================
   5. 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;
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--surface);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

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

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

.logo:hover {
  color: var(--primary);
}

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

/* --- Hamburger (CRITICAL RULES) --- */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
  z-index: 1001;
}

.mobile-menu-toggle svg,
.mobile-menu-toggle .hamburger-icon {
  width: 24px;
  height: 24px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

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

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

/* --- Nav Menu --- */

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

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

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

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

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

.nav-cta {
  margin-left: 0.5rem;
}

/* --- Mobile Nav (CRITICAL) --- */

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

  .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: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.open a {
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* ==========================================================================
   7. 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.8rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast);
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-offset-sm);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset-hover);
  color: #fff;
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
  box-shadow: var(--shadow-offset-sm);
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset-hover);
  color: var(--text);
}

.btn-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text);
}

.cta-button {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-offset);
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
}

.cta-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset-hover);
  color: #fff;
}

.cta-button:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--primary);
}

.form-submit {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-offset-sm);
  width: 100%;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.form-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset-hover);
}

.form-submit:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--primary);
}

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */

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

.hero-section .container {
  text-align: center;
}

.hero-section h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-inline: auto;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

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

.hero-section .btn-secondary {
  color: #fff;
  border-color: #fff;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.3);
}

.hero-section .btn-secondary:hover {
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ==========================================================================
   9. FEATURES SECTION
   ========================================================================== */

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-offset-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset);
}

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

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

.feature-card p {
  font-size: 0.95rem;
}

/* ==========================================================================
   10. SERVICES SECTION
   ========================================================================== */

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

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #fff;
  border: 1px solid var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-offset-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset);
}

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

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card .btn-secondary {
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
}

/* ==========================================================================
   11. ABOUT SECTION
   ========================================================================== */

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

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

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

.about-content p {
  margin-bottom: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.about-value-icon {
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.about-value span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ==========================================================================
   12. STATS SECTION
   ========================================================================== */

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

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item h2 {
  color: var(--primary);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

/* ==========================================================================
   13. TESTIMONIALS SECTION
   ========================================================================== */

.testimonial-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.testimonial-section .section-header h2,
.testimonial-section .section-header p,
.testimonial-section .section-label {
  color: #fff;
}

.testimonial-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

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

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

.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-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

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

/* ==========================================================================
   14. CTA SECTION
   ========================================================================== */

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

.cta-section h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-section .cta-button {
  background: var(--primary);
  border-color: var(--primary);
}

/* ==========================================================================
   15. CONTACT SECTION
   ========================================================================== */

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

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.contact-info > p {
  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;
  color: var(--primary);
  line-height: 1.4;
}

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

.contact-row .contact-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* --- Form --- */

.contact-form {
  background: #fff;
  border: 1px solid var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-offset-sm);
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  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-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184, 76, 46, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--accent);
}

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

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

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   16. POLICY PAGES (Privacy, Terms, etc.)
   ========================================================================== */

.policy-section {
  padding-block: 4rem;
}

.policy-content {
  max-width: 760px;
  margin-inline: auto;
}

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

.policy-content .policy-updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.policy-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--surface);
}

.policy-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.policy-content p,
.policy-content li {
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--muted);
}

.policy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content ul li {
  list-style: disc;
  margin-bottom: 0.4rem;
}

.policy-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content ol li {
  list-style: decimal;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-column h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ==========================================================================
   18. COOKIE POPUP
   ========================================================================== */

.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  background: #fff;
  border: 1px solid var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 380px;
  width: calc(100% - 3rem);
  box-shadow: var(--shadow-offset);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

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

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

.cookie-popup p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.cookie-actions .btn-primary {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}

.cookie-actions .btn-secondary {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}

/* ==========================================================================
   19. BREADCRUMB
   ========================================================================== */

.breadcrumb {
  padding-block: 1.5rem;
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--accent);
}

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

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

.breadcrumb li:last-child {
  color: var(--text);
  font-weight: 500;
}

/* ==========================================================================
   20. PAGE HEADER (Inner Pages)
   ========================================================================== */

.page-header {
  background: var(--surface);
  padding-block: 3rem;
  text-align: center;
}

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

.page-header p {
  font-size: 1.1rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ==========================================================================
   21. MISC UTILITIES
   ========================================================================== */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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

/* ==========================================================================
   22. RESPONSIVE FINE-TUNING
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --section-padding-y: 3.5rem;
    --container-padding: 1rem;
  }

  .hero-section {
    min-height: auto;
    padding-block: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

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

  .stats-grid {
    gap: 1.5rem;
  }

  .cookie-popup {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --section-padding-y: 4rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }
}

/* ==========================================================================
   23. PRINT STYLES
   ========================================================================== */

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

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

  .section {
    padding-block: 1.5rem;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}