:root {
  --black: #1e1e1e;
  --black-soft: #1e1e1e;
  --black-medium: #1e1e1e;
  --rosa: #ff277a;
  --rosa-light: #ff5c9a;
  --rosa-dark: #d91e63;
  --white: #ffffff;
  --white-warm: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 2rem + 6vw, 6rem);

  /* Lead paragraph: emphasised intro text used after section titles */
  --text-lead: clamp(1.25rem, 2.5vw, 1.75rem);

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

  --container-max: 1400px;
  --container-narrow: 900px;
  --container-padding: clamp(1.5rem, 4vw, 4rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-2xl: 60px;
  --radius-full: 9999px;

  /* Bottom safe-zone for mobile bottom-pinned navbar.
     0 on desktop (navbar is at top), header height + safe-area on mobile. */
  --navbar-bottom-offset: 0px;
}

@media (max-width: 1023px) {
  :root {
    --navbar-bottom-offset: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: var(--navbar-bottom-offset);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.5;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  /* Reserve space at the bottom for the mobile bottom-pinned navbar so
     no section content gets hidden behind it. Resolves to 0 on desktop. */
  padding-bottom: var(--navbar-bottom-offset);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, #2e2e2e 0%, var(--black) 70%);
}

p {
  margin-bottom: var(--space-md);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--rosa);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 4px;
}


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

.container--narrow {
  max-width: var(--container-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--rosa);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.3s;
}

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

.accent {
  color: var(--rosa);
}

.serif {
  font-family: var(--font-sans);
  font-style: italic;
}


/* ── Header — floating glass pill ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 16px var(--container-padding);
  pointer-events: none;
  transition: transform 0.55s var(--ease-out),
              padding 0.45s var(--ease-out);
}

.header.is-hidden {
  transform: translateY(calc(-100% - 20px));
}

/* ── Mobile: pin header to the bottom of the viewport ── */
@media (max-width: 1023px) {
  .header {
    top: auto;
    bottom: 0;
    /* Respect iOS home-indicator safe area */
    padding-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  /* When hidden on scroll, slide DOWN out of the viewport */
  .header.is-hidden {
    transform: translateY(calc(100% + 20px));
  }
}

.header.is-compact {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  transition: padding 0.45s var(--ease-out),
              background 0.45s var(--ease-out),
              gap 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(255, 39, 122, 0),
              0 8px 32px rgba(0, 0, 0, 0.3);
}

.header.is-compact .header__bar {
  padding: 6px 8px 6px 12px;
  background: rgba(10, 10, 10, 0.82);
  box-shadow: 0 0 0 0 rgba(255, 39, 122, 0),
              0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ── Logo ── */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
  border-radius: 50%;
  transition: box-shadow 1.5s ease;
}

.header__logo-lottie {
  width: 40px;
  height: 40px;
  transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out);
}

@media (min-width: 768px) {
  .header__logo-lottie {
    width: 46px;
    height: 46px;
  }
}

.header.is-compact .header__logo-lottie {
  width: 36px;
  height: 36px;
}

@media (min-width: 768px) {
  .header.is-compact .header__logo-lottie {
    width: 40px;
    height: 40px;
  }
}

/* ── Desktop nav ── */
.header__nav {
  display: none;
  align-items: center;
  gap: 4px;
  position: relative;
  margin: 0 8px;
}

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

/* Sliding indicator (rosa capsule) */
.header__indicator {
  position: absolute;
  top: 50%;
  left: 0;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(255, 39, 122, 0.1);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%);
  will-change: left, width, opacity;
}

.header__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  opacity: 0.55;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  position: relative;
  z-index: 1;
  transition: opacity 0.25s;
  white-space: nowrap;
}

.header__link:hover {
  opacity: 1;
}

.header__link--active {
  opacity: 1;
}

/* ── CTA (Contactos) — rosa pill ── */
.header__cta {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--rosa-dark);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background 0.3s, transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

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

.header__cta:hover {
  background: var(--rosa);
  transform: scale(1.04);
}

