/* ============================================
   TALYNVORA - Main Stylesheet
   Clean Modern | Duotone: Navy + Gold
   ============================================ */


:root {
  --color-ink: #1a1a2e;
  --color-ink-soft: #2d2d4a;
  --color-primary: #0f3460;
  --color-primary-dark: #0a2540;
  --color-primary-light: #1a4a7a;
  --color-accent: #c9a84c;
  --color-accent-light: #e8c97a;
  --color-accent-dark: #a8872e;
  --color-surface: #f8f7f4;
  --color-surface-alt: #f2f0eb;
  --color-white: #ffffff;
  --color-muted: #6b7280;
  --color-muted-light: #9ca3af;
  --color-border: rgba(15, 52, 96, 0.1);
  --color-border-strong: rgba(15, 52, 96, 0.2);

  --shadow-sm: 0 1px 3px rgba(15,52,96,0.08), 0 1px 2px rgba(15,52,96,0.06);
  --shadow-md: 0 4px 12px rgba(15,52,96,0.1), 0 2px 6px rgba(15,52,96,0.07);
  --shadow-lg: 0 10px 32px rgba(15,52,96,0.12), 0 4px 12px rgba(15,52,96,0.08);
  --shadow-xl: 0 20px 48px rgba(15,52,96,0.16), 0 8px 20px rgba(15,52,96,0.10);
  --shadow-accent: 0 8px 24px rgba(201,168,76,0.25), 0 2px 8px rgba(201,168,76,0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 100px;

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

  --nav-height: 80px;

  --font-heading: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
}


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

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

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

  & main {
    flex: 1;
  }
}

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

a {
  color: var(--color-primary);
  transition: color 0.25s ease;
}


.language-badge {
  position: fixed;
  top: calc(var(--nav-height) + 0.75rem);
  right: 1.25rem;
  z-index: 900;
  background: var(--color-white);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
  pointer-events: none;

  & .language-badge-flag {
    font-size: 0.85rem;
  }
}


.main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: var(--nav-height);

  &.nav-hidden {
    transform: translateY(-100%);
  }

  & .navigation-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.navigation-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;

  & img {
    height: 36px;
    width: auto;
  }

  & span {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-primary);
    letter-spacing: -0.01em;
  }
}

.navigation-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;

  & a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
    transition: color 0.25s;
    position: relative;

    &::after {
      content: '';
      position: absolute;
      bottom: -3px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--color-accent);
      transform: scaleX(0);
      transition: transform 0.25s;
      border-radius: 2px;
    }

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

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

.navigation-cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
  box-shadow: 0 2px 8px rgba(15,52,96,0.25) !important;

  &::after {
    display: none !important;
  }

  &:hover {
    background: var(--color-accent) !important;
    transform: translateY(-1px) !important;
    box-shadow: var(--shadow-accent) !important;
  }
}

.navigation-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;

  & span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-ink);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
  }

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

    & span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    & span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
  }
}

.navigation-mobile-panel {
  display: none;
  background: var(--color-white);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(15,52,96,0.08);

  &.is-open {
    max-height: 400px;
  }
}

.mobile-panel-links {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  list-style: none;

  & li a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s, padding-left 0.2s;

    &:hover {
      color: var(--color-accent);
      padding-left: 0.5rem;
    }
  }

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


.nav-mini-pill {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(15,52,96,0.3), 0 1px 4px rgba(15,52,96,0.2);
  cursor: pointer;
  border: none;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all 0.3s;

  &:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
  }
}


.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 55%, #0a2540 100%);
}

.hero-icon-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 0;
  pointer-events: none;
  overflow: hidden;

  & i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: rgba(201, 168, 76, 0.08);
    transition: opacity 0.3s;
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  padding: 2rem;
  margin: 0 auto;
}

.hero-atropos {
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow:
    0 32px 64px rgba(0,0,0,0.4),
    0 8px 24px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--color-accent-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-card-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-accent);
  white-space: nowrap;

  &:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201,168,76,0.35);
    color: var(--color-ink);
  }
}

.hero-secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s;
  white-space: nowrap;

  &:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    transform: translateY(-1px);
  }

  &.hero-secondary-button--light {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

.hero-card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);

  & i {
    color: var(--color-accent);
    font-size: 0.9rem;
  }
}


