:root {
  --bg: #fbf8f3;
  --bg-alt: #f4efe7;
  --sand: #e8dfd1;
  --ink: #1f1c17;
  --ink-soft: #5b544a;
  --muted: #8a8276;
  --line: #e6dfd2;
  --accent: #a8895f;
  --accent-dark: #8a6f47;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(31, 28, 23, .04), 0 4px 16px rgba(31, 28, 23, .04);
  --shadow-md: 0 8px 30px rgba(31, 28, 23, .08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease
}

a:hover {
  color: var(--accent-dark)
}

h2,
h3,
h4 {
font-family: 'Sora', system-ui, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem)
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem)
}

h3 {
  font-size: 1.25rem
}

h4 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -.005em
}

p {
  color: var(--ink-soft)
}

.lead {
  font-size: 1.075rem;
  color: var(--ink-soft);
  max-width: 60ch
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto
}

.center .lead {
  margin-left: auto;
  margin-right: auto
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px
}

.narrow {
  max-width: 760px
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #222
  margin-bottom: 14px;
  font-weight: 500;
}

/* NAV */
/* =========================
   HBA STYLE NAVBAR
========================= */

.nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:transparent;
    padding:28px 0;

    transition:.4s ease;
}

.nav.scrolled{
    background:rgba(0,0,0,.75);
    padding:18px 0;
}

.nav-inner{
    width:min(1600px,92%);
    margin:auto;

    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
}

.brand{
    justify-self:start;

    display:flex;
    align-items:center;
    gap:14px;

    text-decoration:none;
    color:#fff;
}

.brand-mark{
    width:42px;
    height:42px;

    border:1px solid rgba(255,255,255,.4);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:.75rem;
    letter-spacing:.15em;
}

.brand-text{
    font-family:'Sora',sans-serif;
    font-size:.9rem;
    letter-spacing:.15em;
    text-transform:uppercase;
}

.nav-links{
    display:flex;
    gap:12rem;
    justify-self:center;
}

.nav-links a{
    color:#fff;
    text-decoration:none;

    font-size:.78rem;
    letter-spacing:.18em;
    text-transform:uppercase;

    position:relative;
}

.nav-links a::after{
    content:'';
    position:absolute;
    bottom:-8px;
    left:0;

    width:0;
    height:1px;
    background:#fff;

    transition:.3s;
}

.nav-links a:hover::after{
    width:100%;
}

.nav-actions{
    justify-self:end;

    display:flex;
    align-items:center;
    gap:28px;
}

.lang-toggle{
    display:flex;
    gap:8px;
}

.lang-toggle button{
    background:none;
    border:none;

    color:rgba(255,255,255,.6);
    cursor:pointer;

    letter-spacing:.15em;
    font-size:.72rem;
}

.lang-toggle button.active{
    color:#fff;
}

.nav-book{
    color:#fff;
    text-decoration:none;

    text-transform:uppercase;
    letter-spacing:.18em;
    font-size:.75rem;
}
.hero-title-wrap{
  position:relative;
  display:inline-block;
}

.hero-title-content{
  position:relative;
  z-index:2;
}
.hero-image,
.hero-content,
.hero-overlay {
  will-change: transform, opacity;
  transform: translateZ(0);
}
/* Mobile */

@media(max-width:980px){

    .nav-inner{
        grid-template-columns:auto auto;
    }

    .nav-links{
        display:none;
    }

    .nav-actions{
        gap:15px;
    }

    .brand-text{
        display:none;
    }
}
.lang-toggle {
  display: inline-flex;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--line)
}

.lang-toggle button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .06em;
}

.lang-toggle button.active {
  background: var(--ink);
  color: var(--bg)
}

@media (max-width:820px) {
  .nav-links {
    display: none
  }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px)
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm)
}

.btn-primary:hover {
  background: #2c2820;
  color: var(--bg)
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink)
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg)
}

.btn-dark {
  background: var(--accent-dark);
  color: #fff
}

.btn-dark:hover {
  background: var(--accent);
  color: #fff
}

.btn-ghost {
  background: var(--bg-alt);
  color: var(--ink);
  font-size: .88rem;
  padding: 9px 16px
}

.btn-ghost:hover {
  background: var(--sand)
}
/*logo*/
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand-logo{
  height:60px;
  width:auto;
  display:block;
  position: absolute;
}

.brand-text{
  font-weight:600;
}

.nav.scrolled .brand-logo {
  filter: brightness(0) invert(1) contrast(1.1);
}
.brand-logo {
  transition: filter .3s ease;
}
/* HERO */
.hero{
  position:relative;
  height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* BACKGROUND IMAGE */
.hero-media{
  position:absolute;
  inset:0;
}

.hero-image{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.05);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.45),
    rgba(0,0,0,.55)
  );
}

/* CONTENT */
.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:900px;
  padding:0 24px;
}

/* SMALL LOCATION */
.eyebrow{
  font-size:.8rem;
  letter-spacing:.25em;
  text-transform:uppercase;
  color:#222;
  margin-bottom:18px;
  display:block;
}

/* BIG HERO TITLE */

.hero-title{
  font-family:'Montserrat', sans-serif;
  font-weight:500;
  font-size:clamp(3rem,6vw,6rem);
  letter-spacing:-0.04em;
  line-height:1;
  color:rgba(255,255,255,.92);
  margin:0;
}
.hero-title span {
  display: block;
}