.header__cta:active {
  transform: scale(0.97);
}

/* ── Language switcher ── */
.header__lang {
  display: none;
  align-items: center;
  gap: 2px;
  font-size: var(--text-xs);
  margin-left: 4px;
  margin-right: 4px;
}

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

.lang-btn {
  padding: 8px 8px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0.35;
  transition: opacity 0.3s;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
}

.lang-btn:hover,
.lang-btn.is-active {
  opacity: 1;
}

.lang-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
  border-radius: 4px;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
  user-select: none;
}

/* ── Hamburger — two asymmetric lines ── */
.header__menu-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50%;
  transition: background 0.3s;
}

.header__menu-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

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

.header__menu-icon {
  width: 22px;
  height: 0;
  position: relative;
}

.header__menu-line {
  position: absolute;
  left: 50%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out),
              width 0.4s var(--ease-out),
              opacity 0.3s;
}

.header__menu-line--top {
  width: 16px;
  top: -4px;
  transform: translateX(-50%);
}

.header__menu-line--bottom {
  width: 22px;
  top: 4px;
  transform: translateX(-50%);
}

/* Open state */
.header__menu-btn[aria-expanded="true"] .header__menu-line--top {
  width: 22px;
  transform: translateX(-50%) translateY(4px) rotate(45deg);
}

.header__menu-btn[aria-expanded="true"] .header__menu-line--bottom {
  transform: translateX(-50%) translateY(-4px) rotate(-45deg);
}


.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.hero__blob spline-viewer {
  width: 100%;
  height: 100%;
}

/* Tiago ajuda-me nisto depois, não consigo tirar o logo do Spline */
spline-viewer #logo,
spline-viewer [id*="logo"],
spline-viewer a[href*="spline"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero__content {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xl);
}

.hero__title strong {
  font-weight: 500;
}

.hero__title--serif {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 500;
}

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

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: end;
  }
}

.hero__tagline {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero__tagline {
    color: var(--gray-400);
  }
}

.hero__description {
  max-width: 540px;
}

.hero__description p {
  font-size: var(--text-lg);
  color: var(--gray-200);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}


/* Botão base desalinhado */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: none;
  border: none;
  color: var(--white);
  padding: var(--space-xs) var(--space-lg);
  transition: color 0.35s ease;
  text-decoration: none;
}

/* Two offset rectangles — clearly separated at opposite corners */
.btn::before,
.btn::after {
  content: '';
  position: absolute;
  z-index: -1;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              right 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s ease;
}

/* ::before — top-left, leaves large gap at right and bottom */
.btn::before {
  top: 0;
  left: 0;
  right: 20px;
  bottom: 8px;
  background: var(--black);
}

/* ::after — bottom-right, leaves large gap at left and top */
.btn::after {
  top: 8px;
  left: 20px;
  right: 0;
  bottom: 0;
  background: var(--black);
}

/* Hover: both expand to fill, becoming one rosa rectangle */
.btn:hover::before,
.btn:hover::after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--rosa);
}

.btn:hover {
  color: var(--white);
}

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

.btn--primary::before { background-color: var(--white); }
.btn--primary::after  { background-color: var(--white); }
.btn--primary { color: var(--black); }

.btn--primary:hover::before,
.btn--primary:hover::after { background-color: var(--rosa); }
.btn--primary:hover { color: var(--white); }

.btn--outline::before { background-color: var(--white); }
.btn--outline::after  { background-color: var(--white); }
.btn--outline { color: var(--black); }

.btn--outline:hover::before,
.btn--outline:hover::after { background-color: var(--rosa); }
.btn--outline:hover { color: var(--white); }

.btn--outline-dark::before { background-color: var(--black); }
.btn--outline-dark::after  { background-color: var(--black); }
.btn--outline-dark { color: var(--white); }

.btn--outline-dark:hover::before,
.btn--outline-dark:hover::after { background-color: var(--rosa); }
.btn--outline-dark:hover { color: var(--white); }

