/* Bellevue Home — bellevue-home.com — Royaletiger 2026 */

@font-face {
  font-family: 'Aboreto';
  src: url('../fonts/AB400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OS300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OS400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1B3B35;
  --brand-deep: #122A25;
  --gold: #B98D4F;
  --gold-light: #D4B078;
  --ivory: #F5F0E6;
  --ink: #1c2523;
  --text: #3d4643;
  --muted: #77807c;
  --bg: #FBF9F4;
  --bg-alt: #F2EDE2;
  --line: #E3DCCB;
  --text-on-dark: rgba(245, 240, 230, .88);
  --muted-on-dark: rgba(245, 240, 230, .6);
  --font-display: 'Aboreto', 'Trajan Pro', Georgia, serif;
  --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(18, 42, 37, .08);
  --shadow-md: 0 8px 28px rgba(18, 42, 37, .12);
  --shadow-lg: 0 18px 50px rgba(18, 42, 37, .18);
  --radius: 4px;
  --container: 1240px;
  --nav-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: 1.25; }

h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); letter-spacing: .03em; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: .04em; margin-bottom: 18px; }
h3 { font-size: 1.15rem; letter-spacing: .05em; margin-bottom: 10px; }
h4 { font-family: var(--font-body); font-weight: 400; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-dark p { color: var(--text-on-dark); }

.eyebrow {
  font-size: .8rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; max-width: 680px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  border: 0;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-light); color: var(--brand-deep); transform: translateY(-2px); }

.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

.section-dark .btn-outline { border-color: rgba(245,240,230,.5); color: var(--ivory); }
.section-dark .btn-outline:hover { background: var(--ivory); color: var(--brand-deep); }

/* ---------- header ---------- */

.topbar {
  background: var(--brand-deep);
  color: var(--muted-on-dark);
  font-size: .82rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--brand);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { width: 120px; height: auto; }

.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }

.nav-menu a {
  white-space: nowrap;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-on-dark);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.nav-menu a:hover { color: var(--gold-light); }
.nav-menu a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.nav-cta { white-space: nowrap; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ivory);
  margin: 6px 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  overflow: hidden;
}
.hero.hero-page { min-height: 44vh; }

