@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --color-background: #f5f0e8;
  --color-surface: #faf7f2;
  --color-surface-raised: #ffffff;
  --color-earth-dark: #2c2416;
  --color-earth-mid: #5c4a2a;
  --color-earth-warm: #8b6914;
  --color-earth-light: #c4a35a;
  --color-clay: #b5651d;
  --color-sage: #6b7c5e;
  --color-sage-light: #a8b89a;
  --color-stone: #9e9080;
  --color-stone-light: #d4cdc4;
  --color-text-primary: #2c2416;
  --color-text-secondary: #5c4a2a;
  --color-text-muted: #7a6a58;
  --color-text-on-dark: #f5f0e8;
  --color-border: #d8cfc4;
  --color-border-light: #e8e0d4;
  --color-accent: #8b6914;
  --color-accent-hover: #6d5210;

  --shadow-xs: 0 1px 2px rgba(44,36,22,0.06);
  --shadow-sm: 0 2px 6px rgba(44,36,22,0.08), 0 1px 2px rgba(44,36,22,0.04);
  --shadow-md: 0 4px 16px rgba(44,36,22,0.10), 0 2px 4px rgba(44,36,22,0.06);
  --shadow-lg: 0 8px 32px rgba(44,36,22,0.12), 0 4px 8px rgba(44,36,22,0.08), 0 1px 2px rgba(44,36,22,0.04);
  --shadow-xl: 0 16px 48px rgba(44,36,22,0.14), 0 8px 16px rgba(44,36,22,0.08);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 100px;
  --radius-organic: 62% 38% 46% 54% / 60% 44% 56% 40%;

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

  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --transition-fast: 0.18s ease;
  --transition-mid: 0.32s ease;
  --transition-slow: 0.5s ease;

  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  &::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
  }
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

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

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

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

ul {
  list-style: none;
}

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

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);

  @media (min-width: 768px) {
    padding: 0 var(--space-lg);
  }
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-earth-warm);
  margin-bottom: var(--space-sm);

  &::before {
    content: '·';
    margin-right: 0.4em;
  }
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);

  & h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-sm);
  }

  & p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
  }
}

.cookie-banner {
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--color-earth-dark);
  color: var(--color-text-on-dark);
  padding: 0.75rem var(--space-md);
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);

  &.cookie-banner-visible {
    top: 0;
  }

  & .cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;

    @media (min-width: 768px) {
      flex-wrap: nowrap;
    }
  }

  & .cookie-banner-text {
    font-size: 0.875rem;
    flex: 1;
    min-width: 200px;
    color: var(--color-stone-light);

    & a {
      color: var(--color-earth-light);

      &:hover {
        color: #fff;
      }
    }
  }

  & .cookie-banner-actions {
    display: flex;
    gap: var(--space-xs);
    flex-shrink: 0;
    flex-wrap: wrap;
  }
}

.cookie-btn {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1.5px solid transparent;
  white-space: nowrap;
  min-height: 36px;

  &.cookie-btn-accept {
    background: var(--color-earth-warm);
    color: #fff;
    border-color: var(--color-earth-warm);

    &:hover {
      background: var(--color-earth-mid);
      border-color: var(--color-earth-mid);
    }
  }

  &.cookie-btn-reject {
    background: transparent;
    color: var(--color-stone-light);
    border-color: var(--color-stone);

    &:hover {
      color: #fff;
      border-color: #fff;
    }
  }

  &.cookie-btn-customize {
    background: transparent;
    color: var(--color-earth-light);
    border-color: var(--color-earth-light);

    &:hover {
      background: var(--color-earth-light);
      color: var(--color-earth-dark);
    }
  }
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(44, 36, 22, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);

  &.cookie-modal-open {
    opacity: 1;
    pointer-events: all;
  }

  & .cookie-modal {
    background: var(--color-surface-raised);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-xl);

    & h2 {
      font-size: 1.25rem;
      margin-bottom: var(--space-sm);
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      margin-bottom: var(--space-md);
    }
  }
}

