:root {
  --navy: #030b66;
  --navy-deep: #02084e;
  --blue: #102692;
  --cyan: #17d5d2;
  --white: #ffffff;
  --muted: #d9def5;
  --line: rgba(153, 177, 255, 0.46);
  --container: 918px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 42%, rgba(16, 54, 190, 0.26), transparent 26rem),
    radial-gradient(circle at 78% 78%, rgba(11, 35, 148, 0.2), transparent 30rem),
    linear-gradient(180deg, #050c65 0%, #051274 58%, #02084d 100%);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, #14d7d2, #7af7f1);
  box-shadow: 0 0 12px rgba(20, 215, 210, 0.8);
  pointer-events: none;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy-deep);
  background: #fff;
  transform: translateY(-150%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.header-inner {
  width: min(calc(100% - 48px), 1180px);
  height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  align-self: start;
}

.kai-logo {
  display: block;
  object-fit: contain;
  overflow: visible;
  filter: drop-shadow(0 0 7px rgba(61, 117, 255, 0.8));
  transform-origin: 50% 12%;
  animation: logo-sway 4.8s ease-in-out infinite;
  will-change: transform;
}

.brand:hover .kai-logo,
.kai-logo--large:hover {
  animation-duration: 2.2s;
}

.kai-logo--small {
  width: 118px;
  height: 154px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 14px 0;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cyan);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  width: 100%;
}

.reservation-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 13px;
  background: rgba(4, 7, 30, 0.26);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease;
}

.reservation-pill:hover {
  border-color: var(--cyan);
  background: rgba(7, 19, 85, 0.7);
}

.reservation-pill svg,
.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 675px;
  overflow: hidden;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 10, 103, 0.99) 0%, rgba(3, 12, 105, 0.94) 23%, rgba(4, 10, 60, 0.46) 49%, rgba(2, 6, 28, 0.08) 74%),
    linear-gradient(0deg, rgba(2, 8, 72, 0.62) 0%, transparent 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 186px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 17px;
  font-weight: 500;
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(52px, 6.3vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  margin-top: 5px;
  color: var(--cyan);
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: 1.28em;
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 380px;
  margin: 25px 0 0;
  color: #f0f2ff;
  font-size: 15px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  gap: 17px;
  margin-top: 31px;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 50px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -35%;
  width: 28%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transform: rotate(20deg) translateX(-250%);
  transition: transform 650ms ease;
}

.button:hover::after {
  transform: rotate(20deg) translateX(650%);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #1ccac7, #14d8d0);
  box-shadow: 0 12px 28px rgba(13, 210, 207, 0.2);
}

.button--primary:hover {
  box-shadow: 0 15px 32px rgba(13, 210, 207, 0.3);
}

.button--outline {
  min-width: 162px;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(9, 11, 63, 0.25);
}

.button--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
}

.quick-info {
  position: relative;
  z-index: 5;
  min-height: 180px;
  margin-top: -47px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.04fr 0.9fr 0.92fr 1.25fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(12, 37, 142, 0.96), rgba(15, 34, 130, 0.92));
  box-shadow: 0 18px 50px rgba(0, 2, 44, 0.3);
}

.info-card {
  display: block;
  padding: 0 26px;
  border-radius: 10px;
  transition: transform 220ms ease, background 220ms ease;
}

.info-card:hover {
  z-index: 2;
  background: rgba(39, 83, 202, 0.22);
  transform: translateY(-5px);
}

.info-card:hover .info-icon {
  color: var(--cyan);
  stroke: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(23, 213, 210, .55));
}

.info-card:first-child {
  padding-left: 0;
}

.info-card:last-child {
  padding-right: 0;
}

.info-card + .info-card {
  border-left: 1px solid rgba(143, 170, 255, 0.24);
}

.info-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h2 {
  margin: 8px 0 3px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
}

.info-card p {
  margin: 0;
  color: #ecf0ff;
  font-size: 14px;
  line-height: 1.55;
}

