.elementor-kit-6{--e-global-color-primary:#EDEAE0;--e-global-color-secondary:#574B45;--e-global-color-text:#2F2F2F;--e-global-color-accent:#6C715E;--e-global-typography-primary-font-family:"Urbanist";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Cormorant Garamond";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-preloader-delay:200ms;--e-preloader-color:#574B45;--e-preloader-size:52px;}.elementor-kit-6 e-page-transition{background-color:#EDEAE0;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ==========================================================================
   Il Germoglio — Static site stylesheet
   Design system (tokens + base) + component & layout classes.
   Single file: link it from every page.
   ========================================================================== */

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

/* ==========================================================================
   TOKENS — Colors
   ========================================================================== */
:root {
  /* Warm neutrals */
  --beige-50:  #FBF9F4;
  --beige-100: #F5F1E8;
  --beige-200: #EAE3D5;
  --beige-300: #DED4C2;
  --beige-400: #CBBBA1;
  --beige-500: #B3A083;

  /* Charcoal & brand brown */
  --charcoal-900: #2C2722;
  --charcoal-800: #3D352F;
  --brown-700:    #574B45;
  --brown-500:    #7C6F65;

  /* Muted sage (accent) */
  --sage-700: #46523C;
  --sage-500: #5E6B52;
  --sage-300: #A9B49A;
  --sage-100: #E2E6D9;

  /* Bordeaux (Enoteca only) */
  --wine-700: #5E2A31;
  --wine-500: #7E3A43;

  --white: #FFFFFF;

  /* Surfaces */
  --surface-page:       var(--beige-100);
  --surface-warm:       var(--beige-50);
  --surface-beige:      var(--beige-200);
  --surface-card:       var(--white);
  --surface-sage:       var(--sage-100);
  --surface-sage-solid: var(--sage-500);
  --surface-contrast:   var(--brown-700);
  --surface-wine:       var(--wine-700);

  /* Text */
  --text-heading:       var(--charcoal-900);
  --text-primary:       var(--charcoal-800);
  --text-secondary:     var(--brown-500);
  --text-brand:         var(--brown-700);
  --text-on-dark:       var(--beige-100);
  --text-on-dark-muted: rgba(245,241,232,0.74);
  --text-accent:        var(--sage-700);

  /* Lines & borders */
  --border-subtle: var(--beige-300);
  --border:        var(--beige-400);
  --border-strong: var(--brown-700);
  --rule-accent:   var(--sage-500);

  /* Interactive */
  --accent:       var(--sage-500);
  --accent-hover: var(--sage-700);
  --accent-soft:  var(--sage-100);
  --focus-ring:   rgba(70,82,60,0.45);

  /* Overlays */
  --overlay-scrim: linear-gradient(180deg, rgba(44,39,34,0.34) 0%, rgba(44,39,34,0.44) 45%, rgba(44,39,34,0.78) 100%);
  --overlay-soft:  rgba(44,39,34,0.34);

  /* ==== Typography ==== */
  --font-primary: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', 'Urbanist', Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fw-light: 300; --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;

  --fs-display:  clamp(2.75rem, 1.6rem + 5.2vw, 5rem);
  --fs-h1:       clamp(2.25rem, 1.5rem + 3.2vw, 3.5rem);
  --fs-h2:       clamp(1.75rem, 1.25rem + 2.1vw, 2.625rem);
  --fs-h3:       clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  --fs-h4:       clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-lead:     clamp(1.125rem, 1.04rem + 0.5vw, 1.375rem);
  --fs-body:     1.0625rem;
  --fs-body-sm:  0.9375rem;
  --fs-caption:  0.8125rem;
  --fs-overline: 0.75rem;
  --fs-button:   0.9375rem;

  --lh-tight: 1.08; --lh-snug: 1.22; --lh-normal: 1.5; --lh-relaxed: 1.72;

  --ls-display: -0.01em; --ls-heading: 0.005em; --ls-overline: 0.2em; --ls-button: 0.08em;

  /* ==== Spacing / layout ==== */
  --space-0: 0; --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem;
  --space-8: 4rem; --space-9: 6rem; --space-10: 8rem;

  --section-y:    clamp(3.5rem, 2rem + 6vw, 7rem);
  --section-y-sm: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --gutter:       clamp(1.25rem, 0.5rem + 3vw, 4rem);

  --maxw-prose:   68ch;
  --maxw-content: 1180px;
  --maxw-wide:    1360px;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(60,49,40,0.06);
  --shadow-sm: 0 2px 8px rgba(60,49,40,0.07);
  --shadow-md: 0 8px 24px rgba(60,49,40,0.10);
  --shadow-lg: 0 18px 44px rgba(60,49,40,0.14);

  --ease-out:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms; --dur-base: 260ms; --dur-slow: 520ms;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; color: var(--text-heading); line-height: var(--lh-snug); font-weight: var(--fw-semibold); }
h1 { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--ls-display); }
h2 { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p  { margin: 0 0 var(--space-4); text-wrap: pretty; }
a  { color: var(--text-accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
ul  { margin: 0; }

:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.container { width: 100%; max-width: var(--maxw-content); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--maxw-wide); }
.section    { padding-block: var(--section-y); }
.section--sm{ padding-block: var(--section-y-sm); }

.bg-page       { background: var(--surface-page); color: var(--text-primary); }
.bg-warm       { background: var(--surface-warm); color: var(--text-primary); }
.bg-beige      { background: var(--surface-beige); color: var(--text-primary); }
.bg-sage-solid { background: var(--surface-sage-solid); color: var(--text-on-dark); }
.bg-brown      { background: var(--surface-contrast); color: var(--text-on-dark); }
.bg-wine       { background: var(--surface-wine); color: var(--text-on-dark); }

/* Responsive grid that reflows 1→N columns */
.grid { display: grid; gap: var(--space-5); }
.grid--cards   { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--cards-sm{ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--two     { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-8); align-items: center; }
.text-center   { text-align: center; }

/* Two-image duo used in "Chi siamo" teasers */
.image-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.image-duo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 3/4; }
.image-duo img:nth-child(2) { margin-top: var(--space-7); }

/* ==========================================================================
   TYPOGRAPHIC ATOMS
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-accent);
}
.eyebrow--on-dark { color: var(--sage-300); }
.eyebrow--rule::after {
  content: ""; display: block; width: 56px; height: 2px;
  background: var(--rule-accent); margin-top: var(--space-3);
}
.eyebrow--center { display: block; }
.eyebrow--center.eyebrow--rule::after { margin-inline: auto; }

.section-heading { }
.section-heading .eyebrow { margin-bottom: var(--space-4); }
.section-heading__title {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2);
  line-height: var(--lh-snug); letter-spacing: var(--ls-display);
  color: var(--text-heading); margin: 0;
}
.section-heading__lead {
  font-size: var(--fs-lead); line-height: var(--lh-relaxed);
  color: var(--text-secondary); margin: var(--space-4) 0 0; max-width: 46ch;
}
.section-heading--center { text-align: center; }
.section-heading--center .section-heading__title { max-width: 46ch; margin-inline: auto; }
.section-heading--center .section-heading__lead { margin-inline: auto; }
.section-heading--on-dark .section-heading__title { color: var(--text-on-dark); }
.section-heading--on-dark .section-heading__lead  { color: var(--text-on-dark-muted); }

.lead { font-size: var(--fs-lead); line-height: var(--lh-relaxed); }
.prose p { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--text-primary); }

/* Badge */
.badge {
  display: inline-flex; align-items: center;
  font-family: var(--font-primary); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
  padding: 6px 12px; border-radius: var(--radius-pill);
  color: var(--sage-700); background: var(--sage-100); border: 1px solid var(--sage-300);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-primary); font-weight: 600; letter-spacing: var(--ls-button);
  text-transform: uppercase; line-height: 1; border-radius: var(--radius-pill);
  cursor: pointer; text-decoration: none; border: 1.5px solid transparent;
  padding: 13px 28px; font-size: 15px;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary   { background: var(--accent); color: var(--beige-50); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: var(--shadow-md); color: var(--beige-50); }

.btn--secondary { background: transparent; color: var(--brown-700); border-color: var(--brown-700); }
.btn--secondary:hover { background: var(--brown-700); color: var(--beige-50); }

.btn--ghost { background: transparent; color: var(--text-brand); border-color: transparent; padding-inline: 6px; }
.btn--ghost:hover { color: var(--accent-hover); }

.btn--onDark { background: var(--beige-50); color: var(--brown-700); border-color: var(--beige-50); }
.btn--onDark:hover { box-shadow: var(--shadow-md); color: var(--brown-700); }

.btn--onDark-outline { background: transparent; color: var(--beige-50); border-color: rgba(245,241,232,0.6); }
.btn--onDark-outline:hover { background: rgba(245,241,232,0.12); color: var(--beige-50); }

.btn--wine  { background: var(--wine-500); color: var(--beige-50); border-color: var(--wine-500); }
.btn--wine:hover { background: var(--wine-700); border-color: var(--wine-700); box-shadow: var(--shadow-md); color: var(--beige-50); }

.btn--brown { background: var(--brown-700); color: var(--beige-50); border-color: var(--brown-700); }
.btn--brown:hover { background: var(--charcoal-900); border-color: var(--charcoal-900); box-shadow: var(--shadow-md); color: var(--beige-50); }

.btn__arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: var(--space-4) var(--space-4) 0;
  transition: padding var(--dur-base) var(--ease-out);
}
.site-header__bar {
  max-width: var(--maxw-content); margin: 0 auto;
  border-radius: var(--radius-lg);
  background: rgba(251,249,244,0.68);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.5);
  transition: max-width var(--dur-base) var(--ease-out), border-radius var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.site-header.is-docked { padding: 0; }
.site-header.is-docked .site-header__bar {
  max-width: 100%; border-radius: 0;
  background: rgba(251,249,244,0.82); box-shadow: none;
  border: none; border-bottom: 1px solid var(--border-subtle);
}
.site-header__inner {
  max-width: var(--maxw-content); margin: 0 auto; padding: 0 var(--gutter); height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav__link {
  font-family: var(--font-primary); font-size: var(--fs-body-sm); font-weight: 500;
  letter-spacing: 0.01em; white-space: nowrap;
  color: var(--text-primary); border-bottom: 2px solid transparent; padding-bottom: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__link:hover { color: var(--text-brand); }
.nav__link.is-active { color: var(--text-brand); border-bottom-color: var(--text-brand); }

.nav-cta { display: flex; align-items: center; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--brown-700); font-size: 26px; line-height: 1;
}

.nav-mobile {
  display: none;
  background: var(--surface-warm); border-top: 1px solid var(--border-subtle);
  padding: var(--space-4) var(--gutter) var(--space-6);
  flex-direction: column; gap: var(--space-3);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile__link {
  font-family: var(--font-primary); font-size: var(--fs-h4); font-weight: 500;
  color: var(--text-primary); padding: var(--space-2) 0; border-bottom: 1px solid var(--border-subtle);
}
.nav-mobile__link.is-active { color: var(--text-brand); }

@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 64vh; padding-top: 88px;
}
.hero--tall { min-height: 100vh; }
.hero--mid  { min-height: 70vh; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__scrim { position: absolute; inset: 0; background: var(--overlay-scrim); }
.hero__content {
  position: relative; max-width: var(--maxw-content); margin: 0 auto; width: 100%;
  padding: 0 var(--gutter) var(--section-y-sm);
}
.hero--tall .hero__content { padding-bottom: clamp(3rem, 8vh, 7rem); }
.hero__eyebrow {
  font-family: var(--font-primary); font-size: var(--fs-overline); font-weight: 600;
  letter-spacing: var(--ls-overline); text-transform: uppercase;
  color: var(--beige-50); margin: 0 0 var(--space-4);
}
.hero__title {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-display);
  line-height: var(--lh-tight); letter-spacing: var(--ls-display);
  color: var(--beige-50); margin: 0; max-width: 22ch;
}
.hero__lead {
  font-size: var(--fs-lead); line-height: var(--lh-relaxed);
  color: rgba(245,241,232,0.92); margin: var(--space-5) 0 0; max-width: 46ch;
}
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-6); }