.cookie-category {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);

  &:last-of-type {
    border-bottom: none;
    margin-bottom: var(--space-md);
  }

  & .cookie-category-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;

    & span {
      font-weight: 600;
      font-size: 0.9rem;
      display: block;
    }

    & small {
      display: block;
      font-size: 0.8rem;
      color: var(--color-text-muted);
      margin-top: 2px;
    }

    & input[type="checkbox"] {
      margin-top: 3px;
      flex-shrink: 0;
      width: 16px;
      height: 16px;
      accent-color: var(--color-accent);
    }
  }
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);

  &.nav-visible {
    transform: translateY(0);
  }

  & .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    gap: var(--space-lg);

    @media (min-width: 768px) {
      padding: 0 var(--space-lg);
    }
  }

  & .nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: auto;

    & img {
      transition: opacity var(--transition-fast);
    }

    &:hover img {
      opacity: 0.8;
    }
  }

  & .nav-links {
    display: none;
    align-items: center;
    gap: var(--space-sm);

    @media (min-width: 1024px) {
      display: flex;
    }
  }

  & .nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-xs);
    transition: all var(--transition-fast);
    position: relative;

    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0.6rem;
      right: 0.6rem;
      height: 1.5px;
      background: var(--color-accent);
      transform: scaleX(0);
      transition: transform var(--transition-fast);
      border-radius: 1px;
    }

    &:hover {
      color: var(--color-text-primary);

      &::after {
        transform: scaleX(1);
      }
    }

    &.active {
      color: var(--color-text-primary);
      font-weight: 600;

      &::after {
        transform: scaleX(1);
      }
    }
  }

  & .nav-cta-button {
    display: none;
    padding: 0.6rem 1.25rem;
    background: var(--color-earth-dark);
    color: var(--color-text-on-dark);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);

    &:hover {
      background: var(--color-earth-mid);
      color: var(--color-text-on-dark);
      box-shadow: var(--shadow-md);
      transform: translateY(-1px);
    }

    @media (min-width: 1024px) {
      display: inline-flex;
      align-items: center;
    }
  }
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);

  &:hover {
    background: var(--color-border-light);
  }

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

  & .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-mid);
    transform-origin: center;
  }

  &[aria-expanded="true"] {
    & .hamburger-line:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    & .hamburger-line:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    & .hamburger-line:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
  }
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 700;
  background: var(--color-earth-dark);
  clip-path: circle(0px at calc(100% - 38px) 36px);
  transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;

  &.mobile-menu-open {
    clip-path: circle(150% at calc(100% - 38px) 36px);
    pointer-events: all;
  }

  & .mobile-menu-nav {
    text-align: center;
  }

  & .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
  }

  & .mobile-nav-link {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 600;
    color: var(--color-text-on-dark);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-mid), opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;

    &:hover {
      color: var(--color-earth-light);
    }
  }

  &.mobile-menu-open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);

    &:nth-child(1) { transition-delay: 0.15s; }
    &:nth-child(2) { transition-delay: 0.2s; }
    &:nth-child(3) { transition-delay: 0.25s; }
    &:nth-child(4) { transition-delay: 0.3s; }
    &:nth-child(5) { transition-delay: 0.35s; }
  }

  & .mobile-cta-button {
    display: inline-flex;
    padding: 0.875rem 2rem;
    background: var(--color-earth-warm);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s, background var(--transition-fast);

    &:hover {
      background: var(--color-earth-light);
      color: var(--color-earth-dark);
    }
  }

  &.mobile-menu-open .mobile-cta-button {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-earth-dark);
  overflow: hidden;
  padding: var(--space-3xl) 0 var(--space-2xl);

  & .hero-texture-overlay {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(ellipse at 20% 50%, rgba(139, 105, 20, 0.15) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 20%, rgba(107, 124, 94, 0.1) 0%, transparent 50%),
      radial-gradient(ellipse at 60% 80%, rgba(181, 101, 29, 0.08) 0%, transparent 40%);
    pointer-events: none;
  }

  & .hero-organic-shape {
    position: absolute;
    border-radius: var(--radius-organic);
    pointer-events: none;

    &.hero-shape-one {
      width: 500px;
      height: 500px;
      background: rgba(139, 105, 20, 0.06);
      top: -100px;
      right: -100px;
      animation: floatShape 12s ease-in-out infinite;
    }

    &.hero-shape-two {
      width: 300px;
      height: 300px;
      background: rgba(107, 124, 94, 0.04);
      bottom: -50px;
      left: 10%;
      border-radius: 38% 62% 54% 46% / 44% 56% 44% 56%;
      animation: floatShape 16s ease-in-out infinite reverse;
    }
  }

  & .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
      padding: 0 var(--space-lg);
    }
  }

  & .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    color: var(--color-earth-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    & .eyebrow-line {
      display: inline-block;
      width: 32px;
      height: 1.5px;
      background: var(--color-earth-warm);
      border-radius: 1px;
    }
  }

  & .hero-headline {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    color: var(--color-text-on-dark);
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    max-width: 800px;

    & .char {
      display: inline-block;
      opacity: 0;
      transform: translateY(40px) rotate(3deg);
      animation: charReveal 0.6s ease forwards;
    }
  }

  & .hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-stone-light);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
  }

  & .hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
  }

  & .hero-image-frame {
    position: relative;
    max-width: 700px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);

    & img {
      width: 100%;
      height: 380px;
      object-fit: cover;
      display: block;
      border-radius: var(--radius-lg);

      @media (min-width: 768px) {
        height: 440px;
      }
    }

    & .hero-image-caption {
      position: absolute;
      bottom: var(--space-md);
      left: var(--space-md);
      background: rgba(44, 36, 22, 0.85);
      backdrop-filter: blur(8px);
      color: var(--color-text-on-dark);
      padding: 0.6rem 1rem;
      border-radius: var(--radius-pill);
      font-size: 0.8rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;

      & i {
        color: var(--color-sage-light);
      }
    }
  }

  & .hero-sentinel {
    position: absolute;
    bottom: 0;
    height: 1px;
    width: 100%;
  }
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -20px) rotate(5deg); }
  66% { transform: translate(-10px, 15px) rotate(-3deg); }
}

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.primary-action-button {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: var(--color-earth-warm);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-earth-warm);

  &:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }

  &:active {
    transform: translateY(0);
  }
}

