/* ══════════════════════════════════════════
   IMOLE TRANSPORTATION — Global Stylesheet
   ══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d1b2a;
  --gold: #e8a838;
  --gold-lt: #f5c96e;
  --white: #ffffff;
  --offwhite: #f8f6f1;
  --gray: #6b7280;
  --lightgray: #e5e7eb;
  --accessible: #1d4ed8;
  --accessible-lt: #dbeafe;
  --shadow: 0 4px 24px rgba(13,27,42,0.10);
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--offwhite); color: var(--navy); line-height: 1.65; font-size: 16px; }

/* ── SKIP LINK ── */
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--gold); color: var(--navy); padding: .5rem 1rem; border-radius: 6px; font-weight: 600; z-index: 9999; transition: top .2s; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ── NAV ── */
nav { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: .9rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-icon { width: 38px; height: 38px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { color: var(--white); font-family: 'DM Serif Display', serif; font-size: 1.15rem; line-height: 1.2; }
.logo-text span { color: var(--gold); }
.nav-links { list-style: none; display: flex; align-items: center; gap: .15rem; flex-wrap: nowrap; }
.nav-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .85rem; font-weight: 500; padding: .4rem .6rem; border-radius: 6px; transition: background .2s, color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.nav-active { background: rgba(255,255,255,.1); color: var(--white); }
.nav-links a.nav-active { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; border-radius: 8px !important; }
.nav-cta:hover { background: var(--gold-lt) !important; }
.nav-phone { color: var(--gold); font-weight: 600; font-size: .88rem; text-decoration: none; display: flex; align-items: center; gap: .35rem; white-space: nowrap; flex-shrink: 0; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .3rem; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; background: var(--navy); padding: 0 1.5rem 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: rgba(255,255,255,.85); text-decoration: none; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.mob-active { color: var(--gold); }

/* ── PAGE HERO (interior pages) ── */
.page-hero { background: var(--navy); padding: 4rem 1.5rem 3.5rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(232,168,56,.10) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-breadcrumb { font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: .75rem; }
.page-hero-breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero-breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--white); line-height: 1.15; max-width: 680px; margin-bottom: 1rem; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 560px; }
.page-hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(232,168,56,.15); color: var(--gold); border: 1px solid rgba(232,168,56,.3); padding: .3rem .9rem; border-radius: 100px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; margin-bottom: 1rem; }

/* ── SECTIONS ── */
section { padding: 4.5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-block; background: rgba(232,168,56,.15); color: var(--gold); border: 1px solid rgba(232,168,56,.25); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .85rem; border-radius: 100px; margin-bottom: .85rem; }
h2.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: .85rem; }
.section-sub { color: var(--gray); font-size: 1rem; max-width: 580px; margin-bottom: 2.5rem; }

/* ── BUTTONS ── */
.btn-primary { background: var(--gold); color: var(--navy); padding: .85rem 2rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; transition: background .2s, transform .15s; display: inline-flex; align-items: center; gap: .5rem; font-family: 'DM Sans', sans-serif; }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); padding: .85rem 2rem; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid var(--navy); cursor: pointer; transition: background .2s; display: inline-flex; align-items: center; gap: .5rem; font-family: 'DM Sans', sans-serif; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-blue { background: var(--accessible); color: #fff; padding: .85rem 2rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; transition: background .2s, transform .15s; display: inline-flex; align-items: center; gap: .5rem; font-family: 'DM Sans', sans-serif; }
.btn-blue:hover { background: #1e40af; transform: translateY(-1px); }

/* ── CARDS ── */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--lightgray); padding: 1.75rem; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.card p { font-size: .9rem; color: var(--gray); }
.card.accent-blue { background: var(--accessible-lt); border-color: #93c5fd; }
.card.accent-blue .card-icon { background: var(--accessible); }

/* ── FORMS ── */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .72rem 1rem; border: 1.5px solid var(--lightgray); border-radius: 9px; font-family: 'DM Sans', sans-serif; font-size: .95rem; color: var(--navy); background: #fff; transition: border-color .2s, box-shadow .2s; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accessible); box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

/* ── CTA BAND ── */
.cta-band { background: var(--navy); padding: 3.5rem 1.5rem; text-align: center; }
.cta-band h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: .85rem; }
.cta-band p { color: rgba(255,255,255,.65); margin-bottom: 1.75rem; font-size: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--navy); padding: .85rem 2rem; border-radius: 10px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; transition: background .2s; font-family: 'DM Sans', sans-serif; font-size: 1rem; }
.btn-white:hover { background: var(--gold); }
.btn-ghost { background: transparent; color: #fff; padding: .85rem 2rem; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid rgba(255,255,255,.3); display: inline-flex; align-items: center; gap: .5rem; transition: border-color .2s; font-family: 'DM Sans', sans-serif; font-size: 1rem; }
.btn-ghost:hover { border-color: #fff; }

/* ── FOOTER ── */
footer { background: #06101a; color: rgba(255,255,255,.55); padding: 4rem 1.5rem 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .88rem; line-height: 1.6; max-width: 240px; }
.footer-links h4, .footer-contact h4 { color: rgba(255,255,255,.85); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .85rem; }
.footer-links a, .footer-contact a { display: block; color: rgba(255,255,255,.55); text-decoration: none; font-size: .88rem; margin-bottom: .4rem; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-book-btn { display: inline-flex !important; align-items: center; gap: .4rem; background: var(--gold) !important; color: var(--navy) !important; padding: .6rem 1.2rem; border-radius: 8px; font-weight: 700 !important; font-size: .88rem !important; margin-top: .5rem; transition: background .2s !important; }
.footer-book-btn:hover { background: var(--gold-lt) !important; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1.25rem 0; font-size: .82rem; text-align: center; }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 3rem 1.25rem; }
  .page-hero { padding: 3rem 1.25rem 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
}