.section-container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 52, 96, 0.07);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 52, 96, 0.12);
  margin-bottom: 1rem;

  &.section-label-tag--light {
    background: rgba(201, 168, 76, 0.15);
    color: var(--color-accent-light);
    border-color: rgba(201, 168, 76, 0.25);
  }
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;

  &.section-heading--light {
    color: var(--color-white);
  }
}

.section-intro-text {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 680px;
}

.text-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 1.25rem;
  transition: gap 0.25s, color 0.25s;

  &:hover {
    gap: 0.75rem;
    color: var(--color-accent-dark);
  }
}


.service-intro-section {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
  text-align: center;

  & .section-heading {
    margin: 0 auto 1.25rem;
  }

  & .section-intro-text {
    margin: 0 auto;
  }
}


.process-section {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;

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

  & .process-step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(15, 52, 96, 0.08);
    line-height: 1;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    letter-spacing: -0.03em;
  }

  & .process-step-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(15,52,96,0.25);

    & i {
      color: var(--color-white);
      font-size: 1.2rem;
    }
  }

  & h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-ink);
    margin-bottom: 0.75rem;
  }

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


.sartorie-section {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

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

.sartorie-text-block {
  & p {
    color: var(--color-muted);
    line-height: 1.75;
    margin-bottom: 1rem;

    &:last-of-type {
      margin-bottom: 0;
    }
  }
}

.sartorie-image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }

  &:hover img {
    transform: scale(1.03);
  }
}


.comparison-section {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.comparison-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.comparison-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.comparison-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;

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

  &.comparison-card--featured {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);

    &:hover {
      transform: translateY(-12px);
      box-shadow: 0 24px 56px rgba(15,52,96,0.25);
    }

    & .comparison-card-title {
      color: var(--color-white);
    }

    & .comparison-card-desc {
      color: rgba(255,255,255,0.75);
    }

    & .comparison-feature-list li {
      color: rgba(255,255,255,0.85);
    }

    & .comparison-card-icon i {
      color: var(--color-white);
    }
  }

  &.comparison-card--alt {
    background: var(--color-surface);
  }
}

.comparison-card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  white-space: nowrap;
}

.comparison-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(15, 52, 96, 0.07);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;

  & i {
    color: var(--color-primary);
    font-size: 1.2rem;
  }
}

.comparison-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.comparison-card-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.comparison-feature-list {
  list-style: none;
  margin-bottom: 1.5rem;

  & li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--color-ink-soft);
    padding: 0.35rem 0;

    & .fa-check {
      color: #22c55e;
      font-size: 0.8rem;
      flex-shrink: 0;
    }

    & .fa-times {
      color: #ef4444;
      font-size: 0.8rem;
      flex-shrink: 0;
    }
  }
}

.comparison-card-cta {
  display: block;
  text-align: center;
  background: var(--color-accent);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-accent);

  &:hover {
    background: var(--color-accent-light);
    transform: translateY(-1px);
    color: var(--color-ink);
  }
}


.gallery-section {
  background: var(--color-ink);
  overflow: hidden;
}

.gallery-full-bleed {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 3px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s;
    filter: brightness(0.85) saturate(0.9);
  }

  &:hover img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1.1);
  }

  &.gallery-item--tall {
    grid-row: span 2;
    aspect-ratio: unset;
  }

  &.gallery-item--wide {
    grid-column: span 2;
  }
}


.calculator-section {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.calculator-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.calculator-header {
  margin-bottom: 2rem;
  text-align: center;

  & .section-intro-text {
    margin: 0 auto;
  }
}

.calculator-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.calculator-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  & label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-ink-soft);
  }

  & select {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-ink);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230f3460' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;

    &:focus {
      outline: none;
      border-color: var(--color-primary);
      box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
    }
  }
}

.calculator-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(15,52,96,0.25);

  &:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
  }
}

.calculator-result-area {
  margin-top: 1.5rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  &.is-visible {
    max-height: 300px;
  }
}

.calculator-result-inner {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.calculator-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;

  &:last-of-type {
    border-bottom: none;
  }

  & span {
    color: var(--color-muted);
  }

  & strong {
    color: var(--color-primary);
    font-size: 1rem;
  }
}

.calculator-result-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  background: rgba(15, 52, 96, 0.04);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 1rem;
  line-height: 1.5;

  & i {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
  }
}

.calculator-result-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  background: var(--color-accent);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s;

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


.about-strip-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  overflow: hidden;
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.about-strip-image-col {
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    filter: brightness(0.75) saturate(0.8);
  }

  &:hover img {
    transform: scale(1.03);
  }
}