.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,42,37,.78) 0%, rgba(27,59,53,.55) 50%, rgba(18,42,37,.85) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 120px 0; }
.hero-content h1 { color: var(--ivory); margin-bottom: 20px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content p { color: var(--text-on-dark); font-size: 1.1rem; max-width: 580px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.breadcrumb { position: relative; z-index: 1; font-size: .85rem; color: var(--muted-on-dark); margin-top: 14px; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }

/* ---------- griglie e card ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card-body p { font-size: .95rem; flex: 1; }
.card-link {
  margin-top: 16px;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}
.card-link:hover { color: var(--gold-light); }

.feature { text-align: center; padding: 34px 26px; }
.feature svg { color: var(--gold); margin-bottom: 16px; }

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- scheda villa ---------- */

.villa { padding: 88px 0; }
.villa + .villa { border-top: 1px solid var(--line); }
.villa-head { max-width: 720px; margin-bottom: 36px; }
.villa-specs { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 18px 0 6px; padding: 0; list-style: none; }
.villa-specs li { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.villa-specs svg { color: var(--gold); flex: none; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery .wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 24, 21, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: 4px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: 0; color: var(--ivory);
  font-size: 2rem; cursor: pointer; padding: 12px; line-height: 1; opacity: .8;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 18px; right: 24px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- stat ---------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-light); }
.stat-label { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-dark); }

/* ---------- CTA banner ---------- */

.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { max-width: 560px; margin: 0 auto 28px; }

/* ---------- form ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

label { display: block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 5px; }

.form-status { margin-top: 14px; font-size: .95rem; }
.form-status.ok { color: #1c7a3d; }
.form-status.err { color: #b02020; }

.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list svg { color: var(--gold); flex: none; margin-top: 4px; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--gold); }

/* ---------- blog ---------- */

.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.article-body { max-width: 760px; }
.article-body h2 { margin-top: 40px; }
.article-body p { margin-bottom: 16px; }
.article-body ul { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 6px; }

/* ---------- footer ---------- */

.site-footer { background: var(--brand-deep); color: var(--muted-on-dark); font-size: .92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.site-footer h4 { color: var(--gold-light); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-logo { width: 150px; margin-bottom: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(245,240,230,.12);
  padding: 18px 0;
  font-size: .8rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  background: var(--brand-deep);
  color: var(--text-on-dark);
  border: 1px solid rgba(212,176,120,.35);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  font-size: .92rem;
}
.cookie-banner a { color: var(--gold-light); }
.cookie-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 22px; font-size: .8rem; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: var(--brand-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 110px 34px 34px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.is-open { transform: none; }
  .nav-menu a { font-size: 1rem; padding: 10px 0; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .villa { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-content { padding: 90px 0; }
}

/* ============================================================
   Passata premium — linee, cornici e branding BH
   ============================================================ */

::selection { background: var(--gold); color: #fff; }

.topbar { letter-spacing: .08em; border-bottom: 1px solid rgba(212, 176, 120, .18); }
.site-header { border-bottom: 1px solid rgba(212, 176, 120, .28); }

.hero-content { z-index: 2; }

/* filetti sulle etichette */
.hero .eyebrow { display: flex; align-items: center; gap: 14px; }
.hero .eyebrow::before { content: ''; width: 48px; height: 1px; background: var(--gold-light); flex: none; }

h4 { display: flex; align-items: center; gap: 14px; }
h4::before { content: ''; width: 42px; height: 1px; background: var(--gold); flex: none; }
.center h4 { justify-content: center; }
.center h4::after { content: ''; width: 42px; height: 1px; background: var(--gold); flex: none; }
.site-footer h4::before { width: 22px; background: var(--gold-light); }

/* filetto sotto i titoli */
.center h2::after {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 18px auto 0;
}
.split h2::after,
.villa-head h2::after,
.article-body h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 16px 0 0;
}
.cta-banner h2::after { background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }

/* card: filetto oro che si accende */
.card { position: relative; }
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .5s var(--ease);
}
.card:hover::after { width: 100%; }

/* monogramma in filigrana nelle sezioni scure */
.section-dark { position: relative; overflow: hidden; }
.section-dark::before {
  content: '';
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 527px;
  background: url('../img/monogram.png') no-repeat center / contain;
  opacity: .07;
  pointer-events: none;
}
.section-dark .container { position: relative; }

.section-alt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* separatori oro tra le statistiche */
@media (min-width: 769px) {
  .stats > div + div { border-left: 1px solid rgba(212, 176, 120, .3); }
}

/* gallerie: cornice interna al passaggio */
.gallery a { position: relative; }
.gallery a::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(245, 240, 230, 0);
  transition: border-color .4s var(--ease);
  pointer-events: none;
}
.gallery a:hover::after { border-color: rgba(245, 240, 230, .75); }

/* footer: filetto oro + filigrana */
.site-footer { border-top: 1px solid rgba(212, 176, 120, .4); position: relative; overflow: hidden; }
.site-footer::before {
  content: '';
  position: absolute;
  left: -46px;
  bottom: -90px;
  width: 250px;
  height: 470px;
  background: url('../img/monogram.png') no-repeat center / contain;
  opacity: .05;
  pointer-events: none;
}
.footer-grid, .footer-bottom { position: relative; }

/* bottoni e focus */
.btn-primary { box-shadow: 0 6px 18px rgba(185, 141, 79, .35); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.cookie-banner { border-top: 2px solid var(--gold); }

/* ============================================================
   Luxury v2 — respiro, cinema, dettagli couture
   ============================================================ */

/* più aria ovunque */
.section { padding: 108px 0; }
.villa { padding: 104px 0; }
@media (max-width: 768px) { .section, .villa { padding: 72px 0; } }

/* tipografia più maestosa */
h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); letter-spacing: .04em; line-height: 1.18; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.35rem); letter-spacing: .05em; margin-bottom: 20px; }
h4, .eyebrow { letter-spacing: .42em; }
.lead { font-size: 1.15rem; line-height: 1.85; }

/* hero cinematografico */
.hero { min-height: 88vh; }
.hero.hero-page { min-height: 46vh; }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(18,42,37,.82) 0%, rgba(27,59,53,.42) 42%, rgba(18,42,37,.88) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero:not(.hero-page) .hero-bg img {
    animation: kenburns 22s ease-out forwards;
    transform-origin: 60% 40%;
  }
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

/* indicatore di scroll — un solo filo d'oro */
.hero:not(.hero-page)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 72px;
  background: linear-gradient(180deg, transparent, var(--gold-light));
  animation: cue 2.6s var(--ease) infinite;
  z-index: 2;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (prefers-reduced-motion: reduce) { .hero:not(.hero-page)::after { animation: none; } }

/* nav: sottolineatura che cresce dal centro */
.nav-menu a { position: relative; border-bottom: 0; }
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--gold-light);
  transition: left .35s var(--ease), right .35s var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { left: 0; right: 0; }

