/*
Theme Name:   Hello Elementor Child – AIR
Description:  Amazing Italian Retreats – pixel-perfect recreation
Template:     hello-elementor
Version:      2.0.0
Text Domain:  hello-elementor-child
*/

/* ══════════════════════════════════════════════════
   FONTS
══════════════════════════════════════════════════ */
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Light.woff2') format('woff2'),
       url('fonts/Gotham-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Book.woff2') format('woff2'),
       url('fonts/Gotham-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Medium.woff2') format('woff2'),
       url('fonts/Gotham-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Bold.woff2') format('woff2'),
       url('fonts/Gotham-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pitch Sans';
  src: url('fonts/PitchSans-SemiBold.woff2') format('woff2'),
       url('fonts/PitchSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Aire Pro';
  src: url('fonts/SVN-AirePro.woff2') format('woff2'),
       url('fonts/SVN-AirePro.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ══════════════════════════════════════════════════
   BRAND TOKENS
══════════════════════════════════════════════════ */
:root {
  --verde:          #03252c;
  --marrone-scuro:  #ba895d;
  --marrone:        #ebdbce;
  --marrone-chiaro: #fbf7f4;
  --white:          #ffffff;
  --nero:           #000000;
  --font1: 'Gotham', 'Open Sans', sans-serif;
  --font2: 'Pitch Sans', sans-serif;
  --font3: 'SVN-Aire Pro', Georgia, serif;
  /* Override Elementor global kit defaults (kills injected pink/purple) */
  --e-global-color-primary:   #03252c;
  --e-global-color-secondary: #ba895d;
  --e-global-color-text:      #03252c;
  --e-global-color-accent:    #ba895d;
  --e-global-color-4:         #03252c;
  --e-global-color-5:         #ba895d;
  --e-global-color-6:         #ebdbce;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font1);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7em;
  color: var(--verde);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--verde);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--marrone-scuro); }
p a { text-decoration: underline; }

strong, b { font-weight: 500; }

/* ══════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  margin: 0 0 20px;
}

/* H2 — SVN-Aire Pro, large editorial serif */
h2, .air-h2 {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.1em;
  letter-spacing: 0.05em;
  color: var(--verde);
  margin-bottom: 35px;
}

/* H3 — SVN-Aire Pro, warm brown accent */
h3, .air-h3 {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.1em;
  color: var(--marrone-scuro);
}
h3 span { color: var(--verde); }

/* H4 — Gotham with beige chip look
   Use high-specificity selectors to beat Elementor kit CSS */
h4, .air-h4,
.elementor-widget-heading h4.elementor-heading-title,
.elementor-widget-heading h4 {
  font-family: var(--font1) !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 1em !important;
  letter-spacing: 0.2em !important;
  color: var(--verde) !important;
  background-color: var(--marrone) !important;
  display: inline-block !important;
  max-width: max-content !important;
  padding: 4px 14px !important;
  margin: 0 auto 12px !important;
  text-decoration: none !important;
}

/* ══════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════ */
.site-content,
#content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Homepage — hero fills full viewport behind transparent header */
body.home #page { padding-top: 0; }

/* Inner pages — offset content below fixed/absolute header */
body:not(.home) #page { padding-top: 0; }

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
#site-header,
.air-site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 110;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

body.admin-bar #site-header,
body.admin-bar .air-site-header {
  top: 32px;
}

#site-header.is-sticky,
.air-site-header.is-sticky {
  position: fixed;
  background-color: var(--verde);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.air-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  padding: 0 36px;
  max-width: 1520px;
  margin: 0 auto;
  gap: 20px;
}

/* Logo — centered between hamburger and CTA */
.air-logo {
  flex: 1;
  display: flex;
  justify-content: center;
}
.air-logo img {
  width: 244px;
  height: auto;
  display: block;
}
.air-logo .logo-mobi { display: none; }

/* Navigation */
.air-nav { flex: 1; display: flex; justify-content: center; }
.air-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  align-items: center;
}
.air-nav ul li a {
  display: block;
  padding: 6px 10px;
  font-family: var(--font1);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.air-nav ul li a::after {
  content: '';
  position: absolute;
  left: 10px;
  bottom: 2px;
  width: calc(100% - 20px);
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.air-nav ul li a:hover::after,
.air-nav ul li.current-menu-item > a::after { transform: scaleX(1); }
.air-nav ul li a:hover { color: #fff; }

/* Header CTA */
.air-header-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.air-header-phone {
  color: #fff;
  font-size: 13px;
  font-family: var(--font1);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.air-header-phone:hover { color: var(--marrone-scuro); }
.air-btn-prenota {
  display: inline-block;
  padding: 0;
  background: transparent;
  border: none;
  color: #fff !important;
  font-family: var(--font1);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}
.air-btn-prenota:hover {
  background: transparent;
  color: #fff !important;
}

/* Navigation — always hidden; offcanvas is used on all screen sizes */
.air-nav { display: none !important; }
.air-header-cta .air-header-phone { display: inline-block; }

/* Menu trigger — text-based like the reference site */
.air-menu-toggle,
.air-menu-toggle:hover,
.air-menu-toggle:focus {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 0;
  margin-right: auto;
  order: -1;
  text-decoration: none;
}
.air-menu-toggle-label {
  display: block;
  position: relative;
  color: #fff;
  font-family: var(--font1);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  padding: 12px 0;
}
.air-menu-toggle-label::before,
.air-menu-toggle-label::after {
  content: '';
  position: absolute;
  left: 0;
  width: 42px;
  height: 1px;
  background: rgba(255,255,255,0.72);
  transition: background 0.3s ease, transform 0.3s ease;
}
.air-menu-toggle-label::before {
  top: 0;
}
.air-menu-toggle-label::after {
  bottom: 0;
}
.air-menu-toggle:hover .air-menu-toggle-label,
.air-menu-toggle[aria-expanded="true"] .air-menu-toggle-label {
  color: var(--marrone-scuro);
}
.air-menu-toggle:hover .air-menu-toggle-label::before,
.air-menu-toggle:hover .air-menu-toggle-label::after,
.air-menu-toggle[aria-expanded="true"] .air-menu-toggle-label::before,
.air-menu-toggle[aria-expanded="true"] .air-menu-toggle-label::after {
  background: var(--marrone-scuro);
}

/* ══════════════════════════════════════════════════
   OFFCANVAS MENU
══════════════════════════════════════════════════ */
.air-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.air-offcanvas.is-open {
  visibility: visible;
  pointer-events: all;
}
.air-offcanvas-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,37,44,0.7);
  opacity: 0;
  transition: opacity 0.4s;
}
.air-offcanvas.is-open .air-offcanvas-backdrop { opacity: 1; }
.air-offcanvas-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(400px, 85vw);
  height: 100%;
  background: var(--marrone-chiaro);
  padding: 80px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.18,1);
  overflow-y: auto;
}
.air-offcanvas.is-open .air-offcanvas-panel { transform: translateX(0); }
.air-offcanvas-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--verde);
  line-height: 1;
}
.air-lang-switcher {
  margin-bottom: 20px;
}
.air-lang-switcher ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 14px;
  align-items: center;
}
.air-lang-switcher li { line-height: 1; }
.air-lang-switcher li + li {
  border-left: 1px solid var(--marrone);
  padding-left: 14px;
}
.air-lang-switcher a {
  font-family: var(--font1);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
.air-lang-switcher a:hover { opacity: 1; text-decoration: underline; }
.air-lang-switcher .current-lang a,
.air-lang-switcher li.current-lang a {
  font-weight: 700;
  opacity: 1;
}

.air-offcanvas-nav ul {
  list-style: none;
  margin: 0; padding: 0;
}
.air-offcanvas-nav ul li {
  border-top: 1px solid var(--marrone);
}
.air-offcanvas-nav ul li:last-child { border-bottom: 1px solid var(--marrone); }
.air-offcanvas-nav ul li a {
  display: block;
  padding: 18px 0;
  font-family: var(--font1);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde);
  text-decoration: none;
  transition: color 0.2s;
}
.air-offcanvas-nav ul li a:hover,
.air-offcanvas-nav ul li.current-menu-item > a {
  color: var(--marrone-scuro);
}