.about-strip-text-col {
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;

  & p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  & .hero-secondary-button {
    margin-top: 0.5rem;
    align-self: flex-start;
  }
}


.service-showcase-section {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}

.showcase-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.showcase-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;

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

.showcase-item-image {
  aspect-ratio: 16/9;
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
}

.showcase-item:hover .showcase-item-image img {
  transform: scale(1.05);
}

.showcase-item-content {
  padding: 1.5rem;

  & h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-ink);
    margin-bottom: 0.6rem;
  }

  & p {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.65;
  }
}


.cta-banner-section {
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-2xl) 0;
}

.cta-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner-text {
  & h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
  }

  & p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
  }
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}


.inner-page-hero {
  padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
  background: var(--color-white);
  text-align: center;
  border-bottom: 1px solid var(--color-border);

  &.inner-page-hero--dark {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));

    & .inner-page-title {
      color: var(--color-white);
    }

    & .inner-page-subtitle {
      color: rgba(255, 255, 255, 0.75);
    }
  }
}

.inner-page-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.inner-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--color-ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.inner-page-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.7;
}


.values-section {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}

.values-intro {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

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

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;

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

  & .value-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(15,52,96,0.08), rgba(201,168,76,0.12));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;

    & i {
      color: var(--color-primary);
      font-size: 1.15rem;
    }
  }

  & h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-ink);
    margin-bottom: 0.75rem;
  }

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

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


.values-image-section {
  padding: var(--space-xl) 0;
  background: var(--color-white);
}

.values-image-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4px;
  max-width: 1280px;
  margin: 0 auto;
}

.values-image-primary {
  overflow: hidden;
  aspect-ratio: 4/3;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }

  &:hover img {
    transform: scale(1.03);
  }
}

.values-image-secondary-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.values-image-secondary {
  flex: 1;
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }

  &:hover img {
    transform: scale(1.04);
  }
}


.manifesto-section {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.manifesto-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.manifesto-quote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.75rem;

  & p {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    color: var(--color-ink);
    line-height: 1.4;
    font-style: normal;
  }
}

.manifesto-body {
  & p {
    color: var(--color-muted);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 1rem;

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


.equipment-intro-section {
  padding: var(--space-lg) 0;
  background: var(--color-white);

  & .equipment-intro-text {
    font-size: 1.05rem;
    color: var(--color-muted);
    line-height: 1.75;
  }
}

.equipment-section {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-surface);
}

.equipment-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.equipment-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);

  &.equipment-card--reversed {
    direction: rtl;

    & > * {
      direction: ltr;
    }
  }
}

.equipment-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }

  &:hover img {
    transform: scale(1.04);
  }
}

.equipment-card-content {
  padding: 2.5rem;

  & .equipment-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(15,52,96,0.2);

    & i {
      color: var(--color-white);
      font-size: 1.2rem;
    }
  }

  & h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-ink);
    margin-bottom: 0.75rem;
  }

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

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


.equipment-detail-section {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.protocol-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-lg);
}

.protocol-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;

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

  &:hover {
    background: rgba(15, 52, 96, 0.02);
    border-radius: var(--radius-md);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
}

.protocol-step-icon {
  width: 44px;
  height: 44px;
  background: rgba(15, 52, 96, 0.07);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  & i {
    color: var(--color-primary);
    font-size: 1rem;
  }
}

.protocol-step-text {
  & h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-ink);
    margin-bottom: 0.4rem;
  }

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


.contact-trust-section {
  padding: var(--space-lg) 0;
  background: var(--color-white);
}

.contact-trust-card {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.contact-trust-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.contact-trust-quote {
  & p {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-white);
    line-height: 1.5;
    font-style: normal;
    margin-bottom: 0;
  }
}

.contact-trust-cite {
  display: block;
  margin-top: 1rem;
  color: var(--color-accent-light);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 500;
}

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

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.inquiry-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.contact-form-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.contact-form-subtext {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

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

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

  &.form-field--full {
    grid-column: 1 / -1;
  }

  & label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-ink-soft);
  }

  & input, & textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-ink);
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;

    &::placeholder {
      color: var(--color-muted-light);
    }

    &:focus {
      outline: none;
      border-color: var(--color-primary);
      box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
      background: var(--color-white);
    }
  }

  & textarea {
    min-height: 90px;
    max-height: 180px;
  }
}

.form-optional-tag {
  font-weight: 400;
  color: var(--color-muted-light);
  font-size: 0.78rem;
}

