*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1a2e44;
  --coral:  #D94F2A;
  --amber:  #E8951A;
  --sand:   #F5EDD8;
  --ocean:  #0D7B8A;
  --white:  #FAFAF8;
  --text:   #1a2e44;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(26, 46, 68, 0.65);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo img {
  height: 48px;
  /* filter: brightness(0) invert(1); */
}

.nav-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 14px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--amber); }

.nav-links a.active {
  color: var(--amber);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

/* ── NAV BURGER ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── MOBILE MENU PANEL ── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: rgba(26,46,68,0.97);
  backdrop-filter: blur(14px);
  padding: 8px 0 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  width: 100%;
  text-align: center;
  transition: color 0.2s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active { color: var(--amber); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2.5px);
  opacity: 1;
  transition: opacity 2s ease;
}

.hero-bg.hidden {
  opacity: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
  filter: blur(0.5px);
}

.hero-image.show {
  opacity: 1;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 40%,
    rgba(26, 46, 68, 0.5) 100%
  );
  opacity: 0;
  transition: opacity 2.5s ease;
  pointer-events: none;
}

.hero-fade.show {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,46,68,0.65) 0%,
    rgba(13,123,138,0.30) 60%,
    rgba(26,46,68,0.20) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  animation: fadeUp 1s ease both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 40px;
  letter-spacing: 0.03em;
  transition: background 0.25s, transform 0.2s;
}

.hero-cta:hover {
  background: #c04020;
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-scroll.hidden {
  opacity: 0;
  visibility: hidden;
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

/* ── INTRO ── */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
}

.intro-img {
  position: relative;
  overflow: hidden;
}

.intro-img img,
.intro-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.intro-img:hover img,
.intro-img:hover video { transform: scale(1.04); }

.intro-text {
  background: var(--navy);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.intro-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.intro-text p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── ESPERIENZE ── */
.esperienze {
  background: var(--sand);
  padding: 100px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}

.esperienze-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.card-esperienza {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(26,46,68,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-esperienza:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(26,46,68,0.16);
}

.card-img {
  height: 240px;
  overflow: hidden;
}

.card-img img,
.card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-esperienza:hover .card-img img,
.card-esperienza:hover .card-img video { transform: scale(1.06); }

.card-body {
  padding: 32px 28px;
}

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.tag-day { background: #E8F5F7; color: var(--ocean); }
.tag-night { background: #FDF0E6; color: var(--coral); }
.tag-exclusive { background: #F0EDF7; color: #5C3D99; }

.card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.card-body p {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.75;
  margin-bottom: 20px;
}

.card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.detail-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  background: var(--sand);
  padding: 6px 14px;
  border-radius: 20px;
}

/* ── GALLERY ── */
.gallery {
  padding: 80px 40px;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 12px;
  max-width: 1200px;
  margin: 48px auto 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.5s ease, filter 0.3s;
  filter: brightness(0.95);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.g1 { grid-column: 1 / 6; grid-row: 1 / 2; object-position: center center; }
.g2 { grid-column: 6 / 9; grid-row: 1 / 2; object-position: center 60%; }
.g3 { grid-column: 9 / 13; grid-row: 1 / 3; object-position: center 65%; }
.g4 { grid-column: 1 / 4; grid-row: 2 / 3; object-position: center 40%; }
.g5 { grid-column: 4 / 9; grid-row: 2 / 3; object-position: center 20%; }

/* ── CONTATTI ── */
.contatti {
  background: var(--navy);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contatti::before {
  content: 'Niña';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 280px;
  font-weight: 600;
  color: rgba(255,255,255,0.03);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.contatti .section-label { margin-bottom: 20px; }

.contatti h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contatti h2 em {
  font-style: italic;
  color: var(--amber);
}

.contatti-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 36px;
  border-radius: 40px;
  transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  padding: 16px 36px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.25s, color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  background: #0f1d2c;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer img {
  height: 36px;
  /* filter: brightness(0) invert(1); */
  opacity: 0.6;
}

.footer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-instagram {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-instagram:hover {
  color: #fff;
}

.footer-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.footer-privacy:hover {
  color: rgba(255,255,255,0.6);
}

.footer-cookie-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 29, 44, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.cookie-banner-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  min-width: 200px;
  margin-bottom: 0;
}

.cookie-banner-text a {
  color: var(--amber);
  text-decoration: none;
}
.cookie-banner-text a:hover {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--coral);
  color: #fff;
}
.cookie-btn-accept:hover {
  background: #c04020;
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-btn-reject:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-1px);
}

.cookie-btn-customize {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-btn-customize:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Cookie preference panel ── */
.cookie-prefs {
  width: 100%;
}

.cookie-prefs-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cookie-pref-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-pref-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.cookie-pref-desc {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

.cookie-always-on {
  font-size: 11px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle span {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  transition: background 0.25s;
}

.cookie-toggle span::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.cookie-toggle input:checked + span {
  background: var(--coral);
}

.cookie-toggle input:checked + span::before {
  transform: translateX(20px);
}

.cookie-prefs-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 16px;
}

@media (max-width: 900px) {
  .cookie-banner-inner {
    padding: 16px 24px;
    gap: 16px;
  }
  .cookie-banner-actions {
    flex-wrap: wrap;
  }
  .cookie-pref-row {
    gap: 16px;
  }
  .footer-links { align-items: center; }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, bottom 0.1s linear;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 79, 42, 0.3);
}

.back-to-top:hover {
  background: #c04020;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(217, 79, 42, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── FAQ ── */
.faq {
  padding: 96px 40px;
  max-width: 820px;
  margin: 0 auto;
}

.faq .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(26,46,68,0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(26,46,68,0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 22px 4px;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--ocean); }

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--ocean);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-answer.open {
  max-height: 400px;
}

.faq-answer > p {
  padding: 4px 4px 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(26,46,68,0.75);
}

.faq-answer > p a {
  color: var(--ocean);
  text-decoration: none;
}

.faq-answer > p a:hover {
  text-decoration: underline;
}


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-menu { display: flex; }
  .nav-tagline { display: none; }

  .intro {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .intro-img { height: 300px; }
  .intro-text { padding: 48px 32px; }

  .esperienze { padding: 64px 24px; }

  .gallery { padding: 64px 24px; }

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

  .g1, .g2, .g3, .g4, .g5 {
    grid-column: auto;
    grid-row: auto;
    height: 200px;
  }

  .g3 { grid-column: span 2; }

  .contatti { padding: 72px 24px; }

  .faq { padding: 64px 24px; }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