/* ══════════════════════════════════════════════════
   HERO / FULL-SCREEN SECTIONS
══════════════════════════════════════════════════ */
/* Hero h4 subheading: transparent bg, white, no chip */
.air-hero-section .elementor-widget-heading h4.elementor-heading-title,
.air-hero-section .elementor-widget-heading h4 {
  background: transparent !important;
  color: #fff !important;
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* App section h4: transparent bg, uppercase, centered */
.air-app-section .elementor-widget-heading h4.elementor-heading-title,
.air-app-section .elementor-widget-heading h4 {
  background: transparent !important;
  text-transform: uppercase !important;
  margin-bottom: 0 !important;
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Hero gradient overlay: darker at top for navbar readability, strong at bottom for text */
.elementor-element.air-hero-section > .elementor-background-overlay,
.elementor-section.air-hero-section > .elementor-background-overlay {
  background: linear-gradient(180deg,
    rgba(0,0,0,0.58) 0%,
    rgba(0,0,0,0.38) 26%,
    rgba(0,0,0,0.44) 55%,
    rgba(0,0,0,0.78) 100%) !important;
  opacity: 1 !important;
}

.air-hero-section .elementor-widget-spacer:first-child .elementor-spacer-inner,
.air-hero-section .air-hero-top-spacer .elementor-spacer-inner {
  height: 348px !important;
}

.air-hero-section .elementor-widget-heading h2.elementor-heading-title,
.air-hero-section .elementor-widget-heading h4.elementor-heading-title {
  transform: translateY(-46px);
}

.air-hero-section .elementor-widget-heading h4.elementor-heading-title,
.air-hero-section .elementor-widget-heading h4 {
  text-transform: lowercase;
  letter-spacing: 0.12em !important;
}

.air-hero-section .elementor-button-wrapper {
  display: none;
}

/* ══════════════════════════════════════════════════
   PROPERTY CARDS (Elementor inner sections)
══════════════════════════════════════════════════ */
.air-cards-section > .elementor-container {
  gap: 6px;
}
@media (min-width: 769px) {
  .air-cards-section > .elementor-container > .elementor-column {
    max-width: calc(33.333% - 4px);
    flex-basis: calc(33.333% - 4px);
  }
}
.air-prop-card {
  position: relative;
  transition: transform 0.5s ease !important;
  overflow: hidden;
}
.air-prop-card:hover {
  transform: scale(1.02);
  z-index: 2;
}
/* Stretched-link pattern. We neutralise intermediate Elementor wrappers
   (position: static) so the absolutely-positioned anchor's containing block
   becomes the card section itself. Flipping the container to static also
   removes Elementor's content_position: bottom alignment, so we explicitly
   re-stretch the column and push its contents to the bottom. */
.air-prop-card > .elementor-container {
  position: static !important;
  align-items: stretch !important;
}
.air-prop-card .elementor-column,
.air-prop-card .elementor-widget-wrap,
.air-prop-card .elementor-widget {
  position: static;
}
.air-prop-card .elementor-widget-wrap {
  align-content: flex-end !important;
}
.air-prop-card-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
}
.air-prop-card-link .screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Kill Elementor's default inter-widget spacing inside the card and tame the
   spacer so VILLE / APPARTAMENTI / CAMERE sits close to the "scoprile tutte"
   label instead of floating 50px above it. Elementor hard-codes a 20px
   margin-bottom on every widget regardless of --widgets-spacing, so we
   zero it out with !important and let the single spacer widget control the
   intentional gap. */
.air-prop-card {
  --widgets-spacing: 0px;
}
.air-prop-card .elementor-widget {
  margin-bottom: 0 !important;
}
.air-prop-card .elementor-widget-spacer .elementor-spacer-inner {
  height: 8px !important;
}
/* Elementor paints .elementor-background-overlay (position:absolute, z-index:auto)
   AFTER the static widget content in the same stacking context, so the overlay
   was being painted on top of the heading and CTA — that's the "affected by
   opacity, impossible to read" symptom. Lift the visible widgets into their
   own positioned layer above the overlay. The html widget holding the full-
   card stretched link stays static so its absolute anchor still references
   the card section as containing block. */
.air-prop-card .elementor-widget-heading,
.air-prop-card .elementor-widget-text-editor,
.air-prop-card .elementor-widget-spacer {
  position: relative;
  z-index: 1;
}
/* Stop Elementor's default overlay alpha (0.5) from diluting the gradient so
   the bottom of the card is a full rgba(0,0,0,0.75) and the white label reads
   cleanly over every hero image. */
.air-prop-card > .elementor-background-overlay {
  opacity: 1 !important;
}

/* ── DESTINATION CARDS (Elementor inner sections, 2×2) ─────── */
/* Used by homepage Section 8 and affitti-per-vacanze-italia Section 3.
   Do NOT confuse with .air-loc-card below, which is a separate raw-HTML
   grid used by the Italia Elementor page. */
.air-dest-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease !important;
}
.air-dest-card:hover {
  transform: scale(1.02);
  z-index: 2;
}