.form-required {
  color: #ef4444;
}

.form-privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.form-privacy-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  cursor: pointer;
  flex: 1;

  & input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
  }

  & a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;

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

.form-submit-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(15,52,96,0.25);
  white-space: nowrap;
  min-height: 44px;

  &:hover {
    background: var(--color-accent);
    color: var(--color-ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
  }
}

.contact-info-panel {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-info-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-ink);
  margin-bottom: 1.5rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(15, 52, 96, 0.07);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  & i {
    color: var(--color-primary);
    font-size: 0.9rem;
  }
}

.contact-info-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;

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

  & a, & span {
    font-size: 0.9rem;
    color: var(--color-ink);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
  }

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


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

.map-section-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-ink);
  margin-bottom: 1.5rem;
}

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


.thanks-hero-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent-dark) 100%);
  padding: calc(var(--nav-height) + 4rem) 2rem 5rem;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.thanks-icon-wrapper {
  font-size: 4rem;
  color: var(--color-accent-light);
  margin-bottom: 1.5rem;
  animation: bounceIn 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.thanks-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.thanks-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.thanks-next-steps-section {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.thanks-next-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-ink);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.thanks-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--space-lg);
}

.thanks-step {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.thanks-step-icon {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.thanks-step {
  & h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
  }

  & p {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.6;
  }
}

.thanks-back-home {
  text-align: center;
}


.legal-page-main {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

.legal-page-container {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-xl) 2rem var(--space-2xl);
}

.legal-page-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-border-strong);

  & h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
  }
}

.legal-last-updated {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.legal-intro-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
  background: rgba(15, 52, 96, 0.04);
  border-left: 3px solid var(--color-primary);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-definition-box {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: var(--space-lg);
}

.legal-definition-box-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-accent-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.legal-definition-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;

  & dt {
    font-size: 0.85rem;
    color: var(--color-ink-soft);
    margin-bottom: 0.2rem;
  }

  & dd {
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.55;
    margin-bottom: 0.5rem;
  }
}

.legal-body {
  & .legal-section {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);

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

    & h2 {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      color: var(--color-primary);
      margin-bottom: 1rem;
    }

    & h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--color-ink-soft);
      margin: 1rem 0 0.5rem;
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-ink-soft);
      line-height: 1.75;
      margin-bottom: 0.75rem;

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

    & a {
      color: var(--color-primary);
      text-decoration: underline;
      text-underline-offset: 2px;

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

.legal-contact-list {
  list-style: none;
  margin: 0.75rem 0;

  & li {
    font-size: 0.9rem;
    color: var(--color-muted);
    padding: 0.3rem 0;

    & a {
      color: var(--color-primary);
    }
  }
}

.legal-list {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;

  & li {
    font-size: 0.9rem;
    color: var(--color-ink-soft);
    line-height: 1.65;
    padding: 0.35rem 0 0.35rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;

    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 6px;
      height: 6px;
      background: var(--color-accent);
      border-radius: 50%;
    }

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

.legal-purpose-table {
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1rem 0;
}

.legal-purpose-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-bottom: 1px solid var(--color-border);

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

.legal-purpose-cell {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;

  &.legal-purpose-cell--header {
    background: rgba(15, 52, 96, 0.05);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-ink-soft);
  }
}


.legal-page-container--terms {
  max-width: 820px;
}

.legal-page-header--terms {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: var(--space-lg);
  border-bottom: none;

  & h1 {
    color: var(--color-white);
  }
}

.legal-terms-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  color: var(--color-accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.legal-body--terms {
  & .legal-clause {
    margin-bottom: var(--space-md);
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);

    & h2 {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      color: var(--color-primary);
      margin-bottom: 0.75rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid var(--color-border);
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-ink-soft);
      line-height: 1.75;
      margin-bottom: 0.75rem;

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

  & .legal-inline-definition {
    background: rgba(201, 168, 76, 0.06);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;

    & strong {
      display: block;
      color: var(--color-accent-dark);
      margin-bottom: 0.4rem;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    & p {
      color: var(--color-muted);
      line-height: 1.6;
      margin: 0;
    }
  }
}


.legal-page-container--cookies {
  max-width: 860px;
}

.legal-page-header--cookies {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-lg);

  & h1 {
    color: var(--color-primary);
  }
}

.legal-body--cookies {
  & h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-ink);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.75;
    margin-bottom: 0.75rem;
  }
}

