/* Italy Cruise Tours: shared styles for every page */
:root {
  --ink: #12222f;
  --muted: #5d6973;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #e2ddd3;
  --sea: #14324a;
  --sea-deep: #0c2131;
  --accent: #b5532e; /* terracotta */
  --max: 1160px;
  --serif: "Didot", "Bodoni 72", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.eyebrow { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow.on-dark { color: #fff; opacity: .9; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 5; color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; letter-spacing: .02em; }
.nav { display: flex; gap: 30px; font-size: .9rem; letter-spacing: .02em; }
.nav a { text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.page .site-header { position: static; color: var(--ink); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; background: var(--sea); padding: 0; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,33,.45) 0%, rgba(8,22,33,0) 28%, rgba(8,22,33,.1) 55%, rgba(8,22,33,.7) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 10vh; width: 100%; }
.hero h1 { max-width: 13ch; }
.hero p { max-width: 50ch; font-size: 1.1rem; opacity: .95; }
.hero .credit { position: absolute; right: 16px; bottom: 12px; z-index: 1; font-size: .72rem; opacity: .75; }
.hero .credit a { text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: #fff; color: var(--ink); text-decoration: none; font-size: .93rem; letter-spacing: .02em; border: 1px solid transparent; border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--accent); color: #fff; }
.btn-dark { background: var(--sea); color: #fff; }
.btn-dark:hover { background: var(--sea-deep); }
.btn-line { background: transparent; color: var(--sea); border-color: var(--sea); }
.btn-line:hover { background: var(--sea); color: #fff; }
.btn.is-pending { opacity: .55; cursor: default; pointer-events: none; }
.link { color: var(--sea); text-decoration: none; border-bottom: 1px solid currentColor; }

/* Sections */
section { padding: 120px 0; }
.lede { font-family: var(--serif); font-size: clamp(1.55rem, 2.7vw, 2.1rem); line-height: 1.32; max-width: 28ch; margin: 0; }
.intro .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: end; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.facts strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--sea); white-space: nowrap; }
.facts span { font-size: .86rem; color: var(--muted); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 42ch; color: var(--muted); margin: 0; }

/* Port cards */
.ports { padding-top: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.card figure { margin: 0 0 20px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover img { transform: scale(1.03); }
.card .meta { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card figcaption, .split figcaption { font-size: .74rem; color: var(--muted); margin-top: 8px; }
.card figcaption a, .split figcaption a { text-decoration: none; }

/* Cruise styles */
.styles { background: var(--sea); color: #e8eef2; }
.styles .eyebrow { color: #e9a585; }
.styles .section-head p, .styles .style-list p { color: #a9bccb; }
.style-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 72px; }
.style-list li { padding: 30px 0; border-top: 1px solid rgba(255,255,255,.15); display: grid; grid-template-columns: 3rem 1fr; }
.style-list .n { font-family: var(--serif); color: #e9a585; }
.style-list h3 { margin-bottom: .3em; color: #fff; }
.style-list p { margin: 0; font-size: .97rem; }

/* How it works */
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split figure { margin: 0; }
.split .photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: end; }
.split .photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.split .photos figure:last-child img { aspect-ratio: 4 / 5; }
.steps { list-style: none; padding: 0; margin: 24px 0 32px; counter-reset: s; }
.steps li { padding: 14px 0 14px 44px; position: relative; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; font-family: var(--serif); color: var(--accent); }

/* Compare (affiliate slots) */
.compare { background: var(--white); border-top: 1px solid var(--line); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; }
.offer p { color: var(--muted); font-size: .97rem; flex: 1; }
.offer .btn { align-self: start; margin-top: 8px; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Footer */
.site-footer { background: var(--sea-deep); color: #b6c3cd; padding: 72px 0 40px; font-size: .9rem; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { color: #fff; display: inline-block; margin-bottom: 12px; }
.site-footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .8rem; color: #8396a5; }
.soon { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-left: 4px; }

/* Simple content pages */
.page main section { padding: 80px 0 120px; }
.credit-list { list-style: none; padding: 0; margin: 32px 0; }
.credit-list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); align-items: center; font-size: .95rem; }
.credit-list img { width: 120px; height: 90px; object-fit: cover; }

@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  section { padding: 84px 0; }
  .intro .wrap, .split .wrap, .faq .wrap { grid-template-columns: 1fr; gap: 40px; }
  .style-list { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .site-footer .top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; gap: 48px; }
  .card figure { aspect-ratio: 4 / 3; }
  .nav { gap: 16px; font-size: .85rem; }
  .nav .hide-sm { display: none; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