/* Same container surgery as .air-prop-card: flip the elementor-container
   to static so the absolute stretched link anchors to the card itself,
   and re-stretch / bottom-align the column & widget-wrap since flipping
   the container cancels Elementor's content_position:bottom. */
.air-dest-card > .elementor-container {
  position: static !important;
  align-items: stretch !important;
}
.air-dest-card .elementor-column,
.air-dest-card .elementor-widget-wrap,
.air-dest-card .elementor-widget {
  position: static;
}
.air-dest-card .elementor-widget-wrap {
  align-content: flex-end !important;
}

/* Full-card stretched anchor. */
.air-dest-card-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
}
.air-dest-card-link .screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Real gradient overlay — override Elementor's default opacity:0.5 and
   drop a three-stop gradient that keeps the image bright up top and lets
   white text read cleanly at the bottom. */
.air-dest-card > .elementor-background-overlay {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  opacity: 1 !important;
  transition: background 0.5s ease;
}
.air-dest-card:hover > .elementor-background-overlay {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.05) 100%
  ) !important;
}

/* Visible widgets sit above the overlay layer. The HTML widget (which
   hosts the stretched anchor) is intentionally excluded — keeping it
   static lets the absolute anchor escape up to the card itself instead
   of being trapped inside the widget's own positioned context. */
.air-dest-card .elementor-widget-heading,
.air-dest-card .elementor-widget-text-editor,
.air-dest-card .elementor-widget-spacer {
  position: relative;
  z-index: 1;
}
.air-dest-card {
  --widgets-spacing: 0px;
}
.air-dest-card .elementor-widget {
  margin-bottom: 0 !important;
}

