/* Bagno Lido Blu — Shared Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Raleway:wght@200;300;400;500;600&display=swap');

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

:root {
  --sand:        #F5EDD8;
  --sand-dark:   #E8D9B8;
  --ocean:       #0D4A6B;
  --ocean-mid:   #1A6B9A;
  --ocean-light: #3A9FCC;
  --ocean-pale:  #D6EDF5;
  --seafoam:     #7EC8C8;
  --white:       #FDFAF5;
  --charcoal:    #1C1C1C;
  --charcoal-lt: #3A3A3A;
  --gold:        #C9963A;
  --gold-light:  #E8C06A;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background .4s, backdrop-filter .4s, padding .4s;
}
nav.scrolled {
  background: rgba(253,250,245,.94);
  backdrop-filter: blur(14px);
  padding: .8rem 4rem;
  border-bottom: 1px solid rgba(13,74,107,.12);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 500;
  color: var(--white); letter-spacing: .04em;
  text-decoration: none; transition: color .4s;
}
nav.scrolled .nav-logo { color: var(--ocean); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .78rem; font-weight: 300;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(253,250,245,.85); text-decoration: none;
  transition: color .3s;
}
nav.scrolled .nav-links a { color: var(--charcoal-lt); }
.nav-links a:hover { color: var(--gold-light); }
nav.scrolled .nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold-light); }
nav.scrolled .nav-links a.active { color: var(--gold); }
.nav-cta {
  font-size: .75rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(255,255,255,.5);
  padding: .55rem 1.4rem; text-decoration: none; transition: all .3s;
}
nav.scrolled .nav-cta { color: var(--ocean); border-color: var(--ocean); }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--white) !important; }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: .4rem; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: all .3s;
}
nav.scrolled .hamburger span { background: var(--charcoal); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO (home full-screen) ─── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, #0D2B3E 0%, #0D4A6B 35%, #1A6B9A 65%, #3A9FCC 100%);
}
.hero-texture {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,150,58,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(126,200,200,.12) 0%, transparent 50%);
}
.hero-waves {
  position: absolute; bottom: 0; left: 0; right: 0; height: 160px; overflow: hidden;
}
.hero-waves svg { position: absolute; bottom: 0; width: 200%; animation: waveMove 12s linear infinite; }
.hero-waves svg:nth-child(2) { animation-delay: -6s; opacity: .5; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 2rem; animation: fadeUp 1.2s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 300;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.5rem;
  padding-bottom: .5rem; border-bottom: 1px solid rgba(232,192,106,.4);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 300;
  line-height: 1.05; color: var(--white);
  margin-bottom: .3rem; letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 300; font-style: italic;
  color: rgba(253,250,245,.7); margin-top: 1.2rem; margin-bottom: 3rem;
  letter-spacing: .04em;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 11rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 2; animation: fadeUp 1.2s .8s ease both;
}
.hero-scroll span { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(253,250,245,.5); }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(253,250,245,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:.5; height:40px; } 50% { opacity:1; height:56px; } }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  min-height: 52vh; position: relative;
  display: flex; align-items: flex-end; overflow: hidden;
  padding: 0 4rem 5rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, #0D2B3E 0%, #0D4A6B 40%, #1A6B9A 80%, #3A9FCC 100%);
}
.page-hero-texture {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(201,150,58,.1) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(126,200,200,.12) 0%, transparent 50%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; }
.page-hero-content .breadcrumb {
  font-size: .68rem; font-weight: 300; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 1.2rem;
}
.page-hero-content .breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; }
.page-hero-content .breadcrumb a:hover { color: var(--gold-light); }
.page-hero-content .eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 300;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1rem;
  padding-bottom: .4rem; border-bottom: 1px solid rgba(232,192,106,.35);
}
.page-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300;
  line-height: 1.08; color: var(--white); letter-spacing: -.01em;
}
.page-hero-content h1 em { font-style: italic; color: var(--gold-light); }
.page-hero-content .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300; font-style: italic;
  color: rgba(253,250,245,.65); margin-top: 1rem; max-width: 580px;
}

/* ─── SECTIONS BASE ─── */
section { padding: 7rem 4rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: .68rem; font-weight: 300;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ocean-mid); margin-bottom: .8rem;
}
h2.display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300;
  line-height: 1.1; color: var(--charcoal); letter-spacing: -.01em;
}
h2.display em { font-style: italic; color: var(--ocean); }
.body-text { font-size: 1rem; font-weight: 300; line-height: 1.8; color: #555; max-width: 580px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block; font-size: .75rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); background: var(--gold);
  padding: 1rem 2.5rem; text-decoration: none; transition: all .3s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  display: inline-block; font-size: .75rem; font-weight: 300;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ocean); border: 1px solid var(--ocean);
  padding: 1rem 2.5rem; text-decoration: none; transition: all .3s;
}
.btn-outline:hover { background: var(--ocean); color: var(--white); }
.btn-outline-white {
  display: inline-block; font-size: .75rem; font-weight: 300;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(255,255,255,.5);
  padding: 1rem 2.5rem; text-decoration: none; transition: all .3s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ─── INTRO SECTION ─── */
.intro { background: var(--sand); }
.intro-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center;
}
.intro-text h2 { margin-bottom: 1.5rem; }
.intro-text p { margin-bottom: 1rem; }
.intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(13,74,107,.08); }
.stat-card { background: var(--white); padding: 2.5rem 2rem; text-align: center; transition: background .3s; }
.stat-card:hover { background: var(--ocean); }
.stat-card:hover .stat-num,
.stat-card:hover .stat-label { color: var(--white); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: var(--ocean); line-height: 1; transition: color .3s; }
.stat-label { font-size: .72rem; font-weight: 300; letter-spacing: .15em; text-transform: uppercase; color: #888; margin-top: .5rem; transition: color .3s; }

/* ─── SERVICES GRID ─── */
.services { background: var(--charcoal); }
.services .section-label { color: var(--gold-light); }
.services h2.display { color: var(--white); }
.services-grid {
  margin-top: 4rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.05);
}
.service-card {
  background: var(--charcoal); padding: 3rem 2.5rem;
  border: 1px solid rgba(255,255,255,.05);
  transition: background .4s; cursor: default;
}
.service-card:hover { background: #252525; }
.service-icon { width: 48px; height: 48px; margin-bottom: 1.8rem; color: var(--gold); }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400;
  color: var(--white); margin-bottom: 1rem;
}
.service-card p { font-size: .88rem; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,.5); }
.service-link {
  display: inline-block; margin-top: 1.5rem; font-size: .7rem; font-weight: 300;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light);
  text-decoration: none; border-bottom: 1px solid rgba(232,192,106,.3);
  padding-bottom: .2rem; transition: border-color .3s;
}
.service-link:hover { border-color: var(--gold-light); }