/* ==========================================================================
   SERVICE CARD
   ========================================================================== */
.service-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface-card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-subtle);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__badge {
  position: absolute; top: var(--space-3); left: var(--space-3);
  font-family: var(--font-primary); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--beige-50);
  background: rgba(44,39,34,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.service-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.service-card__title { font-family: var(--font-primary); font-weight: 600; font-size: var(--fs-h3); color: var(--text-heading); margin: 0; letter-spacing: 0.005em; }
.service-card__desc { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--text-primary); margin: 0; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: var(--space-1);
  font-family: var(--font-primary); font-size: var(--fs-button); font-weight: 600;
  letter-spacing: var(--ls-button); text-transform: uppercase; color: var(--text-brand);
  transition: color var(--dur-base) var(--ease-out);
}
.card-link:hover { color: var(--accent-hover); }
.card-link:hover .btn__arrow { transform: translateX(3px); }

/* ==========================================================================
   TESTIMONIAL CARD
   ========================================================================== */
.testimonial {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  height: 100%; margin: 0; background: var(--surface-card); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-sm); border: 1px solid var(--border-subtle);
}
.testimonial__google { position: absolute; top: var(--space-5); right: var(--space-5); }
.testimonial__head { display: flex; align-items: center; gap: var(--space-3); padding-right: var(--space-6); }
.testimonial__avatar {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; overflow: hidden;
  background: var(--sage-300); display: flex; align-items: flex-end; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--border-subtle);
}
.testimonial__meta-wrap { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.testimonial__name { font-family: var(--font-primary); font-weight: 600; font-size: var(--fs-body); color: var(--text-heading); }
.testimonial__meta { font-size: var(--fs-caption); color: var(--text-secondary); }
.testimonial__stars { display: flex; align-items: center; gap: var(--space-2); }
.testimonial__stars .stars { display: flex; gap: 3px; color: var(--sage-500); font-size: 15px; }
.testimonial__date { font-size: var(--fs-caption); color: var(--text-secondary); }
.testimonial__quote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: var(--fs-h4); line-height: var(--lh-snug); color: var(--text-brand); margin: 0; flex: 1;
}
.testimonial__source { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-caption); color: var(--text-secondary); }