/* Subtle underline-grow on the "scopri tutti" label on hover. */
.air-dest-card .air-dest-card-more {
  display: inline-block;
  padding-bottom: 2px;
  background-image: linear-gradient(#fff, #fff);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  text-decoration: none !important;
  transition: background-size 0.35s ease;
}
.air-dest-card:hover .air-dest-card-more {
  background-size: 100% 2px;
}

/* Row gap between the two cards stacked in each outer column. Scoped to
   .air-locations-section so the card class stays portable. The mobile
   breakpoints at style.css:1283 / 1294 already expect .air-locations-section
   on the outer section — applying that class now completes the half-wired
   mobile rule. */
.air-locations-section .air-dest-card {
  margin-bottom: 6px;
}
.air-locations-section .air-dest-card:last-child {
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════
   LOCATION CARDS (raw HTML, 2×2 grid)
══════════════════════════════════════════════════ */
.air-loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.air-loc-card {
  display: block;
  position: relative;
  height: 500px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
.air-loc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transition: transform 0.5s ease;
}
.air-loc-card:hover .air-loc-bg { transform: scale(1.04); }
.air-loc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.50) 65%, rgba(0,0,0,0.75) 100%);
}
.air-loc-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  z-index: 1;
}
.air-loc-title {
  font-family: var(--font3);
  color: #fff;
  font-size: 30px;
  letter-spacing: 0.08em;
  font-weight: 400;
  margin: 0 0 8px;
}
.air-loc-sub {
  color: rgba(255,255,255,0.85);
  font-family: var(--font1);
  font-size: 15px;
  font-weight: 300;
  margin: 0 0 12px;
  line-height: 1.5;
}
.air-loc-more {
  display: inline-block;
  color: #fff;
  text-decoration: underline;
  font-family: var(--font1);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Button hover – global outline buttons */
.elementor-button-wrapper .elementor-button:hover {
  background-color: var(--marrone-scuro) !important;
  border-color: var(--marrone-scuro) !important;
  color: #fff !important;
}

/* ══════════════════════════════════════════════════
   ICON BOXES (Why Choose Us)
══════════════════════════════════════════════════ */
.air-why-section .elementor-widget-image {
  text-align: center;
  margin-bottom: 20px;
}
.air-why-section .elementor-widget-image img {
  max-width: 80px;
  height: auto;
}

/* H4 chip style in Why section */
.air-why-section .elementor-widget-heading .elementor-heading-title {
  font-family: var(--font1) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em !important;
  color: var(--verde) !important;
  background-color: var(--marrone) !important;
  display: inline-block !important;
  padding: 4px 14px !important;
  margin: 0 auto 12px !important;
}

.air-why-section .elementor-widget-text-editor,
.air-why-section .elementor-widget-text-editor p {
  font-family: var(--font1);
  font-size: 16px;
  font-weight: 300;
  color: var(--verde);
  text-align: center;
}

/* ══════════════════════════════════════════════════
   ELEMENTOR GLOBAL OVERRIDES
══════════════════════════════════════════════════ */
.elementor-heading-title {
  font-family: inherit;
}

/* Section headings in cream sections */
.air-cream-section h2,
.air-cream-section .elementor-heading-title[data-air-h2] {
  font-family: var(--font3) !important;
  font-size: 60px !important;
  line-height: 1.1em !important;
  font-weight: 400 !important;
  color: var(--verde) !important;
  letter-spacing: 0.05em !important;
}

/* Buttons */
.elementor-button,
.air-btn {
  font-family: var(--font1) !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}

/* ══════════════════════════════════════════════════
   BOOKING SEARCH BAR (hero booking strip)
   Port of live site's .kb-form, renamed to .air-booking-*
══════════════════════════════════════════════════ */
.air-booking-bar {
  display: block;
  width: calc(100% + 120px);
  margin: 3px -60px 0;
}
.air-booking-form {
  display: block;
  width: 100%;
  margin: 0;
}
.air-booking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 5px;
  align-items: stretch;
}
.air-booking-col {
  position: relative;
}
.air-booking-col--from::after,
.air-booking-col--to::after,
.air-booking-col--guests::after,
.air-booking-col--submit::after {
  display: block;
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}
.air-booking-col--from::after,
.air-booking-col--to::after {
  content: url(assets/calendar.svg);
  width: 14px;
  height: 16px;
}
.air-booking-col--guests::after {
  content: url(assets/guests.svg);
  width: 16px;
  height: 16px;
}
.air-booking-col--submit::after {
  content: url(assets/cerca.svg);
  width: 18px;
  height: 18px;
  left: auto;
  right: 18px;
}
.air-booking-form .air-booking-input,
.air-booking-form .air-booking-submit {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 50px;
  margin: 0;
  font-family: var(--font1);
  font-size: 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.air-booking-form .air-booking-input {
  padding: 8px 20px 8px 42px;
  border: 1px solid #dddddd;
  background: #ffffff;
  border-radius: 10px;
  color: #444444;
  line-height: 1;
  outline: none;
  transition: border-color 0.2s linear, background 0.2s linear;
  cursor: pointer;
}
.air-booking-form .air-booking-input:focus {
  border-color: #99baca;
  background: #f5fbfe;
  color: #444444;
  outline: 0;
}
.air-booking-form .air-booking-input::placeholder { color: #999999; }
.air-booking-form .air-booking-input::-webkit-input-placeholder { color: #999999; }
.air-booking-form .air-booking-input::-moz-placeholder { color: #999999; }
.air-booking-form .air-booking-select {
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, #444 50%),
    linear-gradient(135deg, #444 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.air-booking-form .air-booking-submit {
  padding: 0 25px;
  border: none;
  border-radius: 10px;
  background-color: var(--marrone-scuro);
  color: #ffffff;
  font-weight: 500;
  line-height: 50px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  vertical-align: middle;
  transition: background-color 0.2s linear;
  position: relative;
}
.air-booking-form .air-booking-submit:hover,
.air-booking-form .air-booking-submit:focus {
  background-color: #a77649;
  color: #ffffff;
  outline: 0;
}
.air-booking-form .air-booking-date.ui-state-error,
.air-booking-form .air-booking-input.air-booking-error {
  border-color: #dc8d99;
  background: #fff7f8;
  color: #d85030;
}
.air-datepicker-ui {
  z-index: 99999 !important;
}
.air-datepicker-ui.ui-datepicker {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(3,37,44,0.18);
  padding: 14px;
  background: #fff;
  font-family: var(--font1);
}
.air-datepicker-ui .ui-datepicker-header {
  border: 0;
  background: transparent;
  color: var(--verde);
  font-weight: 500;
}
.air-datepicker-ui .ui-datepicker-title {
  font-family: var(--font1);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.air-datepicker-ui .ui-state-default {
  border: 0;
  background: transparent;
  text-align: center;
  color: var(--verde);
  border-radius: 8px;
}
.air-datepicker-ui .ui-state-active,
.air-datepicker-ui .ui-state-hover {
  background: var(--marrone-scuro);
  color: #fff;
}
.air-datepicker-ui .ui-datepicker-prev,
.air-datepicker-ui .ui-datepicker-next {
  cursor: pointer;
}

/* ══════════════════════════════════════════════════
   BOOKING FORM (custom HTML 2-column)
══════════════════════════════════════════════════ */
.air-form {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font1);
}
.air-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.air-form-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.air-form-full {
  grid-column: 1 / -1;
  margin-top: 10px;
}
.air-form input[type=text],
.air-form input[type=email],
.air-form input[type=tel],
.air-form select,
.air-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--marrone);
  border-radius: 0;
  font-family: var(--font1);
  font-size: 16px;
  font-weight: 300;
  color: var(--verde);
  background: #fff;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.air-form input:focus,
.air-form select:focus,
.air-form textarea:focus {
  border-color: var(--marrone-scuro);
}
.air-form textarea { resize: vertical; }
.air-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--verde);
  cursor: pointer;
  margin-bottom: 6px;
}
.air-form-check input[type=checkbox] {
  width: auto;
  margin: 3px 0 0;
  flex-shrink: 0;
}
.air-form-check a { text-decoration: underline; }
.air-form a,
.air-form label a {
  color: var(--verde) !important;
  text-decoration: underline;
}
.air-form a:hover,
.air-form label a:hover {
  color: var(--marrone-scuro) !important;
}
.air-form button[type=submit] {
  width: 100%;
  padding: 18px;
  background: var(--verde);
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: var(--font1);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}
.air-form button[type=submit]:hover {
  background: var(--marrone-scuro);
}

/* ── CF7 compatibility inside .air-form ─────────────────────── */
/* CF7 wraps each field in a <span> — make them block so flex layout works */
.air-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
/* Checkbox/acceptance rows: wrapper must not be full-width or it pushes the label text down */
.air-form-check .wpcf7-form-control-wrap {
  display: inline-flex;
  width: auto;
}
/* CF7 submit is <input type=submit>, not <button> */
.air-form input[type=submit] {
  width: 100%;
  padding: 18px;
  background: var(--verde);
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: var(--font1);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}
.air-form input[type=submit]:hover {
  background: var(--marrone-scuro);
}
/* CF7 checkbox/acceptance label alignment */
.air-form .wpcf7-acceptance label,
.air-form .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--verde);
  margin-bottom: 6px;
  cursor: pointer;
}
.air-form .wpcf7-acceptance input[type=checkbox],
.air-form .wpcf7-list-item input[type=checkbox] {
  width: auto !important;
  margin: 3px 0 0;
  flex-shrink: 0;
}
/* Remove CF7 default notice styles that clash */
.air-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  font-family: var(--font1);
  font-size: 14px;
}