.secondary-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-stone-light);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  border-bottom: 1px solid transparent;

  &:hover {
    color: var(--color-earth-light);
    gap: 0.75rem;

    & i {
      transform: translateY(3px);
    }
  }

  & i {
    transition: transform var(--transition-fast);
  }
}

.intro-statement-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .intro-statement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;

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

  & .intro-statement-text {
    & .hand-drawn-accent {
      color: var(--color-earth-warm);
      width: 100px;
      height: 18px;
      margin-bottom: var(--space-sm);
      opacity: 0.7;
    }

    & h2 {
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      margin-bottom: var(--space-md);
    }

    & p {
      color: var(--color-text-secondary);
      line-height: 1.75;
      margin-bottom: var(--space-md);

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

  & .intro-statement-visual {
    position: relative;

    & img {
      width: 100%;
      height: 360px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }

    & .visual-badge {
      position: absolute;
      top: var(--space-md);
      right: var(--space-md);
      background: var(--color-surface-raised);
      border-radius: var(--radius-pill);
      padding: 0.5rem 1rem;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--color-text-primary);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: var(--shadow-md);

      & i {
        color: var(--color-earth-warm);
      }
    }
  }
}

.services-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);

  & .service-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

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

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

  & .service-card {
    background: var(--color-surface-raised);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-mid);
    border: 1px solid var(--color-border-light);

    &:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
    }

    & .service-card-content {
      padding: var(--space-lg);
    }

    & .service-icon-wrapper {
      width: 48px;
      height: 48px;
      background: var(--color-background);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-md);
      font-size: 1.25rem;
      color: var(--color-earth-warm);
      box-shadow: var(--shadow-xs);
    }

    & h3 {
      font-size: 1.1rem;
      margin-bottom: var(--space-sm);
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.7;
    }

    & .service-card-image {
      & img {
        width: 100%;
        height: 200px;
        object-fit: cover;
      }
    }

    & .service-card-image-bottom {
      margin-top: 0;
    }

    &.service-card-featured {
      @media (min-width: 1024px) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;

        & .service-card-image img {
          height: 240px;
        }
      }
    }

    &.service-card-accent {
      background: var(--color-earth-dark);
      border-color: transparent;

      & .service-icon-wrapper {
        background: rgba(139, 105, 20, 0.2);
        color: var(--color-earth-light);
      }

      & h3 {
        color: var(--color-text-on-dark);
      }

      & p {
        color: var(--color-stone-light);
      }
    }
  }
}

.who-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .who-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;

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

  & .who-image-cluster {
    position: relative;
    height: 420px;

    & .who-image-main {
      position: absolute;
      top: 0;
      left: 0;
      width: 75%;
      height: 320px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }

    & .who-image-secondary {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 55%;
      height: 200px;
      object-fit: cover;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-xl);
      border: 4px solid var(--color-surface);
    }
  }

  & .who-content {
    & h2 {
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      margin-bottom: var(--space-md);
    }

    & p {
      color: var(--color-text-secondary);
      line-height: 1.75;
      margin-bottom: var(--space-md);
    }
  }

  & .who-client-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }

  & .client-type-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: var(--color-background);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-fast);

    &:hover {
      border-color: var(--color-earth-light);
      box-shadow: var(--shadow-sm);
    }

    & i {
      color: var(--color-earth-warm);
      font-size: 1rem;
      flex-shrink: 0;
    }
  }
}

