/* GabytaRun — coastal run club design system */
:root {
  --ocean-950: #052d39;
  --ocean-900: #073b4c;
  --ocean-800: #0b4d5c;
  --ocean-700: #116879;
  --aqua-600: #0f6f6a;
  --aqua-500: #24b8ae;
  --aqua-400: #4ed0c6;
  --aqua-100: #dff7f3;
  --aqua-50: #effbf9;
  --sun-500: #f4be48;
  --sun-100: #fff2cc;
  --coral-500: #e98978;
  --coral-100: #fbe2dc;
  --sand-100: #f4eddf;
  --sand-50: #faf7f0;
  --white: #ffffff;
  --ink: #102f38;
  --muted: #4b626a;
  --line: rgba(7, 59, 76, 0.14);
  --line-strong: rgba(7, 59, 76, 0.24);
  --success: #187653;
  --success-soft: #e6f7ef;
  --warning: #9a6113;
  --warning-soft: #fff0cd;
  --danger: #a33a4b;
  --danger-soft: #fff0f2;
  --font-display: "Fraunces", "Iowan Old Style", Baskerville, Georgia, serif;
  --font-body: "DM Sans", Aptos, "Segoe UI", sans-serif;
  --container: 1200px;
  --content: 760px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 8px 24px rgba(7, 59, 76, 0.08);
  --shadow-md: 0 20px 60px rgba(7, 59, 76, 0.14);
  --shadow-lg: 0 32px 90px rgba(5, 45, 57, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  background: var(--sand-50);
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--sand-50);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
summary,
[role="button"] {
  cursor: pointer;
}

button,
a,
input,
textarea,
select,
summary {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--sun-500);
  outline-offset: 3px;
}

::selection {
  color: var(--ocean-950);
  background: var(--sun-100);
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ocean-900);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

p,
li,
td,
th,
label,
.faq-trigger {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ocean-900);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.announcement-bar {
  color: rgba(255, 255, 255, 0.84);
  background: var(--ocean-950);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.announcement-inner a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  margin-left: 14px;
  color: var(--sun-500);
  text-decoration: none;
}

.site-header,
.auth-header,
.workspace-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled,
.auth-header,
.workspace-header {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(7, 59, 76, 0.06);
}

.header-inner,
.auth-header-inner,
.workspace-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  width: clamp(146px, 16vw, 190px);
  height: auto;
}

.site-nav,
.workspace-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav > a:not(.button),
.workspace-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--ocean-800);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a.is-active:not(.button),
.workspace-nav a:hover,
.workspace-nav a.is-active {
  color: var(--ocean-950);
  background: var(--aqua-100);
}

.site-nav > a.is-active:not(.button),
.workspace-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--aqua-500);
}

.nav-login {
  margin-left: 4px;
  border-left: 1px solid var(--line);
}

.nav-cta {
  margin-left: 8px;
}

.language-switcher {
  position: relative;
  z-index: 180;
  flex: 0 0 auto;
}

.site-header .brand { order: 1; }
.site-header .site-nav { order: 2; }
.site-header .language-switcher { order: 3; }
.site-header .nav-toggle { order: 4; }
.site-header .header-cta { order: 5; }

.language-switcher summary {
  min-width: 72px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--ocean-800);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  list-style: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary:hover,
.language-switcher[open] summary {
  color: var(--ocean-950);
  background: var(--aqua-50);
  border-color: rgba(22, 143, 138, 0.45);
  box-shadow: 0 8px 22px rgba(7, 59, 76, 0.09);
}

.language-flag {
  width: 24px;
  height: 18px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(7, 59, 76, 0.16);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(7, 59, 76, 0.12);
}

.language-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms var(--ease);
}

.language-switcher[open] .language-chevron {
  transform: translateY(2px) rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 224px;
  display: grid;
  gap: 3px;
  padding: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.language-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 22px;
  width: 11px;
  height: 11px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transform: rotate(45deg);
}

