/* ============================================================
   Ottica Dettori — Esempio 2 (elegante / editoriale)
   ============================================================ */

:root {
  --ink: #1b1b1d;
  --ink-soft: #54534f;
  --grey: #8d8a83;
  --amber: #d8901f;
  --amber-deep: #b3740f;
  --bg: #fbfaf8;          /* avorio caldo */
  --bg-2: #ffffff;
  --line: #e7e3da;
  --shadow: 0 30px 70px -34px rgba(27,27,29,.32);
  --shadow-sm: 0 14px 36px -22px rgba(27,27,29,.35);
  --radius: 6px;
  --maxw: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);   /* uscita morbida, lenta */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.7; font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: 1.05; letter-spacing: -.005em; }
h1 em, h2 em, h3 em, .nav__name em, .footer__brand em { font-style: italic; color: var(--amber-deep); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: "Manrope", sans-serif; font-size: .74rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--amber-deep);
  margin-bottom: 1.2rem; display: inline-block;
}

/* ============ EYE LOGO ============ */
.eye__ring { fill: none; stroke: var(--ink); stroke-width: 13; }
.eye__iris { fill: var(--ink); }
.eye__hi   { fill: #fff; }
.eye__dot  { fill: var(--amber); }
.eye__orbit { fill: none; stroke: var(--amber); stroke-width: 6; stroke-linecap: round; }
.eye--mini { width: 36px; height: 36px; }

/* ============ INTRO (lento, elegante) ============ */
.intro { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: var(--bg); transition: opacity 1s ease, visibility 1s; }
.intro.is-done { opacity: 0; visibility: hidden; }
.intro .eye { width: 130px; height: 130px; animation: introBreath 2.6s var(--ease); }
.intro .eye__ring { stroke-dasharray: 430; stroke-dashoffset: 430; animation: draw 1.8s var(--ease) forwards; }
.intro .eye__iris { transform-origin: 100px 108px; transform: scale(0); animation: pop 1s var(--ease) .9s forwards; }
.intro .eye__hi { opacity: 0; animation: fade 1s ease 1.5s forwards; }
.intro .eye__dot { transform-origin: center; transform: scale(0); animation: pop .8s var(--ease) 1.4s forwards; }
.intro .eye__orbit { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.2s var(--ease) 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes introBreath { 0%{ transform: scale(.96); } 60%{ transform: scale(1); } 100%{ transform: scale(1.04); } }

/* ============ SCROLL-EXPAND HERO ============ */
.xhero { position: relative; height: 240vh; height: 240dvh; background: var(--bg); z-index: 1; }
.xhero__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: grid; place-items: center; background: var(--bg); }
.xhero__media {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 440px; height: 560px; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); z-index: 1; margin: 0;
}
.xhero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.xhero__scrim { position: absolute; inset: 0; background: #0d0d0e; opacity: var(--scrim, 0); }
.xhero__titles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: center; justify-content: center; gap: clamp(200px, 42vw, 500px);
}
.xhero__title {
  font-family: "Cormorant Garamond", serif; font-weight: 500; line-height: 1;
  font-size: clamp(2.4rem, 8.5vw, 7.5rem); color: var(--ink); white-space: nowrap;
  will-change: transform, opacity;
}
.xhero__title em { font-style: italic; color: var(--amber-deep); }
.xhero__sub {
  position: absolute; left: 50%; bottom: 17%; transform: translateX(-50%); z-index: 2;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--grey);
  white-space: nowrap; will-change: opacity;
}
.xhero__hint {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
  will-change: opacity;
}
.xhero__hint b { font-size: 1rem; animation: xhintBob 1.8s var(--ease) infinite; }
@keyframes xhintBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* gradiente di lettura + hero testuale sopra la foto */
.xhero__grad {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,8,9,.82) 0%, rgba(8,8,9,.45) 30%, rgba(8,8,9,.05) 60%, transparent 78%);
}
.xhero__hero {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 3.5rem) clamp(3.5rem, 8vh, 7rem);
  color: #fff; opacity: 0; pointer-events: none; will-change: opacity, transform;
}
.xhero__hero .eyebrow { color: var(--amber); }
.xhero__hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 500; color: #fff; }
.xhero__hero h1 em { color: var(--amber); }
.xhero__lead { max-width: 480px; margin: 1.4rem 0 2.2rem; font-size: 1.1rem; color: rgba(255,255,255,.86); }
.xhero__actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--amber); color: var(--ink); transform: translateY(-2px); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.55); padding: .95rem 1.7rem; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