@media (max-width: 768px) {
  .air-form-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   OWNER SECTION
══════════════════════════════════════════════════ */
.air-box-pro { overflow: hidden; }
.air-box-pro ul { color: #fff !important; }
.air-box-pro li { color: #fff !important; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.air-footer {
  background: var(--verde);
  padding: 40px 60px;
  font-family: var(--font1);
}
.air-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.air-footer-left {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.9;
}
.air-footer-left p { margin: 0 0 4px; }
.air-footer-left a { color: rgba(255,255,255,0.7); text-decoration: none; }
.air-footer-left a:hover { color: var(--marrone-scuro); }
.air-footer-social {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}
.air-footer-social a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.air-footer-right {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.air-footer-btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font1);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.air-footer-btn--outline {   /* OWNERS: white transparent (live .scopri) */
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.air-footer-btn--outline:hover {
  background: var(--marrone-scuro);
  border-color: var(--marrone-scuro);
  color: #fff;
}
.air-footer-btn--solid {     /* NEWSLETTER: gold solid (live .scopri-scuro) */
  background: var(--marrone-scuro);
  color: #fff !important;
  border: 1px solid var(--marrone-scuro);
}
.air-footer-btn--solid:hover {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff !important;
}
@media (max-width: 768px) {
  .air-footer { padding: 30px 24px; }
  .air-footer-inner { flex-direction: column; align-items: flex-start; }
  .air-footer-right { flex-direction: column; width: 100%; }
  .air-footer-btn { text-align: center; }
}

/* ══════════════════════════════════════════════════
   VIDEO SECTION
══════════════════════════════════════════════════ */
.air-video-section {
  min-height: 100vh !important;
}

/* ══════════════════════════════════════════════════
   FOOTER LOGO + SOCIAL ICONS
══════════════════════════════════════════════════ */
.air-footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 16px;
  display: block;
  filter: brightness(0) invert(1);  /* white version of any logo */
  opacity: 0.85;
}
.air-footer-social a svg {
  width: 22px;
  height: 22px;
  fill: rgba(255,255,255,0.75);
  transition: fill 0.2s;
  vertical-align: middle;
}
.air-footer-social a:hover svg { fill: var(--marrone-scuro); }

/* ══════════════════════════════════════════════════
   MOBILE BOTTOM BAR
══════════════════════════════════════════════════ */
.air-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  grid-template-columns: 1fr 1fr 1fr;
}
.air-mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  font-family: var(--font1);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.air-mobile-bar .bar-email { background: #cea98c; }
.air-mobile-bar .bar-phone { background: #5f895f; }
.air-mobile-bar .bar-book  { background: var(--verde); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  h2, .air-h2 { font-size: 46px; }
  h3, .air-h3 { font-size: 32px; }
  .air-header-inner {
    height: 96px;
    padding: 0 24px;
  }
  .air-logo img { width: 210px; }
  .air-header-phone { display: inline-block; }
  .air-hero-section .elementor-widget-spacer:first-child .elementor-spacer-inner,
  .air-hero-section .air-hero-top-spacer .elementor-spacer-inner {
    height: 300px !important;
  }
  .air-hero-section .elementor-widget-heading h2.elementor-heading-title,
  .air-hero-section .elementor-widget-heading h4.elementor-heading-title {
    transform: translateY(-34px);
  }
}

@media (max-width: 768px) {
  .air-booking-bar {
    margin: 3px 0 0;
    width: 100%;
  }
  .air-booking-form {
    background: #FAF6F3;
    border-radius: 10px;
    overflow: hidden;
  }
  body { font-size: 16px; }
  h2, .air-h2 { font-size: 36px; }
  h3, .air-h3 { font-size: 28px; }

  .air-nav { display: none; }
  .air-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
  }
  .air-logo {
    justify-content: center;
    min-width: 0;
  }
  .air-logo .logo-desktop { display: none; }
  .air-logo .logo-mobi {
    display: block;
    width: 132px;
    max-width: 100%;
  }
  .air-header-cta .air-header-phone { display: none; }
  .air-btn-prenota { display: none; }
  .air-menu-toggle { display: flex; }
  .air-menu-toggle-label {
    font-size: 13px;
    letter-spacing: 0.16em;
  }
  .air-menu-toggle-label::before,
  .air-menu-toggle-label::after {
    width: 36px;
  }

  .air-hero-section .elementor-widget-spacer:first-child .elementor-spacer-inner,
  .air-hero-section .air-hero-top-spacer .elementor-spacer-inner {
    height: 260px !important;
  }
  .air-hero-section .elementor-widget-heading h2.elementor-heading-title,
  .air-hero-section .elementor-widget-heading h4.elementor-heading-title {
    transform: translateY(-20px);
  }

  .air-booking-form .air-booking-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .air-booking-form .air-booking-col--from  { grid-column: 1 / span 1; }
  .air-booking-form .air-booking-col--to    { grid-column: 2 / span 1; }
  .air-booking-form .air-booking-col--guests,
  .air-booking-form .air-booking-col--submit { grid-column: 1 / span 2; }
  .air-booking-form .air-booking-input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    height: 50px;
  }
  .air-booking-form .air-booking-input:focus { background: transparent; }
  .air-booking-form .air-booking-col--from .air-booking-input { border-right: 1px solid #ccc; }
  .air-booking-form .air-booking-submit {
    border-radius: 0 0 10px 10px;
    font-size: 13px;
  }
  .air-booking-col--from::after,
  .air-booking-col--to::after,
  .air-booking-col--guests::after { top: 14px; }
  .air-booking-col--submit::after { width: 20px; top: 15px; }

  .air-footer-inner { grid-template-columns: 1fr; gap: 30px; }

  .air-mobile-bar {
    display: grid !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 -10px 28px rgba(3,37,44,0.16);
  }

  /* Make room for mobile bar */
  body { padding-bottom: 56px; }

  /* Elementor responsive */
  .elementor-section > .elementor-container > .elementor-row {
    flex-wrap: wrap;
  }
  .elementor-column {
    width: 100% !important;
  }

  /* Card columns stack on mobile */
  .air-cards-section .elementor-column,
  .air-locations-section .elementor-column {
    width: 50% !important;
  }
}

@media (max-width: 480px) {
  body.admin-bar #site-header,
  body.admin-bar .air-site-header {
    top: 46px;
  }
  .air-cards-section .elementor-column,
  .air-locations-section .elementor-column {
    width: 100% !important;
  }
}

/* ══════════════════════════════════════════════════
   INNER PAGE HERO (secondary page template)
══════════════════════════════════════════════════ */
.air-inner-hero {
  position: relative;
}

/* ══════════════════════════════════════════════════
   CHI SIAMO – TWO-COLUMN SPLIT
══════════════════════════════════════════════════ */
.air-chi-image-col {
  position: relative;
  min-height: 700px;
}

/* Vertical 1px verde divider on right edge of image column */
.air-chi-image-col::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background-color: var(--verde);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .air-chi-image-col { min-height: 350px; }
  .air-chi-image-col::after { display: none; }
  .air-chi-text-col { padding-left: 24px !important; padding-right: 24px !important; }
}

/* ══════════════════════════════════════════════════
   TEAM PAGE — grid + hover effect (JPG → GIF + overlay caption)
══════════════════════════════════════════════════ */
.air-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}