.hero-title .subtitle {
  margin-top:18px;
  font-size:.95rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(255,255,255,.65);

}
/* CTA */
.btn-primary{
  margin-top:40px;
  display:inline-block;

  padding:14px 26px;
  border-radius:999px;

  background:#ffffff;
  color:#111;
  font-weight:600;
  text-decoration:none;
}
.container.narrow.center .hero-cta {
  justify-content: center;
padding: 60px 0;
}
/* MICRO TEXT */

/* SECTIONS */
.section {
  padding: 110px 0
}
section#pricing{
  padding: 50px 0;
}
.section-alt {
  background: var(--bg-alt)
}

.section-head {
  margin-bottom: 56px
}

.section-head.center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto
}

/* VALUE GRID */
.value-grid {
  display: grid;
  gap: 24px;
  margin-top: 60px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.v-num {
  font-family: 'Fraunces', serif;
  color: var(--accent);
  font-size: .95rem;
  letter-spacing: .1em;
  margin-bottom: 18px
}

.value-card h3 {
  margin-bottom: 10px
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center
}

.split.reverse .split-media {
  order: -1
}

@media (max-width:880px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .split.reverse .split-media {
    order: 0
  }
}

.split-text h2 {
  margin-top: 8px;
  margin-bottom: 18px
}

.split-media img,
.split-media iframe {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 0;
}

.detail-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px
}

.detail-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: .95rem
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 10px;
  height: 1px;
  background: var(--accent-dark);
}

@media (max-width:520px) {
  .detail-list {
    grid-template-columns: 1fr
  }
}

/* GALLERY */
.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
}

.g-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt)
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease
}

.g-item:hover img {
  transform: scale(1.06)
}

.g-tall {
  grid-row: span 2
}

.g-wide {
  grid-column: span 2
}

@media (max-width:880px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px
  }

  .g-tall {
    grid-row: span 2
  }

  .g-wide {
    grid-column: span 2
  }
}

/* SERVICES */
.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.svc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm)
}

.svc-ico {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent-dark);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* LOCATION */
.map {
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md)
}

.loc-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px
}

.loc-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.loc-list strong {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--ink);
  min-width: 80px
}

/* REVIEWS */
.rating-row {
  margin-top: 14px;
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: .1em
}

.rating-row span {
  color: var(--ink-soft);
  margin-left: 10px;
  letter-spacing: 0;
  font-size: .95rem
}

.reviews-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.review p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.55
}

.review footer {
  margin-top: 18px;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .04em
}

.review footer strong {
  color: var(--ink);
  margin-right: 8px
}

/* PRICING */
.pricing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.price-card.featured h3,
.price-card.featured .price strong {
  color: #fff
}

.price-card.featured p {
  color: rgba(255, 255, 255, .75)
}

.price {
  font-family: 'Fraunces', serif;
  margin: 14px 0 6px;
  font-size: 1rem;
  color: var(--ink-soft)
}

.price strong {
  font-size: 2.4rem;
  color: var(--ink);
  font-weight: 500;
  margin: 0 4px
}

.price .from {
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

/* FINAL CTA */
.cta-final {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  padding: 140px 0
}

.cta-final h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto
}

.cta-final .lead {
  margin-top: 18px
}

/* FOOTER */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: 70px 0 30px;
  margin-top: 0
}

.footer .brand-text,
.footer h5 {
  color: #fff
}

.footer h5 {
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600
}

.footer p,
.footer a {
  font-size: .92rem;
  color: rgba(255, 255, 255, .7)
}

.footer a:hover {
  color: #fff
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}
/* =========================
   FOOTER RIVA PRIVATA
   aggiungere in fondo al CSS
========================= */

.footer {
  background: #1d1a16;
  padding: 55px 0 22px;
}

.footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 0.7fr);
  align-items: start;
  gap: 80px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 42px;
}

.footer .footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer .brand img {
  display: block;
  width: 125px !important;
  max-width: 125px !important;
  height: auto !important;
  object-fit: contain;
}

.footer .footer-sub {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.6;
}

.footer .footer-inner > div:last-child {
  justify-self: end;
  min-width: 180px;
}

.footer h5 {
  margin: 4px 0 18px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer p {
  margin: 0 0 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer .copy {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer .copy small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.footer .brand-mark {
  background: #fff;
  color: var(--ink)
}

.footer-sub {
  margin-top: 14px
}

.socials {
  display: flex;
  gap: 18px
}

.copy {
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, .5);
  font-size: .8rem
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* Tablet e mobile */
@media (max-width: 768px) {
  .footer {
    padding: 42px 0 20px;
  }

  .footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px 34px;
  }

  .footer .footer-inner > div:last-child {
    justify-self: start;
  }

  .footer .brand img {
    width: 105px !important;
    max-width: 105px !important;
  }

  .footer .copy {
    padding: 20px 24px 0;
  }
    .hero-cta {
    position: sticky;
    bottom: 12px;
    background: rgba(0,0,0,.6);
    padding: 10px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
  }
}
@media (max-width:760px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }
}

@media (max-width:600px) {
  .section {
    padding: 80px 0
  }

  .hero-content {
    padding: 60px 24px 50px
  }

  .trust-row {
    gap: 18px
  }
}
@media (max-width: 480px) {
  #pricing .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;

    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 0;

    margin: 28px auto 0;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #pricing .hero-cta .btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 54px;

    margin: 0;
    padding: 14px 18px;

    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
   .footer .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .footer-inner > div {
    justify-self: center;
    align-items: center;
  }

  .footer .footer-inner > div:first-child {
    align-items: center;
  }

  .footer .footer-inner > div:last-child {
    justify-self: center;
  }

  .footer .brand {
    justify-content: center;
  }

  .footer .footer-sub {
    text-align: center;
  }

  .footer .copy {
    text-align: center;
  }
}