/* =========================================================
   Alla Tomba di Giulietta — B&B Verona
   Design system: azure / navy, editorial serif + clean sans
   ========================================================= */

:root {
  --navy: #0f2342;
  --navy-2: #16335c;
  --azure: #2b9fe0;
  --azure-2: #38bdf8;
  --azure-light: #7dd3fc;
  --azure-pale: #eef8fd;
  --azure-pale-2: #e2f2fb;
  --ink: #17233a;
  --muted: #5c6b80;
  --muted-2: #8394a8;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --border: #e3ecf3;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(15, 35, 66, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 35, 66, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 35, 66, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { line-height: 1.7; color: var(--muted); margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--azure-light);
  display: inline-block;
}

.section {
  padding: 96px 0;
}
.section--soft { background: var(--bg-soft); }
.section--navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #b9c8dc; }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
.section-head p { margin-top: 16px; font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--azure-2), var(--azure));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(43, 159, 224, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(43, 159, 224, 0.45); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-navy {
  background: transparent;
  border-color: rgba(15,35,66,0.18);
  color: var(--navy);
}
.btn-outline-navy:hover { border-color: var(--azure); color: var(--azure); }
.btn svg { width: 16px; height: 16px; }

/* =================== HEADER =================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; transition: filter .3s ease; }
.site-header:not(.is-scrolled) .brand img.logo-dark { display: none; }
.site-header.is-scrolled .brand img.logo-light { display: none; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.site-header.is-scrolled .main-nav a { color: var(--navy); }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--azure);
  transition: right .3s ease;
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
}
.lang-switch a {
  padding: 5px 9px; border-radius: 6px; color: var(--white); opacity: 0.6;
  transition: opacity .3s ease, background .3s ease, color .3s ease;
}
.site-header.is-scrolled .lang-switch a { color: var(--navy); }
.lang-switch a.active { opacity: 1; background: rgba(255,255,255,0.16); }
.site-header.is-scrolled .lang-switch a.active { background: var(--azure-pale); color: var(--azure); }
.lang-switch span { opacity: 0.4; font-size: 11px; }
.site-header.is-scrolled .lang-switch span { color: var(--muted-2); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.14);
  cursor: pointer;
  position: relative;
}
.site-header.is-scrolled .nav-toggle { background: var(--azure-pale); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle::before,
.site-header.is-scrolled .nav-toggle::after { background: var(--navy); }
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 25px; }
.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }
.nav-open .nav-toggle span { opacity: 0; }

.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 400;
  background: var(--navy);
  flex-direction: column;
  padding: 110px 32px 40px;
  transform: translateX(100%);
  transition: transform .4s ease;
}

/* =================== HERO =================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,42,0.35) 0%, rgba(10,22,42,0.30) 40%, rgba(8,18,36,0.86) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 0 96px;
}
.hero-logo { height: 92px; width: auto; margin-bottom: 26px; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35)); }
.hero-content .eyebrow { color: var(--azure-light); }
.hero-content .eyebrow::before { background: var(--azure-light); }
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.08;
  max-width: 820px;
  text-wrap: balance;
}
.hero p.lead {
  color: #dbe7f4;
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 560px;
  margin-top: 20px;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; z-index: 2; right: 28px; bottom: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #cddcec; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(#7dd3fc, transparent); animation: scrollpulse 2s infinite; }
@keyframes scrollpulse { 0%{opacity:.3} 50%{opacity:1} 100%{opacity:.3} }

.hero-dots { position: absolute; z-index: 2; left: 28px; bottom: 34px; display: flex; gap: 9px; }
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.7);
  background: transparent; cursor: pointer; padding: 0;
  transition: background .3s ease, width .3s ease;
}
.hero-dots button.is-active { background: var(--azure-light); width: 22px; border-radius: 6px; border-color: var(--azure-light); }

/* =================== INTRO / ABOUT =================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media .frame-1 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about-media .frame-1 img { width: 100%; height: 100%; object-fit: cover; }
.about-media .frame-2 {
  position: absolute; width: 52%; aspect-ratio: 4/3;
  right: -8%; bottom: -10%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-lg);
}
.about-media .frame-2 img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; top: -22px; left: -22px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  z-index: 3;
}
.about-badge strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--navy); line-height: 1; }
.about-badge span { font-size: 12px; color: var(--muted-2); letter-spacing: 0.03em; }
.about-badge .ico { color: var(--azure); flex-shrink: 0; }

.about-text p { font-size: 16.5px; margin-top: 18px; }
.about-text p:first-of-type { margin-top: 0; }

.usp-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.usp {
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.usp:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--azure-light); }
.usp .ico { color: var(--azure); margin-bottom: 12px; }
.usp .ico svg { width: 24px; height: 24px; }
.usp strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.usp span { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; display: block; }

/* =================== GALLERY =================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .tag {
  position: absolute; left: 12px; bottom: 12px;
  color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(15,35,66,0.55); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }
.gallery-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,35,66,0.55) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover::before { opacity: 1; }

.gallery-item.span-2-2 { grid-column: span 2; grid-row: span 2; }
.gallery-item.span-2-1 { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,16,30,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 88vw; max-height: 80vh; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-caption { text-align: center; color: #cfe0f0; margin-top: 16px; font-size: 14px; letter-spacing: .02em; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* =================== AMENITIES =================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.amenity {
  background: var(--white);
  padding: 30px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s ease;
}
.amenity:hover { background: var(--azure-pale); }
.amenity .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--azure-pale-2); color: var(--azure);
  display: flex; align-items: center; justify-content: center;
}
.amenity:hover .ico { background: var(--azure); color: #fff; }
.amenity .ico svg { width: 22px; height: 22px; }
.amenity strong { font-size: 14.5px; color: var(--navy); }
.amenity span { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }

/* =================== VIRTUAL TOUR =================== */
.tour-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy);
}
.tour-wrap iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.tour-note {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px; padding: 16px 20px;
  background: var(--azure-pale); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--navy);
}
.tour-note .ico { color: var(--azure); flex-shrink: 0; }