.process-timeline-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);

  & .process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: var(--space-xl);

    @media (min-width: 768px) {
      padding-left: 80px;
    }
  }

  & .timeline-track {
    position: absolute;
    left: 20px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-earth-warm), var(--color-sage-light));
    border-radius: 2px;

    @media (min-width: 768px) {
      left: 36px;
    }
  }

  & .timeline-milestone {
    position: relative;
    padding-bottom: var(--space-2xl);
    display: flex;
    gap: var(--space-lg);

    &:last-child {
      padding-bottom: 0;
    }
  }

  & .timeline-marker {
    position: absolute;
    left: -60px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (min-width: 768px) {
      left: -80px;
    }
  }

  & .timeline-step-number {
    width: 48px;
    height: 48px;
    background: var(--color-earth-dark);
    color: var(--color-earth-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-background);
  }

  & .timeline-content {
    flex: 1;
    background: var(--color-surface-raised);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-mid);

    &:hover {
      box-shadow: var(--shadow-md);
    }
  }

  & .timeline-date {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-earth-warm);
    margin-bottom: 0.4rem;
  }

  & h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
  }

  & .timeline-image {
    margin-top: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;

    & img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
  }
}

.why-section {
  padding: var(--space-3xl) 0;
  background: var(--color-earth-dark);

  & .why-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;

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

  & .why-content {
    & .section-label {
      color: var(--color-earth-light);

      &::before {
        color: var(--color-earth-light);
      }
    }

    & h2 {
      color: var(--color-text-on-dark);
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      margin-bottom: var(--space-md);
    }

    & p {
      color: var(--color-stone-light);
      line-height: 1.75;
      margin-bottom: var(--space-md);

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

  & .why-visual {
    position: relative;

    & img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-xl);
    }

    & .decorative-squiggle {
      position: absolute;
      bottom: -20px;
      right: -20px;
      width: 120px;
      height: 36px;
      color: var(--color-earth-warm);
      opacity: 0.4;
    }
  }
}

.clarity-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .clarity-inner {
    max-width: 900px;
    margin: 0 auto;
  }

  & .clarity-header {
    text-align: center;
    margin-bottom: var(--space-xl);

    & h2 {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      margin-bottom: 0.5rem;
    }
  }

  & .clarity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

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

  & .clarity-card {
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1.5px solid var(--color-border);

    & .clarity-card-icon {
      width: 44px;
      height: 44px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      margin-bottom: var(--space-md);
    }

    & h3 {
      font-size: 1.1rem;
      margin-bottom: var(--space-md);
    }

    & .clarity-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;

      & li {
        font-size: 0.9rem;
        color: var(--color-text-secondary);
        padding-left: 1.25rem;
        position: relative;

        &::before {
          content: '';
          position: absolute;
          left: 0;
          top: 0.55em;
          width: 6px;
          height: 6px;
          border-radius: 50%;
        }
      }
    }

    & .clarity-note {
      margin-top: var(--space-md);
      font-size: 0.875rem;

      & a {
        color: var(--color-clay);
        font-weight: 500;

        &:hover {
          color: var(--color-earth-mid);
        }
      }
    }

    &.clarity-card-do {
      background: rgba(107, 124, 94, 0.06);
      border-color: rgba(107, 124, 94, 0.2);

      & .clarity-card-icon {
        background: rgba(107, 124, 94, 0.12);
        color: var(--color-sage);
      }

      & .clarity-list li::before {
        background: var(--color-sage);
      }
    }

    &.clarity-card-dont {
      background: rgba(181, 101, 29, 0.04);
      border-color: rgba(181, 101, 29, 0.15);

      & .clarity-card-icon {
        background: rgba(181, 101, 29, 0.1);
        color: var(--color-clay);
      }

      & .clarity-list li::before {
        background: var(--color-clay);
        border-radius: 0;
        width: 8px;
        height: 2px;
        top: 0.65em;
      }
    }
  }
}

.contact-cta-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);

  & .contact-cta-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-2xl);
    background: var(--color-surface-raised);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);

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

  & .contact-cta-text {
    & h2 {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      margin-bottom: 0.75rem;
    }

    & p {
      color: var(--color-text-secondary);
    }
  }

  & .contact-cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;

    @media (min-width: 768px) {
      align-items: flex-end;
    }
  }

  & .contact-cta-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  & .contact-detail-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);

    & i {
      color: var(--color-earth-warm);
      width: 16px;
    }

    &:hover {
      color: var(--color-text-primary);
    }
  }
}

