/* =====================================================
   IZQUIERDO CLUB JUDO — styles.css
   Mobile-first · Vanilla CSS · No frameworks
   ===================================================== */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0a0a0a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; }

/* === TOKENS === */
:root {
  --accent:       #8B1A1A;
  --accent-dark:  #6d1414;
  --accent-light: #f5eeee;
  --black:        #0a0a0a;
  --gray-100:     #f0edec;
  --gray-200:     #e0dbdb;
  --gray-500:     #6b6b6b;
  --white:        #ffffff;
  --radius:       4px;
  --t:            200ms ease;
  --container:    1160px;
}

/* === LAYOUT === */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}
.container--narrow {
  width: min(800px, 100% - 2rem);
}

/* === SCROLL ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.nav.scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 1px 16px rgba(0,0,0,.06);
}
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}
.nav__brand {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.nav__brand span { color: var(--accent); }

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 64px;
  inset-inline: 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 1rem 1rem;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.nav__menu.open { display: flex; }

.nav__link {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color var(--t), background var(--t);
}
.nav__link:hover { background: var(--gray-100); color: var(--accent); }
.nav__link--cta {
  background: var(--accent);
  color: #fff !important;
  text-align: center;
  margin-top: 0.375rem;
}
.nav__link--cta:hover { background: var(--accent-dark); }

@media (min-width: 800px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 4px;
    box-shadow: none;
  }
  .nav__link--cta { padding: 0.5rem 1.125rem; margin-top: 0; }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  line-height: 1;
}
.btn:hover { opacity: 0.92; }
.btn:active { opacity: 1; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--t);
}
.btn--whatsapp:hover { background: #2a2a2a; opacity: 1; }

.btn--full { width: 100%; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,.6) 0%,
    rgba(0,0,0,.35) 50%,
    rgba(10,4,4,.7) 100%
  );
}
.hero__content {
  position: relative;
  text-align: center;
  padding: 6rem 1rem 4rem;
  max-width: 720px;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(2.25rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  opacity: 0.82;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 52px;
  overflow: hidden;
}
.hero__scroll span {
  display: block;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,.2);
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.8);
  animation: scrollLine 1.8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes scrollLine {
  to { top: 100%; }
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.section--alt { background: var(--gray-100); }

.section__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 600px;
  margin-inline: auto;
}
.section__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}
.section__title {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.section__lead {
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.72;
}

/* =====================================================
   GALLERY (Historia del club)
   ===================================================== */
.masonry {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 8px;
  margin-bottom: 2rem;
}
.masonry__item {
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray-200);
}
.masonry__item:nth-child(1) { grid-row: span 2; }
.masonry__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 700ms ease;
}
@media (max-width: 639px) {
  .masonry {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }
  .masonry__item:nth-child(1) { grid-row: span 1; grid-column: span 2; }
}

.gallery__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding-top: 0.5rem;
}
.gallery__footer-text { color: var(--gray-500); font-size: 0.9375rem; }
.btn--instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color var(--t), border-color var(--t);
}
.btn--instagram:hover { color: var(--black); border-color: var(--gray-500); opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(4px);
}
.lightbox__figure {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1000px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}
.lightbox__figure figcaption {
  color: rgba(255,255,255,.8);
  font-size: 0.875rem;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.lightbox__close:hover { background: rgba(255,255,255,.28); }

/* =====================================================
   FAQ
   ===================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq__item {
  border-bottom: 1.5px solid var(--gray-200);
}
.faq__item:first-child { border-top: 1.5px solid var(--gray-200); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  color: var(--black);
  transition: color var(--t);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--t);
}
.faq__item[open] .faq__q { color: var(--accent); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.75;
  padding-bottom: 1.25rem;
}

/* =====================================================
   CLASSES & PRICING
   ===================================================== */
.classes-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .classes-grid { grid-template-columns: repeat(2, 1fr); } }

.ccard {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.ccard:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(139,26,26,.07);
}
.ccard--secondary { background: var(--gray-100); border-color: transparent; }
.ccard--secondary:hover { border-color: var(--gray-200); box-shadow: none; }

.ccard__top { display: flex; align-items: flex-start; gap: 1rem; }
.ccard__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.ccard--secondary .ccard__icon { background: var(--gray-200); color: var(--gray-500); }
.ccard__head { display: flex; flex-direction: column; gap: 0.375rem; padding-top: 0.125rem; }
.ccard__name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.ccard__badge {
  font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); background: var(--accent-light);
  padding: 0.2rem 0.5rem; border-radius: 99px; align-self: flex-start;
}
.ccard--secondary .ccard__badge { color: var(--gray-500); background: var(--gray-200); }
.ccard__desc { color: var(--gray-500); font-size: 0.875rem; line-height: 1.7; flex-grow: 1; }

/* Schedule pills inside card */
.ccard__schedule {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--gray-100); border-radius: 6px;
}
.ccard__schedule--consult { color: var(--gray-500); font-size: 0.875rem; font-style: italic; }
.cslot { display: flex; align-items: center; gap: 0.75rem; }
.cslot__days { display: flex; gap: 0.25rem; }
.cday {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gray-200); color: var(--gray-500);
  font-size: 0.6875rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cday--on { background: var(--accent); color: #fff; }
.cslot__time { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }

/* Card footer: price + CTA */
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

/* Single CTA below activity grid */
.classes-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 1rem;
  text-align: center;
}
.classes-cta p { color: var(--gray-500); font-size: 0.9375rem; }

