/* ========================================
   THE VIBE — "Bairro" Design System
   Rubik (display) + Figtree (body)
   OKLCH color system
   ======================================== */

/* --- CUSTOM PROPERTIES --- */
:root {
  --olive: oklch(0.47 0.06 130);
  --olive-light: oklch(0.55 0.05 130);
  --olive-pale: oklch(0.70 0.04 130);
  --warm-white: oklch(0.96 0.008 85);
  --amber: oklch(0.78 0.12 80);
  --amber-soft: oklch(0.85 0.08 80);
  --dark-olive: oklch(0.22 0.03 130);
  --coral: oklch(0.65 0.10 35);
  --coral-soft: oklch(0.75 0.07 35);
  --off-white: oklch(0.98 0.005 85);
  --text-on-olive: oklch(0.95 0.008 85);
  --text-muted: oklch(0.45 0.02 130);
  --shadow-sm: 0 2px 8px oklch(0.22 0.03 130 / 0.10);
  --shadow-md: 0 6px 20px oklch(0.22 0.03 130 / 0.12);
  --shadow-lg: 0 12px 40px oklch(0.22 0.03 130 / 0.15);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark-olive);
  background-color: var(--warm-white);
  overflow-x: hidden;
  font-kerning: normal;
}

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

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Rubik', sans-serif;
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  max-width: 68ch;
  text-wrap: pretty;
}

/* --- UTILITY --- */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

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