.page-footer {
  background: var(--color-earth-dark);
  color: var(--color-stone-light);
  position: relative;
  z-index: 1;

  & .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);

    @media (min-width: 768px) {
      padding: 0 var(--space-lg);
    }
  }

  & .footer-newsletter-row {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-xl) 0;

    & .newsletter-wrapper {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
      align-items: flex-start;

      @media (min-width: 640px) {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }

    & .newsletter-text {
      & h3 {
        color: var(--color-text-on-dark);
        font-size: 1rem;
        margin-bottom: 0.25rem;
      }

      & p {
        font-size: 0.875rem;
        color: var(--color-stone);
      }
    }

    & .newsletter-form {
      display: flex;
      gap: var(--space-xs);
      flex-wrap: wrap;

      & input[type="email"] {
        padding: 0.6rem 1rem;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: var(--radius-pill);
        color: #fff;
        font-family: var(--font-body);
        font-size: 0.875rem;
        min-width: 200px;
        transition: all var(--transition-fast);

        &::placeholder {
          color: var(--color-stone);
        }

        &:focus {
          outline: none;
          border-color: var(--color-earth-light);
          background: rgba(255,255,255,0.12);
        }
      }

      & button {
        padding: 0.6rem 1.25rem;
        background: var(--color-earth-warm);
        color: #fff;
        border: none;
        border-radius: var(--radius-pill);
        font-family: var(--font-body);
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--transition-fast);

        &:hover {
          background: var(--color-earth-light);
          color: var(--color-earth-dark);
        }
      }
    }
  }

  & .footer-main-row {
    padding: var(--space-2xl) 0;
  }

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

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

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

  & .footer-column {
    & .footer-logo {
      margin-bottom: var(--space-md);
    }

    & .footer-description {
      font-size: 0.875rem;
      line-height: 1.7;
      color: var(--color-stone);
    }

    & .footer-column-heading {
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-text-on-dark);
      margin-bottom: var(--space-md);
    }
  }

  & .footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  & .footer-nav-link {
    font-size: 0.875rem;
    color: var(--color-stone);
    transition: color var(--transition-fast);
    display: inline-flex;

    &:hover {
      color: var(--color-earth-light);
    }
  }

  & .footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);

    & li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;

      & i {
        color: var(--color-earth-warm);
        margin-top: 3px;
        flex-shrink: 0;
        width: 14px;
      }

      & span, & a {
        font-size: 0.875rem;
        color: var(--color-stone);
        line-height: 1.5;
      }

      & a {
        transition: color var(--transition-fast);

        &:hover {
          color: var(--color-earth-light);
        }
      }
    }
  }

  & .footer-copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-md) 0;

    & .footer-container {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      align-items: flex-start;

      @media (min-width: 640px) {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }
    }

    & p {
      font-size: 0.8rem;
      color: var(--color-stone);
    }
  }
}

.inner-page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--color-earth-dark);
  overflow: hidden;

  & .inner-hero-texture {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(ellipse at 30% 50%, rgba(139, 105, 20, 0.12) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 30%, rgba(107, 124, 94, 0.08) 0%, transparent 50%);
    pointer-events: none;
  }

  & .inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;

    & h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      color: var(--color-text-on-dark);
      margin-bottom: var(--space-md);
    }

    & .inner-hero-description {
      font-size: 1.05rem;
      color: var(--color-stone-light);
      line-height: 1.7;
    }
  }
}

.limits-explanation-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .limits-intro {
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
    text-align: center;

    & .limits-lead {
      font-size: 1.15rem;
      color: var(--color-text-secondary);
      line-height: 1.75;
    }
  }

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

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

  & .limit-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--color-surface-raised);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition-mid);

    &:hover {
      box-shadow: var(--shadow-md);
    }
  }

  & .limit-item-icon {
    width: 44px;
    height: 44px;
    background: var(--color-background);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-earth-warm);
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
  }

  & .limit-item-content {
    & h2 {
      font-size: 1.1rem;
      margin-bottom: var(--space-sm);
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.7;
      margin-bottom: 0.75rem;

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

.limits-why-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);

  & .limits-why-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;

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

  & .limits-why-image {
    & img {
      width: 100%;
      height: 420px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }
  }

  & .limits-why-content {
    & h2 {
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      margin-bottom: var(--space-md);
    }

    & p {
      color: var(--color-text-secondary);
      line-height: 1.75;
      margin-bottom: var(--space-md);
    }
  }
}