/* Stats bar */
.classes-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .classes-stats { grid-template-columns: repeat(4, 1fr); } }
.cstat {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: 6px;
}
.cstat strong {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; color: var(--accent);
}
.cstat span { font-size: 0.8125rem; color: var(--gray-500); line-height: 1.4; }

/* =====================================================
   BENEFITS
   ===================================================== */
.benefits {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

.benefit {
  border-top: 2px solid var(--gray-200);
  padding-top: 1.5rem;
  transition: border-color var(--t);
}
.benefit:hover { border-color: var(--accent); }
.benefit__number {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.benefit__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.benefit__text { color: var(--gray-500); font-size: 0.875rem; line-height: 1.7; }

/* =====================================================
   PROFESSOR
   ===================================================== */
.professor {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .professor { grid-template-columns: 280px 1fr; }
}
.professor__image {
  display: flex;
  justify-content: center;
}
.professor__image img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(15%);
}
.professor__name {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}
.professor__role {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.375rem;
  text-transform: uppercase;
}
.professor__text {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.72;
  margin-bottom: 1rem;
}
.professor__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-block: 1.625rem;
  padding-block: 1.625rem;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.credential { display: flex; flex-direction: column; gap: 2px; }
.credential strong {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.credential span { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }

/* Ghost button (CV trigger) */
.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), opacity var(--t);
}
.btn--ghost:hover { border-color: var(--accent); opacity: 0.8; }

/* =====================================================
   CV MODAL
   ===================================================== */
.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cv-modal[hidden] { display: none; }

.cv-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: overlayIn 200ms ease;
}
@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cv-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 10px;
  width: min(860px, 100%);
  max-height: 90svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  animation: panelIn 240ms cubic-bezier(.22,1,.36,1);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.cv-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.cv-modal__title-group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cv-modal__title-group p {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.125rem;
}
.cv-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: background var(--t), color var(--t);
}
.cv-modal__close:hover { background: var(--gray-100); color: var(--black); }

.cv-modal__body {
  overflow-y: auto;
  padding: 2rem;
  flex: 1;
}

.cv-cols {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cv-cols { grid-template-columns: 1fr 1fr; }
}

.cv-col__title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.cv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cv-list li {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.55;
  padding-left: 1.125rem;
  position: relative;
}
.cv-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =====================================================
   PYRAMID (Cinturones negros)
   ===================================================== */
.pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pyramid__level {
  width: min(var(--w), 100%);
  background: var(--gray-100);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: background var(--t);
}
.pyramid__level:hover { background: var(--accent-light); }

.pyramid__meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 2px;
}
.pyramid__rank {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  white-space: nowrap;
}
.pyramid__belt {
  display: block;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.pyramid__belt--rw {
  background: linear-gradient(to right, var(--accent) 50%, #fff 50%);
  border: 1px solid var(--gray-200);
}
.pyramid__belt--bk { background: var(--black); }

.pyramid__names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  flex: 1;
}
.pyramid__names li {
  font-size: 0.875rem;
  color: var(--gray-500);
  white-space: nowrap;
}
@media (max-width: 639px) {
  .pyramid__names li { white-space: normal; }
}

@media (max-width: 639px) {
  .pyramid__level { width: 100%; }
  .pyramid__meta { flex-direction: row; gap: 0.75rem; align-items: center; padding-top: 0; }
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact { grid-template-columns: 1fr 1fr; }
}
.contact__info { display: flex; flex-direction: column; gap: 1.625rem; }
.contact__detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact__detail > svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.contact__detail strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}
.contact__detail a { font-size: 1.0625rem; font-weight: 600; }
.contact__detail address {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.contact__map {
  border-radius: 8px;
  overflow: hidden;
  height: 220px;
  border: 1.5px solid var(--gray-200);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* WhatsApp contact */
.contact-wa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}
.btn--wa-big {
  font-size: 1.0625rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  gap: 0.625rem;
}
.contact-wa__address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}
.contact-wa__address address { font-style: normal; }
.contact-wa__maps-link { color: var(--accent); font-size: 0.85rem; transition: opacity var(--t); }
.contact-wa__maps-link:hover { opacity: 0.75; }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.contact-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  transition: color var(--t), border-color var(--t);
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.contact-social__link:hover { color: var(--black); border-color: var(--gray-500); }
@media (max-width: 639px) {
  .contact-social { flex-direction: column; align-items: stretch; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer { }
.footer__main {
  background: var(--gray-100);
  color: var(--gray-500);
  padding-block: 3.5rem 2rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-200);
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
}
.footer__logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}
.footer__logo span { color: var(--accent); }
.footer__tagline { font-size: 0.875rem; line-height: 1.65; }

.footer__nav h4,
.footer__contact h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color var(--t);
}
.footer__nav a:hover { color: var(--accent); }

.footer__contact address { font-size: 0.875rem; line-height: 1.65; margin-bottom: 0.5rem; }
.footer__contact a { font-size: 0.9rem; color: var(--gray-500); transition: color var(--t); display: block; margin-top: 0.375rem; }
.footer__contact a:hover { color: var(--accent); }
.footer__insta { display: inline-flex !important; align-items: center; gap: 0.375rem; }

.footer__bottom {
  background: #d5cfcf;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
  padding: 1.25rem;
}
.footer__bottom a { color: var(--gray-500); transition: color var(--t); }
.footer__bottom a:hover { color: var(--accent); }

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero__bg { transition: none; }
  .hero__scroll span::after { animation: none; }
  * { transition-duration: .01ms !important; }
}