/* bottoni couture */
.btn { letter-spacing: .18em; font-size: .84rem; padding: 15px 34px; }
.btn-primary {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%);
  background-size: 200% 100%;
  color: #fff;
  transition: transform .35s var(--ease), background-position .6s var(--ease), box-shadow .35s var(--ease);
}
.btn-primary:hover { background-position: 100% 0; color: var(--brand-deep); box-shadow: 0 10px 26px rgba(185,141,79,.45); }

/* card: via i bordi, luce morbida, foto più cinematografica */
.card { border: 0; box-shadow: 0 6px 30px rgba(18,42,37,.09); border-radius: 6px; }
.card:hover { box-shadow: 0 22px 54px rgba(18,42,37,.16); }
.card-img { aspect-ratio: 3/2; }
.card-body { padding: 30px 30px 28px; }
.card-body h3 { font-size: 1.22rem; }
.post-meta { letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--gold); }

/* split: filetto d'appoggio dietro le immagini */
.split-img { position: relative; border-radius: 6px; }
.split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 1px solid rgba(185, 141, 79, .38);
  border-radius: 6px;
  z-index: -1;
}
.split { gap: 64px; }

/* statistiche più monumentali */
.stat-num { font-size: 3.4rem; letter-spacing: .04em; }
.stat-label { margin-top: 6px; }

/* specs villa con separatori a puntino oro */
.villa-specs { gap: 12px 0; }
.villa-specs li { padding-right: 26px; position: relative; }
.villa-specs li:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: 10px;
  color: var(--gold);
}

/* gallerie più ariose */
.gallery { gap: 14px; }
.gallery a { border-radius: 6px; }

/* form a filo — couture */
#contact-form input, #contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 2px;
  transition: border-color .3s var(--ease);
}
#contact-form input:focus, #contact-form textarea:focus {
  outline: none;
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 1px 0 0 var(--gold);
}
#contact-form .checkbox-row input { width: auto; box-shadow: none; }
.card #contact-form { margin-top: 6px; }

/* footer: doppio filetto */
.site-footer { border-top: 0; }
.site-footer::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 0; right: 0;
  height: 1px;
  background: rgba(212,176,120,.25);
}
.site-footer { box-shadow: inset 0 1px 0 rgba(212,176,120,.5); }
.footer-grid { padding: 72px 0 54px; }

/* topbar più fine */
.topbar { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

/* ingresso pagina morbido */
@media (prefers-reduced-motion: no-preference) {
  body { animation: pagein .7s ease-out; }
}
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Feature editoriali — numeri 01/02/03, niente scatole
   ============================================================ */

.features-lux { gap: 0; }

.feature-lux {
  text-align: left;
  padding: 12px 44px 12px 0;
  position: relative;
}

@media (min-width: 641px) {
  .features-lux .feature-lux + .feature-lux {
    border-left: 1px solid var(--line);
    padding-left: 44px;
  }
}

.feature-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 22px;
}

.feature-num::after {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 16px;
}

.feature-lux h3 {
  font-size: 1.05rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature-lux p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 640px) {
  .feature-lux { padding: 26px 0; }
  .features-lux .feature-lux + .feature-lux { border-top: 1px solid var(--line); }
  .feature-num { font-size: 2.6rem; margin-bottom: 16px; }
}

/* ============================================================
   Footer corporate — v2
   ============================================================ */

.footer-services {
  border-bottom: 1px solid rgba(212, 176, 120, .18);
}
.footer-services ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 0;
  padding: 26px 0;
  margin: 0;
}
.footer-services li {
  margin: 0;
  padding: 0 34px;
  position: relative;
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}
.footer-services li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(212, 176, 120, .55);
}

.footer-grid {
  grid-template-columns: 1.8fr .9fr .9fr .9fr 1.2fr;
  gap: 28px 40px;
  padding: 76px 0 58px;
  align-items: start;
}

.footer-brand { padding-right: 32px; }
.footer-brand .footer-logo { width: 168px; margin-bottom: 20px; }
.footer-brand p {
  font-size: .92rem;
  line-height: 1.85;
  color: var(--muted-on-dark);
  max-width: 44ch;
}

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 176, 120, .38);
  border-radius: 50%;
  color: var(--gold-light);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 { margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-size: .93rem;
  color: var(--text-on-dark);
  text-decoration: none;
  position: relative;
  padding-left: 0;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer-col a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width .3s var(--ease);
}
.footer-col a:hover { color: var(--gold-light); padding-left: 18px; }
.footer-col a:hover::before { width: 12px; }