.btn--outline-light::before { background-color: var(--white); }
.btn--outline-light::after  { background-color: var(--white); }
.btn--outline-light { color: var(--black); }

.btn--outline-light:hover::before,
.btn--outline-light:hover::after { background-color: var(--rosa); }
.btn--outline-light:hover { color: var(--white); }

/* Botão só com texto e seta */
.btn--text {
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.btn--text::before,
.btn--text::after {
  display: none;
}

.btn--text svg {
  transition: transform 0.3s;
}

.btn--text:hover {
  color: var(--rosa);
}

.btn--text:hover svg {
  transform: translateX(4px);
}

/* .btn--large removed — all buttons now use uniform base padding */

.btn--dark::before { background-color: var(--black); }
.btn--dark::after  { background-color: var(--black); }
.btn--dark { color: var(--white); }

.btn--dark:hover::before,
.btn--dark:hover::after {
  background-color: var(--rosa);
}

/* ── Reduced motion — keep offset, remove animation ── */
@media (prefers-reduced-motion: reduce) {
  .btn::before,
  .btn::after {
    transition: none !important;
  }
}


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

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

.section--dark {
  background: transparent;
  color: var(--white);
}


.section--dark p,
.section--dark li,
.section--dark .project-section__content {
  color: var(--gray-300);
}

.section--dark strong {
  color: var(--white);
}

.section--dark em {
  color: var(--gray-200);
}

.section--light {
  background: transparent;
  color: var(--white);
}

.section--rounded {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: calc(var(--radius-xl) * -1);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .section--rounded {
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    margin-top: calc(var(--radius-2xl) * -1);
  }
}


.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.section-title--light {
  font-weight: 300;
}

.section-eyebrow {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rosa);
  margin-bottom: var(--space-md);
  font-weight: 700;
  display: block;
}

/* Wider variant for hero contexts where extra spacing reads better */
.section-eyebrow--wide {
  letter-spacing: 0.35em;
}

.section-text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
}

.section--light .section-text {
  color: var(--gray-400);
}


.statement {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.statement__eyebrow {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rosa);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.statement__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.statement__title strong {
  font-weight: 700;
}

.statement__text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

.section--light .statement__text {
  color: var(--gray-400);
}

.statement__text strong {
  color: var(--white);
  font-weight: 500;
}

.section--light .statement__text strong {
  color: var(--white);
}


.problem-section {
  max-width: 900px;
}

.problem-section__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xl);
}

.problem-section__title .serif {
  font-family: var(--font-sans);
  font-style: italic;
}

.problem-section__content {
  max-width: 700px;
}

.problem-section__content p {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

.problem-section__highlight {
  font-weight: 500;
  color: var(--white);
  margin-top: var(--space-lg);
}

/* problem-section__title: uniform 1.5rem, no desktop bump */


.approach {
  max-width: 800px;
}

.approach__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.approach__title .serif {
  font-family: var(--font-sans);
  font-style: italic;
}

.approach__intro {
  font-size: var(--text-lg);
  color: var(--gray-300);
  margin-bottom: var(--space-lg);
}

.approach__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
}

.approach__list li {
  font-size: var(--text-lg);
  color: var(--gray-200);
  padding-left: var(--space-lg);
  position: relative;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}

.approach__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rosa);
}

.approach__outro {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-xl);
}

/* approach btn inherits from .btn--outline (white solid) */

/* approach__title: uniform 1.5rem, no desktop bump */


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

@media (min-width: 768px) {
  .split-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }

  .split-block--reverse .split-block__text {
    order: 2;
  }

  .split-block--reverse .split-block__image {
    order: 1;
  }
}

.split-block__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.split-block__subtitle {
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--gray-300);
  line-height: 1.35;
  margin-bottom: var(--space-lg);
}