/* =================== LOCATION =================== */
.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: stretch;
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}
.location-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15); }
.location-address {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 30px;
}
.location-address .ico { color: var(--azure-light); flex-shrink: 0; margin-top: 3px; }
.location-address strong { display: block; color: var(--white); font-size: 17px; margin-bottom: 4px; }
.location-address span { color: #b9c8dc; font-size: 14.5px; }

.poi-list { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.poi-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.10);
  font-size: 14.5px;
}
.poi-item:first-child { padding-top: 0; }
.poi-item .name { color: #e7eef7; font-weight: 500; }
.poi-item .dist { color: var(--azure-light); font-weight: 600; font-size: 13px; white-space: nowrap; margin-left: 16px; }

/* =================== CTA BAND =================== */
.cta-band {
  background: linear-gradient(120deg, var(--azure-2), var(--azure) 60%, #1f8fce);
  border-radius: var(--radius-lg);
  padding: 60px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(43,159,224,0.30);
}
.cta-band h3 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); max-width: 480px; }
.cta-band p { color: rgba(255,255,255,0.88); margin-top: 10px; }
.cta-band .btn-primary { background: #fff; color: var(--azure); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.cta-band .btn-primary:hover { color: #1f8fce; }

/* =================== FOOTER =================== */
.site-footer { background: var(--navy); color: #b9c8dc; padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { color: #93a6bd; font-size: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); }
.footer-col a, .footer-col p { display: block; color: #b9c8dc; font-size: 14.5px; margin-bottom: 11px; transition: color .25s ease; }
.footer-col a:hover { color: var(--azure-light); }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: #7f92a9; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: #9db2c9; }
.footer-bottom a:hover { color: var(--azure-light); }

/* =================== COOKIE BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 900;
  background: var(--navy);
  color: #dbe7f4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.cookie-banner.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cookie-banner p {
  color: #cddcec;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  flex: 1 1 420px;
}
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner .btn-outline-navy {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.cookie-banner .btn-outline-navy:hover { border-color: #fff; color: var(--azure-light); }
.cookie-banner .btn { padding: 11px 22px; font-size: 13.5px; white-space: nowrap; }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* =================== REVEAL ANIM =================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin: 0 auto 40px; }
  .usp-row { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions .lang-switch { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-primary { display: none; }
  .section { padding: 72px 0; }
  .cta-band { padding: 44px 30px; flex-direction: column; text-align: center; }
  .cta-band > div:first-child { display: flex; flex-direction: column; align-items: center; }

  /* Mobile nav drawer */
  .mobile-nav { display: flex; }
  .nav-open .mobile-nav { transform: translateX(0); }
  .mobile-nav a {
    color: #fff; font-family: var(--serif); font-size: 26px;
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .mobile-nav .lang-switch { margin-top: 30px; }
  .mobile-nav .lang-switch a { color: #fff; }
  .mobile-nav .btn-primary { margin-top: 30px; align-self: flex-start; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .usp-row { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.span-2-2 { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 64px; }
  .about-badge { position: static; margin-bottom: 18px; display: inline-flex; }
  .location-address strong { font-size: 16px; }
}