.workshops-intro-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .workshops-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;

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

  & .workshops-intro-content {
    & h2 {
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      margin-bottom: var(--space-md);
    }

    & p {
      color: var(--color-text-secondary);
      line-height: 1.75;
      margin-bottom: var(--space-md);

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

  & .workshops-intro-image {
    & img {
      width: 100%;
      height: 360px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }
  }
}

.workshop-list-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);

  & .workshop-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

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

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

  & .workshop-card {
    background: var(--color-surface-raised);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-mid);
    box-shadow: var(--shadow-sm);

    &:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-3px);
    }

    & .workshop-card-header {
      padding: var(--space-lg);
      border-bottom: 1px solid var(--color-border-light);
      background: var(--color-background);

      & h3 {
        font-size: 1.1rem;
        margin-top: 0.5rem;
      }
    }

    & .workshop-duration {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--color-earth-warm);
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    & .workshop-card-body {
      padding: var(--space-lg);
      flex: 1;

      & p {
        font-size: 0.9rem;
        color: var(--color-text-secondary);
        line-height: 1.7;
        margin-bottom: var(--space-md);
      }
    }

    & .workshop-topics {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;

      & li {
        font-size: 0.85rem;
        color: var(--color-text-secondary);
        padding-left: 1rem;
        position: relative;

        &::before {
          content: '→';
          position: absolute;
          left: 0;
          color: var(--color-earth-warm);
          font-size: 0.75rem;
        }
      }
    }

    & .workshop-card-footer {
      padding: var(--space-md) var(--space-lg);
      border-top: 1px solid var(--color-border-light);
      background: var(--color-background);

      & .workshop-audience {
        font-size: 0.8rem;
        color: var(--color-text-muted);
        display: flex;
        align-items: center;
        gap: 0.4rem;
      }
    }

    &.workshop-card-highlighted {
      border-color: var(--color-earth-warm);
      box-shadow: 0 0 0 1px rgba(139, 105, 20, 0.2), var(--shadow-md);

      & .workshop-card-header {
        background: var(--color-earth-dark);

        & h3 {
          color: var(--color-text-on-dark);
        }

        & .workshop-duration {
          color: var(--color-earth-light);
        }
      }
    }
  }
}

.workshops-format-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .workshops-format-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;

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

  & .format-content {
    & h2 {
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      margin-bottom: var(--space-xl);
    }
  }

  & .format-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }

  & .format-option {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;

    & i {
      width: 44px;
      height: 44px;
      background: var(--color-background);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-earth-warm);
      font-size: 1.1rem;
      flex-shrink: 0;
      box-shadow: var(--shadow-xs);
    }

    & h3 {
      font-size: 1rem;
      margin-bottom: 0.4rem;
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.65;
    }
  }

  & .format-image {
    & img {
      width: 100%;
      height: 380px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }
  }
}

.workshops-cta-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);

  & .workshops-cta-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;

    & h2 {
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      margin-bottom: var(--space-md);
    }

    & p {
      color: var(--color-text-secondary);
      margin-bottom: var(--space-xl);
    }
  }
}

.reviews-context-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .reviews-context-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;

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

  & .reviews-context-text {
    & h2 {
      font-size: clamp(1.6rem, 3vw, 2.25rem);
      margin-bottom: var(--space-md);
    }

    & p {
      color: var(--color-text-secondary);
line-height: 1.75;
      margin-bottom: var(--space-md);

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

  & .reviews-context-image {
    & img {
      width: 100%;
      height: 360px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }
  }
}

.reviews-collection-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);

  & .reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

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

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

  & .review-card {
    background: var(--color-surface-raised);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-mid);

    &:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-3px);
    }

    &.review-card-wide {
      @media (min-width: 640px) {
        grid-column: span 2;
      }

      @media (min-width: 1024px) {
        grid-column: span 1;
      }
    }
  }

  & .review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  & .review-type-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-earth-warm);
    background: rgba(139, 105, 20, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);

    & i {
      font-size: 0.75rem;
    }
  }

  & .review-location {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
  }

  & .review-card-body {
    flex: 1;

    & .review-text {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.75;
      font-style: italic;

      &::before {
        content: '"';
        font-size: 2rem;
        color: var(--color-earth-light);
        font-family: var(--font-heading);
        line-height: 1;
        display: block;
        margin-bottom: 0.25rem;
        font-style: normal;
      }
    }
  }

  & .review-card-footer {
    border-top: 1px solid var(--color-border-light);
    padding-top: var(--space-sm);

    & .review-author-role {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--color-text-muted);
    }
  }
}

