/* Monzana Brand Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Premium Warm Home & Tool Brand Aesthetic */
  --primary-color: #DEA15E; /* Warm Sand/Amber Accent */
  --primary-hover: #C58B4C; /* Deep Warm Amber */
  --secondary-color: #1B222C; /* Deep Slate Black/Charcoal */
  --secondary-hover: #2A3341; /* Slate Charcoal */
  --accent-light: #FAF6F0; /* Soft Warm Cream Background */
  --dark-color: #111827; /* Rich Dark Black */
  --white: #ffffff;
  --border-color: #EBE0D0; /* Elegant Warm Sand Border */
  --text-color: #2D251E; /* Soft Dark Charcoal Body Text */
  --text-light: #5D534A; /* Medium Warm Grey */
  --success-color: #2E7D32;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --max-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* UI Tokens */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 10px rgba(45, 37, 30, 0.05);
  --shadow-md: 0 8px 30px rgba(45, 37, 30, 0.08);
  --shadow-lg: 0 16px 48px rgba(45, 37, 30, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--accent-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.25;
}

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

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

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

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

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--spacing-lg) 0;
}

.section-bg {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--secondary-color);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.badge-primary {
  background-color: var(--primary-color);
  color: var(--dark-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--dark-color);
  box-shadow: 0 4px 14px rgba(222, 161, 94, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(222, 161, 94, 0.35);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(27, 34, 44, 0.15);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 34, 44, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 90px;
  display: flex;
  align-items: center;
}

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

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .site-logo img {
    height: 16px;
    width: auto;
  }
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

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

.nav-link.active {
  color: var(--secondary-color);
  font-weight: 700;
}

.header-cta {
  display: flex;
  align-items: center;
}

/* Hamburger Menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--secondary-color);
  font-size: 1.5rem;
  z-index: 1100;
  transition: var(--transition);
}

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

/* Mobile drawer menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--accent-light);
  z-index: 1050;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 2rem;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-overlay .nav-link {
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--spacing-md);
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-trust-indicators {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 600;
}

.trust-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

/* Features Section */
.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 2rem;
}

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  background-color: var(--accent-light);
  color: var(--primary-hover);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
}

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

.features-action {
  margin-top: 2rem;
}

/* Product Cards & Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 32px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-img-holder {
  background-color: #fcfbf9;
  height: 320px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-img-holder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.product-card:hover .product-img-holder img {
  transform: scale(1.04);
}

.product-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--dark-color);
  line-height: 1.3;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.specs-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-specs-list {
  margin-bottom: 1.25rem;
  list-style: none;
}

.product-specs-list li {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.product-specs-list li i {
  color: var(--primary-hover);
  margin-top: 5px;
  font-size: 0.8rem;
}

.product-benefits {
  margin-bottom: 1.25rem;
  background-color: var(--accent-light);
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-color);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.product-benefits h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 700;
}

.product-benefits p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--text-color);
}

.product-cta-btn {
  margin-top: auto;
  width: 100%;
}

.products-action {
  margin-top: 3.5rem;
}

/* Specs Accordion and Pop-up Elements */
.specs-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 100%;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.specs-toggle:hover {
  background-color: var(--accent-light);
  border-color: var(--primary-color);
}

.specs-toggle i {
  transition: var(--transition);
}

.specs-toggle.active i {
  transform: rotate(180deg);
}

.specs-table-container {
  display: none;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  animation: slideDown 0.3s ease-out;
}

.specs-table-container.open {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.specs-close-btn {
  display: none;
}

@media (min-width: 768px) {
  .product-card-content {
    position: relative; /* Anchor for specifications popup */
  }

  .specs-table-container {
    display: none;
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 85px; /* Leave bottom CTA button uncovered */
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 50px 16px 16px 16px;
    z-index: 50;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    animation: fadeInScale 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .specs-table-container.open {
    display: block;
  }

  .specs-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-light);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 60;
  }

  .specs-close-btn:hover {
    background-color: #e53935; /* Crisp Red Close Action */
    color: var(--white);
    transform: rotate(90deg);
    border-color: #e53935;
  }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.specs-table th, .specs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
}

.specs-table th {
  background-color: var(--accent-light);
  color: var(--dark-color);
  font-weight: 600;
  width: 40%;
}

.specs-table tr:last-child th, .specs-table tr:last-child td {
  border-bottom: none;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-rating {
  color: #ffb400;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--primary-hover);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark-color);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
}

/* FAQs Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-color);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
  color: var(--primary-hover);
}

.faq-content {
  padding: 0 24px 24px 24px;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-content {
  border-top-color: var(--border-color);
}

.faq-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta-section {
  position: relative;
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.final-cta-content {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .final-cta-content h2 {
    font-size: 1.8rem!Important;
  }
}

.final-cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.final-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* Footer Section */
.site-footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: var(--spacing-lg) 0 var(--spacing-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  flex: 1 1 320px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  height: 44px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-nav-col {
  flex: 1 1 180px;
}

.footer-nav-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col ul li {
  margin-bottom: 12px;
}

.footer-nav-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-nav-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.footer-disclosure {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* Sub-page layouts (Contact, Legal, 404) */
.page-hero {
  background-color: var(--white);
  padding: var(--spacing-lg) 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--spacing-lg);
}

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

.page-hero p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Contact Form styling */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  background-color: var(--accent-light);
  color: var(--primary-hover);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--accent-light);
  transition: var(--transition);
  color: var(--text-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(222, 161, 94, 0.15);
}

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

.form-submit-btn {
  width: 100%;
}

.success-message {
  margin-top: 15px;
  padding: 12px;
  background-color: #e8f5e9;
  color: var(--success-color);
  border: 1px solid #c8e6c9;
  border-radius: var(--radius-sm);
  display: none;
  text-align: center;
  font-weight: 600;
}

/* Legal text styling */
.legal-content-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.legal-content-container h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem 0;
  color: var(--dark-color);
}

.legal-content-container p, .legal-content-container ul {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.legal-content-container ul {
  padding-left: 24px;
  list-style-type: disc;
}

.legal-content-container ul li {
  margin-bottom: 8px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 24px 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 2px solid var(--primary-color);
}

.cookie-banner.visible {
  bottom: 0;
}

.cookie-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.cookie-text {
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-text p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.cookie-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

.cookie-buttons .btn {
  flex: 1;
  padding: 10px 20px;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .cookie-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }
  .cookie-buttons {
    width: auto;
  }
}

/* 404 Styling */
.error-page-container {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  color: var(--primary-hover);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.error-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.error-desc {
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 2.5rem auto;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    text-align: center;
  }
  .hero-trust-indicators {
    justify-content: center;
  }
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: var(--spacing-md) 0;
  }
  .site-header {
    height: 70px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-cta .btn {
    padding: 10px 10px;
    border-radius: var(--radius-sm);
  }
}