/* ==========================================================================
   WINE CARD (portrait) + Enoteca
   ========================================================================== */
.wine-card {
  display: flex; flex-direction: column; background: var(--surface-card);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--wine-500);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.wine-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.wine-card__media { aspect-ratio: 3/4; overflow: hidden; background: var(--beige-100); }
.wine-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.wine-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.wine-card__region {
  font-family: var(--font-primary); font-size: var(--fs-overline); font-weight: 600;
  letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--wine-500);
}
.wine-card__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--text-heading); margin: 0; }
.wine-card__note { font-size: var(--fs-body-sm); line-height: var(--lh-relaxed); color: var(--text-secondary); margin: 0; }

.wine-cat { border-radius: var(--radius-xl); padding: var(--space-9) var(--space-8); }
.wine-cat__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-3); }
.wine-cat__title {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); color: var(--text-heading);
  margin: 0; padding-left: var(--space-4); border-left: 4px solid var(--wine-500); line-height: 1.1;
}
.wine-cat__intro { max-width: 62ch; font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--text-secondary); margin: 0 0 var(--space-3); }
.wine-cat__note { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-caption); font-style: italic; color: var(--text-secondary); margin: 0 0 var(--space-7); }
.wine-cat__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wine-500); display: inline-block; }
.wine-cat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-6); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  font-family: var(--font-primary); font-size: var(--fs-caption); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--wine-500);
  border: 1px solid var(--wine-500); border-radius: var(--radius-pill);
  padding: 4px 12px; line-height: 1.4; background: var(--surface-card);
}
@media (max-width: 640px) { .wine-cat { padding: var(--space-7) var(--space-5); } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  padding: var(--section-y) var(--gutter); text-align: center; background: var(--surface-sage-solid);
}
.cta-band--photo { background-size: cover; background-position: center; }
.cta-band__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.cta-band__eyebrow { font-family: var(--font-primary); font-size: var(--fs-overline); font-weight: 600; letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--sage-300); }
.cta-band__title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: var(--lh-snug); margin: 0; color: var(--beige-50); }
.cta-band__lead { font-size: var(--fs-lead); line-height: var(--lh-relaxed); margin: 0; color: var(--text-on-dark-muted); }
.cta-band__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; margin-top: var(--space-2); }

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer { background: var(--surface-contrast); }
.site-footer__grid {
  max-width: var(--maxw-content); margin: 0 auto; padding: var(--section-y-sm) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-7);
}
.site-footer__col { display: flex; flex-direction: column; gap: var(--space-3); }
.site-footer__logo { height: 46px; width: auto; margin-left: -15px; margin-bottom: var(--space-2); }
.site-footer h4 {
  font-family: var(--font-primary); font-size: var(--fs-overline); font-weight: 700;
  letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--sage-300);
  margin: 0 0 var(--space-2);
}
.site-footer p { color: var(--text-on-dark-muted); font-size: var(--fs-body-sm); line-height: 1.7; margin: 0; }
.site-footer a { color: var(--text-on-dark); font-size: var(--fs-body-sm); }
.site-footer__nav a { line-height: 1.9; }
.site-footer__social { display: flex; gap: var(--space-4); margin-top: var(--space-2); }
.site-footer__legal { border-top: 1px solid rgba(245,241,232,0.14); }
.site-footer__legal-inner {
  max-width: var(--maxw-content); margin: 0 auto; padding: var(--space-4) var(--gutter);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
}
.site-footer__legal span { color: var(--text-on-dark-muted); font-size: var(--fs-caption); }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field > span { font-size: var(--fs-body-sm); font-weight: 500; color: var(--text-brand); }
.field .req { color: var(--accent-hover); }
.field input, .field textarea, .field select {
  font-family: var(--font-primary); font-size: var(--fs-body); color: var(--text-primary);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 13px 15px; width: 100%; outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { resize: vertical; }
.field select { padding-right: 42px; appearance: none; cursor: pointer; background-image: none; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring);
}
.field--select { position: relative; }
.field--select .caret { position: absolute; right: 15px; bottom: 15px; pointer-events: none; color: var(--brown-500); font-size: 12px; }