.language-menu a {
  position: relative;
  z-index: 1;
  min-height: 44px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.language-menu a:hover {
  background: var(--aqua-50);
}

.language-menu a.is-active {
  color: var(--ocean-950);
  background: var(--aqua-100);
}

.language-check {
  color: var(--aqua-600);
  opacity: 0;
}

.language-menu a.is-active .language-check {
  opacity: 1;
}

.nav-toggle,
.nav-backdrop,
.site-nav .nav-cta {
  display: none;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  place-content: center;
  gap: 5px;
  padding: 0;
  color: var(--ocean-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 4px;
  transition: transform 180ms var(--ease), opacity 120ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.auth-back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ocean-800);
  font-weight: 700;
  text-decoration: none;
}

.auth-back-link span {
  font-size: 1.2rem;
}

/* Buttons */
.button,
input[type="submit"] {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  color: var(--ocean-950);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
}

.button:active,
input[type="submit"]:active {
  transform: translateY(0) scale(0.98);
}

.button-primary,
input[type="submit"] {
  color: var(--ocean-950);
  background: var(--sun-500);
  border-color: var(--sun-500);
  box-shadow: 0 10px 24px rgba(244, 190, 72, 0.24);
}

.button-primary:hover,
input[type="submit"]:hover {
  background: #f7c75d;
  border-color: #f7c75d;
  box-shadow: 0 14px 30px rgba(244, 190, 72, 0.32);
}

.button-secondary {
  color: var(--ocean-900);
  background: var(--white);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  background: var(--aqua-50);
  border-color: var(--aqua-500);
}

.button-ghost,
.button-link {
  min-height: 44px;
  padding-inline: 8px;
  color: var(--ocean-700);
}

.button-ghost::after,
.button-link::after {
  content: "→";
  transition: transform 180ms var(--ease);
}

.button-ghost:hover::after,
.button-link:hover::after {
  transform: translateX(4px);
}

.button-light {
  color: var(--ocean-950);
  background: var(--white);
  border-color: var(--white);
}

.button-row,
.cta-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Shared page structure */
.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-tight {
  padding-block: 48px;
}

.surface-offset {
  margin-top: 32px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-heading h1,
.section-heading h2 {
  margin-bottom: 22px;
}

.section-heading p,
.lead {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--aqua-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.page-title {
  max-width: 14ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.5vw, 6rem);
}

.compact-title {
  max-width: 15ch;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.small {
  font-size: 0.92rem;
}

.stack {
  display: grid;
  gap: 14px;
}

.panel,
.card,
.pricing-card,
.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.panel {
  padding: clamp(24px, 4vw, 44px);
}

.card,
.pricing-card {
  padding: clamp(22px, 3vw, 32px);
}

.card p,
.panel p,
.pricing-card p {
  margin-bottom: 0;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.pill-list li {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  color: var(--ocean-800);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(7, 59, 76, 0.16);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.pill-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--aqua-500);
  border-radius: 50%;
}

/* Home hero */
.hero {
  padding: 20px 0 0;
  background: var(--sand-50);
}

.hero-grid {
  position: relative;
  min-height: min(760px, calc(100dvh - 130px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: clamp(24px, 4vw, 48px);
  background: var(--sand-100);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 247, 240, 0.99) 0%, rgba(250, 247, 240, 0.9) 31%, rgba(250, 247, 240, 0.24) 62%, rgba(5, 45, 57, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 45, 57, 0.28), transparent 40%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(61%, 680px);
  padding: clamp(44px, 7vw, 88px);
}

.hero-copy h1 {
  max-width: 9.5ch;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 7.1vw, 7rem);
  text-wrap: balance;
}

.hero-copy .lead {
  max-width: 52ch;
  color: #34565e;
}

.hero-actions {
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(7, 59, 76, 0.18);
}

.hero-stats > div {
  padding-right: 18px;
}

.hero-stats > div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(7, 59, 76, 0.18);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--ocean-900);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.1;
}

.hero-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-badge {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  width: 184px;
  padding: 18px;
  color: var(--white);
  background: rgba(5, 45, 57, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  backdrop-filter: blur(14px);
}

.hero-badge span,
.hero-badge strong {
  display: block;
}

.hero-badge span {
  color: var(--sun-500);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-badge strong {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.hero-badge p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Home editorial sections */
.intro-section {
  background: var(--sand-50);
}

.intro-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.intro-layout > .section-heading {
  grid-column: 1 / span 7;
  margin-bottom: 18px;
}

.intro-card {
  grid-column: 9 / -1;
  grid-row: 1 / span 2;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 4vw, 48px);
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(7, 59, 76, 0.92), rgba(5, 45, 57, 0.98)),
    url("brand/brand-pattern.png") center/cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.intro-card .kicker {
  color: var(--sun-500);
}

.intro-card p {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 1.2;
}

.feature-grid {
  grid-column: 1 / span 8;
}

.feature-card {
  position: relative;
  min-height: 220px;
  padding-top: 72px;
  box-shadow: none;
}

.feature-card::before {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ocean-950);
  background: var(--sun-500);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-card:nth-child(1)::before { content: "01"; }
.feature-card:nth-child(2)::before { content: "02"; }
.feature-card:nth-child(3)::before { content: "03"; }

.benefits-section {
  background: var(--aqua-50);
}

.benefits-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  grid-column: span 4;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: none;
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}

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

.benefit-card-large {
  grid-column: span 7;
  min-height: 360px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(5, 45, 57, 0.92), rgba(5, 45, 57, 0.12)),
    url("images/Visual-Assets-image-generation-trust-beginners-welcome.jpg") center/cover;
  border: 0;
}

.benefit-card-large h3,
.benefit-card-wide h3 {
  color: var(--white);
}

.benefit-card-large p,
.benefit-card-wide p {
  color: rgba(255, 255, 255, 0.8);
}

.benefit-card-wide {
  grid-column: span 8;
  color: var(--white);
  background: var(--ocean-900);
}

.benefit-card:nth-child(2) {
  grid-column: span 5;
  background: var(--sun-100);
}

.benefit-card:nth-child(3) { background: var(--coral-100); }
.benefit-card:nth-child(4) { background: var(--white); }
.benefit-card:nth-child(6) { background: var(--aqua-100); }

.benefits-section .cta-row {
  margin-top: 34px;
}

.journey-section {
  color: var(--white);
  background: var(--ocean-950);
}

.journey-section h2 {
  color: var(--white);
}

.journey-section .kicker {
  color: var(--sun-500);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
}

.step {
  position: relative;
  min-height: 280px;
  padding: 88px 34px 34px;
  background: var(--ocean-950);
}

.step::before {
  position: absolute;
  top: 30px;
  left: 34px;
  color: var(--sun-500);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.step:nth-child(1)::before { content: "01"; }
.step:nth-child(2)::before { content: "02"; }
.step:nth-child(3)::before { content: "03"; }

.step strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.15;
}

.step p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.gallery {
  display: grid;
  grid-template-columns: 0.92fr 1.16fr 0.92fr;
  gap: 18px;
  align-items: stretch;
}

.gallery figure {
  position: relative;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand-100);
}

