/* ========================================
   Clear Nest Clean – Main Stylesheet
   Mobile-first, modern, UK cleaning service
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --clr-primary: #1a6b4f;
  --clr-primary-dark: #134d39;
  --clr-primary-light: #e8f5ef;
  --clr-accent: #2a9d6e;
  --clr-bg: #ffffff;
  --clr-bg-alt: #f7f9f8;
  --clr-bg-dark: #1a2a23;
  --clr-text: #2c3e36;
  --clr-text-light: #5a6e64;
  --clr-text-inverse: #ffffff;
  --clr-border: #dce5e0;
  --clr-border-light: #eef2f0;
  --clr-warning: #e8a317;
  --clr-error: #c0392b;
  --clr-success: #27ae60;

  --ff-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 50%;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 36px rgba(0, 0, 0, 0.12);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --container-max: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--clr-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

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

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

@media (min-width: 768px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  h3 { font-size: var(--fs-2xl); }
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

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

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--clr-bg-alt);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__header p {
  color: var(--clr-text-light);
  font-size: var(--fs-md);
  margin-top: var(--space-sm);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  border-color: var(--clr-primary);
}

.btn--primary:hover {
  background-color: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  color: var(--clr-text-inverse);
}

.btn--secondary {
  background-color: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn--secondary:hover {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
}

.btn--white {
  background-color: var(--clr-bg);
  color: var(--clr-primary);
  border-color: var(--clr-bg);
}

.btn--white:hover {
  background-color: var(--clr-primary-light);
  border-color: var(--clr-primary-light);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--fs-md);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border-light);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--clr-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo:hover {
  color: var(--clr-primary-dark);
}

.header__logo svg {
  width: 32px;
  height: 32px;
}

.header__nav {
  display: none;
}

.header__nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.header__nav-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--clr-text);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link.is-active,
.header__nav-link--active {
  color: var(--clr-primary);
  background-color: var(--clr-primary-light);
}

.header__cta {
  display: none;
}

.header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-text);
}

.header__toggle svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    position: static;
    padding: 0;
    box-shadow: none;
    border: none;
  }

  .header__nav-list {
    flex-direction: row;
    gap: 0;
  }

  .header__nav-link {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-sm);
  }

  .header__cta {
    display: inline-flex;
  }

  .header__toggle {
    display: none;
  }
}

/* --- Hero Section --- */
.hero {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: linear-gradient(135deg, var(--clr-primary-light) 0%, var(--clr-bg) 60%);
  position: relative;
}

.hero__inner {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__content {
  text-align: center;
}

.hero__title {
  font-size: var(--fs-2xl);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-light);
  margin-bottom: var(--space-xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta,
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.hero__image {
  display: none;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--fs-3xl);
  }

  .hero__image {
    display: block;
  }

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

  .hero__content {
    text-align: left;
  }

  .hero__subtitle {
    margin-left: 0;
  }

  .hero__cta,
  .hero__cta-group {
    justify-content: flex-start;
  }

  .hero__trust {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--fs-4xl);
  }
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

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

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

.service-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.service-card__icon {
  width: 48px;
  height: 48px;
  background-color: var(--clr-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--clr-primary);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  color: var(--clr-text-light);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

/* --- Steps / How It Works --- */
.steps {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  counter-reset: step;
}

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

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}

.step__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.step__desc {
  color: var(--clr-text-light);
  font-size: var(--fs-sm);
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

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

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

.review-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--clr-warning);
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
}

.review-card__text {
  font-size: var(--fs-sm);
  color: var(--clr-text);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.review-card__author {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-light);
}

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

.faq-item {
  border-bottom: 1px solid var(--clr-border-light);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  gap: var(--space-md);
  line-height: 1.4;
}

.faq-item__question:hover {
  color: var(--clr-primary);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--clr-text-light);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-banner h2 {
  color: var(--clr-text-inverse);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  font-size: var(--fs-md);
}

.cta-banner .btn {
  margin: 0 var(--space-sm);
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
  color: var(--clr-text);
}

.form-label--required::after {
  content: " *";
  color: var(--clr-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(42, 157, 110, 0.15);
  outline: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235a6e64' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-row {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--clr-primary);
}

.form-checkbox label {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  cursor: pointer;
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  margin-top: var(--space-xs);
}

/* --- Contact Info Block --- */
.contact-info {
  display: grid;
  gap: var(--space-lg);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  background-color: var(--clr-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__label {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-info__value {
  font-weight: var(--fw-medium);
}

.contact-info__value a {
  color: var(--clr-text);
}

.contact-info__value a:hover {
  color: var(--clr-primary);
}

/* --- Footer --- */
.footer {
  background-color: var(--clr-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-2xl);
}

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

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

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--clr-text-inverse);
  margin-bottom: var(--space-md);
  text-decoration: none;
}

.footer__logo svg {
  width: 28px;
  height: 28px;
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  opacity: 0.8;
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-inverse);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--clr-text-inverse);
}

.footer__business {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  margin-bottom: var(--space-lg);
  font-size: var(--fs-sm);
  line-height: 1.7;
  opacity: 0.85;
}

.footer__business-title {
  font-weight: var(--fw-semibold);
  color: var(--clr-text-inverse);
  margin-bottom: var(--space-xs);
}

