/* ============================================
   SERVICE PAGES — Layout Editoriale
   ============================================ */

/* Nasconde l'header WordPress sulle pagine servizio */
.site-header {
  display: none !important;
}

/* Sfondo bianco per tutte le pagine non-home */
body:not(.is-front-page) {
  background: #ffffff;
}

/* ============================================
   LOGO + BURGER — Fissi in alto, senza banda
   ============================================ */
.service-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px;
  background: transparent;
  pointer-events: none;
}

.service-nav > * {
  pointer-events: auto;
}

.service-nav-logo {
  display: block;
  height: 160px;
  width: auto;
}

.service-nav-logo img {
  height: 160px;
  width: auto;
  display: block;
}

.service-nav .hamburger-btn {
  width: 44px;
  height: 44px;
  background: #1F2B3A;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 10px;
  transition: transform 0.2s ease;
}

.service-nav .hamburger-btn:hover {
  transform: scale(1.05);
}

.service-nav .hamburger-btn span {
  display: block;
  width: 12px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   PAGE HERO MINIMAL — Breadcrumbs + Titolo
   ============================================ */
.page-hero {
  padding: 150px 40px 12px;
  background: #ffffff;
}

.page-hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero-breadcrumb {
  font-size: 13px;
  font-family: var(--font-body);
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-weight: 500;
}

.page-hero-breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.page-hero-breadcrumb a:hover {
  color: #000d10;
}

.page-hero-breadcrumb span {
  margin: 0 8px;
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  color: #000d10;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 34px;
}

.page-hero-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #c4a882;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* ============================================
   SEPARATORE TITOLO SEZIONE
   ============================================ */
.service-section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #000d10;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #c4a882;
  display: inline-block;
}

/* ============================================
   SERVICE CONTENT
   ============================================ */
.service-page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.service-section {
  padding: 6px 0;
}

.service-text {
  max-width: 720px;
  margin-bottom: 20px;
}

.service-text p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.75;
  color: #000d10;
  margin-bottom: 20px;
}

.service-text p:last-child {
  margin-bottom: 0;
}

.service-text strong {
  font-weight: 700;
}

.service-text a {
  color: var(--color-deep-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Override max-width for full-width sections */
.service-section--full {
  margin-top: 12px;
}

.service-section--full .service-text {
  max-width: 1200px !important;
}

/* ============================================
   ROW 1: Text Left + Hours Right
   ============================================ */
.service-text-hours {
  display: flex;
  align-items: stretch;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-text-hours .service-text {
  flex: 0 0 55%;
  min-width: 0;
  max-width: none;
}

.service-hours-inline {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  gap: 32px;
  min-width: 220px;
}

/* ============================================
   IMAGES
   ============================================ */
.service-image {
  width: 100%;
  margin: 16px 0;
  background: #f1f5f9;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.service-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.05), rgba(0,0,0,0.02));
  z-index: 1;
}



.service-image--full {
  margin: 16px -40px;
  width: calc(100% + 80px);
}

.service-image--half {
  width: 50%;
  min-width: 0;
  margin: 0;
  flex: 1 1 0;
  aspect-ratio: 16/9;
}

.service-image--small {
  width: 40%;
  min-width: 0;
  flex: 0 0 auto;
  margin: 0;
  aspect-ratio: 4/3;
}

.service-text-prix .service-image--small {
  width: 40%;
  min-width: 0;
  flex: 0 0 auto;
  margin: 0;
  aspect-ratio: 4/3;
}

.autonoleggio-img-1 {
  height: 350px;
  aspect-ratio: auto;
}

.service-image--wide {
  width: 100%;
  margin: 16px 0;
  background: #f1f5f9;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.service-image--wide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.05), rgba(0,0,0,0.02));
  z-index: 1;
}



/* ============================================
   TEXT LEFT + IMAGE RIGHT
   ============================================ */
.service-text-prix {
  display: flex;
  align-items: center;
  gap: 64px;
}

.service-text-prix .service-text {
  flex: 1 1 0;
  min-width: 0;
}

/* ============================================
   2 IMAGES SIDE BY SIDE
   ============================================ */
.service-images-row {
  padding: 3px 0;
}

.service-images-row__inner {
  display: flex;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-images-row__inner .service-image {
  flex: 1 1 0;
  aspect-ratio: 16/9;
}

/* ============================================
   MAPPA GOOGLE
   ============================================ */
.service-map {
  width: 100%;
  max-width: 1200px;
  margin: 32px auto;
  display: block;
}

.service-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* ============================================
   INFO BOXES
   ============================================ */
.service-info-box {
  background: #1F2B3A;
  color: #DFD0BF;
  padding: 32px;
  margin: 32px 0;
  border-radius: 8px;
}

.service-info-box h3 {
  color: #DFD0BF;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 24px;
}

.service-info-box p {
  color: #DFD0BF;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-info-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   HOURS
   ============================================ */
.service-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}

.service-hours-item {
  padding: 16px 16px 16px 24px;
  background: #ffffff;
  position: relative;
}

.service-hours-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  transform: none;
  width: 3px;
  height: 60px;
  background: #AA574E;
  border-radius: 2px;
}

.service-hours-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #000d10;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.service-hours-item span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
}

/* ============================================
   CTA
   ============================================ */
.service-cta {
  text-align: center;
  padding: 8px 0 24px;
  margin-top: -8px;
}

.service-cta p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: #000d10;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.service-cta .btn-dark {
  background: #AA574E;
  color: #ffffff;
  padding: 16px 32px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.service-cta .btn-dark:hover {
  background: #c46a61;
  color: #ffffff;
}

/* ============================================
   TWO BUTTONS CTA
   ============================================ */
.service-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.service-cta-buttons .btn-dark {
  flex: 0 0 auto;
}

/* ============================================
   CHI SIAMO — Layout Alternato
   ============================================ */
.about-section {
  padding: 6px 0;
}

.about-row {
  display: flex;
  align-items: stretch;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-row--reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--color-deep-ink);
  margin: 0 0 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-distances p {
  margin-bottom: 0 !important;
  padding-bottom: 12px;
}

.about-distances p:last-child {
  padding-bottom: 0;
}

.about-distances p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  font-weight: 700;
  color: var(--color-deep-ink);
}

.about-image {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 4/3;
  background: #f1f5f9;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.chisiamo-img-1 {
  background-image: url('../images/1.webp') !important;
}

/* ============================================
   TRE IMMAGINI AFFIANCATHE
   ============================================ */
.about-images-row {
  padding: 40px 0;
}

.about-images-row__inner {
  display: flex;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-images-row__inner .about-image {
  flex: 1 1 0;
  aspect-ratio: 4/3;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.05), rgba(0,0,0,0.02));
  z-index: 1;
}