.air-team-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fbf7f4;
  box-shadow: 0 18px 40px rgba(3,37,44,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.air-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(3,37,44,0.14);
}

.air-team-card .overlay-box {
  position: relative;
  margin: 0;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.air-team-card .air-team-media {
  position: relative;
  aspect-ratio: 0.84 / 1;
  overflow: hidden;
}

.air-team-card .overlay-box img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.air-team-card .overlay-box .foto-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
}

.air-team-card .overlay-box:hover .foto-2 {
  opacity: 1;
  transition-delay: 0.2s;
}

.air-team-card .overlay-box:not(:hover) .foto-2 {
  transition-delay: 0.8s;
}

.air-team-card .info-team-left {
  position: relative;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,241,235,0.98) 100%);
  opacity: 1;
  transition: background 0.35s ease;
  padding: 20px 20px 22px;
  box-sizing: border-box;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.air-team-card .overlay-box:hover .info-team-left {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(239,229,219,1) 100%);
}

.air-team-card .info-team-left h3 {
  font-family: var(--font3);
  font-size: 23px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--verde);
  margin: 0 0 8px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.air-team-card .info-team-left p {
  font-family: var(--font1);
  font-size: 14px;
  font-weight: 300;
  color: var(--verde);
  margin: 0;
  line-height: 1.5;
  opacity: 0.82;
}

@media (min-width: 1600px) {
  .air-team-card .info-team-left h3 { font-size: 28px; }
}
@media (max-width: 1024px) {
  .air-team-grid { grid-template-columns: repeat(3, 1fr); }
  .air-team-card .info-team-left h3 { font-size: 20px; }
}
@media (max-width: 768px) {
  .air-team-grid { grid-template-columns: 1fr; gap: 16px; padding: 0; max-width: 420px; }
  .air-team-card { border-radius: 14px; }
  .air-team-card .info-team-left { padding: 14px 14px 16px; min-height: 108px; }
  .air-team-card .info-team-left h3 { font-size: 18px; }
  .air-team-card .info-team-left p { font-size: 12px; }
}
@media (max-width: 480px) {
  .air-team-grid { grid-template-columns: 1fr; }
}

.air-affitti-card {
  overflow: hidden;
  transition: transform 0.35s ease;
}

.air-affitti-card:hover {
  transform: scale(1.015);
}

.air-affitti-card > .elementor-background-overlay,
.air-affitti-card.elementor-section > .elementor-background-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 24%, rgba(0,0,0,0.34) 56%, rgba(0,0,0,0.88) 100%) !important;
  opacity: 1 !important;
}

.air-affitti-card .elementor-heading-title,
.air-affitti-card .elementor-widget-text-editor p {
  text-shadow: 0 4px 18px rgba(0,0,0,0.28);
}

/* ══════════════════════════════════════════════════
   CONTACT PAGE – INTRO SECTION
══════════════════════════════════════════════════ */
.air-contact-intro-section .elementor-column-wrap,
.air-contact-intro-section .elementor-widget-wrap {
  height: 100%;
}

.air-contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.air-contact-info p {
  font-family: var(--font1);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8em;
  color: var(--verde);
  margin: 0 0 8px;
}

.air-contact-info a {
  color: var(--marrone-scuro);
  text-decoration: underline;
}

.air-contact-form-col {
  background: var(--marrone-chiaro);
}

/* Contact block (SVG icon + heading + link) */
.air-contatto {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.air-contatto svg {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-top: 4px;
}

.air-contatto h3 {
  font-family: var(--font3);
  font-size: 28px;
  font-weight: 400;
  color: var(--verde);
  margin: 0 0 4px;
}

.air-contatto p {
  font-family: var(--font1);
  font-size: 15px;
  font-weight: 300;
  color: var(--verde);
  margin: 0 0 4px;
  font-style: italic;
}

.air-contatto a {
  font-family: var(--font1);
  font-size: 17px;
  font-weight: 400;
  color: var(--marrone-scuro);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .air-contact-info { padding: 40px 24px !important; }
  .air-contact-form-col { padding: 40px 24px !important; }
  .air-contatto h3 { font-size: 22px; }
}

/* ══════════════════════════════════════════════════
   SHORTCODE: WHY CHOOSE US – responsive
══════════════════════════════════════════════════ */
.air-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .air-why-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .air-why-grid { grid-template-columns: 1fr !important; padding: 10px 24px 60px !important; }
}

/* ══════════════════════════════════════════════════
   SHORTCODE: OWNER CTA – responsive
══════════════════════════════════════════════════ */
.air-owner-overlay {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  align-items: center;
}

.air-btn-outline:hover {
  background: var(--marrone-scuro) !important;
  border-color: var(--marrone-scuro) !important;
}

@media (max-width: 1024px) {
  .air-owner-overlay { grid-template-columns: 1fr 1fr !important; }
  .air-owner-overlay > div:last-child { grid-column: 1 / -1; text-align: center !important; }
}
@media (max-width: 768px) {
  .air-owner-overlay { grid-template-columns: 1fr !important; padding: 40px 24px !important; text-align: center; }
  .air-owner-overlay h2 { font-size: 36px !important; }
  .air-owner-overlay ul { padding-left: 0; list-style-position: inside; }
}

/* ══════════════════════════════════════════════════
   LOCATION CAROUSEL
══════════════════════════════════════════════════ */
.air-loc-carousel {
  overflow: hidden;
  padding: 0;
}

.air-loc-carousel .swiper-wrapper {
  display: flex;
}

.air-loc-carousel .swiper-slide {
  flex-shrink: 0;
  width: 33.333%;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.air-loc-carousel .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}

.air-loc-carousel .swiper-slide a {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  color: #fff;
}