.gallery figure:nth-child(2) {
  min-height: 580px;
}

.gallery a,
.gallery img {
  width: 100%;
  height: 100%;
}

.gallery img {
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.035);
}

.gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 15px;
  color: var(--white);
  background: rgba(5, 45, 57, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.faq-list {
  max-width: 900px;
  margin-left: auto;
}

.faq-item {
  border-top: 1px solid var(--line-strong);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.faq-trigger {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 20px 62px 20px 0;
  color: var(--ocean-900);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
}

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

.faq-trigger::before,
.faq-trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 18px;
  height: 2px;
  background: var(--aqua-600);
  transition: transform 180ms var(--ease);
}

.faq-trigger::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-trigger::after {
  transform: rotate(0deg);
}

.faq-content {
  max-width: 68ch;
  padding: 0 56px 26px 0;
  color: var(--muted);
}

.section.final-section {
  padding: 24px 0 0;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(78, 208, 198, 0.35), transparent 26%),
    var(--ocean-950);
  border: 0;
  border-radius: clamp(28px, 5vw, 50px);
  box-shadow: var(--shadow-lg);
}

.final-cta::before {
  content: none;
}

.final-cta .section-heading {
  position: relative;
  z-index: 1;
  margin: 0;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.7);
}

.final-cta .kicker {
  color: var(--sun-500);
}