/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .service-nav {
    padding: 12px 20px;
    background: #FCFBF7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e8e5df;
  }
  
  .service-image--half {
    width: 50%;
    margin: 0 0 48px 24px;
  }
}

@media (max-width: 768px) {
  .service-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    pointer-events: auto !important;
    background: #FCFBF7 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    border-bottom: 1px solid #e8e5df !important;
    z-index: 99999 !important;
    padding: 2px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .service-nav-logo {
    height: 120px !important;
  }
  .service-nav-logo img {
    height: 120px !important;
  }

  .service-nav .hamburger-btn {
    position: relative !important;
  }
  
  .page-hero {
    padding: 150px 20px 48px;
  }
  
  .page-hero-content h1 {
    font-size: 32px;
  }
  
  .service-page-body {
    padding: 0 20px;
  }
  
  .service-image--half {
    width: 100%;
    float: none;
    margin: 32px 0;
  }
  
  .service-image--full {
    margin: 32px 0;
    width: 100%;
  }
  
  .service-hours {
    grid-template-columns: 1fr;
  }
  
  .service-info-box {
    padding: 24px;
  }
  
  .about-row,
  .about-row--reverse {
    flex-direction: column;
    gap: 32px;
  }
  
  .about-text {
    order: 1;
  }
  
  .about-image {
    flex: none;
    width: 100%;
    aspect-ratio: 16/9;
  }

  .chisiamo-img-1 {
    background-position: center calc(50% + 5px) !important;
  }

  .about-row--reverse > .about-image {
    background-position: center calc(50% - 20px) !important;
  }
  
  .about-images-row__inner {
    flex-direction: column;
  }
  
  .about-images-row__inner .about-image {
    flex: 1 1 auto;
  }
  
  .service-text-prix {
    flex-direction: column;
    gap: 32px;
  }
  
  .service-text-prix .service-image--small {
    width: 100% !important;
    margin: 32px 0 !important;
    aspect-ratio: 16/9 !important;
  }
  
  .autonoleggio-img-1 {
    height: 290px !important;
  }

  .service-text-prix .car-hire-intro-image {
    aspect-ratio: 4/3 !important;
    background-position: center 40% !important;
  }
  
  .service-text-hours {
    flex-direction: column;
    gap: 16px;
  }
  
  .service-hours-inline {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
  }
  
  .service-hours-inline .service-hours-item {
    flex: 0 0 auto !important;
    padding: 14px 12px 14px 20px !important;
  }
  
  .service-hours-inline .service-hours-item strong {
    font-size: 13px !important;
  }
  
  .service-hours-inline .service-hours-item span {
    font-size: 13px !important;
  }
  
  .service-images-row__inner {
    flex-direction: column;
  }
  
  .service-images-row__inner .service-image {
    flex: 1 1 auto;
  }
  
  .service-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .service-cta-buttons .btn-dark {
    width: 100%;
    justify-content: center;
  }
  
  .service-map iframe {
    height: 300px;
  }
}