.split-block__text p {
  font-size: var(--text-lg);
  color: var(--gray-300);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.split-block__highlight {
  font-weight: 500;
  color: var(--white) !important;
  margin-top: var(--space-sm);
}

.split-block__text .btn {
  margin-top: var(--space-lg);
}

.split-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split-block__image .photo-placeholder {
  border-radius: 0;
}

.photo-placeholder--tall {
  aspect-ratio: 3/4;
  min-height: 350px;
}

@media (min-width: 768px) {
  .photo-placeholder--tall {
    min-height: 450px;
  }
}


.section--highlight {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
}

.big-quote {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.big-quote p {
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.big-quote__sub {
  font-size: var(--text-2xl) !important;
  font-weight: 300;
  opacity: 0.7;
  margin-top: 0.5em;
}


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

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .mosaic {
    grid-template-columns: 1.4fr 0.6fr 1fr;
    grid-template-rows: 250px 250px;
    gap: var(--space-lg);
  }

  .mosaic__item--wide {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .mosaic__item--tall {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
}

.mosaic__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mosaic__item .photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 0;
  aspect-ratio: auto;
}


.clients-section {
  max-width: 800px;
  margin-bottom: var(--space-3xl);
}

.clients-section__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.clients-section__title .serif {
  font-family: var(--font-sans);
  font-style: italic;
}

.clients-section__content p {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

.clients-section__highlight {
  font-weight: 500;
  color: var(--white);
  margin-top: var(--space-lg);
}

/* clients-section__title: uniform 1.5rem, no desktop bump */

/* Light section client logos */
.section--light .clients-grid {
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
}

.section--light .client-logo img {
  filter: grayscale(100%) brightness(2);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}

.section--light .client-logo:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}


.section--with-image {
  overflow: visible;
  padding-bottom: var(--space-4xl);
}

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

@media (min-width: 768px) {
  .belief {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.belief__content {
  max-width: 500px;
}

.belief__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.belief__text {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.5;
  color: var(--gray-300);
  margin-bottom: var(--space-sm);
}

.belief__highlight {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--rosa);
  margin-top: var(--space-lg);
}

/* Offset image that overlaps sections */
.belief__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-800);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .belief__image {
    transform: translateY(40%);
    z-index: 10;
  }
}

@media (min-width: 1024px) {
  .belief__image {
    transform: translateY(50%);
  }
}

.belief__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}


.section--with-image + .section {
  position: relative;
}

@media (min-width: 768px) {
  .section--with-image + .section {
    padding-top: calc(var(--space-4xl) + 100px);
  }
}

@media (min-width: 1024px) {
  .section--with-image + .section {
    padding-top: calc(var(--space-4xl) + 150px);
  }
}


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

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.process-card {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--gray-700);
}

.section--light .process-card {
  border-color: var(--gray-700);
}

.process-card__number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--rosa);
  margin-bottom: var(--space-md);
}

.process-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.process-card__text {
  font-size: var(--text-base);
  color: var(--gray-400);
  line-height: 1.5;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}

.section--light .process-card__text {
  color: var(--gray-400);
}


.work-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

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

.work-header__title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

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

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

@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-800);
}

.work-card__link {
  display: block;
  height: 100%;
  position: relative;
}

.work-card__image {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card:hover .work-card__image {
  transform: scale(1.05);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.work-card:hover .work-card__overlay,
.work-card:focus-within .work-card__overlay {
  opacity: 1;
}

.work-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.work-card:hover .work-card__content,
.work-card:focus-within .work-card__content {
  transform: translateY(0);
  opacity: 1;
}

.work-card__link:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

.work-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.work-card__result {
  font-size: var(--text-sm);
  color: var(--gray-300);
  font-style: italic;
}

/* Photo placeholder for work cards */
.work-card .photo-placeholder {
  position: absolute;
  inset: 0;
  border-radius: 0;
  aspect-ratio: auto;
}


.team-photo {
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.team-photo .photo-placeholder {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 0;
}

@media (min-width: 768px) {
  .team-photo .photo-placeholder {
    aspect-ratio: 21/9;
  }
}

.team-intro {
  max-width: 700px;
  margin-bottom: var(--space-2xl);
}

.team-intro__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.team-intro__text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }
}

/* Grid for 5 members */
.team-grid--5 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

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

.team-member__image {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-800);
}

