/* Sicily Compass: stile unico del sito. Palette e font ripresi dal sito WordPress originale. */

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #004080;
  --blue-800: #00325f;
  --navy: #0b2340;
  --coral: #e2725b;
  --coral-600: #c95d46;
  --coral-700: #ad4a35;
  --sand: #d2b48c;
  --sand-light: #ead6b2;
  --sand-50: #faf6ef;
  --sand-100: #f3e9da;
  --ink: #17212c;
  --text: #3b4550;
  --muted: #66707b;
  --line: #e7e1d7;
  --white: #fff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 35, 64, .06), 0 2px 8px rgba(11, 35, 64, .05);
  --shadow: 0 10px 30px -12px rgba(11, 35, 64, .22);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--coral-700); }
h1, h2, h3 { color: var(--blue); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  --bg: var(--coral-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--bg); color: #fff; box-shadow: 0 6px 18px -8px rgba(173, 74, 53, .7); }
.btn--primary:hover { background: var(--coral-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 15px 28px; font-size: 17px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { width: 64px; height: 64px; }
.site-nav { display: none; margin-left: auto; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--blue); }
.site-header .btn { margin-left: auto; }
@media (min-width: 960px) {
  .site-nav { display: flex; }
  .site-header .btn { margin-left: 8px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(calc(100svh - var(--header-h)), 860px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 35, 64, .88) 0%, rgba(11, 35, 64, .7) 42%, rgba(11, 35, 64, .25) 75%, rgba(11, 35, 64, .1) 100%),
    linear-gradient(0deg, rgba(11, 35, 64, .45) 0%, rgba(11, 35, 64, 0) 35%);
}
.hero__content { padding-block: 72px 112px; }
.hero__content > * { max-width: 640px; }
.hero__content > .hero__title { max-width: 820px; }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(11, 35, 64, .72) 0%, rgba(11, 35, 64, .82) 55%, rgba(11, 35, 64, .9) 100%); }
  .hero__bg { object-position: 72% 30%; }
  .hero__content { padding-block: 48px 104px; }
}
.hero__title { color: #fff; font-size: clamp(36px, 5.6vw, 64px); font-weight: 750; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 24px; }
.hero__title span { display: block; color: var(--sand-light); font-weight: 600; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .92); }
.hero__chips { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: 14.5px; font-weight: 500; backdrop-filter: blur(6px); }
.hero__chips svg { width: 16px; height: 16px; fill: none; stroke: var(--sand-light); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__area { font-size: 15.5px; color: rgba(255, 255, 255, .8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); animation: bob 2.4s ease-in-out infinite; }
.hero__scroll svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__scroll:hover { color: #fff; background: rgba(255, 255, 255, .15); }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--soft { background: var(--sand-50); }
.section--sand { background: linear-gradient(180deg, var(--sand-100), #ecdcc4); }
.section__head { margin-bottom: 40px; }
.section__head--center { text-align: center; max-width: 820px; margin-inline: auto; }
.section__sub { font-size: 18px; color: var(--text); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-700); }
.prose p { font-size: 17.5px; }
.prose--center { max-width: 760px; margin: 0 auto 56px; }

/* Steps (How I help) */
.steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; gap: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 14px 22px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__media { position: relative; margin-bottom: 20px; }
.step__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.step__num { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.step h3, .step p { padding-inline: 8px; }
.step p { font-size: 16px; margin-bottom: .7em; }

/* Split layout */
.split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--media { align-items: center; } }

/* Video */
.video { position: relative; margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); box-shadow: var(--shadow); }
.video__poster, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 35, 64, .55), rgba(11, 35, 64, .05) 55%); pointer-events: none; }
.video.is-playing::after { display: none; }
.video__play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 78px; height: 78px; border-radius: 50%; border: 0; background: var(--coral-600); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .45); transition: transform .2s, background-color .2s; }
.video__play[hidden] { display: none; }
.video__play:hover { transform: scale(1.06); background: var(--coral-700); }
.video__play svg { width: 30px; fill: currentColor; margin-left: 4px; }
.video__badge { position: absolute; z-index: 2; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 14px; font-weight: 600; }

/* Features */
.features { display: grid; gap: 28px; margin: 36px 0 28px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature__icon, .card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fbe7e1; color: var(--coral-600); margin-bottom: 16px; }
.feature__icon svg, .card__icon svg, .booking__icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; }
.feature p { font-size: 16px; }
.quote { margin: 0; padding: 18px 22px; border-left: 4px solid var(--coral); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); font-size: 18px; font-weight: 500; box-shadow: var(--shadow-sm); }

/* Booking */
.booking { max-width: 960px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 320px; }
.booking__intro { text-align: center; padding: 48px 24px; }
.booking__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #e6eef7; color: var(--blue); margin-bottom: 18px; }
.booking__icon svg { width: 32px; }
.booking__intro .btn { margin-top: 8px; }
.booking__note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.booking.is-loaded { position: relative; height: 720px; }
.booking.is-loaded iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .booking.is-loaded { height: 1000px; } }
.booking__loading { display: grid; place-items: center; height: 700px; color: var(--muted); }
.booking__email { text-align: center; margin: 28px 0 0; color: var(--ink); }

/* East Sicily */
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fbe7e1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c95d46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.rounded-media { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Who cards */
.cards { display: grid; gap: 24px; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { background: #e6eef7; color: var(--blue); }
.card p { font-size: 16px; margin: 0; }

/* Final CTA */
.cta { background: var(--blue); background-image: radial-gradient(1200px 400px at 85% -20%, rgba(226, 114, 91, .35), transparent 60%), linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.cta__inner { text-align: center; padding-block: clamp(64px, 8vw, 96px); }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.cta p { color: rgba(255, 255, 255, .85); font-size: 18px; margin-bottom: 28px; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 56px; }
.site-footer__top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-bottom: 36px; }
.site-footer__top .brand img { width: 72px; height: 72px; }
.site-footer__tag { margin: 0; color: var(--muted); }
.site-footer__mail { font-weight: 600; text-decoration: none; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials:not(:has(a[href^="http"])) { display: none; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sand-50); border: 1px solid var(--line); color: var(--blue); }
.social:not([href^="http"]) { display: none; }
.social:hover { background: var(--blue); color: #fff; }
.social svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom nav { display: flex; gap: 20px; }
.site-footer__bottom a { color: var(--muted); text-decoration: none; }
.site-footer__bottom a:hover { color: var(--blue); }

/* Legal & 404 pages */
.page-head { background: var(--sand-50); border-bottom: 1px solid var(--line); padding-block: 64px 48px; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); margin: 0; }
.page-head p { margin: 10px 0 0; color: var(--muted); }
.legal { max-width: 780px; padding-block: 56px 88px; }
.legal h2 { font-size: 26px; margin-top: 1.8em; }
.legal h3 { font-size: 19px; margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }
.not-found { text-align: center; padding-block: 120px; }
.not-found .btn { margin-top: 12px; }