.air-loc-carousel .swiper-slide h3 {
  font-family: var(--font3);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.air-loc-carousel .swiper-slide p {
  font-family: var(--font1);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin: 0 0 12px;
  line-height: 1.5;
}

.air-loc-carousel .swiper-slide .air-card-link {
  color: #fff;
  text-decoration: underline;
  font-family: var(--font1);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.air-loc-carousel .swiper-button-prev,
.air-loc-carousel .swiper-button-next {
  color: #fff;
}

@media (max-width: 1024px) {
  .air-loc-carousel .swiper-slide { width: 50%; }
}
@media (max-width: 768px) {
  .air-loc-carousel .swiper-slide { width: 100%; min-height: 400px; }
}

/* ══════════════════════════════════════════════════
   SINGLE VILLA PAGE
══════════════════════════════════════════════════ */
.air-villa-hero {
  position: relative;
  min-height: 450px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.air-villa-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.air-villa-content {
  background: #ffffff;
  padding: 80px 60px 60px;
}

.air-villa-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.air-villa-title {
  font-family: var(--font3);
  font-size: 60px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--verde);
  margin: 0 0 30px;
  text-align: center;
}

.air-villa-body {
  font-family: var(--font1);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7em;
  color: var(--verde);
}

.air-villa-body h2 {
  font-family: var(--font3);
  font-size: 60px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--verde);
  margin: 40px 0 20px;
}

.air-villa-body h3 {
  font-family: var(--font3);
  font-size: 42px;
  font-weight: 400;
  color: var(--marrone-scuro);
  margin: 30px 0 16px;
}

.air-villa-body p {
  margin: 0 0 20px;
}

.air-villa-body strong {
  font-weight: 500;
}

.air-villa-cta {
  text-align: center;
  padding: 40px 0 20px;
}

.air-villa-btn {
  display: inline-block;
  font-family: var(--font1);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--verde);
  padding: 14px 40px;
  text-decoration: none;
  transition: background 0.3s;
}

.air-villa-btn:hover {
  background: var(--marrone-scuro);
  color: #ffffff;
}

.air-villa-carousel-section {
  padding: 0;
}

@media (max-width: 1024px) {
  .air-villa-title { font-size: 46px; }
  .air-villa-body h2 { font-size: 46px; }
  .air-villa-body h3 { font-size: 32px; }
}

@media (max-width: 768px) {
  .air-villa-hero { min-height: 300px; }
  .air-villa-content { padding: 50px 24px 40px; }
  .air-villa-title { font-size: 36px; }
  .air-villa-body { font-size: 16px; }
  .air-villa-body h2 { font-size: 36px; }
  .air-villa-body h3 { font-size: 28px; }
}

/* ══════════════════════════════════════════════════
   SECONDARY PAGE TEMPLATE
══════════════════════════════════════════════════ */
.air-secondary-hero-wrap { display: block; width: 100%; }
.air-secondary-hero {
  width: 100%;
  min-height: 360px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
.air-secondary-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}
.air-secondary {
  background: #ffffff;
  padding: 98px 60px 120px;
}
.air-secondary-inner {
  max-width: 980px;
  margin: 0 auto;
}
.air-secondary-inner > *:first-child { margin-top: 0; }
.air-secondary-inner h1 {
  margin-bottom: 24px;
}
.air-secondary-inner h2 {
  font-size: 46px;
  margin: 56px 0 20px;
}
.air-secondary-inner h3 {
  font-size: 28px;
  margin: 36px 0 16px;
}
.air-secondary-inner p,
.air-secondary-inner li {
  font-family: var(--font1);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7em;
  color: var(--verde);
}
.air-secondary-inner p {
  margin: 0 0 20px;
}
.air-secondary-inner ul,
.air-secondary-inner ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

/* ══════════════════════════════════════════════════
   LEGAL PAGE TEMPLATE
══════════════════════════════════════════════════ */
.air-legal {
  background: #ffffff;
  padding: 98px 60px 120px;
}

.air-legal-inner {
  max-width: 820px;
  margin: 0 auto;
}

.air-legal-title {
  font-family: 'Pitch Sans', sans-serif;
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 48px;
  text-align: center;
}

.air-legal-content {
  font-family: 'Gotham', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: #222;
}

.air-legal-content h2 {
  font-family: 'Pitch Sans', sans-serif;
  font-size: 28px;
  line-height: 1.25;
  margin: 48px 0 16px;
}

.air-legal-content h3 {
  font-family: 'Pitch Sans', sans-serif;
  font-size: 22px;
  line-height: 1.3;
  margin: 36px 0 12px;
}

.air-legal-content h4 {
  font-family: 'Gotham', sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin: 28px 0 10px;
}

.air-legal-content p {
  margin: 0 0 18px;
}

.air-legal-content ul,
.air-legal-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.air-legal-content li {
  margin: 0 0 8px;
}

.air-legal-content a {
  color: inherit;
  text-decoration: underline;
}

.air-legal-content a:hover {
  opacity: 0.7;
}

.air-legal-content hr {
  border: 0;
  border-top: 1px solid #e5e5e5;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .air-secondary-hero {
    min-height: 260px;
  }
  .air-secondary {
    padding: 60px 24px 80px;
  }
  .air-secondary-inner h2 {
    font-size: 34px;
  }
  .air-secondary-inner h3 {
    font-size: 24px;
  }
  .air-secondary-inner p,
  .air-secondary-inner li {
    font-size: 16px;
  }

  .air-legal {
    padding: 60px 24px 80px;
  }
  .air-legal-title {
    font-size: 34px;
    margin-bottom: 32px;
  }
  .air-legal-content {
    font-size: 16px;
  }
  .air-legal-content h2 { font-size: 24px; }
  .air-legal-content h3 { font-size: 20px; }
}

/* ══════════════════════════════════════════════════
   NEWSLETTER PAGE (template-newsletter.php)
══════════════════════════════════════════════════ */
.air-newsletter-section .air-h2 {
  margin: 0;
}
.air-newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
}
.air-newsletter-intro {
  font-family: var(--font1);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7em;
  color: var(--verde);
  margin: 0 auto;
  max-width: 620px;
  text-align: center;
}
.air-newsletter-form .air-newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.air-newsletter-form .air-newsletter-grid input,
.air-newsletter-form .air-newsletter-grid .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.air-newsletter-form input[type="text"],
.air-newsletter-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font1);
  font-size: 16px;
  font-weight: 300;
  color: var(--verde);
  background: #fff;
  border: 1px solid rgba(3, 37, 44, 0.18);
  border-radius: 0;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.air-newsletter-form input[type="text"]:focus,