.final-cta .button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

/* Generic inner pages and cards */
.public-page > main.section {
  position: relative;
  overflow: hidden;
}

.public-page > main.section::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  z-index: -1;
  width: 480px;
  aspect-ratio: 1;
  background: var(--aqua-100);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.7;
}

.public-page > main.section > .container > .section-heading {
  padding-top: 22px;
}

.card img {
  width: calc(100% + clamp(44px, 6vw, 64px));
  max-width: none;
  height: 250px;
  margin: calc(clamp(22px, 3vw, 32px) * -1) calc(clamp(22px, 3vw, 32px) * -1) 26px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card h2,
.card h3 {
  margin-bottom: 12px;
}

.card .button-link {
  margin-top: 14px;
}

.status-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  color: var(--ocean-800);
  background: var(--aqua-100);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.status-badge.success { color: var(--success); background: var(--success-soft); }
.status-badge.warn { color: var(--warning); background: var(--warning-soft); }
.status-badge.danger { color: var(--danger); background: var(--danger-soft); }

.notice,
.form-help,
.form-feedback {
  padding: 14px 16px;
  color: var(--ocean-800);
  background: var(--aqua-50);
  border-left: 3px solid var(--aqua-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
}

.form-feedback:empty,
.form-feedback.validation-summary-valid {
  display: none;
}

.form-feedback.error,
.validation-summary-errors {
  color: var(--danger);
  background: var(--danger-soft);
  border-left-color: var(--danger);
}

.form-feedback.success {
  color: var(--success);
  background: var(--success-soft);
  border-left-color: var(--success);
}

/* Forms */
form {
  display: grid;
  gap: 8px;
}

label:not(.checkbox-label) {
  display: block;
  margin-top: 12px;
  color: var(--ocean-900);
  font-size: 0.9rem;
  font-weight: 800;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
textarea,
select {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(22, 143, 138, 0.52);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--aqua-600);
  box-shadow: 0 0 0 4px rgba(36, 184, 174, 0.16);
}

.checkbox-label {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-label input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--aqua-600);
}

.field-validation-error {
  display: block;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 600;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 68px !important;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  min-width: 50px;
  min-height: 40px;
  padding: 0 8px;
  color: var(--aqua-600);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  transform: translateY(-50%);
}

/* Auth */
.auth-page {
  background:
    radial-gradient(circle at 10% 15%, rgba(78, 208, 198, 0.24), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(233, 137, 120, 0.18), transparent 28%),
    var(--sand-50);
}

.auth-header {
  background: rgba(250, 247, 240, 0.78);
}

.auth-shell {
  min-height: calc(100dvh - 77px);
  display: grid;
  align-items: center;
  padding-block: clamp(40px, 7vw, 84px);
}

.auth-grid {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 0;
  margin-inline: auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-lg);
}

.auth-panel {
  padding: clamp(30px, 5vw, 62px);
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-panel .page-title {
  margin-bottom: 18px;
}

.auth-panel .lead {
  font-size: 1.02rem;
}

.auth-panel form {
  margin-top: 28px;
}

.auth-submit {
  width: 100%;
  margin-top: 18px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.auth-links a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  color: var(--aqua-600);
  font-weight: 700;
}

.checkbox-label a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5, 45, 57, 0.1), rgba(5, 45, 57, 0.94)),
    url("images/Visual-Assets-image-generation-hero-tenerife-community-run.jpg") 64% center/cover;
}