.section-label {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-label--coral { color: var(--coral); }
.section-label--amber { color: var(--amber); }
.section-label--olive { color: var(--olive); }

/* --- BADGE / TAG --- */
.tag {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 100px;
  white-space: nowrap;
}

.tag--amber { background: var(--amber); color: var(--dark-olive); }
.tag--coral { background: var(--coral); color: var(--off-white); }
.tag--olive { background: var(--olive); color: var(--text-on-olive); }
.tag--pale { background: var(--olive-pale); color: var(--dark-olive); }

/* --- BUTTON --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.8em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-quart), box-shadow 0.35s var(--ease-out-quart);
  text-decoration: none;
}

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

.btn--whatsapp { background: var(--olive); color: var(--text-on-olive); }
.btn--coral { background: var(--coral); color: var(--off-white); }

.btn--outline {
  background: transparent;
  border: 2px solid var(--olive);
  color: var(--olive);
}

.btn--outline-light {
  background: transparent;
  border: 2px solid var(--amber);
  color: var(--amber);
}

.btn--large {
  font-size: 1.1rem;
  padding: 1em 2.5em;
}

/* --- LANGUAGE TOGGLE --- */
.lang-toggle {
  display: flex;
  align-items: center;
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
  background: oklch(0.96 0.008 85 / 0.15);
}

.lang-toggle button {
  all: unset;
  cursor: pointer;
  padding: 0.25em 0.55em;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 100px;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  font-family: 'Rubik', sans-serif;
  color: oklch(0.96 0.008 85 / 0.5);
}

.lang-toggle button.active {
  background: var(--amber);
  color: var(--dark-olive);
}

/* --- NAV --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--olive);
  padding: 0.8rem 0;
  transition: box-shadow 0.4s var(--ease-out-quart);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(92%, 1260px);
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-on-olive);
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-logo svg { width: 28px; height: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-on-olive);
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.3s var(--ease-out-quart);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
}

.nav-links a.active {
  opacity: 1;
}

.nav-cta {
  background: var(--amber) !important;
  color: var(--dark-olive) !important;
  opacity: 1 !important;
  padding: 0.5em 1.2em;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: transform 0.3s var(--ease-out-quart);
}

.nav-cta:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-on-olive);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- HERO --- */
.hero {
  background: var(--olive);
  color: var(--text-on-olive);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: min(92%, 1260px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  color: var(--text-on-olive);
  margin-bottom: 1rem;
  line-height: 1.05;
}

.hero-text h1 span { color: var(--amber); }

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 45ch;
  line-height: 1.75;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-collage {
  position: relative;
  height: 520px;
}

.hero-photo {
  position: absolute;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-quint);
}

.hero-photo:hover { transform: scale(1.03); }

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--1 {
  width: 280px; height: 340px;
  top: 0; left: 10%;
  transform: rotate(-3deg);
  z-index: 2;
}

.hero-photo--2 {
  width: 220px; height: 260px;
  top: 60px; right: 0;
  transform: rotate(4deg);
  z-index: 3;
}

.hero-photo--3 {
  width: 200px; height: 180px;
  bottom: 10px; left: 25%;
  transform: rotate(2deg);
  z-index: 4;
}

.hero-bg-circle {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: oklch(0.42 0.05 130 / 0.4);
  top: -100px; right: -150px;
  z-index: 1;
}

/* --- PAGE HEADER (subpages) --- */
.page-header {
  background: var(--olive);
  color: var(--text-on-olive);
  padding: 8rem 0 3rem;
  position: relative;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.page-header h1 span { color: var(--amber); }

.page-header p {
  font-size: 1.15rem;
  opacity: 0.85;
  font-weight: 300;
  max-width: 55ch;
  line-height: 1.7;
}

/* --- SERVICES --- */
.services {
  padding: 5rem 0;
  background: var(--warm-white);
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header h2 { margin-bottom: 0.5rem; }

.services-header p {
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.service-card {
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-quint), box-shadow 0.4s var(--ease-out-quint);
}

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

.service-card h3 { margin-bottom: 0.4rem; }

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-card--ginasio {
  grid-column: 1 / 8;
  background: var(--olive);
  color: var(--text-on-olive);
  padding: 2.5rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card--ginasio .tag {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
}

.service-card--ginasio h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.service-card--ginasio p { opacity: 0.9; font-size: 1.05rem; }

.service-card--pilates {
  grid-column: 8 / 13;
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
  transform: rotate(1deg);
}

.service-card--pilates:hover {
  transform: rotate(0deg) translateY(-4px);
}

.service-card--pilates .tag { margin-bottom: 0.8rem; }

.service-card--personal {
  grid-column: 1 / 5;
  background: var(--coral);
  color: var(--off-white);
  min-height: 200px;
  transform: rotate(-1deg);
}

.service-card--personal:hover {
  transform: rotate(0deg) translateY(-4px);
}

.service-card--personal .tag {
  background: oklch(0.55 0.08 35);
  color: var(--off-white);
  margin-bottom: 0.8rem;
}

.service-card--cross {
  grid-column: 5 / 9;
  background: var(--olive);
  color: var(--text-on-olive);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card--group {
  grid-column: 9 / 13;
  background: var(--amber);
  color: var(--dark-olive);
  min-height: 220px;
  transform: rotate(1.5deg);
}

.service-card--group:hover {
  transform: rotate(0deg) translateY(-4px);
}

.service-card--group .class-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.service-card--group .class-list span {
  font-family: 'Rubik', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  background: oklch(0.72 0.10 80);
  padding: 0.2em 0.6em;
  border-radius: 100px;
}

.service-card--warriors {
  grid-column: 1 / 13;
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
}

.service-card--warriors .warriors-emoji {
  font-size: 3rem;
  flex-shrink: 0;
}

.service-card--warriors .tag { margin-bottom: 0.5rem; }

/* --- SCHEDULE --- */
.schedule {
  padding: 5rem 0;
  background: var(--olive);
  color: var(--text-on-olive);
}

.schedule-header {
  text-align: center;
  margin-bottom: 3rem;
}

.schedule-header h2 { margin-bottom: 0.5rem; }
.schedule-header p { opacity: 0.8; margin-inline: auto; }

.schedule-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  background: oklch(0.40 0.05 130);
  padding: 1.5rem;
}

.schedule-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.schedule-table-wrap th {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.8rem 0.6rem;
  text-align: center;
  color: var(--amber);
  border-bottom: 2px solid oklch(0.50 0.05 130);
}

.schedule-table-wrap td {
  padding: 0.5rem 0.4rem;
  text-align: center;
  vertical-align: top;
}

.schedule-time-col {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--amber);
  white-space: nowrap;
}

.schedule-tag {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35em 0.7em;
  border-radius: 8px;
  margin: 0.15rem 0;
  white-space: nowrap;
  line-height: 1.3;
}

.schedule-tag--cross { background: oklch(0.50 0.08 130); color: var(--off-white); }
.schedule-tag--abs { background: oklch(0.65 0.06 130); color: var(--dark-olive); }
.schedule-tag--air { background: oklch(0.78 0.12 80); color: var(--dark-olive); }
.schedule-tag--fire { background: var(--coral); color: var(--off-white); }
.schedule-tag--pilates { background: oklch(0.60 0.04 200); color: var(--off-white); }
.schedule-tag--yoga { background: oklch(0.75 0.08 300); color: var(--dark-olive); }
.schedule-tag--warriors { background: oklch(0.70 0.10 55); color: var(--dark-olive); }
.schedule-tag--bike { background: oklch(0.55 0.10 250); color: var(--off-white); }
.schedule-tag--ignite { background: oklch(0.60 0.12 35); color: var(--off-white); }

.schedule-time {
  display: block;
  font-size: 0.65rem;
  opacity: 0.85;
  font-weight: 400;
}

.schedule-hours {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: var(--off-white);
}

.schedule-hours h2 {
  margin-bottom: var(--space-xl);
}

.schedule-hours p {
  margin-inline: auto;
  opacity: 0.85;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-xl);
}

.hours-item {
  background: var(--warm-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.hours-item h3 {
  color: var(--olive);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.hours-item p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-olive);
}

/* --- COMMUNITY --- */
.community {
  padding: 6rem 0;
  background: var(--warm-white);
  position: relative;
}

.community-header { margin-bottom: 3rem; }
.community-header h2 { margin-bottom: 0.5rem; }

.community-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.community-nightrun {
  background: var(--dark-olive);
  color: var(--text-on-olive);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.community-nightrun::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--coral);
  top: -60px; right: -60px;
  opacity: 0.15;
}

.community-nightrun h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.community-nightrun p {
  position: relative;
  z-index: 2;
  opacity: 0.9;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.community-nightrun .tag {
  position: relative;
  z-index: 2;
  margin-bottom: 1.2rem;
}

.nightrun-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(0.35 0.03 130);
  position: relative;
  z-index: 2;
  list-style: none;
}

.nightrun-details li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.nightrun-details li svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.nightrun-quote {
  font-family: 'Rubik', sans-serif;
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid oklch(0.35 0.03 130);
  position: relative;
  z-index: 2;
}

.community-events {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.event-card {
  background: var(--off-white);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 130px 1fr;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out-quint), box-shadow 0.4s var(--ease-out-quint);
}

.event-card:nth-child(1) { transform: rotate(-0.8deg); }
.event-card:nth-child(2) { transform: rotate(0.5deg); }
.event-card:nth-child(3) { transform: rotate(-0.3deg); }

.event-card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: var(--shadow-md);
}

.event-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-body {
  padding: 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card-body h4 { color: var(--dark-olive); margin-bottom: 0.3rem; }

.event-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Community photo gallery (community page) */
.community-gallery {
  padding: var(--space-3xl) 0;
}

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

.community-gallery .gallery-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out-quint);
}