.team-member__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member__image .photo-placeholder {
  aspect-ratio: 4/5;
  border-radius: 0;
}

.team-member__name {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--white);
}

.team-member__role {
  font-size: var(--text-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.team-member__quote {
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-style: italic;
}


.filter-section {
  max-width: 800px;
}

.filter-section__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.filter-section__text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.filter-section__divider {
  width: 60px;
  height: 2px;
  background: var(--rosa);
  margin: var(--space-lg) 0;
}

.filter-section__highlight {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}


.section--cta {
  background: transparent;
  text-align: center;
}

.cta__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.cta__subtitle {
  font-size: var(--text-base);
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta__text {
  font-size: var(--text-lg);
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}


.clients__title {
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3xl);
}

.clients__title em {
  font-style: italic;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-lg);
  align-items: center;
}

@media (min-width: 640px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl) var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-2xl);
  }
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  min-height: 80px;
}

.client-logo img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.client-logo:hover img {
  opacity: 1;
}

@media (min-width: 768px) {
  .client-logo img {
    max-height: 60px;
  }
}


.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  padding: var(--space-xl) 0;
}

.clients-row img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}

.clients-row img:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

@media (min-width: 768px) {
  .clients-row img {
    height: 40px;
  }
}


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

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


.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.section--cta .btn--primary::before,
.section--cta .btn--primary::after {
  background-color: var(--white);
}
.section--cta .btn--primary {
  color: var(--black);
}

/* ===== Letter CTA Animation ===== */
/* ═══════════════════════════════════════
   HOMEPAGE CTA — Split layout + glass card
   ═══════════════════════════════════════ */
.hp-cta {
  padding: var(--space-3xl) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

/* ── Layout ── */
.hp-cta__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .hp-cta__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .hp-cta__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-4xl);
  }
}

/* ── Left column: headline ── */
.hp-cta__eyebrow {
  margin-bottom: var(--space-md);
}

.hp-cta__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hp-cta__title .serif {
  color: var(--rosa);
}

.hp-cta__text {
  font-size: var(--text-lg);
  color: var(--gray-400);
  line-height: 1.5;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: var(--space-xl);
}

/* Trust badges */
.hp-cta__trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hp-cta__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--gray-400);
  font-weight: 300;
}

.hp-cta__trust-item svg {
  color: var(--rosa);
  flex-shrink: 0;
}

/* ── Right column: glass form card ── */
.hp-cta__card {
  position: relative;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(255, 39, 122, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .hp-cta__card {
    padding: var(--space-2xl);
  }
}

/* Rosa edge glow */
.hp-cta__card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    rgba(255, 39, 122, 0.15) 90deg,
    transparent 180deg,
    rgba(255, 39, 122, 0.08) 270deg,
    transparent 360deg
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.6s var(--ease-out);
  filter: blur(20px);
  animation: ctaGlowPulse 4s ease-in-out infinite;
}

.hp-cta__card:hover .hp-cta__card-glow {
  opacity: 1;
}

@keyframes ctaGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

/* ── Form ── */
.hp-cta__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hp-cta__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-cta__label {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
}

.hp-cta__input {
  width: 100%;
  padding: var(--space-sm) 0;
  font-size: var(--text-base);
  font-family: inherit;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-700);
  border-radius: 0;
  transition: border-color 0.35s var(--ease-out);
  -webkit-appearance: none;
}

.hp-cta__input:hover {
  border-bottom-color: var(--gray-500);
}

.hp-cta__input:focus {
  outline: none;
  border-bottom-color: var(--rosa);
  box-shadow: 0 1px 0 0 var(--rosa);
}

.hp-cta__input::placeholder {
  color: var(--gray-600);
  font-weight: 300;
}

.hp-cta__textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

/* ── Alert ── */
.hp-cta__alert {
  display: none;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  color: #f87171;
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.5;
}