.contact-form {
  background: var(--surface-warm); padding: var(--space-6); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-4);
}
.contact-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-4); }
.contact-info { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); color: var(--text-primary); }
.contact-info .strong { margin: 0; font-weight: 600; color: var(--text-brand); }
.contact-map { max-width: var(--maxw-content); margin: var(--space-8) auto 0; }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--sage-500); color: var(--beige-50); padding: 14px 22px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg); font-size: var(--fs-body-sm); font-weight: 600; z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   OWNER SLOGAN / STORY
   ========================================================================== */
.slogan { max-width: 760px; margin: 0 auto; text-align: center; }
.slogan__quote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: var(--fs-h2); line-height: var(--lh-snug); color: var(--text-brand); margin: 0; }
.slogan__logo { height: 64px; margin: var(--space-6) auto 0; }

.story-img { width: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* Values cards (Chi siamo) */
.value-card {
  background: rgba(251,249,244,0.10); border: 1px solid rgba(245,241,232,0.22);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.value-card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--beige-50); margin: 0 0 var(--space-3); }
.value-card p { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: rgba(245,241,232,0.88); margin: 0; }

/* Service detail list (Servizi) */
.service-detail { }
.service-detail__body { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--text-primary); margin: var(--space-5) 0; }
.service-points { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.service-points li { display: flex; gap: var(--space-3); align-items: baseline; color: var(--text-primary); font-size: var(--fs-body); }
.service-points li::before { content: "—"; color: var(--accent); font-weight: 700; }
.service-detail__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.order-img-first .service-detail__media { order: 1; }
.order-img-first .service-detail__text { order: 2; }
.order-img-last .service-detail__media { order: 2; }
.order-img-last .service-detail__text { order: 1; }
@media (max-width: 640px) {
  .order-img-first .service-detail__media,
  .order-img-last  .service-detail__media { order: 0; }
  .order-img-first .service-detail__text,
  .order-img-last  .service-detail__text { order: 0; }
}

/* ==========================================================================
   GALLERY MARQUEE (home)
   ========================================================================== */
.marquee { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: var(--space-3); width: max-content; animation: ig-scroll 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { flex: 0 0 auto; width: 260px; height: 320px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
@keyframes ig-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--space-3) / 2)); } }

