:root {
  --olive-950: #18220d;
  --olive-900: #24330f;
  --olive-800: #334716;
  --olive-700: #45601f;
  --olive-500: #799648;
  --gold: #c9a24f;
  --cream: #f5f1e7;
  --paper: #fffdf8;
  --ink: #1f251b;
  --muted: #62695c;
  --line: #dfe2d7;
  --white: #fff;
  --shadow: 0 20px 50px rgba(24, 34, 13, .13);
  --radius: 24px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--olive-700); text-underline-offset: .18em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3 { color: var(--olive-950); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 7vw, 5.75rem); margin: 0; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0 0 .65em; letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }

.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--soft { background: var(--cream); }
.section--olive { color: rgba(255,255,255,.84); background: linear-gradient(145deg, var(--olive-900), var(--olive-700)); }
.section--explore { background: linear-gradient(180deg, var(--paper) 0%, #f4f1e8 100%); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading--light h2, .section-heading--light .eyebrow { color: var(--white); }
.section-heading--explore { max-width: 820px; }
.lead { color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.35rem); }
.eyebrow { margin: 0 0 .65rem; color: var(--olive-700); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 9999; padding: .65rem 1rem; background: #fff; color: #000; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(24,34,13,.82); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px) saturate(130%); }
.nav-wrap { width: min(calc(100% - 2rem), 1320px); min-height: 82px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex: 0 0 auto; }
.wordmark { position: relative; display: inline-grid; width: max-content; padding: .25rem .55rem .42rem .15rem; color: #fff; font-family: Georgia, "Times New Roman", serif; font-style: italic; line-height: .78; text-decoration: none; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.wordmark::after { content: ""; position: absolute; inset: auto .15rem 0 24%; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(201,162,79,0)); transform: rotate(-2deg); transform-origin: left center; }
.wordmark__oro { margin-left: .2em; font-size: 1.12rem; font-weight: 400; letter-spacing: .02em; }
.wordmark__salentino { font-size: 1.72rem; font-weight: 700; letter-spacing: -.055em; }
.wordmark:hover, .wordmark:focus { color: #fff; text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 1.4rem); }
.main-nav a { color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus, .main-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.main-nav .nav-cta { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
.nav-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: transparent; }
.nav-toggle > span:not(.visually-hidden) { display: block; width: 100%; height: 2px; margin: 4px 0; background: #fff; }

.hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--olive-950); }
.hero--compact { min-height: min(68svh, 720px); }
.hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { z-index: -2; object-fit: cover; object-position: var(--hero-position, center 70%); }
.hero__shade { z-index: -1; background: linear-gradient(90deg, rgba(11,18,6,.84) 0%, rgba(11,18,6,.55) 45%, rgba(11,18,6,.1) 76%), linear-gradient(0deg, rgba(11,18,6,.55), transparent 50%); }
.hero__content { padding-top: 9rem; padding-bottom: clamp(4rem, 9vw, 7rem); color: #fff; }
.hero__content h1 { max-width: 950px; color: #fff; }
.hero__content > p:not(.eyebrow) { max-width: 720px; margin: 1.15rem 0 0; color: rgba(255,255,255,.88); font-size: clamp(1.08rem, 2.2vw, 1.45rem); }
.hero__content .eyebrow { color: #e6c878; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .72rem 1.2rem; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; cursor: pointer; }
.button--primary { color: #fff; background: var(--olive-700); }
.button--primary:hover, .button--primary:focus { color: #fff; background: var(--olive-800); }
.button--outline { color: var(--olive-800); background: transparent; border-color: var(--olive-700); }
.button--outline:hover, .button--outline:focus { color: #fff; background: var(--olive-700); }
.button--ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.65); }
.button--ghost:hover, .button--ghost:focus { color: var(--olive-950); background: #fff; }
.text-link { font-weight: 700; overflow-wrap: anywhere; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; }
.content { max-width: 740px; }
.content p, .content li { color: #42483d; }
.content ul, .content ol { padding-left: 1.25rem; }
.content h2:not(:first-child), .content h3:not(:first-child) { margin-top: 1.6em; }
.photo-frame { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cream); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame--portrait img { aspect-ratio: 4 / 5; }
.photo-caption { padding: 1rem 1.2rem; color: var(--muted); font-size: .9rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { padding: 1.6rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(24,34,13,.06); }
.feature__number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; color: #fff; background: var(--olive-700); border-radius: 50%; font-weight: 800; }
.feature p { color: var(--muted); margin: 0; }

.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.machine { position: relative; min-height: 390px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.machine img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.machine:hover img { transform: scale(1.035); }
.machine__body { position: absolute; inset: auto 0 0; padding: 4.5rem 1.35rem 1.35rem; color: #fff; background: linear-gradient(transparent, rgba(10,15,7,.9)); }
.machine__body h3 { color: #fff; }
.machine__body p { margin: 0; color: rgba(255,255,255,.82); }
.tag { display: inline-block; margin-bottom: .6rem; padding: .25rem .65rem; border-radius: 999px; color: var(--olive-950); background: #f1d88e; font-size: .78rem; font-weight: 800; }

.section--contact { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.contact-card { position: relative; display: grid; grid-template-columns: 190px 1fr; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; max-width: 1080px; margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.75rem) clamp(.25rem, 2vw, 1.25rem); color: var(--ink); background: transparent; border-block: 1px solid var(--line); }
.contact-card::before { content: ""; position: absolute; inset: -2px auto auto 0; width: 92px; height: 3px; background: var(--gold); }
.contact-card img { width: 190px; aspect-ratio: 1; object-fit: cover; border: 7px solid var(--paper); border-radius: 50%; box-shadow: 0 16px 38px rgba(24,34,13,.16); }
.contact-card h2 { color: var(--olive-950); }
.contact-card .eyebrow { color: var(--olive-700); }
.contact-card p:not(.eyebrow) { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.contact-card .button--outline { color: var(--olive-800); border-color: var(--olive-700); }
.contact-card .button--outline:hover, .contact-card .button--outline:focus { color: #fff; }
.contact-card .text-link { color: var(--olive-700); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.link-card { position: relative; min-height: 420px; overflow: hidden; border: 1px solid rgba(24,34,13,.12); border-radius: 26px; background: var(--olive-950); box-shadow: 0 14px 34px rgba(24,34,13,.1); transition: transform .35s ease, box-shadow .35s ease; }
.link-card:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(24,34,13,.18); }
.link-card a { position: relative; display: flex; align-items: flex-end; height: 100%; min-height: inherit; color: #fff; text-decoration: none; }
.link-card a::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,15,7,.02) 24%, rgba(10,15,7,.88) 100%); }
.link-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.link-card:hover img { transform: scale(1.055); filter: saturate(1.08); }
.link-card__body { position: relative; z-index: 2; width: 100%; padding: clamp(1.35rem, 3vw, 1.8rem); }
.link-card__body h3 { color: #fff; font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
.link-card__body p { max-width: 32ch; color: rgba(255,255,255,.82); }
.link-card__cta { display: inline-flex; align-items: center; gap: .45rem; color: #f1d88e; font-weight: 800; }
.link-card__cta span { transition: transform .3s ease; }
.link-card:hover .link-card__cta span { transform: translateX(5px); }

.fact-list { display: grid; gap: .85rem; padding: 0; list-style: none; }
.fact-list li { position: relative; padding: 1rem 1rem 1rem 3rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.fact-list li::before { content: "✓"; position: absolute; left: 1rem; color: var(--olive-700); font-weight: 900; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.product-card { padding: 1.75rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.product-card--gold { border-top: 5px solid var(--gold); }
.product-card--silver { border-top: 5px solid #aab0b4; }

.stay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.stay-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stay-card > img { width: 100%; height: 300px; object-fit: cover; }
.stay-card__body { padding: clamp(1.4rem, 3vw, 2rem); }
.stay-card__body p:not(.eyebrow) { color: var(--muted); }
.stay-stack { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.stay-feature { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stay-feature__body { align-self: center; padding: clamp(1.6rem, 4vw, 3rem); }
.stay-feature__body p:not(.eyebrow) { color: var(--muted); }
.stay-feature__body ul { margin: 0 0 1.5rem; padding-left: 1.2rem; color: #42483d; }
.stay-feature__gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, 220px); gap: .55rem; padding: .55rem; background: var(--cream); }
.stay-feature__gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.stay-feature__gallery img:first-child { grid-row: 1 / span 2; }

.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: repeat(2, 220px); gap: 1rem; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 20px; background: var(--cream); }
.gallery-grid figure:first-child { grid-row: 1 / span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-grid figure:hover img { transform: scale(1.03); }

.faq { display: grid; gap: .75rem; max-width: 900px; }
.faq details { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq summary { color: var(--olive-950); font-weight: 800; cursor: pointer; }
.faq details p { margin: .85rem 0 0; color: var(--muted); }

.breadcrumbs { position: absolute; inset: 82px 0 auto; z-index: 5; padding: 1.1rem 0; background: transparent; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li, .breadcrumbs a { color: rgba(255,255,255,.9); font-size: .9rem; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; opacity: .55; }

.map-panel { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
.map-panel__aside { display: grid; grid-template-rows: 225px 1fr; min-width: 0; }
.map-panel__photo { position: relative; margin: 0; overflow: hidden; background: var(--olive-950); }
.map-panel__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 66%; }
.map-panel__photo figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1.25rem .8rem; color: #fff; background: linear-gradient(transparent, rgba(12,18,7,.78)); font-size: .86rem; }
.map-panel__copy { padding: clamp(1.5rem, 4vw, 2.4rem); align-self: center; }
.map-panel__access { color: var(--muted); font-size: .94rem; }
.map-placeholder { min-height: 560px; display: grid; place-items: center; align-content: center; gap: 1rem; padding: 2rem; text-align: center; background: #e4e7dc; }
.map-placeholder iframe { display: none; width: 100%; height: 100%; min-height: 560px; border: 0; }
.map-placeholder.is-loaded { padding: 0; }
.map-placeholder.is-loaded > p, .map-placeholder.is-loaded > button { display: none; }
.map-placeholder.is-loaded iframe { display: block; }

.site-footer { padding: 4rem 0 1.25rem; color: rgba(255,255,255,.72); background: #151b10; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.25fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { margin: 0 0 1rem; color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.wordmark--footer { margin-bottom: 1.35rem; transform: scale(1.12); transform-origin: left center; }
.site-footer address { margin-bottom: 1rem; font-style: normal; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a, .footer-button { color: rgba(255,255,255,.8); }
.footer-contact__person { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.footer-contact__person img { width: 62px; height: 62px; object-fit: cover; border: 3px solid rgba(255,255,255,.16); border-radius: 50%; }
.footer-contact__person h2 { margin: 0 0 .15rem; }
.footer-contact__person p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }
.footer-contact__links { display: grid; gap: .45rem; }
.footer-contact__links a { display: flex; align-items: center; gap: .65rem; width: fit-content; max-width: 100%; text-decoration: none; overflow-wrap: anywhere; transition: color .25s ease, text-shadow .25s ease; }
.footer-contact__links a:hover, .footer-contact__links a:focus { color: #f1d88e; text-decoration: none; text-shadow: 0 0 14px rgba(241,216,142,.42); }
.footer-contact__icon { flex: 0 0 auto; display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--gold); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.footer-contact__links a:hover .footer-contact__icon, .footer-contact__links a:focus .footer-contact__icon { color: #fff1b8; background: rgba(201,162,79,.18); border-color: rgba(241,216,142,.55); box-shadow: 0 0 18px rgba(201,162,79,.24); }
.footer-contact__icon svg { width: 15px; height: 15px; fill: currentColor; }
.footer-button { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.footer-info a, .footer-info .footer-button { text-decoration: none; }
.footer-info a:hover, .footer-info a:focus, .footer-info .footer-button:hover, .footer-info .footer-button:focus { color: #f1d88e; text-decoration: none; }
.footer-info__separator { margin: .85rem 0 .75rem; }
.footer-info__separator hr { width: 100%; margin: 0; border: 0; border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer-bottom p { margin: 0; }

.cookie-banner { position: fixed; inset: auto 1rem 1rem; z-index: 2000; width: min(calc(100% - 2rem), 880px); margin-inline: auto; padding: 1.2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 25px 80px rgba(0,0,0,.28); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .93rem; }
.cookie-banner a { font-size: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.legal { max-width: 900px; }
.legal h2 { margin-top: 1.6em; font-size: 1.55rem; }
.legal h3 { margin-top: 1.4em; font-size: 1.15rem; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: var(--cream); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; inset: 82px 0 auto; display: none; padding: 1rem; background: rgba(24,34,13,.98); box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: .65rem .75rem; }
  .main-nav .nav-cta { text-align: center; }
  .feature-grid, .machine-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { line-height: 1.62; }
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .nav-wrap { width: min(calc(100% - 1.25rem), 1320px); min-height: 72px; }
  .main-nav { inset-block-start: 72px; }
  .wordmark__oro { font-size: 1rem; }
  .wordmark__salentino { font-size: 1.5rem; }
  .hero { min-height: 88svh; }
  .hero--compact { min-height: 64svh; }
  .hero__shade { background: linear-gradient(0deg, rgba(11,18,6,.86), rgba(11,18,6,.12) 78%); }
  .hero__content { padding-top: 8rem; padding-bottom: 3rem; }
  .hero__actions .button { flex: 1 1 160px; }
  .split, .map-panel, .stay-feature { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: initial; }
  .feature-grid, .machine-grid, .card-grid, .product-grid, .stay-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 370px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .machine { min-height: 330px; }
  .contact-card { grid-template-columns: 1fr; text-align: center; }
  .contact-card { padding-inline: .5rem; }
  .contact-card::before { left: 50%; transform: translateX(-50%); }
  .contact-card img { width: 160px; margin-inline: auto; }
  .contact-actions { justify-content: center; }
  .map-panel__aside { grid-template-rows: 250px auto; }
  .map-placeholder { min-height: 360px; }
  .map-placeholder iframe { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions .button { flex: 1 1 180px; }
  .stay-feature__gallery { grid-template-rows: 250px 170px; }
  .breadcrumbs { inset-block-start: 72px; padding: .85rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; }
}