/* ─── TEASER CARDS (homepage teasers) ─── */
.teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.teaser-card {
  position: relative; overflow: hidden;
  background: var(--sand); aspect-ratio: 4/3; cursor: pointer;
}
.teaser-card-bg { position: absolute; inset: 0; transition: transform .6s ease; }
.teaser-card:hover .teaser-card-bg { transform: scale(1.04); }
.bg-ocean-1 { background: linear-gradient(135deg, #1A6B9A 0%, #0D2B3E 100%); }
.bg-ocean-2 { background: linear-gradient(135deg, #0D4A6B 0%, #3A9FCC 100%); }
.bg-ocean-3 { background: linear-gradient(135deg, #3A9FCC 0%, #7EC8C8 100%); }
.bg-ocean-4 { background: linear-gradient(135deg, #7EC8C8 0%, #1A6B9A 100%); }
.bg-sand-1  { background: linear-gradient(135deg, #C9963A 0%, #8B5E1A 100%); }
.bg-sand-2  { background: linear-gradient(135deg, #E8C06A 0%, #C9963A 100%); }
.teaser-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 2rem;
}
.teaser-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--white); margin-bottom: .4rem; }
.teaser-info p { font-size: .8rem; font-weight: 300; color: rgba(255,255,255,.7); letter-spacing: .06em; }
.teaser-tag {
  position: absolute; top: 1.5rem; right: 1.5rem; font-size: .65rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light);
  border: 1px solid rgba(232,192,106,.5); padding: .35rem .8rem;
}
.teaser-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

/* ─── APARTMENTS PAGE ─── */
.apt-detail {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  margin-bottom: 4rem;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.apt-block:nth-child(even) .apt-detail { direction: rtl; }
.apt-block:nth-child(even) .apt-detail > * { direction: ltr; }
.apt-visual {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
}
.apt-visual-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s; }
.apt-detail:hover .apt-visual-bg { transform: scale(1.03); }
.apt-visual-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; font-size: .65rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light);
  border: 1px solid rgba(232,192,106,.5); padding: .35rem .9rem;
  background: rgba(0,0,0,.3);
}
.apt-info { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.apt-info h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300;
  color: var(--ocean); margin-bottom: 1rem;
}
.apt-info .desc { font-size: .95rem; font-weight: 300; line-height: 1.8; color: #555; margin-bottom: 1.8rem; }
.apt-specs { display: flex; gap: 2rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.apt-spec { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.apt-spec-val { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--ocean); line-height: 1; }
.apt-spec-key { font-size: .65rem; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: #999; }
.apt-amenities { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.amenity-tag {
  font-size: .7rem; font-weight: 300; letter-spacing: .06em;
  color: var(--ocean-mid); border: 1px solid var(--ocean-pale);
  background: var(--ocean-pale); padding: .3rem .9rem;
}

/* ─── APARTMENT TEASER HOMEPAGE ─── */
.apt-teaser-wrap { background: linear-gradient(to bottom, #050F19 0%, #0D2B3E 100%); }
.apt-teaser-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap;
}
.apt-avail-badge {
  font-size: .65rem; font-weight: 300; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light); border: 1px solid rgba(232,192,106,.4);
  padding: .55rem 1.3rem; white-space: nowrap; flex-shrink: 0;
}
.apt-teaser-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3px; height: 560px; }
.apt-teaser-featured {
  position: relative; overflow: hidden; display: block; text-decoration: none;
}
.apt-teaser-featured-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.apt-teaser-featured:hover .apt-teaser-featured-bg { transform: scale(1.04); }
.apt-teaser-side { display: flex; flex-direction: column; gap: 3px; }
.apt-teaser-small {
  flex: 1; position: relative; overflow: hidden; display: block; text-decoration: none;
}
.apt-teaser-small-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.apt-teaser-small:hover .apt-teaser-small-bg { transform: scale(1.06); }
.apt-teaser-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.80) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem; z-index: 1;
}
.apt-teaser-overlay h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 300;
  color: var(--white); margin-bottom: .35rem;
}
.apt-teaser-overlay-sm h3 { font-size: 1.05rem; }
.apt-teaser-overlay p { font-size: .78rem; font-weight: 300; color: rgba(255,255,255,.65); letter-spacing: .05em; }
.apt-teaser-tag {
  position: absolute; top: 1.5rem; left: 1.5rem; z-index: 2;
  font-size: .62rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-light); border: 1px solid rgba(232,192,106,.5);
  padding: .32rem .8rem; background: rgba(0,0,0,.35);
}

/* ─── APARTMENT BLOCK + GALLERY ─── */
.apt-block { margin-bottom: 4rem; }
.apt-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 3px; }
.apt-gallery-thumb {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  overflow: hidden; transition: opacity .3s; cursor: pointer;
}
.apt-gallery-thumb:hover { opacity: .85; }

/* ─── EXCURSIONS PAGE ─── */
.exc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 4rem; }
.exc-card {
  background: var(--white); border: 1px solid var(--sand-dark);
  padding: 0; overflow: hidden; transition: box-shadow .3s;
}
.exc-card:hover { box-shadow: 0 8px 40px rgba(13,74,107,.12); }
.exc-card-top {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--sand-dark);
}
.exc-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; color: var(--ocean); }
.exc-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--charcoal); margin-bottom: .8rem; }
.exc-card p { font-size: .88rem; font-weight: 300; line-height: 1.7; color: #666; }
.exc-card-meta { padding: 1.5rem 2.5rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.exc-meta-item { display: flex; flex-direction: column; gap: .2rem; }
.exc-meta-val { font-size: .82rem; font-weight: 400; color: var(--charcoal); }
.exc-meta-key { font-size: .62rem; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: #aaa; }
.exc-difficulty {
  display: inline-block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: 999px; font-weight: 400;
}
.diff-easy   { background: #e8f5e9; color: #2e7d32; }
.diff-medium { background: #fff3e0; color: #e65100; }
.diff-hard   { background: #fce4ec; color: #c62828; }

/* ─── SERVICES DETAIL PAGE ─── */
.service-detail-card {
  background: var(--white); margin-bottom: 1px;
  display: grid; grid-template-columns: 80px 1fr; gap: 0;
  border: 1px solid var(--sand-dark); transition: background .3s;
}
.service-detail-card:hover { background: var(--ocean-pale); }
.service-detail-icon {
  background: var(--ocean); display: flex; align-items: center; justify-content: center;
  padding: 2rem; color: var(--white);
}
.service-detail-icon svg { width: 32px; height: 32px; }
.service-detail-body { padding: 2rem 2.5rem; }
.service-detail-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--ocean); margin-bottom: .6rem; }
.service-detail-body p { font-size: .9rem; font-weight: 300; line-height: 1.75; color: #555; }
.service-detail-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.service-detail-tag { font-size: .68rem; font-weight: 300; letter-spacing: .06em; color: var(--ocean-mid); border: 1px solid var(--ocean-pale); background: var(--ocean-pale); padding: .3rem .85rem; }

/* ─── RESTAURANT DETAIL ─── */
.restaurant { background: var(--ocean); position: relative; overflow: hidden; }
.rest-deco { position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.03); pointer-events: none; }
.rest-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
.rest-content .section-label { color: var(--seafoam); }
.rest-content h2.display { color: var(--white); }
.rest-content p { color: rgba(253,250,245,.7); margin-top: 1.5rem; }
.rest-features { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.2rem; }
.rest-feat { display: flex; align-items: center; gap: 1rem; font-size: .88rem; font-weight: 300; color: rgba(253,250,245,.8); letter-spacing: .04em; }
.rest-feat::before { content: ''; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }
.rest-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.rest-visual-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); padding: 2rem; text-align: center; }
.rest-visual-card .icon { font-size: 2rem; margin-bottom: .8rem; }
.rest-visual-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; color: var(--white); margin-bottom: .4rem; }
.rest-visual-card p { font-size: .78rem; font-weight: 300; color: rgba(255,255,255,.5); line-height: 1.5; }
.rest-photo-card {
  background-size: cover; background-position: center;
  aspect-ratio: 4/3; overflow: hidden; position: relative;
  transition: transform .5s ease;
}
.rest-photo-card:hover { transform: scale(1.03); }

/* ─── BEACH SECTION ─── */
.beach { background: var(--sand); }
.beach-header { margin-bottom: 4rem; max-width: 600px; }
.beach-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2px; }
.beach-main { background: var(--ocean); padding: 4rem; position: relative; overflow: hidden; }
.beach-main-deco { position: absolute; bottom: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.beach-main h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--white); margin-bottom: 1.5rem; }
.beach-main p { font-size: .9rem; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.8; }
.beach-extras { display: flex; flex-direction: column; gap: 2px; }
.beach-extra-card { background: var(--white); padding: 2.5rem 2rem; flex: 1; border-left: 3px solid transparent; transition: border-color .3s, background .3s; }
.beach-extra-card:hover { border-color: var(--ocean); background: var(--ocean-pale); }
.beach-extra-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--ocean); margin-bottom: .5rem; }
.beach-extra-card p { font-size: .82rem; font-weight: 300; color: #777; line-height: 1.6; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--charcoal); }
.testimonials .section-label { color: var(--gold-light); }
.testimonials h2.display { color: var(--white); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.test-card { background: #222; border: 1px solid rgba(255,255,255,.05); padding: 2.5rem; }
.test-stars { color: var(--gold); font-size: .85rem; letter-spacing: .15em; margin-bottom: 1.5rem; }
.test-card blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 300; font-style: italic; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 1.5rem; border: none; }
.test-author { font-size: .75rem; font-weight: 300; letter-spacing: .08em; color: rgba(255,255,255,.35); text-transform: uppercase; }

/* ─── CONTACT PAGE ─── */
.contact { background: var(--sand); }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.contact-detail { display: flex; gap: 1.5rem; align-items: flex-start; }
.detail-label { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ocean-mid); flex-shrink: 0; width: 90px; padding-top: 3px; }
.detail-value { font-size: .9rem; font-weight: 300; color: var(--charcoal); line-height: 1.5; }
.detail-value a { color: var(--ocean); text-decoration: none; }
.contact-form { background: var(--white); padding: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: #888; margin-bottom: .6rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--sand);
  border: 1px solid transparent; border-bottom-color: var(--sand-dark);
  padding: .8rem 1rem; font-family: 'Raleway', sans-serif;
  font-size: .9rem; font-weight: 300; color: var(--charcoal);
  transition: border-color .3s, background .3s; outline: none; resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { background: #fff; border-color: var(--ocean-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; background: var(--ocean); color: var(--white); border: none;
  padding: 1rem; font-family: 'Raleway', sans-serif; font-size: .75rem; font-weight: 400;
  letter-spacing: .15em; text-transform: uppercase; cursor: pointer; transition: background .3s;
}
.form-submit:hover { background: var(--ocean-mid); }

/* ─── FAQ ─── */
.faq { background: var(--white); }
.faq-list { max-width: 780px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--sand-dark); }
.faq-question {
  width: 100%; text-align: left; padding: 1.5rem 0;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 400;
  color: var(--charcoal); transition: color .3s;
}
.faq-question:hover { color: var(--ocean); }
.faq-arrow { width: 20px; height: 20px; color: var(--ocean); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer p { font-size: .9rem; font-weight: 300; line-height: 1.8; color: #666; padding-bottom: 1.5rem; }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--ocean); padding: 5rem 4rem; text-align: center;
}
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 300; color: var(--white); margin-bottom: .8rem; }
.cta-band h2 em { font-style: italic; color: var(--seafoam); }
.cta-band p { font-size: .95rem; font-weight: 300; color: rgba(255,255,255,.65); margin-bottom: 2.5rem; }
.cta-band .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── STORY ─── */
.story { background: var(--white); }
.story-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; }
.story-timeline { position: relative; padding-left: 2rem; }
.story-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--sand-dark); }
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2rem; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--ocean); transform: translateX(-50%); margin-left: 1px; }
.timeline-year { font-size: .68rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.timeline-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 500; color: var(--charcoal); margin-bottom: .3rem; }
.timeline-item p { font-size: .85rem; font-weight: 300; color: #888; line-height: 1.6; }
.families { margin-top: 2.5rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.family-tag { font-size: .78rem; font-weight: 300; letter-spacing: .08em; color: var(--ocean); border: 1px solid var(--ocean-pale); background: var(--ocean-pale); padding: .5rem 1.2rem; }

/* ─── FOOTER ─── */
footer { background: var(--charcoal); padding: 4rem 4rem 2.5rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 2rem;
}
.footer-brand .logo { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: .82rem; font-weight: 300; color: rgba(255,255,255,.4); line-height: 1.7; }
.footer-col h5 { font-size: .65rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.55); text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .75rem; font-weight: 300; color: rgba(255,255,255,.2); letter-spacing: .04em; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: .9rem; font-style: italic; color: rgba(255,255,255,.25); }

/* ─── SCROLL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .apt-detail { grid-template-columns: 1fr; }
  .apt-block:nth-child(even) .apt-detail { direction: ltr; }
  .exc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: .8rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(253,250,245,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--sand-dark); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 1rem 1.5rem; color: var(--charcoal-lt) !important; border-bottom: 1px solid var(--sand-dark); font-size: .85rem; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .page-hero { min-height: 44vh; padding: 0 1.5rem 3.5rem; }
  section, .services, .beach, .story, .testimonials, .contact, .restaurant, .intro, .faq, .cta-band { padding: 4rem 1.5rem !important; }
  footer { padding: 3rem 1.5rem 2rem; }

  .intro-inner { grid-template-columns: 1fr; gap: 3rem; }
  .rest-inner { grid-template-columns: 1fr; gap: 3rem; }
  .story-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-3col { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .beach-layout { grid-template-columns: 1fr; }
  .beach-extras { flex-direction: row; flex-wrap: wrap; }
  .beach-extra-card { flex: 1 1 calc(50% - 1px); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .exc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .apt-detail { grid-template-columns: 1fr; }
  .apt-block:nth-child(even) .apt-detail { direction: ltr; }
  .apt-teaser-grid { grid-template-columns: 1fr; height: auto; }
  .apt-teaser-featured { aspect-ratio: 16/9; }
  .apt-teaser-side { flex-direction: row; flex-wrap: wrap; }
  .apt-teaser-small { flex: 1 1 calc(33.33% - 2px); aspect-ratio: 4/3; }
  .apt-gallery { grid-template-columns: 1fr 1fr; }
  .rest-visual { grid-template-columns: 1fr 1fr; }

  /* ── Mobile utility classes for inline-styled grids ── */
  .mob-stack { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .mob-2col  { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }

  /* ── index.html – Scopri il territorio ── */
  #intro-exc { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

@media (max-width: 480px) {
  .beach-extra-card { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .apt-specs { gap: 1.2rem; }
  .rest-visual { grid-template-columns: 1fr; }
  .apt-teaser-small { flex: 1 1 calc(50% - 1.5px); }
  .apt-gallery { grid-template-columns: 1fr; }
  .mob-2col { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}