.hp-cta__alert.is-visible {
  display: block;
}

/* ── Submit ── */
.hp-cta__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--rosa);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  margin-top: var(--space-sm);
}

.hp-cta__submit:hover {
  background: var(--rosa-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 39, 122, 0.3);
}

.hp-cta__submit:active {
  transform: translateY(0);
}

.hp-cta__submit:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.hp-cta__submit svg {
  transition: transform 0.35s var(--ease-out);
}

.hp-cta__submit:hover svg {
  transform: translateX(4px);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hp-cta__card-glow {
    animation: none;
    opacity: 0.5;
  }
}


.footer {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0 var(--space-md);
  color: var(--white);
  background: var(--rosa);
}

/* Footer no longer needs an extra bottom padding on mobile — body's
   --navbar-bottom-offset reserves that space globally. */

/* Animated irregular gradient background */
.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, #ff8cb8 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, #b80045 0%, transparent 65%),
    radial-gradient(ellipse 70% 45% at 50% 70%, #ff277a 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 30% 80%, #ffaed0 0%, transparent 70%),
    radial-gradient(ellipse 45% 65% at 75% 60%, #8c002e 0%, transparent 65%),
    radial-gradient(ellipse 65% 40% at 10% 50%, #ff4d94 0%, transparent 70%);
  filter: blur(60px);
  animation: footerGradient 20s ease-in-out infinite;
  z-index: 0;
}

.footer > * {
  position: relative;
  z-index: 1;
}

@keyframes footerGradient {
  0%, 100% {
    transform: translate(0%, 0%) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(10%, -8%) rotate(45deg) scale(1.05);
  }
  50% {
    transform: translate(-5%, 10%) rotate(120deg) scale(0.95);
  }
  75% {
    transform: translate(-10%, -5%) rotate(200deg) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer::before {
    animation: none;
  }
}

.footer__grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

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

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  width: 120px;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.footer__nav-title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

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

.footer__nav-list a,
.footer__nav-list li {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  transition: color 0.3s;
}

.footer__nav-list a:hover {
  color: var(--white);
}

.footer__social-links {
  display: flex;
  gap: var(--space-md);
}

.footer__social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer__social-links a:hover {
  color: var(--white);
}

/* Institutional Section */
.footer__institutional {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.footer__complaints-book {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.footer__complaints-book:hover {
  opacity: 0.8;
}

.footer__complaints-book img {
  height: 48px;
  width: auto;
}

.footer__prr-bar {
  flex: 1;
  max-width: 500px;
}

.footer__prr-bar img {
  width: 100%;
  height: auto;
}

.footer__bottom {
  padding-top: var(--space-xs);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

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

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer__legal a:hover {
  color: var(--white);
}

.footer__manifesto {
  font-size: var(--text-lg);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  text-align: center;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* ── Mobile Menu (GSAP-driven animations) ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
}

.mobile-menu__slash {
  position: absolute;
  top: 50%;
  left: 10%; right: 10%;
  height: 1px;
  background: var(--rosa);
  transform: scaleX(0);
  opacity: 0.4;
  pointer-events: none;
}

.mobile-menu__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.mobile-menu__link {
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  color: var(--rosa);
}

.mobile-menu__link--active {
  color: var(--rosa);
}

.mobile-menu__link--cta {
  margin-top: var(--space-md);
  font-size: var(--text-xl);
  background: var(--rosa);
  padding: var(--space-sm) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--white);
  transition: background 0.3s, color 0.3s;
}

.mobile-menu__link--cta:hover {
  color: var(--white);
  background: var(--rosa-light);
}

.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: var(--space-md);
}

.mobile-menu__lang .lang-btn {
  font-size: var(--text-sm);
  min-width: 48px;
  min-height: 48px;
}

.mobile-menu__footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-lg) var(--space-xl);
  padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.mobile-menu__contact a {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--text-sm);
  transition: color 0.3s;
}

.mobile-menu__contact a:hover { color: var(--white); }

.mobile-menu__social {
  display: flex;
  gap: var(--space-md);
}

.mobile-menu__social a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s;
}

.mobile-menu__social a:hover { color: var(--white); }


/* Legacy bottom-nav is no longer rendered. Kept hidden for any stale markup. */
.bottom-nav {
  display: none !important;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

.bottom-nav__item svg {
  transition: transform 0.25s, color 0.25s;
}

.bottom-nav__item.is-active {
  color: var(--rosa);
}

.bottom-nav__item.is-active svg {
  transform: translateY(-1px);
}

.bottom-nav__item:active {
  color: var(--rosa);
}

.bottom-nav__item:active svg {
  transform: scale(0.9);
}


body.menu-open .bottom-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
}


.steps-accordion {
  display: flex;
  gap: 0;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.steps-accordion__item {
  flex: 1;
  position: relative;
  background: var(--gray-100);
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.5s var(--ease-out);
  min-width: 0;
  border-right: 1px solid var(--gray-200);
}

.steps-accordion__item:last-child {
  border-right: none;
}

/* Number — always top-left */
.steps-accordion__number {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--black);
  z-index: 4;
  transition: left 0.5s var(--ease-out);
}

.steps-accordion__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rosa);
  flex-shrink: 0;
}


