:root {
  --ink: #072033;
  --muted: #4a6678;
  --bg: #e7f6ff;
  --white: #ffffff;
  --blue: #0a7dff;
  --deep: #04325c;
  --sun: #ffe566;
  --line: rgba(7, 32, 51, 0.08);
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --radius: 28px;
  --shadow: 0 18px 40px rgba(4, 50, 92, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
.faq details {
  scroll-margin-top: 5rem;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% -10%, #fff4b8 0%, transparent 55%),
    radial-gradient(700px 380px at -10% 20%, #c9ecff 0%, transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--deep);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 100;
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(231, 246, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mark-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 3.2rem) 0 clamp(1.6rem, 4vw, 2.8rem);
}

.chip {
  display: inline-flex;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.mark {
  background: var(--sun);
  border-radius: 0.18em;
  padding: 0 0.12em;
  box-decoration-break: clone;
}

.lede {
  max-width: 38ch;
  margin: 1.1rem 0 1.4rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--blue);
  color: #fff;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(10, 125, 255, 0.28);
}

.btn:hover {
  background: var(--deep);
}

.btn.ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.btn.ghost:hover {
  background: var(--sun);
}

.btn.sun {
  background: var(--sun);
  color: var(--ink);
  box-shadow: none;
}

.btn.sun:hover {
  background: #fff;
}

.hero-frame {
  position: relative;
  margin: 0;
  border-radius: 36px;
  overflow: hidden;
  min-height: 520px;
  height: min(68vh, 640px);
  background: #d5ecf8;
  box-shadow: 18px 18px 0 var(--sun), var(--shadow);
}

.hero-frame img {
  object-position: 50% 62%;
}

.hero-frame figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.marquee {
  overflow: hidden;
  background: var(--sun);
  color: var(--ink);
  border-top: 1px solid rgba(7, 32, 51, 0.06);
  border-bottom: 1px solid rgba(7, 32, 51, 0.06);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 28s linear infinite;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: -0.03em;
}

.marquee span {
  padding: 0.75rem 1.1rem;
}

.services,
.works,
.seo,
.faq {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.services {
  padding: clamp(2.4rem, 6vw, 4rem) 0 0.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head h2,
.seo h2,
.faq h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.section-head p {
  margin: 0;
  max-width: 28ch;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 220px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card.sun {
  background: var(--sun);
}

.card .n {
  font-family: var(--display);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.04em;
}

.card.sun .n {
  color: var(--ink);
}

.card strong {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.card span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.card.sun span:last-child {
  color: #3d4d12;
}

.works {
  padding: clamp(2.4rem, 6vw, 4.2rem) 0 1rem;
}

.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-template-rows: 250px 250px 280px;
  gap: 0.85rem;
}

.shot {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #d5ecf8;
  min-height: 0;
}

.shot img {
  transition: transform 0.6s ease;
}

.shot:hover img {
  transform: scale(1.05);
}

.shot figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.shot-spa {
  grid-column: 1 / span 2;
}

.shot-pool {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.shot-doble {
  grid-column: 1 / span 3;
}

.shot-doble img {
  object-position: center 62%;
}

.shot-amarillo img {
  object-position: center 78%;
}

.band {
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  padding: clamp(2rem, 6vw, 3.5rem);
  border-radius: 36px;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(255, 229, 102, 0.35), transparent 60%),
    var(--deep);
  color: #fff;
}

.band p {
  margin: 0;
  max-width: 14ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.band .btn {
  margin-top: 1.4rem;
}

.seo,
.faq {
  padding: clamp(2.2rem, 5vw, 3.4rem) 0 0.4rem;
}

.seo p,
.faq p {
  max-width: 68ch;
  color: var(--muted);
}

.seo a {
  color: var(--blue);
  font-weight: 600;
}

.faq details {
  background: var(--white);
  border-radius: 18px;
  padding: 0.95rem 1.1rem;
  margin: 0 0 0.6rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.7rem 0 0.15rem;
}

.contact {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.2rem auto 0;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: var(--white);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.contact .chip {
  margin-bottom: 0.4rem;
}

.giant {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--blue);
}

.place {
  margin: 0.45rem 0 1.1rem;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1ebe5d;
  color: #fff;
  box-shadow: 0 12px 28px rgba(16, 140, 70, 0.35);
}

.wa svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 220px 220px 240px;
  }

  .shot-spa,
  .shot-pool,
  .shot-doble {
    grid-column: auto;
    grid-row: auto;
  }

  .shot-pool {
    grid-column: 1 / span 2;
    min-height: 320px;
  }

  .shot-doble {
    grid-column: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0.7rem;
    right: 0.7rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.8rem;
    border-radius: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(1180px, calc(100% - 1.4rem));
  }

  .hero-frame {
    order: -1;
    height: 62vw;
    min-height: 280px;
    border-radius: 28px;
    box-shadow: 10px 10px 0 var(--sun);
  }

  .hero h1 {
    max-width: none;
  }

  .cards,
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .shot,
  .shot-pool,
  .shot-doble,
  .shot-spa {
    grid-column: auto;
    height: 280px;
    min-height: 0;
  }

  .shot-pool {
    height: 380px;
  }

  .section-head,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .band,
  .contact,
  .services,
  .works,
  .seo,
  .faq,
  footer {
    width: min(1180px, calc(100% - 1.4rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .shot img,
  .card { transition: none; }
}