/* ==========================================================================
   GALLERY PAGE (masonry + filters + lightbox)
   ========================================================================== */
.gallery-filters { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-primary); font-size: var(--fs-body-sm); font-weight: 600; letter-spacing: 0.04em;
  padding: 9px 18px; border-radius: var(--radius-pill); cursor: pointer;
  color: var(--text-brand); background: transparent; border: 1.5px solid var(--border);
  transition: all var(--dur-fast) var(--ease-out);
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn.is-active { color: var(--beige-50); background: var(--accent); border-color: var(--accent); }

.masonry { max-width: var(--maxw-wide); margin: 0 auto; column-gap: var(--space-4); columns: 320px; }
.gphoto {
  margin: 0 0 var(--space-4); break-inside: avoid; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative; cursor: zoom-in;
}
.gphoto.is-hidden { display: none; }
.gphoto img { width: 100%; display: block; transition: transform var(--dur-slow) var(--ease-out); }
.gphoto:hover img { transform: scale(1.05); }
.gphoto figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-4);
  background: linear-gradient(transparent, rgba(44,39,34,0.6)); color: var(--beige-50);
  font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
.gphoto:hover figcaption { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(28,24,20,0.92); padding: var(--space-5);
}
.lightbox.is-open { display: flex; animation: ig-lb-fade 0.25s var(--ease-out); }
@keyframes ig-lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; max-width: min(1100px, 92vw); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.lightbox__figure img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox__cap { color: var(--beige-100); font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.lb-btn {
  position: fixed; z-index: 210; width: 46px; height: 46px; border-radius: var(--radius-pill);
  border: 1px solid rgba(245,241,232,0.3); background: rgba(28,24,20,0.5); color: var(--beige-50);
  font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lb-close { top: 18px; right: 20px; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
@keyframes igRevealIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* Fail-safe: reveal elements stay VISIBLE unless JS is present (.ig-js on <html>).
   So if main.js doesn't load, the page still shows — just without the animation. */
.ig-js .reveal { opacity: 0; }
.reveal.is-in { animation: igRevealIn 0.7s var(--ease-out) both; }

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: var(--beige-400); border-radius: 99px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; }
  .marquee__track { animation: none; }
}/* End custom CSS */