:root {
  --navy: #12324d;
  --blue: #1d6ea8;
  --accent: #1f7ebd;
  --ice: #2a86c4;
  --whats: #1ebe5d;
  --bg: #f5f7fa;
  --bg-alt: #eef3f7;
  --card: #ffffff;
  --text: #243241;
  --muted: #5d6d7c;
  --line: #d7e1ea;
  --header-h: 84px;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(18, 50, 77, .08);
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--navy); }
.text-link { position: relative; font-weight: 700; display: inline-block; }
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.text-link:hover::after { transform: scaleX(1); }
button, input, select, textarea { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }
.container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: 999px; padding: .85rem 1.3rem; font-weight: 700;
  letter-spacing: .02em; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-sm { padding: .62rem .95rem; font-size: .9rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(31,126,189,.22); }
.btn-primary:hover { background: var(--navy); box-shadow: 0 12px 26px rgba(18,50,77,.28); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { background: #e8f3fb; border-color: var(--accent); color: var(--accent); }
.btn-whatsapp { background: var(--whats); color: #fff; }
.btn-whatsapp:hover { background: #17a851; box-shadow: 0 12px 26px rgba(30,190,93,.3); }
.btn-pulse { animation: softPulse 2.8s ease-in-out infinite; }
.btn-whatsapp.btn-pulse { animation: waPulse 2.6s ease-in-out infinite; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--accent);
  margin: 0 0 .55rem; font-weight: 700;
}
.eyebrow strong { font-weight: 800; letter-spacing: .12em; color: var(--navy); }
.section { padding: 5rem 0; position: relative; }
.section-light { background: #fff; }
.section-soft { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #e8f2f8; }
.section-dark .section-head h2, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p, .section-dark p { color: #c5d6e4; }
.section-head { max-width: 720px; margin: 0 auto 2.4rem; text-align: center; }
.section-head h2, h1, h2, h3 { font-family: var(--display); line-height: 1.18; color: var(--navy); }
.section-head p, .lead { color: var(--muted); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; background: transparent;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(18,50,77,.08);
}
.header-inner {
  width: min(1240px, calc(100% - 1.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.brand img { width: 78px; height: auto; object-fit: contain; }
.site-header:not(.is-scrolled):not(.is-solid) .brand {
  padding: .4rem .65rem; border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 22px rgba(4,18,32,.22);
  backdrop-filter: blur(6px);
}
.nav { display: flex; justify-content: center; gap: .35rem 1rem; flex-wrap: wrap; }
.nav a {
  color: #f4fbff; font-weight: 600; font-size: .9rem; padding: .35rem 0;
  display: inline-flex; align-items: center; gap: .35rem;
  position: relative; transition: color .25s ease, transform .25s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 20px; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav a:hover { transform: translateY(-2px); }
.nav a:hover::after { transform: scaleX(1); }
.nav a svg { width: 14px; height: 14px; flex: 0 0 14px; }
.site-header.is-scrolled .nav a, .site-header.is-solid .nav a { color: var(--navy); }
.site-header.is-scrolled .nav-toggle span, .site-header.is-solid .nav-toggle span { background: var(--navy); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; }

.hero { min-height: 100svh; display: grid; place-items: end start; position: relative; padding: 8rem 0 5rem; }
.hero-media { position: absolute; inset: -9% 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,22,34,.58) 0%, rgba(10,22,34,.28) 48%, rgba(10,22,34,.1) 100%),
    linear-gradient(180deg, rgba(10,22,34,.2) 0%, rgba(10,22,34,.04) 42%, rgba(10,22,34,.42) 100%);
}
.hero-frost { display: none; }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); margin: 0 0 .8rem; color: #fff; line-height: 1.15; }
.hero .lead { color: #e6eef5; font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 34rem; }
.hero .eyebrow { color: #b7d7ee; }
.hero-meta { list-style: none; padding: 0; margin: 1.3rem 0 1.7rem; display: grid; gap: .5rem; color: #eaf3f9; }
.hero-meta li, .contact-list li { display: flex; gap: .5rem; align-items: flex-start; }
.hero-meta a { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.cards { display: grid; gap: 1.1rem; }
.cards-6, .cards-services, .cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card { display: flex; flex-direction: column; min-height: 250px; }
.service-card p { flex: 1; }
.icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  color: var(--accent); background: #e8f3fb; margin-bottom: .85rem;
  transition: transform .28s ease, background .28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(18,50,77,.14);
    border-color: #a9cde4;
  }
  .card:hover h3 { color: var(--accent); }
  .card:hover .icon-wrap {
    transform: translateY(-3px) scale(1.05);
    background: #d2e9f8;
  }
  .card h3 { transition: color .28s ease; }
}
.icon-wrap svg { width: 28px; height: 28px; }
.service-card .text-link { font-weight: 700; }

.about-grid, .schedule-grid, .contact-grid, .footer-grid { display: grid; gap: 2rem; align-items: center; }
.about-grid { grid-template-columns: 1.05fr .95fr; }
.slider { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #0e2436; touch-action: pan-y; }
.slider-track { display: flex; transition: transform .6s ease; will-change: transform; }
.about-photo {
  margin: 0; position: relative; border-radius: 22px; overflow: hidden;
  background: #eef3f7; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.about-photo img {
  width: 100%; height: auto; max-height: 460px;
  object-fit: contain; object-position: center;
}
.about-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(18,50,77,.76); color: #fff;
  padding: .28rem .6rem; border-radius: 8px; font-size: .78rem;
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94);
  color: var(--navy); cursor: pointer; font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(18,50,77,.16);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.slider-btn:hover { background: var(--accent); color: #fff; transform: translateY(-50%) scale(1.06); }
.slider-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); padding: 0; cursor: pointer; }
.slider-dots button.is-on { background: #fff; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.chip, .place-chip {
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  border-radius: 999px; padding: .45rem .9rem; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active, .place-chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.place-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(31,126,189,.18); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.gallery-item {
  position: relative; padding: 0; border: 1px solid var(--line); cursor: pointer;
  background: #f2f6f9; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item:focus-visible, .equip-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  transition: transform .45s ease;
}
.gallery-item.is-hidden { display: none; }
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover { transform: translateY(-4px); border-color: #a9cde4; box-shadow: 0 16px 34px rgba(18,50,77,.14); }
  .gallery-item:hover img { transform: scale(1.04); }
}

.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ba-slider { position: relative; overflow: hidden; border-radius: 16px; user-select: none; aspect-ratio: 14/9; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba-label { position: absolute; top: 12px; z-index: 2; background: rgba(18,50,77,.75); color: #fff; padding: .2rem .5rem; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 2; transform: translateX(-50%); }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--accent); border: 3px solid #fff;
}

.brand-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-track { display: flex; gap: .8rem; width: max-content; animation: marquee 32s linear infinite; }
.brand-track li {
  list-style: none; min-width: 150px; text-align: center; padding: 1rem .8rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy);
  transition: color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.brand-track li:hover { color: var(--brand, var(--accent)); border-color: var(--brand, var(--line)); box-shadow: 0 10px 24px rgba(18,50,77,.1); transform: translateY(-3px); }
.chips-wrap { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }

.area-band {
  position: relative; overflow: hidden; color: #eaf3f9;
  background:
    linear-gradient(180deg, rgba(7,20,32,.86), rgba(9,32,50,.9)),
    linear-gradient(120deg, #0b2740 0%, #103a5a 55%, #0a2a44 100%);
}
.area-band .area-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(64,160,220,.35), transparent 70%);
  pointer-events: none;
}
.area-band .container { position: relative; z-index: 1; }
.area-band .section-head h2 { color: #fff; }
.area-band .section-head p, .area-band .eyebrow { color: #9fd0ee; }
.area-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.area-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(150,200,235,.25);
  border-radius: 16px; padding: 1.1rem; color: #eaf3f9;
  transition: transform .28s ease, background .28s ease, border-color .28s ease;
}
.area-card svg { color: #7fc0e8; margin-bottom: .5rem; }
.area-card h3 { color: #fff; margin: 0 0 .35rem; font-size: 1.02rem; }
.area-card p { margin: 0; color: #c2d8e8; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) {
  .area-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.11); border-color: rgba(150,200,235,.5); }
}
.area-band .place-chip { background: rgba(255,255,255,.08); border-color: rgba(150,200,235,.3); color: #dcecf7; }
.area-band .place-chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.review-slider, .equip-slider { position: relative; background: transparent; box-shadow: none; overflow: visible; }
.review-viewport { overflow: hidden; border-radius: 18px; width: 100%; }
.review-track { display: flex; gap: 1rem; }
.review-card { min-width: 100%; flex: 0 0 100%; min-height: 180px; box-sizing: border-box; }
.review-slider .slider-dots, .equip-slider .slider-dots { position: static; margin-top: 1.2rem; }
.review-slider .slider-dots button, .equip-slider .slider-dots button { background: #c5d6e4; }
.review-slider .slider-dots button.is-on, .equip-slider .slider-dots button.is-on { background: var(--accent); }
.review-tag { font-size: .78rem; color: var(--accent); font-weight: 700; }
.review-meta { color: var(--muted); }

.equip-track { display: flex; gap: 1rem; align-items: stretch; }
.equip-card {
  min-width: 100%; flex: 0 0 100%; box-sizing: border-box; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.equip-card picture {
  display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3;
  background: #f2f6f9; overflow: hidden;
}
.equip-card img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  transition: transform .45s ease;
}
.equip-body { padding: 1rem 1.1rem 1.2rem; }
.equip-body h3 { margin: 0 0 .35rem; font-size: 1.05rem; transition: color .28s ease; }
.equip-body p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (hover: hover) and (pointer: fine) {
  .equip-card:hover { transform: translateY(-5px); border-color: #a9cde4; box-shadow: 0 18px 40px rgba(18,50,77,.14); }
  .equip-card:hover img { transform: scale(1.05); }
  .equip-card:hover h3 { color: var(--accent); }
}

.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; margin-bottom: 1.5rem; }
.ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

.schedule-grid { grid-template-columns: .8fr 1.2fr; }
.schedule-cta { margin-top: .6rem; }
.schedule .section-head { max-width: 680px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem; box-shadow: var(--shadow); }
.form-center { max-width: 720px; margin-inline: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form label { display: grid; gap: .35rem; margin-bottom: .8rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #f8fafc; color: var(--text); padding: .75rem .85rem;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 1.4em; }
.form-status.is-ok { color: #1a7a48; }
.form-status.is-err { color: #b42318; }

.contact-grid { grid-template-columns: .8fr 1.2fr; align-items: stretch; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .8rem; }
.contact-actions { display: flex; flex-wrap: nowrap; gap: .55rem; align-items: stretch; }
.contact-actions .btn { flex: 1 1 0; white-space: nowrap; }
.contact-list .ico { flex: 0 0 18px; margin-top: .15rem; }
.contact-actions .btn-outline, .hero .btn-outline { color: inherit; }
.section-dark .btn-outline, .hero .btn-outline { color: #fff; }
.section-light .btn-outline { color: var(--navy); border-color: var(--line); }
.map-wrap { min-height: 360px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #d9e6ef; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

.site-footer { position: relative; padding: 3.2rem 0 0; background: #f8fafc; border-top: 1px solid var(--line); margin-top: 0; color: var(--text); }
.footer-frost { display: none; }
.footer-grid { grid-template-columns: 1.3fr .8fr 1fr; align-items: start; }
.footer-logo img { width: 130px; height: auto; object-fit: contain; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-contact a, .footer-contact li {
  color: var(--text); display: flex; align-items: center; gap: .45rem; margin: .35rem 0;
}
.footer-links a { transition: transform .25s ease, color .25s ease; }
.footer-links a:hover { transform: translateY(-3px); color: var(--accent); }
.footer-links svg, .footer-contact svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--accent); }
.footer-social { display: flex; gap: .45rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #e8f3fb; color: var(--navy);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.footer-social a:hover { transform: translateY(-3px); background: #d2e9f8; box-shadow: 0 10px 20px rgba(31,126,189,.18); }
.footer-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.footer-bottom { margin-top: 2rem; border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 0 1.3rem; color: var(--muted); font-size: .9rem; align-items: center; }
.footer-bottom-inner a { color: var(--muted); }
.fortes-credit {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--muted); font-size: .86rem; font-weight: 500;
  transition: color .25s ease;
}
.fortes-credit img { height: 22px; width: auto; display: block; }
.fortes-credit:hover { color: var(--navy); }
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 70;
  max-width: min(520px, calc(100% - 96px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 16px 40px rgba(18,50,77,.16);
  padding: 1rem 1.1rem; display: flex; gap: 1rem; align-items: center;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--muted); }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }

.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whats); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); background: #17a851; box-shadow: 0 16px 32px rgba(30,190,93,.35); }
.whatsapp-float .pulse {
  position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(30,190,93,.45); animation: pulse 2.2s infinite;
}

.intro {
  position: fixed; inset: 0; z-index: 90;
  background: radial-gradient(60% 60% at 50% 42%, #ffffff 0%, #eef5fb 55%, #e2eef7 100%);
  display: none; place-items: center; opacity: 1;
  transition: opacity .5s ease;
}
.intro.is-on { display: grid; }
.intro.is-hiding { opacity: 0; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-inner { position: relative; display: grid; place-items: center; z-index: 2; }
.intro img { width: min(260px, 56vw); height: auto; position: relative; z-index: 2; animation: logoIn 1s cubic-bezier(.2,.7,.2,1) both; }
.intro-ring {
  position: absolute; width: min(340px, 78vw); aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(42,134,196,.4);
  animation: ringSpin 12s linear infinite, ringFade 1.1s ease both;
}
.intro-ring::before {
  content: ""; position: absolute; inset: 14%;
  border-radius: 50%; border: 1px solid rgba(42,134,196,.18);
}
.intro-skip {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; cursor: pointer;
  color: var(--navy);
}

.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(10,22,34,.86);
  display: none; place-items: center; padding: 2rem;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(960px, 92vw); max-height: 80vh; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: #041526; font-size: 1.6rem; cursor: pointer;
}
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 64px; }
.error-page { min-height: 70svh; display: grid; place-items: center; padding: 8rem 0 4rem; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
[data-parallax] { will-change: transform; }

@keyframes logoIn { from { opacity: 0; transform: scale(.88); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes ringFade { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .2; } }
@keyframes softPulse {
  0%, 100% { box-shadow: 0 8px 18px rgba(31,126,189,.22); }
  50% { box-shadow: 0 8px 22px rgba(31,126,189,.42); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,190,93,.0); }
  50% { box-shadow: 0 0 0 8px rgba(30,190,93,.16); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (min-width: 641px) {
  .review-card, .equip-card { flex: 0 0 calc((100% - 1rem) / 2); min-width: calc((100% - 1rem) / 2); }
}
@media (min-width: 981px) {
  .review-card, .equip-card { flex: 0 0 calc((100% - 2rem) / 3); min-width: calc((100% - 2rem) / 3); }
}

@media (max-width: 980px) {
  .cards-6, .cards-services, .cards-3, .gallery, .ba-grid, .about-grid, .schedule-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-actions { flex-wrap: wrap; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 1rem; flex-direction: column; gap: .8rem; box-shadow: var(--shadow);
  }
  .nav a { color: var(--navy); }
  .nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions .btn-sm:first-child { display: none; }
}

@media (max-width: 640px) {
  .cards-6, .cards-services, .cards-3, .ba-grid, .about-grid, .schedule-grid, .contact-grid, .footer-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .hero { place-items: center start; }
  .whatsapp-float { right: 12px; bottom: 12px; }
  .review-card, .equip-card { min-width: 100%; flex: 0 0 100%; }
  .cookie-banner { left: 12px; right: 12px; bottom: 80px; max-width: none; flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
  .contact-actions { flex-wrap: wrap; }
  .contact-actions .btn { flex: 1 1 100%; }
  .fortes-credit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .brand-track { animation: none; }
}