.footer-nap li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 16px; }
.footer-nap svg { color: var(--gold); flex: none; margin-top: 5px; }
.footer-nap span { font-size: .9rem; line-height: 1.65; color: var(--muted-on-dark); }
.footer-nap a { color: var(--text-on-dark); text-decoration: none; }
.footer-nap a:hover { color: var(--gold-light); }
.footer-nap a::before { display: none; }

.footer-bottom { border-top: 1px solid rgba(245, 240, 230, .1); padding: 20px 0; }
.footer-bottom .container { align-items: center; }
.footer-legal { font-size: .78rem; color: rgba(245, 240, 230, .45); letter-spacing: .04em; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: .78rem; color: rgba(245, 240, 230, .55); text-decoration: none; letter-spacing: .04em; }
.footer-links a:hover { color: var(--gold-light); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
  .footer-brand p { max-width: 62ch; }
}

@media (max-width: 640px) {
  .footer-services li { padding: 0 16px; font-size: .68rem; letter-spacing: .18em; }
  .footer-services li + li::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 54px 0 40px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { gap: 16px; }
}

.site-footer h4 { white-space: nowrap; letter-spacing: .2em; }
@media (max-width: 1100px) and (min-width: 1025px) { .footer-grid { gap: 24px 26px; } }

/* ============================================================
   MIGLIORIE 2026 — atmosfera, ville, editoriale, conversione
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CGI400.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root { --f-accent: 'Cormorant Garamond', Georgia, serif; }

/* voce editoriale di contrasto (03) */
.accent {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.28em;
  letter-spacing: .01em;
  color: var(--gold);
}
.section-dark .accent, .hero .accent { color: var(--gold-light); }
.signature {
  font-family: var(--f-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 22px;
}

/* ---------- preloader (02) ---------- */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--brand-deep);
  display: grid;
  place-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
#preloader.is-done { opacity: 0; visibility: hidden; }
#preloader img { width: 84px; height: auto; animation: bhPulse 1.6s ease-in-out infinite; }
@keyframes bhPulse {
  0%, 100% { opacity: .45; transform: scale(.97); }
  50% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { #preloader img { animation: none; opacity: 1; } }

/* ---------- hero slideshow (01) ---------- */

.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.4s ease-in-out;
}
.hero-slides img.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slides img.is-on { animation: slideZoom 9s ease-out forwards; }
}
@keyframes slideZoom {
  from { transform: scale(1.001); }
  to { transform: scale(1.09); }
}
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 30px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots button {
  width: 26px; height: 2px;
  border: 0; padding: 0;
  background: rgba(245, 240, 230, .32);
  cursor: pointer;
  transition: background .4s var(--ease);
}
.hero-dots button[aria-current="true"] { background: var(--gold-light); }

/* ---------- header che si assottiglia (05) ---------- */

.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header .nav { transition: height .4s var(--ease); }
.site-header.scrolled .nav { height: 62px; }
.nav-logo img { transition: width .4s var(--ease); }
.site-header.scrolled .nav-logo img { width: 92px; }

/* transizione di pagina (05) */
@media (prefers-reduced-motion: no-preference) {
  body.is-leaving { opacity: 0; transition: opacity .28s ease; }
}

/* ---------- vetrina delle ville (06) ---------- */

.villas-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.villa-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
}
.villa-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.villa-card:hover img { transform: scale(1.06); }
.villa-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,42,37,0) 35%, rgba(18,42,37,.88) 100%);
}
.villa-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 26px 24px;
  color: var(--ivory);
}
.villa-card-tag {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 8px;
}
.villa-card h3 { color: var(--ivory); font-size: 1.22rem; margin-bottom: 6px; }
.villa-card p { font-size: .84rem; color: rgba(245,240,230,.72); margin: 0; }
.villa-card .go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.villa-card .go i { width: 18px; height: 1px; background: currentColor; transition: width .4s var(--ease); display: inline-block; }
.villa-card:hover .go i { width: 34px; }

@media (max-width: 900px) { .villas-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .villas-rail { grid-template-columns: 1fr; } }