.community-gallery .gallery-photo:hover {
  transform: scale(1.03);
}

.community-gallery .gallery-photo:nth-child(1) { transform: rotate(-1.5deg); }
.community-gallery .gallery-photo:nth-child(2) { transform: rotate(1deg); }
.community-gallery .gallery-photo:nth-child(3) { transform: rotate(-0.5deg); }
.community-gallery .gallery-photo:nth-child(4) { transform: rotate(0.8deg); }
.community-gallery .gallery-photo:nth-child(5) { transform: rotate(-1deg); }
.community-gallery .gallery-photo:nth-child(6) { transform: rotate(1.5deg); }

.community-gallery .gallery-photo:hover {
  transform: rotate(0deg) scale(1.03);
}

.community-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- ABOUT / LOCATION --- */
.about {
  padding: 5rem 0;
  background: var(--olive);
  color: var(--text-on-olive);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text h2 span { color: var(--amber); }

.about-text p {
  opacity: 0.9;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.about-map {
  background: oklch(0.40 0.05 130);
  border-radius: 20px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

.about-entrance {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.about-entrance img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* About page specific */
.about-values {
  padding: 5rem 0;
  background: var(--warm-white);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-item {
  padding: 2rem;
  background: var(--off-white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out-quart), box-shadow 0.35s var(--ease-out-quart);
}

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

.value-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--olive);
}

.value-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CONTACT --- */
.contact {
  padding: 5rem 0;
  background: var(--warm-white);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 { margin-bottom: 0.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out-quart), box-shadow 0.35s var(--ease-out-quart);
}

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

.contact-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--olive);
  color: var(--text-on-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: var(--olive);
  margin-bottom: 0.8rem;
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-card a {
  color: var(--olive);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: oklch(0.47 0.06 130 / 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s var(--ease-out-quart);
}

.contact-card a:hover {
  text-decoration-color: var(--olive);
}

.contact-hours { margin-top: 0.5rem; }

.contact-hours dt {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-olive);
  margin-top: 0.4rem;
}

.contact-hours dd {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--text-on-olive);
  transition: transform 0.3s var(--ease-out-quart), background 0.3s var(--ease-out-quart);
  text-decoration: none;
}

.contact-social a:hover {
  transform: scale(1.1);
  background: var(--olive-light);
}

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

.contact-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Contact page: map section */
.contact-map-section {
  padding: 0 0 5rem;
  background: var(--warm-white);
}

.contact-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- PHOTO GRID (services page) --- */
.services-photos {
  padding: 3rem 0 5rem;
  background: var(--warm-white);
}

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

.photo-grid-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out-quint);
}