.instagram {
  padding-top: 55px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.instagram-intro {
  padding: 0 12px 0 3px;
}

.instagram-intro h2 {
  margin: -6px 0 3px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.instagram-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.button--small {
  min-width: 0;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 21px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.12 / 1;
  border: 1px solid rgba(255, 211, 128, 0.62);
  border-radius: 11px;
  background: #07135f;
  cursor: zoom-in;
  transform: perspective(700px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  outline: none;
}

.photo-card::after {
  content: "Ver foto";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 8, 54, .66);
  backdrop-filter: blur(5px);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.photo-card:hover,
.photo-card:focus-visible {
  z-index: 2;
  border-color: var(--cyan);
  box-shadow: 0 15px 35px rgba(0, 3, 43, .42), 0 0 0 2px rgba(23, 213, 210, .14);
}

.photo-card:hover::after,
.photo-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-stats {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 18px;
  font-weight: 700;
}

.photo-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.photo-stats svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1.5;
}

.photo-stats i {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.7);
}

.about {
  min-height: 320px;
  padding-top: 48px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: 1.42fr 0.78fr 1fr;
  align-items: center;
  gap: 42px;
}

.about-copy {
  align-self: start;
  padding: 2px 0 0 4px;
}

.about-copy .eyebrow {
  margin-bottom: 5px;
  font-size: 18px;
}

.about-copy h2 {
  margin: 0 0 12px;
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.about-copy > p:last-child {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.kai-logo--large {
  width: 220px;
  height: 265px;
  justify-self: center;
}

.about-features {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #e9edff;
  font-size: 14px;
  line-height: 1.38;
}

.about-features span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.about-features li:hover span {
  color: var(--navy);
  background: var(--cyan);
  transform: rotate(-8deg) scale(1.08);
}

.about-features svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  border-top: 1px solid rgba(143, 170, 255, .22);
  color: #cfd6fa;
  background: rgba(1, 6, 54, .46);
}

.footer-inner {
  min-height: 116px;
  padding-block: 24px;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}

.footer-inner p,
.footer-inner address {
  margin: 0;
}

.footer-inner address {
  font-style: normal;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
  color: var(--cyan);
  white-space: nowrap;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.72,.25,1);
}

.js-ready .reveal.reveal--left {
  transform: translateX(-34px);
}

.js-ready .reveal.reveal--right {
  transform: translateX(34px);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.lightbox {
  width: min(92vw, 820px);
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(109, 242, 239, .64);
  border-radius: 16px;
  color: #fff;
  background: #03094b;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}

.lightbox::backdrop {
  background: rgba(0, 3, 34, .86);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 15px 15px 0 0;
}

.lightbox figcaption {
  padding: 13px 20px 16px;
  color: #e5e9ff;
  text-align: center;
  font-size: 14px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  color: #fff;
  background: rgba(3, 9, 75, .82);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: scale(1.08);
}

.lightbox-close {
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 44px;
  height: 56px;
  border-radius: 12px;
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: -58px;
}

.lightbox-next {
  right: -58px;
}

@keyframes logo-sway {
  0%, 100% { transform: rotate(-2.4deg) translateY(0); }
  50% { transform: rotate(2.4deg) translateY(2px); }
}

@keyframes hero-breathe {
  0%, 100% { transform: scale(1.01); }
  50% { transform: scale(1.045); }
}

.hero-photo {
  animation: hero-breathe 16s ease-in-out infinite;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 120px 1fr auto;
    gap: 14px;
  }

  .main-nav {
    gap: 17px;
    font-size: 13px;
  }

  .about {
    grid-template-columns: 1.25fr 0.7fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 880px) {
  .reservation-pill span {
    display: none;
  }

  .reservation-pill {
    width: 46px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 780px) {
  .container,
  .header-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    height: 82px;
    display: flex;
    justify-content: space-between;
  }

  .kai-logo--small {
    width: 80px;
    height: 108px;
  }

  .nav-toggle {
    position: fixed;
    top: 18px;
    right: 16px;
    z-index: 30;
    width: 44px;
    height: 44px;
    padding: 10px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 10px;
    color: #fff;
    background: rgba(3, 9, 69, .65);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms 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);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    padding: 100px 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 5px;
    background: rgba(2, 7, 63, 0.98);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 18px;
  }

  .main-nav a::after {
    display: none;
  }

  .reservation-pill {
    margin-left: auto;
  }

  .hero {
    min-height: 710px;
  }

  .hero-photo {
    object-position: 75% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 10, 94, .94), rgba(3, 9, 62, .42)),
      linear-gradient(0deg, rgba(2, 8, 72, .82), transparent 40%);
  }

  .hero-content {
    padding-top: 152px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(43px, 9vw, 60px);
  }

  .hero-copy {
    max-width: 410px;
  }

  .quick-info {
    margin-top: -38px;
    padding: 25px;
    grid-template-columns: 1fr 1fr;
    gap: 26px 0;
  }

  .info-card:nth-child(3) {
    border-left: 0;
  }

  .info-card {
    padding: 0 18px;
  }

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

  .instagram-intro {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about {
    grid-template-columns: 1fr 0.6fr;
  }

  .about-features {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .footer-inner nav {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .reservation-pill {
    display: none;
  }

  .hero {
    min-height: 755px;
  }

  .hero-content {
    padding-top: 150px;
  }

  .js-ready .hero-content .reveal {
    opacity: 1;
    transform: none;
  }

  .eyebrow {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 55px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .quick-info {
    padding: 25px 22px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .info-card {
    padding: 20px 0;
  }

  .info-card:first-child {
    padding-top: 0;
  }

  .info-card:last-child {
    padding-bottom: 0;
  }

  .info-card + .info-card {
    border-top: 1px solid rgba(143, 170, 255, 0.24);
    border-left: 0;
  }

  .instagram {
    padding-top: 42px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .instagram-intro {
    min-height: auto;
    padding: 0 2px 20px;
  }

  .instagram-intro p br {
    display: none;
  }

  .instagram-intro .button {
    width: fit-content;
  }

  .photo-card {
    aspect-ratio: 1.25 / 1;
  }

  .about {
    padding-top: 45px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-copy > p:last-child {
    margin-inline: auto;
  }

  .kai-logo--large {
    width: 180px;
    height: 220px;
  }

  .about-features {
    grid-column: auto;
    grid-template-columns: 1fr;
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .lightbox {
    width: calc(100vw - 28px);
  }

  .lightbox-nav {
    top: auto;
    bottom: -58px;
    transform: none;
  }

  .lightbox-nav:hover {
    transform: scale(1.08);
  }

  .lightbox-prev {
    left: calc(50% - 52px);
  }

  .lightbox-next {
    right: calc(50% - 52px);
  }
}

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