.auth-aside::before {
  content: "Tu ritmo también cuenta.";
  position: absolute;
  top: 38px;
  right: 36px;
  left: 36px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.auth-aside h2,
.auth-aside .eyebrow {
  color: var(--white);
}

.auth-aside .eyebrow {
  color: var(--sun-500);
}

.auth-aside p {
  color: rgba(255, 255, 255, 0.76);
}

.auth-aside .button-secondary {
  align-self: flex-start;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.auth-container-narrow {
  max-width: 700px;
}

.auth-container-narrow .auth-panel,
.center-panel,
.center-panel-narrow {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.center-panel {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.center-panel-narrow {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.center-panel .page-title,
.center-panel-narrow .page-title,
.center-panel .lead,
.center-panel-narrow .lead {
  margin-inline: auto;
}

.center-panel .button-row,
.center-panel-narrow .button-row {
  justify-content: center;
}

.auth-privacy-note {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* Booking */
.booking-page {
  padding-block: clamp(52px, 6vw, 84px) clamp(80px, 9vw, 120px);
}

.public-page > main.booking-page::before {
  top: -300px;
  right: -210px;
  width: 560px;
  opacity: 0.55;
}

.booking-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 58px);
}

.booking-intro .section-heading {
  max-width: 690px;
  padding-top: 0 !important;
  margin-bottom: 0;
}

.booking-intro .page-title {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(3.35rem, 6vw, 5.9rem);
}

.booking-intro .section-heading p {
  max-width: 58ch;
  margin-bottom: 0;
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 8px;
  margin: 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  list-style: none;
  backdrop-filter: blur(14px);
}

.booking-progress li {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  align-content: center;
  padding: 13px 12px;
}

.booking-progress li + li {
  border-left: 1px solid var(--line);
}

.booking-progress span {
  grid-row: 1 / span 2;
  color: var(--aqua-600);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.booking-progress strong,
.booking-progress small {
  min-width: 0;
  line-height: 1.25;
}

.booking-progress strong {
  color: var(--ocean-900);
  font-size: 0.84rem;
}

.booking-progress small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.booking-detail-shell {
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.25fr) minmax(280px, 0.84fr);
}

.booking-schedule {
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 24px;
}

.booking-schedule .booking-summary {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.booking-schedule .booking-calendar,
.booking-schedule .booking-times {
  min-width: 0;
  grid-column: 2;
}

.booking-grid > .panel {
  padding: clamp(22px, 3vw, 32px);
}

.booking-summary {
  position: sticky;
  top: 100px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(78, 208, 198, 0.22), transparent 34%),
    var(--ocean-900);
  border: 0;
}

.booking-summary::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.booking-summary h2 {
  max-width: 8ch;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 3.5vw, 3.7rem);
}

.booking-summary h2,
.booking-summary .eyebrow,
.booking-summary strong {
  color: var(--white);
}

.booking-summary .eyebrow {
  color: var(--sun-500);
}

.booking-summary p,
.booking-summary li {
  color: rgba(255, 255, 255, 0.72);
}

.booking-points {
  display: grid;
  gap: 16px;
  padding: 20px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.booking-points strong {
  display: block;
  margin-bottom: 3px;
}

.booking-brand-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.booking-brand-note img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 7px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
}

.booking-brand-note p {
  margin: 0;
}

.booking-panel-head,
.booking-calendar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.booking-panel-head {
  justify-content: flex-start;
}

.booking-calendar-head > .booking-panel-head {
  flex: 1 1 auto;
}

.booking-step-number {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ocean-900);
  background: var(--sun-100);
  border: 1px solid rgba(244, 190, 72, 0.42);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.booking-panel-head h2,
.booking-calendar-head h2 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.booking-month-controls {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--ocean-800);
  background: var(--sand-50);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.booking-date-pill,
.booking-time-pill {
  min-width: 0;
  min-height: 88px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 10px;
  color: var(--ocean-800);
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms var(--ease), box-shadow 160ms ease;
}

.booking-date-pill:hover,
.booking-time-pill:hover {
  transform: translateY(-2px);
  border-color: var(--aqua-500);
}

.booking-date-pill.is-selected,
.booking-time-pill.is-selected {
  color: var(--white);
  background: var(--aqua-600);
  border-color: var(--aqua-600);
  box-shadow: 0 10px 24px rgba(22, 143, 138, 0.2);
}

.booking-date-pill span,
.booking-date-pill small,
.booking-time-pill small {
  font-size: 0.72rem;
  font-weight: 700;
}

.booking-date-pill span {
  text-transform: uppercase;
}

.booking-date-pill strong,
.booking-time-pill strong {
  font-size: 1.08rem;
}

.booking-date-pill.is-disabled,
.booking-time-pill.is-disabled,
.booking-date-pill:disabled,
.booking-time-pill:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}

.booking-time-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin: 22px 0 12px;
}

.booking-helper,
.booking-selection-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.booking-inline-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.booking-details {
  padding-top: 26px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.booking-details-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}

.booking-details-head .eyebrow {
  margin-bottom: 8px;
}

.booking-details-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.booking-times .form-feedback {
  margin-top: 18px;
}

.booking-times .button-row {
  margin-top: 16px;
}

.booking-times .button-row > * {
  flex: 1 1 220px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 42px);
  box-shadow: none;
}