.air-newsletter-form input[type="email"]:focus {
  border-color: var(--marrone-scuro, #ba895d);
}
.air-newsletter-form .air-form-check {
  font-family: var(--font1);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55em;
  color: var(--verde);
  margin: 18px 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.air-newsletter-form .air-form-check input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}
.air-newsletter-form .air-form-check .wpcf7-list-item {
  margin: 0;
  display: inline;
}
.air-newsletter-form .air-form-check .wpcf7-list-item-label {
  display: none;
}
.air-newsletter-form .air-form-check a {
  color: var(--verde);
  text-decoration: underline;
}
.air-newsletter-submit {
  text-align: center;
  margin-top: 8px;
}
.air-newsletter-form input[type="submit"] {
  display: inline-block;
  font-family: var(--font1);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #fff;
  background: var(--verde, #03252c);
  border: 1px solid var(--verde, #03252c);
  padding: 16px 56px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s;
  border-radius: 0;
}
.air-newsletter-form input[type="submit"]:hover {
  background: var(--marrone-scuro, #ba895d);
  border-color: var(--marrone-scuro, #ba895d);
}
.air-newsletter-form .wpcf7-not-valid-tip {
  color: #b94a48;
  font-size: 12px;
  margin-top: 4px;
}
.air-newsletter-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  font-family: var(--font1);
  font-size: 14px;
  border: 1px solid rgba(3, 37, 44, 0.2);
  text-align: center;
}

@media (max-width: 768px) {
  .air-newsletter-section { padding: 60px 24px !important; }
  .air-newsletter-form .air-newsletter-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════
   DESTINATION PAGE (template-destination.php)
   case-vacanze-*, affitti-vacanze-borghi-* pages
══════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────── */
.air-destination-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--verde);
}

.air-destination-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .air-destination-hero { min-height: 420px; }
}
@media (max-width: 768px) {
  .air-destination-hero { min-height: 320px; }
}

/* ── Intro section (.strutture-full) ─────────────── */
.strutture-full {
  max-width: 900px;
  margin: 0 auto;
  padding: 98px 30px 60px;
  text-align: center;
}

.strutture-full .wp-block-heading.air-h4.pos-subtitle {
  /* Eyebrow chip - inherits .air-h4 beige badge */
  margin: 0 auto 16px !important;
}

.strutture-full h1.wp-block-heading.air-h2,
.strutture-full h1.air-h2 {
  text-align: center;
  margin: 0 auto 28px;
  text-transform: uppercase;
}

.strutture-full .pos-description,
.strutture-full .wp-block-group.pos-description {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.strutture-full .pos-description > p,
.strutture-full .wp-block-group.pos-description > p {
  font-family: var(--font1);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7em;
  color: var(--verde);
  margin: 0 0 20px;
  text-align: center;
}

.strutture-full .pos-description > p:last-child,
.strutture-full .wp-block-group.pos-description > p:last-child {
  margin-bottom: 0;
}

.strutture-full .pos-description strong,
.strutture-full .wp-block-group.pos-description strong {
  font-weight: 500;
  color: var(--verde);
}

/* ── Gutenberg button styled as the live site "scopri scopri-scuro" ── */
.strutture-full .wp-block-buttons {
  margin-top: 20px;
  justify-content: center;
}

.strutture-full .wp-block-button.scopri,
.strutture-full .wp-block-button.scopri-scuro {
  margin: 0;
}

.strutture-full .wp-block-button.scopri .wp-block-button__link,
.strutture-full .wp-block-button.scopri-scuro .wp-block-button__link,
.strutture-full a.scopri,
.strutture-full a.scopri-scuro {
  display: inline-block;
  font-family: var(--font1);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff !important;
  background-color: var(--verde) !important;
  border: 1px solid var(--verde) !important;
  border-radius: 0 !important;
  padding: 14px 36px !important;
  text-decoration: none !important;
  transition: background-color .3s, color .3s, border-color .3s;
}

.strutture-full .wp-block-button.scopri .wp-block-button__link:hover,
.strutture-full .wp-block-button.scopri-scuro .wp-block-button__link:hover,
.strutture-full a.scopri:hover,
.strutture-full a.scopri-scuro:hover {
  background-color: var(--marrone-scuro) !important;
  border-color: var(--marrone-scuro) !important;
  color: #fff !important;
}

/* ── Destinations carousel wrapper ───────────────── */
.air-destinations-slideset {
  margin: 20px 0 0;
}

.air-destinations-slideset .air-loc-carousel {
  margin: 0;
}

/* Constrain card min-height on destination pages so the carousel
   isn't as tall as on the villa single page. */
.air-destinations-carousel .swiper-slide {
  min-height: 440px;
  /* Override the villa carousel's bg-on-slide default — destination
     cards put the background on an inner .air-dest-slide-bg so it
     can be scaled on hover without moving the text. */
  background-image: none !important;
}

/* Bg image wrapper — scales on hover, kept beneath overlay and text. */
.air-destinations-carousel .air-dest-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.7s ease;
  will-change: transform;
}
.air-destinations-carousel .swiper-slide:hover .air-dest-slide-bg {
  transform: scale(1.06);
}

/* Keep the gradient overlay above the bg layer but below the link.
   Also darken it slightly on hover, mirroring .air-dest-card. */
.air-destinations-carousel .swiper-slide::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.78) 100%);
  transition: background 0.5s ease;
}
.air-destinations-carousel .swiper-slide:hover::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.85) 100%);
}

/* Text anchor on top; inherits z-index:2 from .air-loc-carousel base. */
.air-destinations-carousel .swiper-slide a {
  z-index: 2;
}

/* "scoprili tutti" label — underline-grow on hover (same mechanic as
   .air-dest-card-more on the homepage cards). */
.air-destinations-carousel .swiper-slide .air-card-link {
  display: inline-block;
  align-self: flex-start;
  padding-bottom: 2px;
  background-image: linear-gradient(#fff, #fff);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  text-decoration: none !important;
  transition: background-size 0.35s ease;
}
.air-destinations-carousel .swiper-slide:hover .air-card-link {
  background-size: 100% 2px;
}

@media (max-width: 768px) {
  .strutture-full { padding: 64px 24px 40px; }
  .strutture-full h1.wp-block-heading.air-h2,
  .strutture-full h1.air-h2 { font-size: 36px; }
  .strutture-full .pos-description > p,
  .strutture-full .wp-block-group.pos-description > p { font-size: 17px; }
  .air-destinations-carousel .swiper-slide { min-height: 360px; }
}