.reviews-note-section {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--color-background);

  & .reviews-note-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--color-border-light);

    & i {
      color: var(--color-earth-warm);
      font-size: 1.25rem;
      flex-shrink: 0;
      margin-top: 2px;
    }

    & p {
      font-size: 0.875rem;
      color: var(--color-text-secondary);
      line-height: 1.7;

      & a {
        color: var(--color-earth-warm);
        font-weight: 500;

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

.contact-main-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);

  & .contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);

    @media (min-width: 900px) {
      grid-template-columns: 1.4fr 1fr;
    }
  }

  & .inquiry-form-wrapper {
    & h2 {
      font-size: clamp(1.4rem, 2.5vw, 1.875rem);
      margin-bottom: var(--space-xl);
    }
  }
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);

  & .form-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  & .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
  }

  & .form-input,
  & .form-textarea {
    padding: 0.75rem 1rem;
    background: var(--color-surface-raised);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
    width: 100%;

    &::placeholder {
      color: var(--color-stone);
    }

    &:focus {
      outline: none;
      border-color: var(--color-earth-warm);
      box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
    }
  }

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

  & .form-privacy-group {
    & .form-privacy-label {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      cursor: pointer;
      font-size: 0.875rem;
      color: var(--color-text-secondary);
      line-height: 1.5;

      & .form-checkbox {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin-top: 1px;
        accent-color: var(--color-earth-warm);
        cursor: pointer;
      }

      & a {
        color: var(--color-earth-warm);
        font-weight: 500;

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

  & .form-error-message {
    font-size: 0.875rem;
    color: #c0392b;
    min-height: 1.2em;
    padding: 0.5rem 0;
    display: none;

    &:not(:empty) {
      display: block;
    }
  }

  & .form-submit-button {
    align-self: flex-start;
    padding: 0.875rem 2rem;
    background: var(--color-earth-dark);
    color: var(--color-text-on-dark);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    min-height: 48px;

    &:hover {
      background: var(--color-earth-mid);
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }

    &:active {
      transform: translateY(0);
    }
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-block,
.contact-hours-block {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);

  & h3 {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border-light);
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);

  & li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;

    & i {
      color: var(--color-earth-warm);
      width: 18px;
      margin-top: 3px;
      flex-shrink: 0;
    }

    & div {
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
    }

    & strong {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--color-text-muted);
    }

    & span,
    & a {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.5;
    }

    & a {
      transition: color var(--transition-fast);

      &:hover {
        color: var(--color-earth-warm);
      }
    }
  }
}

.contact-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  & li {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed var(--color-border-light);

    &:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
  }
}

.map-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);

  & .map-section-heading {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: var(--space-xl);
  }

  & .map-and-directions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);

    @media (min-width: 900px) {
      grid-template-columns: 1.4fr 1fr;
    }
  }

  & .map-frame-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);

    & iframe {
      display: block;
      border-radius: var(--radius-lg);
    }
  }

  & .directions-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);

    & h3 {
      font-size: 1.1rem;
      margin-bottom: var(--space-sm);
    }
  }

  & .directions-transport-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    background: var(--color-surface-raised);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-fast);

    &:hover {
      box-shadow: var(--shadow-sm);
    }

    & i {
      width: 40px;
      height: 40px;
      background: var(--color-background);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-earth-warm);
      font-size: 1rem;
      flex-shrink: 0;
    }

    & strong {
      display: block;
      font-size: 0.875rem;
      margin-bottom: 0.3rem;
      color: var(--color-text-primary);
    }

    & p {
      font-size: 0.825rem;
      color: var(--color-text-secondary);
      line-height: 1.6;
      margin: 0;
    }
  }
}

.thanks-main {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - 300px);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
}

.thanks-section {
  padding: var(--space-3xl) 0;
  width: 100%;

  & .thanks-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }

  & .thanks-heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
    animation: fadeSlideUp 0.6s ease 1.2s both;
  }

  & .thanks-text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    animation: fadeSlideUp 0.6s ease 1.4s both;
  }

  & .thanks-subtext {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    animation: fadeSlideUp 0.6s ease 1.6s both;
  }

  & .thanks-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    animation: fadeSlideUp 0.6s ease 1.8s both;

    & .secondary-action-link {
      color: var(--color-text-secondary);
    }
  }
}

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

.envelope-animation {
  margin: 0 auto var(--space-xl);
  width: 120px;
  height: 90px;
  position: relative;
  animation: fadeSlideUp 0.5s ease 0.2s both;
}

.envelope-body {
  width: 120px;
  height: 80px;
  background: var(--color-surface-raised);
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  position: absolute;
  bottom: 0;
  left: 0;
  box-shadow: var(--shadow-md);
  overflow: visible;
}