.pricing-card:nth-child(2) {
  color: var(--white);
  background: var(--ocean-900);
  border-color: var(--ocean-900);
  box-shadow: var(--shadow-md);
  transform: translateY(-12px);
}

.pricing-card:nth-child(2) h2,
.pricing-card:nth-child(2) .price {
  color: var(--white);
}

.pricing-card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card h2 {
  margin: 22px 0 10px;
}

.price {
  margin: 4px 0 18px;
  color: var(--ocean-900);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.price small {
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

/* Tables and dashboard */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

thead th {
  color: var(--muted);
  background: var(--sand-50);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody th {
  color: var(--ocean-900);
  font-weight: 800;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

tbody tr:hover {
  background: var(--aqua-50);
}

.workspace-page {
  background: #f2f6f4;
}

.workspace-header {
  background: rgba(255, 255, 255, 0.94);
}

.workspace-page .section {
  padding-block: 54px 88px;
}

.workspace-page .section-heading {
  margin-bottom: 30px;
}

.workspace-page .page-title {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--ocean-900);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.dashboard-filter {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  box-shadow: none;
}

.dashboard-search {
  flex: 1 1 320px;
  max-width: 430px;
}

.dashboard-search span {
  display: block;
  margin-bottom: 6px;
}

.dashboard-filter .button {
  min-height: 42px;
  padding-inline: 15px;
  border-radius: 11px;
}

.dashboard-filter .button.is-selected {
  color: var(--white);
  background: var(--aqua-600);
  border-color: var(--aqua-600);
}

.dashboard-empty {
  padding: 34px;
  text-align: center;
}

tr[hidden] {
  display: none;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  background: var(--aqua-100);
}

.timeline-item {
  position: relative;
  padding: 0 0 24px 12px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -27px;
  width: 12px;
  height: 12px;
  background: var(--aqua-500);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--aqua-500);
}

.timeline-item p {
  margin: 5px 0 0;
}

.booking-detail-shell .booking-summary {
  position: static;
}

/* Article and legal */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

.article {
  max-width: 850px;
}

.article > h1,
.article h1 {
  max-width: 14ch;
  margin-bottom: 24px;
}

.article figure {
  margin: 36px 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.article figure img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.article-content {
  max-width: var(--content);
}

.article-content h2,
.article > h2 {
  margin-top: 52px;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.article-content p,
.article > p {
  font-size: 1.04rem;
}

.article-content .panel {
  margin-top: 40px;
  background: var(--aqua-50);
  box-shadow: none;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}

.meta span {
  padding: 5px 10px;
  color: var(--ocean-700);
  background: var(--aqua-100);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.sidebar {
  position: sticky;
  top: 110px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.sidebar h3 {
  font-size: 1.35rem;
}

/* Footer */
.footer {
  margin-top: clamp(56px, 6vw, 84px);
  padding: 72px 0 24px;
  color: var(--white);
  background: var(--ocean-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(270px, 1.5fr) 0.6fr 0.6fr minmax(240px, 0.9fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

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

.footer-intro p {
  max-width: 40ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-column strong {
  margin-bottom: 7px;
  color: var(--sun-500);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a:not(.button) {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-column a:not(.button):hover {
  color: var(--white);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.54);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
}

.sticky-instagram {
  position: fixed;
  right: 18px;
  /* Clear the shared 44px Privacy choices control and preserve a 12px gap. */
  bottom: 70px;
  z-index: 90;
  min-width: 230px;
  display: grid;
  padding: 12px 16px;
  color: var(--white);
  background: linear-gradient(135deg, #833ab4 0%, #c13584 48%, #f77737 100%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(5, 45, 57, 0.22);
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.sticky-instagram span {
  font-size: 0.72rem;
  opacity: 0.76;
}

.sticky-instagram strong {
  font-size: 0.9rem;
}

.sticky-instagram:hover {
  transform: translateY(-3px);
}

.sticky-instagram.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* Native lightbox */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--white);
  background: rgba(5, 31, 39, 0.92);
  border: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.image-lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
}

.image-lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 1.4rem;
}

.image-lightbox p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* Progressive motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav > a:not(.button) {
    padding-inline: 10px;
  }

  .booking-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .booking-progress {
    max-width: 680px;
  }

  .booking-schedule {
    grid-template-columns: minmax(230px, 260px) minmax(0, 1fr);
  }

  .booking-detail-shell {
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  }

  .booking-detail-shell .booking-times {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.7fr 0.7fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 1080px) {
  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: grid;
    margin-left: 0;
  }

  .header-inner > .language-switcher {
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 118px;
    right: 16px;
    left: 16px;
    z-index: 120;
    display: grid;
    gap: 3px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .site-nav > a:not(.button) {
    min-height: 48px;
    padding-inline: 14px;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    margin: 9px 0 0;
  }

  .nav-login {
    margin-left: 0;
    border-left: 0;
  }

  .nav-backdrop {
    position: fixed;
    inset: 104px 0 0;
    z-index: 110;
    display: block;
    background: rgba(5, 45, 57, 0.38);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, visibility 160ms ease;
  }

  .nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 860px) {
  .announcement-inner > span:nth-child(2),
  .announcement-inner > span:nth-child(3) {
    display: none;
  }

  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 118px;
    right: 16px;
    left: 16px;
    z-index: 120;
    display: grid;
    gap: 3px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .site-nav > a:not(.button) {
    min-height: 48px;
    padding-inline: 14px;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    margin: 9px 0 0;
  }

  .nav-login {
    margin-left: 0;
    border-left: 0;
  }

  .nav-backdrop {
    position: fixed;
    inset: 104px 0 0;
    z-index: 110;
    display: block;
    background: rgba(5, 45, 57, 0.38);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, visibility 160ms ease;
  }

  .nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .hero-copy {
    width: 72%;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(250, 247, 240, 0.99), rgba(250, 247, 240, 0.84) 52%, rgba(250, 247, 240, 0.1));
  }

  .intro-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-layout > .section-heading,
  .intro-card,
  .feature-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .intro-layout > .section-heading,
  .feature-grid {
    grid-column: 1 / -1;
  }

  .intro-card {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .benefit-card,
  .benefit-card:nth-child(2),
  .benefit-card-large,
  .benefit-card-wide {
    grid-column: span 6;
  }

  .steps,
  .grid-2,
  .grid-3,
  .pricing-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:last-child {
    grid-column: 1 / -1;
  }

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

  .gallery figure:last-child {
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

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

  .auth-aside {
    min-height: 380px;
  }

  .booking-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .booking-schedule .booking-summary,
  .booking-schedule .booking-calendar,
  .booking-schedule .booking-times {
    grid-column: 1;
    grid-row: auto;
  }

  .booking-summary,
  .sidebar {
    position: static;
  }

  .booking-times {
    grid-column: auto;
  }

  .booking-calendar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .booking-time-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .dashboard-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-search {
    max-width: none;
  }

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

  .footer-intro,
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .announcement-inner {
    justify-content: space-between;
    gap: 12px;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .announcement-inner > span:first-child,
  .announcement-inner a {
    flex: 0 0 auto;
  }

  .announcement-inner a {
    margin-left: 0;
  }

  .brand-logo {
    width: 148px;
  }

  .language-switcher summary {
    min-width: 48px;
    width: 48px;
    padding-inline: 7px;
  }

  .language-current,
  .language-chevron {
    display: none;
  }

  .language-menu {
    right: -54px;
    width: min(224px, calc(100vw - 28px));
  }

  .site-nav {
    top: 112px;
  }

  .section {
    padding-block: 70px;
  }

  .booking-page {
    padding-block: 44px 76px;
  }

  .booking-intro {
    gap: 24px;
    margin-bottom: 30px;
  }

  .booking-intro .page-title {
    font-size: clamp(3.05rem, 15vw, 4.4rem);
  }

  .booking-progress li {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 10px 6px;
    text-align: center;
  }

  .booking-progress span {
    grid-row: auto;
  }

  .booking-progress small {
    display: none;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-grid {
    min-height: 700px;
    align-items: end;
    border-radius: 26px;
  }

  .hero-visual img {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(250, 247, 240, 1) 0%, rgba(250, 247, 240, 0.96) 48%, rgba(250, 247, 240, 0.08) 92%);
  }

  .hero-copy {
    width: 100%;
    padding: 220px 24px 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hero-copy .lead {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-copy .pill-list,
  .hero-badge {
    display: none;
  }

  .hero-stats {
    margin-top: 28px;
  }

  .hero-stats > div,
  .hero-stats > div + div {
    padding-inline: 8px;
  }

  .hero-stats > div:first-child {
    padding-left: 0;
  }

  .hero-stats strong {
    font-size: 1.3rem;
  }

  .hero-stats span {
    font-size: 0.7rem;
  }

  .intro-layout,
  .grid-2,
  .grid-3,
  .pricing-grid,
  .metrics,
  .steps,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .benefit-card:nth-child(2),
  .benefit-card-large,
  .benefit-card-wide {
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .benefit-card-large {
    min-height: 340px;
  }

  .step,
  .step:last-child {
    grid-column: auto;
    min-height: 230px;
  }

  .gallery figure,
  .gallery figure:nth-child(2),
  .gallery figure:last-child {
    grid-column: auto;
    min-height: 430px;
  }

  .final-cta {
    padding: 30px 24px;
  }

  .final-cta .cta-row .button {
    width: 100%;
  }

  .auth-header-inner {
    min-height: 70px;
  }

  .auth-back-link {
    font-size: 0;
  }

  .auth-back-link span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .auth-shell {
    align-items: start;
    padding-top: 22px;
  }

  .auth-grid {
    border-radius: 24px;
  }

  .auth-panel {
    padding: 30px 22px;
  }

  .auth-aside {
    min-height: 330px;
  }

  .booking-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-inline-fields,
  .booking-calendar-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .booking-panel-head {
    flex-direction: row;
  }

  .booking-time-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-time-rail .booking-time-pill:last-child {
    grid-column: 1 / -1;
  }

  .booking-schedule {
    gap: 16px;
  }

  .booking-grid > .panel {
    padding: 22px 18px;
  }

  .booking-summary h2 {
    max-width: 10ch;
  }

  .booking-times .button-row > * {
    flex-basis: 100%;
  }

  .booking-month-controls {
    align-self: stretch;
    justify-content: center;
  }

  .pricing-card:nth-child(2) {
    transform: none;
  }

  .workspace-header-inner {
    align-items: flex-start;
    padding-block: 12px;
  }

  .workspace-nav {
    max-width: 58vw;
    overflow-x: auto;
  }

  .workspace-nav a {
    white-space: nowrap;
  }

  .dashboard-filter .button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  th,
  td {
    min-width: 120px;
    padding: 14px;
  }

  .footer-column,
  .footer-intro,
  .footer-contact {
    grid-column: auto;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .sticky-instagram {
    right: 12px;
    bottom: 70px;
    left: 12px;
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .announcement-inner {
    justify-content: center;
  }

  .announcement-inner > span:first-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