.photo-grid-item:hover {
  transform: scale(1.03);
}

.photo-grid-item:nth-child(1) { transform: rotate(-1deg); }
.photo-grid-item:nth-child(2) { transform: rotate(0.8deg); }
.photo-grid-item:nth-child(3) { transform: rotate(-0.5deg); }
.photo-grid-item:nth-child(4) { transform: rotate(1deg); }
.photo-grid-item:nth-child(5) { transform: rotate(-0.8deg); }
.photo-grid-item:nth-child(6) { transform: rotate(0.5deg); }

.photo-grid-item:hover {
  transform: rotate(0deg) scale(1.03);
}

.photo-grid-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SECTION DIVIDER (olive-to-warm-white transition) --- */
.section-olive {
  background: var(--olive);
  color: var(--text-on-olive);
}

.section-warm { background: var(--warm-white); }

/* --- HOME PAGE TEASER SECTIONS --- */
.home-services-teaser {
  padding: 5rem 0;
  background: var(--warm-white);
}

.home-services-teaser .services-header {
  margin-bottom: 2.5rem;
}

.home-community-teaser {
  padding: 5rem 0;
  background: var(--warm-white);
}

.home-schedule-teaser {
  padding: 5rem 0;
  background: var(--olive);
  color: var(--text-on-olive);
}

.home-schedule-teaser .schedule-header {
  margin-bottom: 2rem;
}

.home-cta {
  padding: 5rem 0;
  background: var(--dark-olive);
  color: var(--text-on-olive);
  text-align: center;
}

.home-cta h2 {
  margin-bottom: 1rem;
}

.home-cta p {
  margin-inline: auto;
  opacity: 0.8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--dark-olive);
  color: oklch(0.80 0.01 130);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-on-olive);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo svg { width: 24px; height: 24px; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out-quart);
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(0.30 0.02 130);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- ANIMATIONS --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out-quint), transform 0.6s var(--ease-out-quint);
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-collage { display: none; }
  .hero-subtitle { margin-inline: auto; }
  .hero-badges { justify-content: center; }
  .hero-ctas { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--olive);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-inner > .lang-toggle { display: none; }

  .services-mosaic { grid-template-columns: 1fr; }
  .service-card--ginasio,
  .service-card--pilates,
  .service-card--personal,
  .service-card--cross,
  .service-card--group,
  .service-card--warriors {
    grid-column: 1 / -1;
    transform: none;
  }

  .community-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-card-img { height: 150px; }
  .event-card:nth-child(1),
  .event-card:nth-child(2),
  .event-card:nth-child(3) { transform: none; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .page-header {
    padding: 7rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .community-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }
}