/* ---------- come lavoriamo (07) ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; }
.step { padding: 0 28px; position: relative; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step + .step { border-left: 1px solid rgba(212, 176, 120, .28); }
.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: .96rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--muted-on-dark); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0; border-left: 0 !important; }
  .step + .step { border-top: 1px solid rgba(212,176,120,.24); padding-top: 26px; }
}

/* ---------- scheda tecnica villa (10-11) ---------- */

.villa-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start; }
@media (max-width: 900px) { .villa-layout { grid-template-columns: 1fr; gap: 30px; } }

.spec-sheet { margin: 26px 0 0; }
.spec-sheet .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.spec-sheet dt {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.spec-sheet dd {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.price-tag { margin-top: 26px; }
.price-tag strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.24rem;
  letter-spacing: .12em;
  color: var(--gold);
  display: block;
}
.price-tag span {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 7px;
}

/* servizi inclusi (case vacanza) */
.included { margin-top: 30px; }
.included h4 { margin-bottom: 16px; }
.included ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; }
.included li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--text); }
.included svg { color: var(--gold); flex: none; margin-top: 5px; }
@media (max-width: 560px) { .included ul { grid-template-columns: 1fr; } }

.villa-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* galleria curata (12) */
.gallery-more {
  margin-top: 18px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.gallery-more i { width: 26px; height: 1px; background: currentColor; transition: width .4s var(--ease); display: inline-block; }
.gallery-more:hover i { width: 46px; }
.gallery a.is-hidden { display: none; }
.lightbox-count {
  position: absolute;
  bottom: 26px;
  left: 0; right: 0;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .18em;
  color: rgba(245,240,230,.7);
}

/* ---------- galleria masonry + filtri (15) ---------- */

.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-bottom: 40px;
}
.gal-filters button {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.gal-filters button:hover { color: var(--ink); }
.gal-filters button[aria-pressed="true"] { color: var(--gold); border-bottom-color: var(--gold); }

.masonry { columns: 3; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; position: relative; overflow: hidden; border-radius: 6px; }
.masonry img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 18px 16px;
  background: linear-gradient(180deg, rgba(18,42,37,0), rgba(18,42,37,.85));
  color: var(--ivory);
  font-size: .8rem;
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.masonry figure:hover figcaption { opacity: 1; transform: none; }
.masonry figure.is-hidden { display: none; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* ---------- articoli da rivista (16) ---------- */

.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 70;
  transition: width .1s linear;
}
.article-body p.dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: .82;
  float: left;
  padding: 8px 14px 0 0;
  color: var(--gold);
}
.pullquote {
  margin: 38px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-accent);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
}
.read-more { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 34px; }
.read-more h4 { margin-bottom: 22px; }
.read-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.read-more-grid a {
  text-decoration: none;
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--ink);
}
.read-more-grid img { width: 108px; height: 78px; object-fit: cover; border-radius: 4px; flex: none; }
.read-more-grid span { font-size: .95rem; line-height: 1.5; }
.read-more-grid a:hover span { color: var(--gold); }
@media (max-width: 640px) { .read-more-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp (18) ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 65;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  display: grid;
  place-content: center;
  box-shadow: 0 10px 28px rgba(18,42,37,.28);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.wa-float:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

/* ---------- form qualificato (17) ---------- */

.field { position: relative; margin-bottom: 4px; }
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 2px 9px;
}
.field label {
  position: absolute;
  left: 2px;
  top: 18px;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  pointer-events: none;
  transition: top .25s var(--ease), font-size .25s var(--ease), letter-spacing .25s var(--ease), text-transform .25s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  top: -2px;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.field select { appearance: none; cursor: pointer; color: var(--ink); }
.field select:invalid { color: transparent; }
.field .chev { position: absolute; right: 4px; top: 22px; color: var(--gold); pointer-events: none; }

/* ---------- mappa stilizzata (14) ---------- */

.map-wrap { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.map-wrap svg { width: 100%; height: auto; display: block; }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 20px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.map-legend span { display: inline-flex; align-items: center; gap: 9px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); display: inline-block; }
.map-legend i.sea { background: #5B8C93; }

/* ---------- pagina valutazione (19) ---------- */

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; gap: 32px; } }
.value-points { list-style: none; margin-top: 26px; }
.value-points li { display: flex; gap: 14px; margin-bottom: 18px; }
.value-points b { font-family: var(--font-display); font-weight: 400; color: var(--gold); font-size: 1.1rem; flex: none; }

.article-body .post-meta::first-letter { font-family: inherit; font-size: inherit; float: none; padding: 0; color: inherit; }