@media (max-width: 600px) {
  .xhero__media { width: 78vw; height: 60vh; }
  .xhero__lead { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .xhero { height: 100vh; }
  .xhero__hint b { animation: none; }
  .xhero__hero { opacity: 1; pointer-events: auto; }
  .xhero__grad { opacity: 1; }
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 5vw, 3.5rem);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
}
.nav.is-stuck { background: rgba(251,250,248,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-top: .9rem; padding-bottom: .9rem; }
.nav__brand { display: flex; align-items: center; gap: .65rem; font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: .9rem; font-weight: 500; letter-spacing: .01em; position: relative; color: var(--ink-soft); transition: color .3s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0; background: var(--amber); transition: width .4s var(--ease); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { color: var(--ink); border: 1px solid var(--ink); padding: .55rem 1.3rem; border-radius: 100px; transition: all .4s var(--ease); }
.nav__cta:hover { background: var(--ink); color: #fff; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 26px; height: 1.5px; background: var(--ink); transition: .4s var(--ease); }
.nav.is-open .nav__burger span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2){ opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  max-width: var(--maxw); margin: 0 auto; min-height: 100vh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding: 8rem clamp(1.2rem, 5vw, 3.5rem) 4rem;
}
.hero__text h1 { font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 500; }
.hero__lead { max-width: 460px; margin: 1.8rem 0 2.4rem; color: var(--ink-soft); font-size: 1.12rem; }
.hero__actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__imgwrap { overflow: hidden; border-radius: 220px 220px 12px 12px; box-shadow: var(--shadow); }
.hero__imgwrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__media:hover .hero__imgwrap img { transform: scale(1.04); }
.hero__since { position: absolute; left: -28px; bottom: 38px; background: var(--bg-2); box-shadow: var(--shadow-sm); border-radius: 50%; width: 96px; height: 96px; display: grid; place-content: center; text-align: center; font-size: .72rem; color: var(--grey); letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.hero__since b { font-family: "Cormorant Garamond", serif; font-size: 1.7rem; color: var(--amber-deep); letter-spacing: 0; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 2rem; border-radius: 100px; font-weight: 600; font-size: .95rem; cursor: pointer; border: 1px solid transparent; transition: all .4s var(--ease); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn--text { color: var(--ink); position: relative; padding: .4rem 0; }
.btn--text::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--ink); transition: background .3s; }
.btn--text:hover { color: var(--amber-deep); }
.btn--text:hover::after { background: var(--amber); }

/* ============ SECTIONS ============ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 5vw, 3.5rem); }
.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.section__sub { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }

/* ============ SIMULATORE DI VISTA ============ */
.vsim { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); cursor: ew-resize; user-select: none; }
.vsim img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsim__before { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.vsim__before img { width: 1000px; max-width: none; filter: blur(11px) brightness(1.03); }
@media (max-width: 1040px) { .vsim__before img { width: 100vw; } }
.vsim__tag { position: absolute; top: 18px; z-index: 4; background: rgba(27,27,29,.7); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 100px; backdrop-filter: blur(4px); }
.vsim__tag--l { left: 18px; }
.vsim__tag--r { right: 18px; background: rgba(216,144,31,.92); color: #1b1b1d; }
.vsim__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-50%); z-index: 5; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.vsim__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; background: #fff; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--ink); font-size: 1.1rem; cursor: ew-resize; transition: transform .3s var(--ease); }
.vsim__handle:hover .vsim__grip, .vsim__handle:focus-visible .vsim__grip { transform: translate(-50%,-50%) scale(1.12); }

/* ============ CHI SIAMO ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__text h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.5rem; }
.about__text p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 30em; }
.about__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.4rem; flex-wrap: wrap; }
.about__stats b { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; display: block; line-height: 1; }
.about__stats span { font-size: .8rem; color: var(--grey); text-transform: uppercase; letter-spacing: .08em; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px 12px 200px 200px; box-shadow: var(--shadow); }

/* ============ ACCORDION ============ */
.accordion { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__head { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 1.4rem; padding: 1.8rem .5rem; text-align: left; font-family: inherit; transition: padding .4s var(--ease); }
.acc__num { font-family: "Cormorant Garamond", serif; font-size: 1.1rem; color: var(--amber-deep); font-style: italic; min-width: 2rem; }
.acc__title { flex: 1; font-family: "Cormorant Garamond", serif; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); transition: color .3s; }
.acc__head:hover .acc__title { color: var(--amber-deep); }
.acc__icon { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--ink); transition: transform .4s var(--ease), opacity .4s; }
.acc__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc__icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc.is-open .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.acc__body p { color: var(--ink-soft); padding: 0 .5rem 1.8rem 3.4rem; max-width: 60ch; }
.acc.is-open .acc__body { max-height: 220px; }

/* ============ GALLERIA (masonry · proporzioni naturali) ============ */
.bento { column-count: 3; column-gap: 1rem; }
.bento__item { position: relative; overflow: hidden; border-radius: 14px; cursor: zoom-in; margin: 0 0 1rem; box-shadow: var(--shadow-sm); display: block; break-inside: avoid; -webkit-column-break-inside: avoid; }
.bento__item img { width: 100%; height: auto; display: block; transition: transform 1.2s var(--ease); }
.bento__item:hover img { transform: scale(1.05); }
.bento__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(15,12,8,.62)); opacity: .8; transition: opacity .5s var(--ease); pointer-events: none; }
.bento__item:hover::after { opacity: 1; }
.bento__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.3rem; color: #fff; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; z-index: 2; transform: translateY(4px); transition: transform .5s var(--ease); }
.bento__item:hover figcaption { transform: none; }
.bento__expand { position: absolute; top: 12px; right: 13px; z-index: 3; color: #fff; font-size: 1rem; background: rgba(15,12,8,.4); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .4s var(--ease); backdrop-filter: blur(4px); }
.bento__item:hover .bento__expand { opacity: 1; transform: scale(1); }
@media (max-width: 860px) { .bento { column-count: 2; } }
@media (max-width: 520px) { .bento { column-count: 1; } }

/* ============ LIGHTBOX (modale bento) ============ */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(16,14,11,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem 1rem 1.2rem; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; backdrop-filter: blur(8px); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { display: flex; flex-direction: column; align-items: center; gap: .8rem; min-height: 0; }
.lightbox__img { max-width: 90vw; max-height: 70vh; border-radius: 10px; box-shadow: var(--shadow); transform: scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.lightbox.is-open .lightbox__img { transform: scale(1); opacity: 1; }
.lightbox__cap { color: rgba(255,255,255,.88); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; text-align: center; }
.lightbox__thumbs { display: flex; gap: .5rem; max-width: 92vw; overflow-x: auto; padding: .3rem; scrollbar-width: thin; }
.lightbox__thumbs img { width: 66px; height: 48px; object-fit: cover; border-radius: 7px; opacity: .45; cursor: pointer; border: 2px solid transparent; transition: opacity .3s, border-color .3s; flex: 0 0 auto; }
.lightbox__thumbs img:hover { opacity: .8; }
.lightbox__thumbs img.is-active { opacity: 1; border-color: var(--amber); }
.lightbox__close { position: absolute; top: 22px; right: 28px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .8; transition: opacity .3s; z-index: 2; }
.lightbox__close:hover { opacity: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; cursor: pointer; transition: background .3s; z-index: 2; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
@media (max-width: 600px) { .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; } .lightbox__nav--prev { left: 10px; } .lightbox__nav--next { right: 10px; } .lightbox__img { max-height: 62vh; } }

/* ============ CARDS (news / offerte) ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.card__body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card__date { font-size: .74rem; color: var(--grey); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.card__title { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; margin: .4rem 0 .6rem; line-height: 1.15; }
.card__text { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.card--offer { position: relative; }
.card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--amber); color: #1b1b1d; font-weight: 700; font-size: .8rem; padding: .35rem .85rem; border-radius: 100px; }
.card__cta { margin-top: 1.1rem; align-self: flex-start; font-weight: 600; font-size: .9rem; color: var(--amber-deep); border-bottom: 1px solid transparent; transition: border-color .3s; }
.card:hover .card__cta { border-color: var(--amber); }

/* ============ CONTATTI ============ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.contact__info h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.8rem; }
.contact__details { list-style: none; display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.contact__details li { display: grid; gap: .15rem; }
.contact__details span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--amber-deep); font-weight: 600; }
.contact__social { display: flex; gap: 1rem; flex-wrap: wrap; }
.contact__social a { font-weight: 600; font-size: .9rem; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.contact__social a:hover { color: var(--amber-deep); border-color: var(--amber); }
.contact__form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 2.4rem; box-shadow: var(--shadow-sm); }
.contact__form h3 { font-size: 1.9rem; margin-bottom: 1.6rem; }
.field { position: relative; margin-bottom: 1.2rem; }
.field input, .field textarea { width: 100%; padding: 1.1rem .9rem .55rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--bg); resize: vertical; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field label { position: absolute; left: .95rem; top: .9rem; color: var(--grey); pointer-events: none; transition: .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: .28rem; font-size: .66rem; color: var(--amber-deep); letter-spacing: .06em; }
.contact__form .btn { width: 100%; margin-top: .4rem; }
.contact__note { font-size: .76rem; color: var(--grey); text-align: center; margin-top: 1rem; }

/* ============ MAPPA ============ */
.map { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.map__frame { position: relative; width: 100%; height: 400px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 1.5rem; background: var(--bg-2); }
.map__consent p { color: var(--ink-soft); max-width: 34ch; }
.map__link { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--amber-deep); border-bottom: 1px solid transparent; transition: border-color .3s; }
.map__link:hover { border-color: var(--amber); }

/* ============ COOKIE BANNER ============ */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; transform: translateY(140%); transition: transform .5s var(--ease); padding: 0 clamp(1rem,4vw,2rem) clamp(1rem,3vw,1.5rem); }
.cookie.is-show { transform: translateY(0); }
.cookie__inner { max-width: 1100px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: 1rem 1.6rem; flex-wrap: wrap; }
.cookie__text { font-size: .9rem; color: var(--ink-soft); flex: 1; min-width: 240px; line-height: 1.55; }
.cookie__text a { color: var(--amber-deep); text-decoration: underline; }
.cookie__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ============ PAGINE LEGALI ============ */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(5.5rem,11vw,8rem) clamp(1.2rem,5vw,2rem) 4rem; }
.legal__back { font-size: .85rem; color: var(--amber-deep); font-weight: 600; display: inline-block; margin-bottom: 1.6rem; }
.legal__back:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(2.2rem,5vw,3.2rem); margin-bottom: .4rem; }
.legal__sub { color: var(--grey); margin-bottom: 2.4rem; font-size: .95rem; }
.legal h2 { font-size: 1.55rem; margin: 2.3rem 0 .7rem; }
.legal h3 { font-size: 1.1rem; font-family: "Manrope",sans-serif; font-weight: 700; margin: 1.4rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: .8rem; line-height: 1.7; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal a { color: var(--amber-deep); text-decoration: underline; }
.legal__note { background: #fff7e8; border: 1px solid #f0dcb0; border-radius: 10px; padding: 1rem 1.2rem; font-size: .88rem; color: #8a6d2f; margin: 1.6rem 0; }
.legal__updated { font-size: .82rem; color: var(--grey); margin-top: 2.6rem; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #cfcdc7; padding: clamp(3.5rem,7vw,5.5rem) clamp(1.2rem,5vw,3.5rem) 1.8rem; }
.footer__main { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1.3fr 1fr; gap: clamp(2rem,4vw,3.5rem); padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand { display: flex; align-items: center; gap: .65rem; font-family: "Cormorant Garamond", serif; font-size: 1.6rem; color: #fff; margin-bottom: 1rem; }
.footer__brand em { color: var(--amber); }
.footer__brand .eye__ring { stroke: #fff; }
.footer__brand .eye__iris { fill: #fff; }
.footer__brand .eye__hi { fill: var(--ink); }
.footer__tag { font-size: .92rem; color: #a8a59d; max-width: 36ch; margin-bottom: 1.5rem; line-height: 1.65; }
.footer__col h4 { font-family: "Manrope", sans-serif; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 700; }
.footer__col a, .footer__line { display: block; font-size: .92rem; color: #a8a59d; margin-bottom: .7rem; transition: color .3s; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom { max-width: var(--maxw); margin: 1.6rem auto 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: #7d7a73; }
.footer__credit { display: inline-flex; align-items: center; gap: .5rem; color: #7d7a73; transition: color .3s; }
.footer__credit img { width: 20px; height: 20px; border-radius: 5px; display: block; }
.footer__credit b { color: #a8a59d; font-weight: 600; transition: color .3s; }
.footer__credit:hover b { color: var(--amber); }
@media (max-width: 860px) { .footer__main { grid-template-columns: 1fr 1fr; } .footer__brandcol { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__main { grid-template-columns: 1fr; } }

/* ============ NAV DROPDOWN (Vendita) ============ */
.nav__drop { position: relative; }
.nav__droptoggle { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; }
.nav__caret { font-size: .65em; transition: transform .3s var(--ease); }
.nav__menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: .5rem; display: grid; gap: .1rem;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__menu a { padding: .65rem .85rem; border-radius: 8px; color: var(--ink-soft); font-size: .9rem; }
.nav__menu a::after { display: none !important; }
.nav__menu a:hover { background: var(--bg); color: var(--ink); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px);
}
.nav__drop:hover .nav__caret, .nav__drop:focus-within .nav__caret { transform: rotate(180deg); }

/* ============ OPTOMETRIA & CONTATTOLOGIA ============ */
.opto__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; margin-bottom: clamp(3rem,6vw,5rem); }
.opto__text p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 34em; }
.opto__feat img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.opto__tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-bottom: clamp(2.5rem,5vw,4rem); }
.tool { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tool:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tool__img { aspect-ratio: 4/3; overflow: hidden; }
.tool__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tool:hover .tool__img img { transform: scale(1.05); }
.tool .tool__tag { margin: 1.2rem 1.4rem 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; }
.tool h3 { margin: .35rem 1.4rem .5rem; font-size: 1.5rem; }
.tool > p:last-child { margin: 0 1.4rem 1.5rem; color: var(--ink-soft); font-size: .92rem; }
.opto__split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.opto__card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: var(--bg-2); }
.opto__cardimg { aspect-ratio: 16/10; background: #20242b; overflow: hidden; }
.opto__cardimg img { width: 100%; height: 100%; object-fit: cover; }
.opto__card--soft { background: var(--ink); }
.opto__card--soft .eyebrow { color: var(--amber); }
.opto__card--soft h3 { color: #fff; }
.opto__card--soft .opto__cardbody p { color: rgba(255,255,255,.82); }
.opto__cardbody { padding: clamp(1.6rem,3vw,2.2rem); }
.opto__cardbody h3 { font-size: 1.8rem; margin: .2rem 0 .8rem; }
.opto__cardbody p { color: var(--ink-soft); }
.brandlist { list-style: none; margin-top: 1.1rem; display: grid; gap: .55rem; }
.brandlist li { font-size: .92rem; color: rgba(255,255,255,.88); padding-left: 1.3rem; position: relative; }
.brandlist li b { color: #fff; }
.brandlist li::before { content: "●"; position: absolute; left: 0; color: var(--amber); font-size: .55rem; top: .4rem; }

/* ============ VENDITA ============ */
.sale__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.sale__cat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); scroll-margin-top: 110px; }
.sale__cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sale__img { aspect-ratio: 4/3; overflow: hidden; }
.sale__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sale__cat:hover .sale__img img { transform: scale(1.06); }
.sale__body { padding: 1.6rem 1.7rem 1.9rem; }
.sale__body h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.sale__body p { color: var(--ink-soft); font-size: .95rem; }
.pay { margin-top: clamp(2.5rem,5vw,3.5rem); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.8rem; display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.pay__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-deep); font-weight: 700; }
.pay__items { display: flex; gap: .8rem; flex-wrap: wrap; }
.pay__badge { background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: .6rem 1.15rem; font-size: .88rem; color: var(--ink-soft); }
.pay__badge b { color: var(--ink); }

/* ============ CONTATTI: recensione + social ============ */
.contact__review { margin: .2rem 0 1.6rem; }
.contact__social a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; border: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .55rem 1.05rem; border-radius: 100px; color: var(--ink); transition: all .3s var(--ease); }
.contact__social a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.contact__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__social { display: flex; gap: .7rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: all .3s var(--ease); }
.footer__social a:hover { background: var(--amber); border-color: var(--amber); }
.footer__social svg { width: 17px; height: 17px; fill: #cfcdc7; }
.footer__social a:hover svg { fill: var(--ink); }

/* ============ RESPONSIVE sezioni nuove ============ */
@media (max-width: 940px) {
  .opto__intro, .opto__split { grid-template-columns: 1fr; }
  .opto__tools, .sale__grid { grid-template-columns: 1fr 1fr; }
  .opto__feat { order: -1; }
}
@media (max-width: 720px) {
  /* il backdrop-filter creerebbe un containing block per il pannello fixed: niente su mobile */
  .nav.is-stuck { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251,250,248,.97); }
  .nav__links { gap: 1.15rem; }
  .nav__drop { width: 100%; }
  .nav__menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; min-width: 0; padding: .5rem 0 0; gap: .55rem; }
  .nav__menu a { color: var(--ink-soft); font-size: .98rem; }
  .nav__caret { display: none; }
}
@media (max-width: 600px) {
  .opto__tools, .sale__grid { grid-template-columns: 1fr; }
  .pay { flex-direction: column; align-items: flex-start; }
}

/* ============ ANIMAZIONI D'INGRESSO (lente) ============ */
.fade-up, .fade-in, .slide-l, .slide-r, .reveal-img { opacity: 0; transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.fade-up { transform: translateY(48px); }
.slide-l { transform: translateX(70px); }
.slide-r { transform: translateX(-70px); }
.reveal-img { transform: translateY(60px) scale(.97); }
.in { opacity: 1 !important; transform: none !important; }
/* su tablet/mobile evita lo scorrimento laterale (causa overflow orizzontale) */
@media (max-width: 940px) {
  .slide-l, .slide-r { transform: translateY(40px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-up, .fade-in, .slide-l, .slide-r, .reveal-img { opacity: 1; transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; min-height: auto; text-align: center; gap: 2.5rem; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__media { max-width: 420px; margin: 0 auto; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 440px; margin: 0 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .grid__item--wide { grid-column: span 2; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 330px); flex-direction: column; justify-content: center; gap: 1.8rem; background: var(--bg-2); box-shadow: var(--shadow); padding: 2rem; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .4s var(--ease), visibility .4s; font-size: 1.1rem; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav__links a { font-size: 1.15rem; }
  .nav__burger { display: flex; z-index: 101; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .grid__item--wide, .grid__item--tall { grid-column: auto; grid-row: auto; }
}