.steps-accordion__title {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, var(--text-lg));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--black);
  white-space: nowrap;
  transform-origin: 0% 100%;
  transform: rotate(-90deg);
  transition: transform 0.5s var(--ease-out), font-size 0.5s var(--ease-out), bottom 0.5s var(--ease-out), left 0.5s var(--ease-out), white-space 0.3s;
  z-index: 4;
}


.steps-accordion__body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-xl);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s 0.15s, transform 0.3s 0.15s var(--ease-out);
  z-index: 3;
  pointer-events: none;
}

.steps-accordion__body p {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.6;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
  max-width: 420px;
}

/* ---- Expanded state ---- */
.steps-accordion__item.is-expanded {
  flex: 4;
}

.steps-accordion__item.is-expanded .steps-accordion__number {
  left: var(--space-xl);
}

.steps-accordion__item.is-expanded .steps-accordion__title {
  transform: rotate(0deg);
  bottom: auto;
  top: calc(var(--space-lg) + 2rem);
  left: var(--space-xl);
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
  white-space: normal;
  max-width: calc(100% - var(--space-xl) * 2);
}

.steps-accordion__item.is-expanded .steps-accordion__body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.steps-accordion__item:not(.is-expanded) .steps-accordion__body {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.15s, transform 0.15s;
}


@media (max-width: 767px) {
  .steps-accordion {
    flex-direction: column;
    min-height: auto;
  }

  .steps-accordion__item {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    min-height: 64px;
    padding: var(--space-md) var(--space-lg);
    transition: min-height 0.3s var(--ease-out);
  }

  .steps-accordion__item:last-child {
    border-bottom: none;
  }

  .steps-accordion__number {
    position: relative;
    top: auto;
    left: auto;
    display: inline-flex;
    margin-bottom: 0;
  }

  .steps-accordion__title {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    font-size: var(--text-base);
    white-space: normal;
    display: inline;
    margin-left: var(--space-md);
    vertical-align: middle;
  }

  .steps-accordion__body {
    position: relative;
    padding: var(--space-sm) 0 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: max-height 0.3s var(--ease-out), opacity 0.2s, padding 0.3s;
  }

  .steps-accordion__item.is-expanded {
    flex: none;
  }

  .steps-accordion__item.is-expanded .steps-accordion__title {
    top: auto;
    font-size: var(--text-base);
    max-width: none;
  }

  .steps-accordion__item.is-expanded .steps-accordion__body {
    opacity: 1;
    max-height: 200px;
    padding: var(--space-sm) 0 0;
  }

  .steps-accordion__item.is-expanded .steps-accordion__number {
    left: auto;
  }
}