/* ============================================
   PRIVACY / COOKIE POLICY STYLES
   ============================================ */
.service-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-content h1 {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  color: #1F2B3A;
  margin-bottom: 32px;
  line-height: 1.2;
}

.service-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F2B3A;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #DFD0BF;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F2B3A;
  margin-top: 32px;
  margin-bottom: 12px;
}

.service-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1F2B3A;
  margin-top: 24px;
  margin-bottom: 8px;
}

.service-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px 0;
  font-size: 0.95rem;
}

.service-content thead th {
  background: #1F2B3A;
  color: #DFD0BF;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid #1F2B3A;
}

.service-content tbody td {
  padding: 10px 16px;
  border: 1px solid #DFD0BF;
  vertical-align: top;
}

.service-content tbody tr:nth-child(even) {
  background: #f9f7f4;
}

.service-content tbody tr:hover {
  background: #f0ece6;
}

.service-content ul {
  margin: 12px 0 20px 20px;
}

.service-content ul li {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: #1F2B3A;
  margin-bottom: 8px;
}

.service-content code {
  background: #f0ece6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
}

.service-content em {
  color: #666;
  font-style: italic;
}

/* Privacy/Cookie tables responsive */
@media (max-width: 768px) {
  .service-content h1 {
    font-size: 28px;
  }

  .service-content h2 {
    font-size: 1.3rem;
  }

  .service-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .service-content thead th,
  .service-content tbody td {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

.gp-calendar-day { font:inherit;color:inherit;border:0;background:transparent; }

/* Barra compatta esclusivamente su mobile. Desktop invariato. */
@media (max-width: 768px) {
  .service-nav { height: 64px !important; padding: 10px 5vw !important; }
  .service-nav-logo { display: block; width: min(55vw, 250px); height: auto !important; aspect-ratio: 5.25; }
  .service-nav-logo picture { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; }
  .service-nav-logo img { position: absolute; width: 130.72%; height: auto !important; max-width: none; left: -14.2%; top: -133.6%; }
  .page-hero { padding-top: 88px; }
}
@media (max-width: 768px) {
  .service-nav { background: #fffdf9 !important; border-bottom-color: #fffdf9 !important; }
  .service-nav .hamburger-btn { background: #1f2b3a; }
}
/* Solo mobile: avvicina il primo contenuto al titolo della pagina. */
@media (max-width: 768px) {
  .page-hero { padding-bottom: 20px; }
  .page-hero-content h1 { margin-bottom: 12px; }
  .service-page-body > .service-section:first-child > .service-image:first-child {
    margin-top: 0;
  }
}
/* Conferma/verifica prenotazione: spazio per la navigazione fissa condivisa. */
.service-nav--booking ~ #gp-verify-container { margin-top: 190px !important; }
@media (max-width: 768px) {
  .service-nav--booking ~ #gp-verify-container { margin-top: 88px !important; }
}

/* Parking opening hours: a compact table with each time range kept together. */
.parking-hours-table {
  flex: 0 0 auto;
  width: min(100%, 360px);
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5ded6;
  border-radius: 12px;
  overflow: hidden;
  background: #fffdf9;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
}
.parking-hours-table caption {
  text-align: left;
  padding: 0 0 10px;
  color: #1f2b3a;
  font-weight: 700;
  font-size: 16px;
}
.parking-hours-table th, .parking-hours-table td { padding: 12px 16px; }
.parking-hours-table th {
  text-align: left;
  vertical-align: middle;
  font-weight: 600;
  color: #1f2b3a;
  background: #f4eee7;
  white-space: nowrap;
}
.parking-hours-table td {
  text-align: right;
  color: #1f2b3a;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.parking-hours-table tr:nth-child(2) > * { border-top: 1px solid #e5ded6; }
.parking-hours-table tr:nth-child(2) td { padding-bottom: 2px; }
.parking-hours-table .parking-hours-evening td { padding-top: 2px; }
@media (max-width: 768px) {
  .parking-hours-table { width: 100%; max-width: 420px; flex: none; font-size: 14px; }
  .parking-hours-table th, .parking-hours-table td { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 360px) {
  .parking-hours-table { font-size: 13px; }
  .parking-hours-table th, .parking-hours-table td { padding-left: 10px; padding-right: 10px; }
}