.footer__business p {
  margin: 0;
}

.footer__business a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.footer__business a:hover {
  color: var(--clr-text-inverse);
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  opacity: 0.7;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background-color: var(--clr-primary-light);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--clr-text-light);
  font-size: var(--fs-md);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
}

.breadcrumb a {
  color: var(--clr-text-light);
}

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

.breadcrumb span {
  margin: 0 var(--space-sm);
}

/* --- Service Detail Sections --- */
.service-detail {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--clr-border-light);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-detail__icon {
  width: 48px;
  height: 48px;
  background-color: var(--clr-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  flex-shrink: 0;
}

.service-detail__icon svg {
  width: 24px;
  height: 24px;
}

.service-detail__who {
  color: var(--clr-text-light);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.service-detail__grid {
  display: grid;
  gap: var(--space-xl);
}

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

.service-detail__list h4 {
  margin-bottom: var(--space-md);
  font-size: var(--fs-base);
}

.service-detail__list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
}

.service-detail__list li svg {
  width: 16px;
  height: 16px;
  color: var(--clr-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-detail__duration {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background-color: var(--clr-primary-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--clr-primary-dark);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-detail__duration svg {
  width: 16px;
  height: 16px;
}

/* --- Pricing Table --- */
.pricing-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

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

.pricing-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: box-shadow var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card__icon {
  width: 48px;
  height: 48px;
  background-color: var(--clr-primary-light);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--clr-primary);
}

.pricing-card__icon svg {
  width: 24px;
  height: 24px;
}

.pricing-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--clr-primary);
  margin-bottom: var(--space-xs);
}

.pricing-card__unit {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: var(--space-lg);
}

.pricing-card__note {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  font-style: italic;
}

/* --- Areas Grid --- */
.areas-search {
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.areas-search .form-input {
  padding-left: 2.75rem;
}

.areas-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--clr-text-light);
}

.areas-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

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

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

.area-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.area-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.area-card__title svg {
  width: 20px;
  height: 20px;
  color: var(--clr-primary);
}

.area-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.area-card__tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--clr-primary-light);
  color: var(--clr-primary-dark);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

/* --- About Values --- */
.values-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

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

.value-card {
  text-align: center;
  padding: var(--space-xl);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  background-color: var(--clr-primary-light);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--clr-primary);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.legal-content h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--clr-border-light);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: var(--fs-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  margin-bottom: var(--space-md);
  color: var(--clr-text-light);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: var(--space-sm);
  color: var(--clr-text-light);
  line-height: 1.7;
}

.legal-content a {
  text-decoration: underline;
}

.legal-content strong {
  color: var(--clr-text);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-sm);
}

.legal-content thead th {
  background-color: var(--clr-bg-alt);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
  border-bottom: 2px solid var(--clr-border);
}

.legal-content tbody td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--clr-border-light);
  color: var(--clr-text-light);
}

.legal-content code {
  background-color: var(--clr-bg-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-content__updated {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

/* --- Hero Image / Illustration --- */
.hero__image svg {
  width: 100%;
  height: auto;
  max-width: 560px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 8px 24px rgba(26, 107, 79, 0.08));
}

.hero__image-placeholder {
  background: linear-gradient(135deg, var(--clr-primary-light) 0%, #d4ede2 50%, var(--clr-primary-light) 100%);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  opacity: 0.8;
}

.hero__image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.4;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: var(--space-lg);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
  }
}

.cookie-banner__text {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
}

.cookie-banner__text a {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__actions .btn {
  font-size: var(--fs-sm);
  padding: 0.5rem 1rem;
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal__content {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-xl);
}

.cookie-modal__content h3 {
  margin-bottom: var(--space-lg);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--clr-border-light);
  gap: var(--space-md);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option__info h4 {
  font-size: var(--fs-sm);
  margin-bottom: 2px;
}

.cookie-option__info p {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--clr-border);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-toggle__slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--clr-primary);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  justify-content: flex-end;
}

/* --- Disclaimer Box --- */
.disclaimer {
  background-color: var(--clr-bg-alt);
  border-left: 3px solid var(--clr-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin: var(--space-xl) 0;
}

/* --- Mobile Call Button --- */
.mobile-call {
  display: flex;
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 56px;
  height: 56px;
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
}

.mobile-call:hover {
  background-color: var(--clr-primary-dark);
  color: var(--clr-text-inverse);
  transform: scale(1.05);
}

.mobile-call svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 1024px) {
  .mobile-call {
    display: none;
  }
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--clr-primary);
  color: var(--clr-text-inverse);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 10001;
  font-size: var(--fs-sm);
}

.skip-link:focus {
  top: var(--space-md);
}

/* --- Notification (form feedback) --- */
.notification {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
  display: none;
}

.notification--success {
  background-color: #e8f8f0;
  color: #1a7a4a;
  border: 1px solid #b8e6d0;
  display: block;
}

.notification--error {
  background-color: #fdeaea;
  color: #a83232;
  border: 1px solid #f0c0c0;
  display: block;
}

/* --- Contact Layout --- */
.contact-grid {
  display: grid;
  gap: var(--space-2xl);
}

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

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .fade-in.is-visible {
    opacity: 1;
    transform: translateY(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;
  }
}