.cookies-what-is-section {
  margin-bottom: var(--space-lg);
}

.cookie-tech-explainer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
}

.cookie-tech-icon {
  font-size: 2rem;
  color: var(--color-accent);
  padding-top: 0.25rem;
}

.cookie-tech-text {
  & p {
    margin-bottom: 0.75rem;

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

.cookies-categories-section {
  margin-bottom: var(--space-lg);
}

.cookie-category-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);

  &.cookie-category-card--necessary {
    background: rgba(15, 52, 96, 0.03);
    border-color: rgba(15, 52, 96, 0.15);
  }

  &.cookie-category-card--analytics {
    background: var(--color-white);
  }

  &.cookie-category-card--marketing {
    background: rgba(201, 168, 76, 0.03);
    border-color: rgba(201, 168, 76, 0.2);
  }

  & p {
    margin-bottom: 1rem;
  }
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;

  & h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-ink);
    margin: 0;
  }
}

.cookie-category-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;

  &.cookie-category-badge--required {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
  }

  &.cookie-category-badge--optional {
    background: rgba(201, 168, 76, 0.12);
    color: var(--color-accent-dark);
    border: 1px solid rgba(201, 168, 76, 0.25);
  }
}

.cookie-detail-table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0.75rem 0;
  font-size: 0.82rem;
}

.cookie-detail-row {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  border-bottom: 1px solid var(--color-border);

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

  & span, & code {
    padding: 0.5rem 0.75rem;
    color: var(--color-muted);
    line-height: 1.4;
    display: flex;
    align-items: center;
  }

  & code {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--color-primary);
  }

  &.cookie-detail-row--header span {
    background: rgba(15, 52, 96, 0.05);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-ink-soft);
  }
}

.cookie-legal-basis {
  font-size: 0.82rem;
  color: var(--color-muted);
  background: rgba(15, 52, 96, 0.04);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.cookies-management-section, .cookies-rights-section {
  margin-bottom: var(--space-lg);
}

.cookie-browser-list {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;

  & li {
    font-size: 0.875rem;
    color: var(--color-muted);
    padding: 0.4rem 0 0.4rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;

    &::before {
      content: '›';
      position: absolute;
      left: 0;
      color: var(--color-accent);
      font-weight: 700;
    }

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


.page-footer {
  background: linear-gradient(180deg, #0d1b35 0%, #080f1e 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  & .footer-brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
  }

  & .footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  & .footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
  }
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;

  & i {
    color: var(--color-accent);
    font-size: 0.8rem;
    width: 14px;
    flex-shrink: 0;
  }

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

.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  & a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;

    &:hover {
      color: var(--color-accent-light);
      padding-left: 0.25rem;
    }
  }
}

.footer-legal-details {
  & p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom:
0.35rem;

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

    & strong {
      color: rgba(255, 255, 255, 0.7);
    }
  }
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

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

  & a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;

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


.cookie-consent-card {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 320px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 48px rgba(15,52,96,0.18),
    0 8px 20px rgba(15,52,96,0.12),
    0 2px 6px rgba(15,52,96,0.08);
  border: 1px solid var(--color-border);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  overflow: hidden;

  &.is-visible {
    transform: translateY(0);
    opacity: 1;
  }

  &.is-expanded {
    width: 340px;
  }
}

.cookie-consent-header {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-consent-icon {
  font-size: 1.5rem;
  color: var(--color-accent-light);
}

.cookie-consent-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-white);
  margin: 0;
}

.cookie-consent-body {
  padding: 1.25rem;
}

.cookie-consent-message {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1rem;

  & a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;

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

.cookie-consent-toggles {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);

  &.is-visible {
    display: flex;
  }
}

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cookie-toggle-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.cookie-toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  flex-shrink: 0;

  & input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
  }

  & .toggle-track {
    position: absolute;
    inset: 0;
    background: var(--color-muted-light);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.3s;

    &::before {
      content: '';
      position: absolute;
      width: 14px;
      height: 14px;
      background: var(--color-white);
      border-radius: 50%;
      top: 3px;
      left: 3px;
      transition: transform 0.3s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }
  }

  & input:checked + .toggle-track {
    background: var(--color-primary);

    &::before {
      transform: translateX(16px);
    }
  }

  & input:disabled + .toggle-track {
    background: rgba(15, 52, 96, 0.4);
    cursor: not-allowed;

    &::before {
      transform: translateX(16px);
    }
  }
}