.envelope-flap {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 46px;
  background: var(--color-earth-light);
  clip-path: polygon(0 0, 50% 60%, 100% 0);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  transform-origin: top center;
  animation: flapOpen 0.5s ease 0.6s both;
}

.envelope-letter {
  position: absolute;
  width: 80px;
  height: 60px;
  background: var(--color-surface-raised);
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-xs);
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  animation: letterRise 0.5s ease 0.9s both;
  box-shadow: var(--shadow-sm);

  & .letter-lines {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;

    & span {
      display: block;
      height: 2px;
      background: var(--color-border);
      border-radius: 1px;

      &:nth-child(2) {
        width: 70%;
      }

      &:nth-child(3) {
        width: 50%;
      }
    }
  }
}

@keyframes flapOpen {
  from {
    transform: rotateX(0deg);
  }
  to {
    transform: rotateX(-160deg);
  }
}

@keyframes letterRise {
  from {
    bottom: 10px;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

.legal-page-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--color-earth-dark);

  & h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-text-on-dark);
    margin-bottom: var(--space-sm);
  }

  & .legal-last-updated {
    font-size: 0.875rem;
    color: var(--color-stone);
  }
}

.legal-content-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);
}

.legal-timeline-layout {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: var(--space-xl);

  @media (min-width: 768px) {
    padding-left: 80px;
  }

  &::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-earth-warm), var(--color-border-light));
    border-radius: 2px;

    @media (min-width: 768px) {
      left: 24px;
    }
  }
}

.legal-timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);

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

.legal-timeline-marker {
  position: absolute;
  left: calc(-1 * var(--space-xl));
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;

  @media (min-width: 768px) {
    left: -80px;
  }
}

.legal-timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--color-earth-warm);
  border-radius: 50%;
  border: 3px solid var(--color-surface);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.legal-timeline-date {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
  white-space: nowrap;
}

.legal-timeline-content {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);

  & h2 {
    font-size: 1.15rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border-light);
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);

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

  & ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);

    & li {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.65;
      list-style: disc;
      list-style-position: outside;

      & strong {
        color: var(--color-text-primary);
      }
    }
  }
}

.legal-lettered-layout {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.legal-lettered-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-xl);
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);
}

.legal-letter-marker {
  width: 48px;
  height: 48px;
  background: var(--color-earth-dark);
  color: var(--color-earth-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.legal-lettered-content {
  flex: 1;

  & h2 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);

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

  & ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);

    & li {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.65;
      list-style: disc;
      list-style-position: outside;
    }
  }
}

.legal-compact-layout {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.legal-compact-block {
  & h2 {
    font-size: 1.15rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border-light);
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);

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

  & ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);

    & li {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.65;
      list-style: disc;
      list-style-position: outside;

      & strong {
        color: var(--color-text-primary);
      }
    }
  }
}

.cookie-table-wrapper {
  overflow-x: auto;
  margin: var(--space-md) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);
}

.cookie-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;

  & thead {
    background: var(--color-background);

    & th {
      padding: 0.75rem 1rem;
      text-align: left;
      font-weight: 600;
      color: var(--color-text-primary);
      border-bottom: 1px solid var(--color-border-light);
      white-space: nowrap;
    }
  }

  & tbody {
    & tr {
      border-bottom: 1px solid var(--color-border-light);
      transition: background var(--transition-fast);

      &:last-child {
        border-bottom: none;
      }

      &:hover {
        background: var(--color-background);
      }
    }

    & td {
      padding: 0.75rem 1rem;
      color: var(--color-text-secondary);
      vertical-align: top;
      line-height: 1.6;
    }
  }

  & code {
    font-family: monospace;
    background: var(--color-background);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-xs);
    font-size: 0.825rem;
    color: var(--color-clay);
    border: 1px solid var(--color-border-light);
  }
}

.legal-numbered-layout {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.legal-numbered-item {
  padding: var(--space-xl);
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);

  & h2 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  & .legal-number {
    color: var(--color-earth-warm);
    font-size: 1rem;
    flex-shrink: 0;
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);

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

    & a {
      color: var(--color-earth-warm);
      font-weight: 500;

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

  & ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);

    & li {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.65;
      list-style: disc;
      list-style-position: outside;

      & strong {
        color: var(--color-text-primary);
      }
    }
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;

  &.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 639px) {
  .who-image-cluster {
    height: 320px !important;

    & .who-image-main {
      height: 240px !important;
    }

    & .who-image-secondary {
      height: 160px !important;
    }
  }

  .legal-lettered-item {
    flex-direction: column;
    gap: var(--space-md);
  }

  .cookie-modal-actions {
    flex-direction: column;
  }
}

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