.photo-placeholder {
  background: var(--gray-800);
  border: 2px dashed var(--gray-700);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 39, 122, 0.08) 100%);
}

.photo-placeholder span {
  position: relative;
  z-index: 1;
}

.section--light .photo-placeholder {
  background: var(--gray-800);
  border-color: var(--gray-700);
  color: var(--gray-500);
}


[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }


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

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}


.cookie-consent {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 9999;
  max-width: 420px;
  width: calc(100% - var(--space-lg));
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  font-family: var(--font-sans);
  color: var(--white);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
  pointer-events: none;
}

.cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent.is-hiding {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent__title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.cookie-consent__text {
  font-size: var(--text-sm);
  line-height: 1.6;
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

.cookie-consent__text a {
  color: var(--rosa-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cookie-consent__text a:hover {
  color: var(--rosa);
}

.cookie-consent__text a:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Toggle group for cookie categories */
.cookie-consent__toggles {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.cookie-consent__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.cookie-consent__toggle-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-200);
  cursor: pointer;
  user-select: none;
}

.cookie-consent__toggle-label--disabled {
  color: var(--gray-400);
  cursor: default;
}

.cookie-consent__toggle-hint {
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--gray-500);
  margin-left: 0.25rem;
}

/* Custom switch */
.cookie-consent__switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.cookie-consent__switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-consent__switch-track {
  position: absolute;
  inset: 0;
  background: var(--gray-600);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.25s ease;
}

.cookie-consent__switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s var(--ease-out);
}

.cookie-consent__switch input:checked + .cookie-consent__switch-track {
  background: var(--rosa);
}

.cookie-consent__switch input:checked + .cookie-consent__switch-track::after {
  transform: translateX(20px);
}

.cookie-consent__switch input:focus-visible + .cookie-consent__switch-track {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
}

.cookie-consent__switch input:disabled + .cookie-consent__switch-track {
  background: var(--gray-700);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Buttons */
.cookie-consent__actions {
  display: flex;
  gap: 0.625rem;
}

.cookie-consent__btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  text-align: center;
  line-height: 1.2;
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
}

.cookie-consent__btn:active {
  transform: scale(0.97);
}

.cookie-consent__btn--accept {
  background: var(--rosa);
  color: var(--white);
}

.cookie-consent__btn--accept:hover {
  background: var(--rosa-dark);
}

.cookie-consent__btn--reject {
  background: transparent;
  color: var(--gray-300);
  border: 1px solid var(--gray-600);
}

.cookie-consent__btn--reject:hover {
  background: var(--gray-700);
  color: var(--white);
}

.cookie-consent__btn--save {
  background: var(--white);
  color: var(--black);
}

.cookie-consent__btn--save:hover {
  background: var(--gray-200);
}

/* Preferences expanded state */
.cookie-consent__prefs-toggle {
  background: none;
  border: none;
  color: var(--gray-400);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  cursor: pointer;
  padding: 0;
  margin-top: 0.625rem;
  text-align: center;
  width: 100%;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.cookie-consent__prefs-toggle:hover {
  color: var(--white);
}

.cookie-consent__prefs-toggle:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
  border-radius: 2px;
}

.cookie-consent__prefs-toggle svg {
  transition: transform 0.25s var(--ease-out);
}

.cookie-consent__prefs-toggle.is-open svg {
  transform: rotate(180deg);
}

.cookie-consent__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), margin 0.35s var(--ease-out);
  margin-top: 0;
}

.cookie-consent__details.is-open {
  max-height: 300px;
  margin-top: var(--space-sm);
}

/* Mobile: lift cookie banner above the bottom-pinned header */
@media (max-width: 1023px) {
  .cookie-consent {
    bottom: calc(var(--navbar-bottom-offset) + var(--space-sm));
    left: var(--space-sm);
    width: calc(100% - var(--space-md));
    max-width: none;
    padding: var(--space-md);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
  .cookie-consent__details {
    transition: none;
  }
  .cookie-consent__switch-track::after {
    transition: none;
  }
}