.cookie-consent-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-btn-accept-all {
  display: block;
  width: 100%;
  padding: 0.7rem;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;

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

.cookie-btn-customize {
  display: block;
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  color: var(--color-muted);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;

  &:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(15, 52, 96, 0.04);
  }
}

.cookie-btn-save {
  display: none;
  width: 100%;
  padding: 0.7rem;
  background: var(--color-accent);
  color: var(--color-ink);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;

  &.is-visible {
    display: block;
  }

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

.cookie-btn-reject {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: transparent;
  color: var(--color-muted-light);
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.25s;
  text-align: center;

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


@media (max-width: 1024px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .about-strip-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-strip-image-col {
    height: 300px;
  }

  .about-strip-text-col {
    padding: var(--space-xl) var(--space-lg);
  }

  .manifesto-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .sartorie-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .values-image-secondary-stack {
    flex-direction: row;
    height: 220px;
  }

  .equipment-card {
    grid-template-columns: 1fr;

    &.equipment-card--reversed {
      direction: ltr;
    }
  }

  .equipment-card-image {
    aspect-ratio: 16/9;
  }

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

  .legal-definition-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .navigation-links {
    display: none;
  }

  .navigation-hamburger {
    display: flex;
  }

  .navigation-mobile-panel {
    display: block;
  }

  .language-badge {
    top: calc(var(--nav-height) + 0.5rem);
    right: 0.75rem;
  }

  .hero-icon-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(7, 1fr);
  }

  .hero-card-actions {
    flex-direction: column;
  }

  .hero-primary-button,
  .hero-secondary-button {
    width: 100%;
    justify-content: center;
  }

  .hero-card-highlights {
    flex-direction: column;
    gap: 0.75rem;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .comparison-cards-grid {
    grid-template-columns: 1fr;
  }

  .comparison-card--featured {
    transform: translateY(0);
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;

    & .gallery-item--tall {
      grid-row: auto;
      aspect-ratio: 4/3;
    }

    & .gallery-item--wide {
      grid-column: 1 / -1;
    }
  }

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

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

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-actions {
    justify-content: center;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

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

  .values-image-secondary-stack {
    flex-direction: column;
    height: auto;
  }

  .values-image-secondary {
    aspect-ratio: 16/9;
  }

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

  .form-privacy-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-submit-button {
    width: 100%;
    justify-content: center;
  }

  .thanks-steps-grid {
    grid-template-columns: 1fr;
  }

  .cookie-consent-card {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 1rem;

    &.is-expanded {
      width: calc(100vw - 2rem);
    }
  }

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

  .legal-purpose-cell {
    border-bottom: 1px solid var(--color-border);

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

  .cookie-detail-row {
    grid-template-columns: 1fr 1fr;

    & span:nth-child(2) {
      grid-column: 1 / -1;
    }
  }

  .cookie-tech-explainer {
    grid-template-columns: 1fr;
  }

  .cookie-tech-icon {
    font-size: 1.5rem;
  }

  .inner-page-hero {
    padding: calc(var(--nav-height) + 2rem) 1.5rem 3rem;
  }

  .equipment-card-content {
    padding: 1.5rem;
  }

  .protocol-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .about-strip-text-col {
    padding: var(--space-lg) var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-card {
    padding: 1.75rem 1.25rem;
  }

  .hero-card-title {
    font-size: 2.2rem;
  }

  .section-container-narrow,
  .section-container-wide {
    padding: 0 1rem;
  }

  .calculator-wrapper {
    padding: 1.5rem 1rem;
  }

  .inquiry-form-wrapper,
  .contact-info-panel {
    padding: 1.5rem 1.25rem;
  }

  .contact-trust-card {
    padding: 1.75rem 1.25rem;
  }

  .legal-page-container {
    padding: var(--space-lg) 1rem var(--space-xl);
  }

  .footer-inner {
    padding: 0 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;

    & .gallery-item--wide {
      grid-column: auto;
    }
  }
}


.nav-mini-pill.is-visible {
  display: flex;
}


.mini-pill-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 52, 96, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);

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

.mini-pill-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--color-white);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0;

  &.is-open {
    transform: translateX(0);
  }
}

.mini-pill-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-muted);
  cursor: pointer;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;

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

.mini-pill-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;

  & li a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s, padding-left 0.2s;

    &:hover {
      color: var(--color-accent-dark);
      padding-left: 0.5rem;
    }
  }

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

.mini-pill-nav-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(15,52,96,0.25);

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