/* TaxiMessina: stile del mockup D «manifesto» (vedi DESIGN.md). Quattro inchiostri e la carta, nient altro. */
  @font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/sofia-sans-extra-condensed-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/sofia-sans-extra-condensed-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/sofia-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/sofia-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "Yellowtail"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/yellowtail-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

  /* Four lithographic inks and the paper. Nothing else: no greys, no gradients. */
  :root {
    --blue: #1e4fb4;      /* Tyrrhenian blue */
    --sea: #1b3a7a;       /* blue overprinted with ink */
    --red: #c73a22;       /* lava red */
    --sun: #f4b92b;       /* sun yellow */
    --ink: #231f20;       /* key plate */
    --paper: #fdfcf9;     /* poster paper */
    --card: #ffffff;      /* ticket and panel stock */
    --on-blue: #dbe4f7;   /* paper tinted by the blue, for secondary copy */
    --on-ink: #e3ddd0;
    /* WhatsApp brand colours: only on the WhatsApp card, the one exception to the four inks */
    --wa-green: #25d366;
    --wa-teal: #0f7d6e;    /* paper tinted by the ink */
    --display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
    --text: "Sofia Sans", system-ui, sans-serif;
    --script: "Yellowtail", cursive;
    --wrap: 1312px;
    --gutter: clamp(16px, 4vw, 64px);
    --section: clamp(72px, 9vw, 128px);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --band: clamp(220px, 27vw, 280px); /* height of the poster band on tablet and phone */
  }

  * { box-sizing: border-box; }
  html { scrollbar-color: var(--ink) var(--paper); -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); caret-color: var(--red); }
  ::selection { background: var(--sun); color: var(--ink); }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
  .on-paper :focus-visible, .ticket :focus-visible { outline-color: var(--red); }
  .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ic { width: 1em; height: 1em; flex: none; fill: currentColor; }

  h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; line-height: .9; margin: 0; text-wrap: balance; }
  h2 { font-size: clamp(2.75rem, 1.6rem + 3.6vw, 5rem); }
  h3 { font-size: 1.875rem; font-weight: 800; line-height: .95; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 800 1.375rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; padding: .7em 1.05em .66em; border: 0; border-radius: 4px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
  .btn:active { transform: translateY(1px); }
  .btn .ic { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
  .btn:hover .ic { transform: translateX(3px); }
  .btn--red { background: var(--red); color: var(--card); }
  .btn--red:hover { background: var(--ink); }
  .btn--sun { background: var(--sun); color: var(--ink); }
  .btn--sun:hover { background: var(--card); }
  .btn--paper { background: var(--card); color: var(--ink); }
  .btn--paper:hover { background: var(--sun); }

  /* ---------- top bar ---------- */
  .bar { background: var(--paper); border-bottom: 3px solid var(--ink); position: relative; z-index: 5; }
  .bar .wrap { display: flex; align-items: center; gap: 32px; min-height: 64px; }
  .mark { display: block; flex: none; }
  .mark img { height: 52px; width: auto; }
  .links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
  .links a { display: block; font: 800 1.1875rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding: 10px 12px 8px; border-radius: 4px; }
  .links a:hover { background: var(--sun); }
  .links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
  .bar .end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
  .lang { font-weight: 600; font-size: .9375rem; }
  .bar .tel { display: inline-flex; align-items: center; gap: 8px; font: 900 1.375rem/1 var(--display); text-decoration: none; color: var(--red); }
  .menu-btn { display: none; }

  /* ---------- hero: the poster ---------- */
  .hero { position: relative; overflow: hidden; background: var(--blue); color: var(--card);
    display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: auto 1fr auto;
    grid-template-areas: "copy ." ". ." "ticket side";
    column-gap: 48px; min-height: min(calc(100svh - 67px), 960px);
    padding: clamp(40px, 5vw, 64px) max(var(--gutter), (100% - var(--wrap)) / 2) clamp(32px, 4vw, 48px); }
  .plate { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
  .hero > :not(.plate) { position: relative; z-index: 1; }
  .hero-copy { grid-area: copy; max-width: 640px; }
  .hero h1 { font-size: clamp(3.25rem, 1.4rem + 4.9vw, 6rem); color: var(--card); }
  .hero h1 .script { display: block; font: 400 .74em/1 var(--script); text-transform: none; letter-spacing: 0; color: var(--sun); margin: .06em 0 0 .08em; }
  .lead { color: var(--on-blue); font-size: 1.1875rem; line-height: 1.5; max-width: 34em; margin: 22px 0 26px; }
  .calls { display: flex; flex-wrap: wrap; gap: 6px 28px; }
  .calls a { display: inline-flex; align-items: center; gap: 10px; font: 900 2.125rem/1 var(--display); letter-spacing: .01em; color: var(--sun); text-decoration: none; padding: 4px 0; }
  .calls a:hover { text-decoration: underline; }
  .calls .ic { width: .8em; height: .8em; }

  /* the quote request, printed as a rail ticket */
  .ticket { grid-area: ticket; align-self: end; display: grid; grid-template-columns: 150px 1fr; background: var(--card); color: var(--ink); border-radius: 6px; max-width: 660px; }
  .stub { background: var(--sun); border-radius: 6px 0 0 6px; padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
  .stub::after { content: ""; position: absolute; top: 6px; bottom: 6px; right: -5px; width: 10px;
    background: radial-gradient(circle, var(--sea) 3.2px, transparent 3.8px) center top / 10px 13px repeat-y; }
  .stub h2 { font-size: 1.25rem; line-height: .9; }
  .stub .ic { width: 52px; height: 52px; }
  .ticket-body { padding: 18px 22px 20px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .field label { font: 800 .8125rem/1.2 var(--text); text-transform: uppercase; letter-spacing: .08em; }
  .field input, .field select { font: 600 1.0625rem/1.3 var(--text); color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 6px 2px 5px; width: 100%; min-height: 40px; appearance: none; -webkit-appearance: none; }
  .field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23231f20'%3E%3Cpath d='M10 16h28L24 33Z'/%3E%3C/svg%3E") right 2px center / 18px no-repeat; padding-right: 24px; }
  .field input::placeholder { color: var(--blue); font-weight: 400; }
  .field input:hover, .field select:hover { border-bottom-color: var(--blue); }
  .field input:focus, .field select:focus { outline: 0; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
  .field input:user-invalid { border-bottom-color: var(--red); }
  .ticket-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
  .ticket-foot small { font-size: .875rem; line-height: 1.35; max-width: 22em; }


  .wa-card { grid-area: side; align-self: stretch; justify-self: end; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: center; align-content: center; background: var(--card); color: var(--ink); text-decoration: none; border-radius: 6px; padding: 28px 40px 28px 34px; }
  .wa-card .ic { grid-row: 1 / 4; width: 64px; height: 64px; color: var(--wa-green); transition: transform .35s var(--ease); }
  .wa-q { font: 600 .9375rem/1.2 var(--text); }
  .wa-card strong { font: 900 2.25rem/.95 var(--display); text-transform: uppercase; color: var(--wa-teal); text-decoration: underline 4px transparent; text-underline-offset: .12em; transition: text-decoration-color .25s var(--ease); }
  .wa-n { font: 800 1.25rem/1.1 var(--display); letter-spacing: .02em; margin-top: 4px; }
  @media (min-width: 1101px) {
    .wa-card { min-width: 460px; height: 150px; align-self: center; padding-block: 0; padding-inline: 44px; column-gap: 26px; justify-content: center; }
    .wa-card .ic { width: 88px; height: 88px; }
    .wa-q { font-size: 1.0625rem; }
    .wa-card strong { font-size: 2.625rem; }
    .wa-n { font-size: 1.5rem; margin-top: 6px; }
    /* the ticket's title stays the largest word of the two cards */
    .ticket { grid-template-columns: 168px 1fr; }
    .stub h2 { font-size: 1.4375rem; }
  }
  /* short laptop screens: keep the calls clear of the ticket */
  /* narrower laptops: the lead stops before the plume */
  @media (min-width: 1101px) and (max-width: 1320px) { .lead { max-width: 29em; } }
  @media (min-width: 1101px) and (max-height: 860px) {
    .hero { padding-top: 52px; }
    .hero h1 { font-size: clamp(3.25rem, 1rem + 4.2vw, 5rem); }
    .lead { margin: 16px 0 18px; }
    .hero-copy { margin-bottom: 32px; }
  }
  /* hover: the paper stays white; the mark rings and the word underlines */
  .wa-card:hover .ic, .wa-card:focus-visible .ic { transform: scale(1.08) rotate(-8deg); }
  .wa-card:hover strong, .wa-card:focus-visible strong { text-decoration-color: var(--wa-green); }

  /* the plate prints ink by ink, each pass dropping into register */
  @media (prefers-reduced-motion: no-preference) {
    .pass { animation: register .9s var(--ease) both; }
    .pass-sun { animation-delay: .05s; } .pass-red { animation-delay: .2s; } .pass-sea { animation-delay: .35s; }
    .pass-ink { animation-delay: .5s; } .pass-paper { animation-delay: .7s; }
    .taxi-run { animation: drive 1.6s var(--ease) 1.1s both; }
    @keyframes drive { from { transform: translateX(-320px); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
    @keyframes register { from { opacity: .25; transform: translate(9px, -6px); } to { opacity: 1; transform: none; } }
  }


  /* ---------- the owner's photo of the taxi, in the fleet section ---------- */
  .fleet-photo { position: relative; margin: 0; }
  .fleet-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 38% 60%; border: 8px solid var(--card); border-radius: 4px; background: var(--card); }
  .fleet-photo figcaption { position: absolute; left: 24px; bottom: 24px; background: var(--card); color: var(--ink); font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px 8px; border-radius: 4px; }

  /* ---------- services: a mosaic of poster blocks ---------- */
  .section { padding-block: var(--section); }
  .head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
  .head p { margin: 0; max-width: 36em; font-size: 1.1875rem; }
  .mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0;
    grid-template-areas: "air air rail port" "exc exc cruise yacht" "exc exc meet wed"; }
  .tile { padding: 26px 26px 28px; border-radius: 4px; display: flex; flex-direction: column; gap: 12px; min-height: 236px; }
  .tile .ic { width: 56px; height: 56px; margin-bottom: auto; }
  .tile p { margin: 0; font-size: 1rem; line-height: 1.45; }
  .tile h3 { margin-top: 18px; }
  .t-blue { background: var(--blue); color: var(--card); } .t-blue p { color: var(--on-blue); }
  .t-red { background: var(--red); color: var(--card); }
  .t-sun { background: var(--sun); color: var(--ink); }
  .t-ink { background: var(--ink); color: var(--card); } .t-ink p { color: var(--on-ink); }
  .t-paper { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
  .tile a { font-weight: 700; }
  .air { grid-area: air; } .rail { grid-area: rail; } .port { grid-area: port; } .cruise { grid-area: cruise; } .yacht { grid-area: yacht; } .meet { grid-area: meet; } .wed { grid-area: wed; }
  .exc { grid-area: exc; justify-content: space-between; padding: 32px; }
  .places { list-style: none; margin: 8px 0 20px; padding: 0; }
  .places li { font: 900 clamp(2.25rem, 1.4rem + 2.2vw, 3.5rem)/.98 var(--display); text-transform: uppercase; color: var(--sun); }
  .places li:nth-child(even) { color: var(--card); }
  .air .places { display: flex; flex-wrap: wrap; gap: 0 .45em; margin: 10px 0 12px; }
  .air .places li { font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); }
  .exc h3 { font-size: 2.25rem; margin: 0; }
  .exc .guide { display: inline-flex; align-items: center; gap: 10px; font: 800 1.25rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); background: var(--card); padding: 10px 14px 9px; border-radius: 4px; align-self: flex-start; }
  .exc .guide .ic { width: 22px; height: 22px; margin: 0; }

  /* ---------- photographs as postcards on the sun ---------- */
  .sun-field { background: var(--sun); }
  .collage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
  .collage .big { grid-column: span 2; grid-row: span 2; }
  .collage figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
  .collage img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 8px solid var(--card); border-radius: 4px; background: var(--card); }
  .collage .big img { flex: 1 1 auto; min-height: 0; height: 100%; aspect-ratio: auto; }
  .collage figcaption { font: 800 1.25rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; margin-top: 10px; }

  /* ---------- cruise band on the deep sea ---------- */
  .sea-field { background: var(--sea); color: var(--card); }
  .cruise-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 64px; align-items: center; }
  .cruise-band p { color: var(--on-blue); font-size: 1.1875rem; max-width: 32em; margin: 22px 0 30px; }
  .ports { list-style: none; margin: 0; padding: 0; }
  .ports li { display: flex; align-items: center; gap: .3em; font: 900 clamp(3rem, 1.8rem + 4vw, 5.75rem)/1 var(--display); text-transform: uppercase; color: var(--card); padding: .12em 0 .06em; border-bottom: 3px solid var(--blue); }
  .ports li:first-child { border-top: 3px solid var(--blue); }
  .ports li:nth-child(odd) { color: var(--sun); }
  .ports .ic { width: .62em; height: .62em; color: var(--sun); }

  /* ---------- fleet on the key plate ---------- */
  .ink-field { background: var(--ink); color: var(--card); }
  .fleet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
  .fleet p { color: var(--on-ink); font-size: 1.1875rem; max-width: 30em; margin: 22px 0 30px; }
  .fleet h2 span { color: var(--sun); }
  .fleet-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
  .stamp { background: var(--ink); width: 168px; height: 168px; border-radius: 50%; border: 3px solid var(--sun); box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 8px var(--sun); color: var(--sun); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; gap: 2px; transform: rotate(-6deg); transition: transform .4s var(--ease), background-color .3s var(--ease); }
  .stamp span { font: 800 .875rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; }
  .stamp strong { font: 900 1.375rem/.95 var(--display); text-transform: uppercase; color: var(--card); margin: 4px 0; }
  .stamp em { font: 600 .8125rem/1.2 var(--text); font-style: normal; text-decoration: underline; text-underline-offset: .2em; margin-top: 6px; color: var(--card); }
  .stamp:hover { transform: rotate(0deg); }

  /* ---------- payment methods ---------- */
  .pay { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
  .pay h2 { font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem); align-self: center; }
  .pay-panel { background: var(--card); border: 3px solid var(--ink); border-radius: 6px; padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
  .pay-panel .brand { height: 40px; width: auto; align-self: flex-start; }
  .marks { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .marks img { height: 30px; width: auto; }
  .marks .visa { height: 22px; }

  /* ---------- the close ---------- */
  .red-field { background: var(--red); color: var(--card); }
  .close { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; }
  .close h2 { font-size: clamp(3.25rem, 1.6rem + 5vw, 6rem); }
  .close p { font-size: 1.1875rem; max-width: 32em; margin: 22px 0 0; }
  .close ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .close li a { display: inline-flex; align-items: center; gap: 12px; font: 900 clamp(2rem, 1.5rem + 1.4vw, 2.75rem)/1.05 var(--display); text-decoration: none; }
  .close li a:hover { text-decoration: underline; }
  .close li .ic { width: .7em; height: .7em; }
  .close li.mail a, .close li.wa a { font-size: 1.75rem; }
  .close .btn { margin-top: 24px; }

  footer { background: var(--ink); color: var(--on-ink); font-size: .9375rem; padding: 56px 0 28px; }
  footer a { color: var(--card); text-decoration: none; }
  footer a:hover { text-decoration: underline; }
  footer p { margin: 0; line-height: 1.6; }
  footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
  .f-name { font: 900 2rem/1 var(--display); text-transform: uppercase; color: var(--card); margin-bottom: 12px !important; }
  .f-head { font: 800 1.0625rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--sun); margin-bottom: 12px !important; }
  .foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--blue); font-size: .875rem; }

  /* phone only: a dock that keeps calling one tap away once the hero has scrolled past */
  .dock { display: none; }

  /* ---------- tablet ---------- */
  @media (max-width: 1100px) {
    .links a { font-size: 1.0625rem; padding-inline: 8px; }
    .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "ticket" "side"; row-gap: 32px; padding-top: calc(var(--band) + 32px); }
    .plate { inset: 0 0 auto 0; height: var(--band); }
    .wa-card { max-width: 660px; justify-self: stretch; }
    .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "air air" "rail port" "exc exc" "cruise yacht" "meet wed"; }
    .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .collage .big { grid-row: auto; }
    .collage .big img { aspect-ratio: 16 / 9; height: auto; }
    .cruise-band { grid-template-columns: 1fr; }
    .fleet, .close { grid-template-columns: 1fr; }
    .pay { grid-template-columns: 1fr 1fr; } .pay h2 { grid-column: 1 / -1; }
    .foot { grid-template-columns: 1fr 1fr; }
  }

  /* wide tablet: the WhatsApp card beside the ticket; narrower, it goes under it */
  @media (min-width: 901px) and (max-width: 1100px) { .hero { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy copy" "ticket side"; column-gap: 32px; } }
  /* narrow tablet: the number no longer fits beside the menu */
  @media (min-width: 761px) and (max-width: 900px) { .bar .tel span { display: none; } }
  /* tablet: the whole plate drawn small at the right of the band, sea running on to the left */
  @media (min-width: 761px) and (max-width: 1100px) { :root { --band: 300px; } .plate { overflow: visible; clip-path: inset(0 0 0 -3000px); } }

  /* ---------- phone ---------- */
  @media (max-width: 760px) {
    .bar .wrap { gap: 12px; min-height: 58px; }
    .mark img { height: 40px; }
    .lang { display: none; }
    .bar .end { gap: 8px; }
    .bar .tel { background: var(--red); color: var(--card); padding: 10px 12px 9px; border-radius: 4px; font-size: 1.125rem; }
    .bar .tel span { display: inline; }
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 3px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
    .menu-btn .ic { width: 22px; height: 22px; }
    .links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--ink); flex-direction: column; padding: 8px var(--gutter) 16px; }
    .links.open { display: flex; }
    .links a { font-size: 1.75rem; padding: 12px 8px; }
    .hero { padding-top: calc(var(--band) + 16px); row-gap: 24px; }
    .lead { font-size: 1.0625rem; margin: 16px 0 20px; }
    .calls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .calls a { background: var(--sun); color: var(--ink); justify-content: center; font-size: 1.3125rem; padding: 13px 6px 11px; border-radius: 4px; gap: 6px; }
    .hero h1 { font-size: 3rem; }
    .ticket { grid-template-columns: 1fr; }
    .stub { border-radius: 6px 6px 0 0; flex-direction: row; align-items: center; padding: 14px 18px; }
    .stub::after { top: auto; bottom: -5px; left: 6px; right: 6px; width: auto; height: 10px; background: radial-gradient(circle, var(--sea) 3.2px, transparent 3.8px) left center / 13px 10px repeat-x; }
    .stub .ic { width: 40px; height: 40px; }
    .stub h2 { font-size: 1.875rem; }
    .stub h2 br { display: none; }
    .hero .lead { margin: 14px 0 18px; }
    .ticket-body { padding: 20px 18px; gap: 14px 14px; }
    .ticket-foot { flex-direction: column; align-items: stretch; }
    .ticket-foot .btn { width: 100%; }
    .head { grid-template-columns: 1fr; }
    .mosaic { gap: 6px; }
    .tile { min-height: 0; padding: 18px 16px 20px; gap: 8px; }
    .tile h3 { margin-top: 10px; font-size: 1.5rem; }
    .tile p { font-size: .9375rem; }
    .tile .ic { width: 40px; height: 40px; }
    .exc { padding: 24px 20px; }
    .collage { gap: 16px; }
    .collage img { border-width: 5px; }
    .collage figcaption { font-size: 1.0625rem; }
      .pay { grid-template-columns: 1fr; }
    .fleet-actions { gap: 24px; }
    .stamp { width: 148px; height: 148px; }
    .wa-card { display: none; }
    .dock { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); transition: transform .35s var(--ease); }
    .dock.away { transform: translateY(110%); }
    .dock a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; border-radius: 4px; text-decoration: none; font: 900 1.1875rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
    .dock .ic { width: 20px; height: 20px; }
    .d-call { background: var(--sun); color: var(--ink); }
    .d-wa { background: var(--card); color: var(--ink); }
    .d-quote { background: var(--red); color: var(--card); }
    footer { padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom)); }
  }

  /* link «vai al contenuto»: visibile solo con la tastiera */
  .skip { position: absolute; left: 8px; top: -64px; z-index: 30; background: var(--ink); color: var(--paper); font: 800 1.125rem/1 var(--display); text-transform: uppercase; padding: 12px 16px 10px; border-radius: 4px; text-decoration: none; }
  .skip:focus { top: 8px; }

  /* ---------- pagine interne ---------- */
  .page-head { background: var(--blue); color: var(--card); padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px); border-bottom: 3px solid var(--ink); }
  .page-head h1 { font-size: clamp(3.25rem, 1.4rem + 4.9vw, 6rem); color: var(--card); }
  .page-head h1 .script { display: block; font: 400 .74em/1 var(--script); text-transform: none; letter-spacing: 0; color: var(--sun); margin: .06em 0 0 .08em; }
  .page-head .lead { margin-bottom: 0; }

  /* servizi: righe separate da filetti, come la fascia dei porti */
  .svc { list-style: none; margin: 0; padding: 0; }
  .svc-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 64px; padding-block: 32px; border-top: 3px solid var(--ink); }
  .svc-row:last-child { border-bottom: 3px solid var(--ink); }
  .svc-name { display: flex; align-items: flex-start; gap: 18px; }
  .svc-name .ic { width: 48px; height: 48px; color: var(--blue); }
  .svc-name h2 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); }
  .svc-body p { margin: 0 0 12px; max-width: 40em; }
  .svc-body p:last-child { margin-bottom: 0; }
  .svc-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font: 900 1.75rem/1.1 var(--display); text-transform: uppercase; }
  .svc-list li:nth-child(odd) { color: var(--blue); }
  .svc-list--wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 1.375rem; gap: 6px 24px; }
  .cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
  .cta h2 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); }
  .cta p { margin: 14px 0 0; font-size: 1.1875rem; max-width: 32em; }

  /* contatti */
  .contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
  .cform, .sent { background: var(--card); border: 3px solid var(--ink); border-radius: 6px; padding: clamp(20px, 3vw, 36px); }
  .cform h2, .sent h2 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); margin-bottom: 22px; }
  .cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .field.wide { grid-column: 1 / -1; }
  .field .opt { font-weight: 600; text-transform: none; letter-spacing: 0; }
  .field textarea { font: 600 1.0625rem/1.4 var(--text); color: var(--ink); background: transparent; border: 2px solid var(--ink); border-radius: 0; padding: 8px 10px; width: 100%; resize: vertical; min-height: 140px; }
  .field textarea:hover { border-color: var(--blue); }
  .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
  .field [aria-invalid="true"] { border-color: var(--red); }
  .field-err { margin: 4px 0 0; font: 700 .9375rem/1.3 var(--text); color: var(--red); }
  .alert { margin: 0 0 20px; padding: 12px 16px; background: var(--red); color: var(--card); font-weight: 700; border-radius: 4px; }
  .consent { margin: 20px 0 22px; font-size: .9375rem; }
  .consent label { display: flex; align-items: flex-start; gap: 10px; }
  .consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .sent p { margin: 0 0 22px; font-size: 1.1875rem; }
  .details { background: var(--red); color: var(--card); border-radius: 6px; padding: clamp(20px, 3vw, 36px); }
  .details h2 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); margin-bottom: 18px; }
  .direct { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
  .direct a { display: inline-flex; align-items: center; gap: 12px; font: 900 clamp(1.75rem, 1.4rem + 1vw, 2.25rem)/1.1 var(--display); text-decoration: none; }
  .direct a:hover { text-decoration: underline; }
  .direct .ic { width: .7em; height: .7em; }
  .direct .small a { font-size: 1.375rem; overflow-wrap: anywhere; }
  .data { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; border-top: 3px solid var(--card); padding-top: 18px; }
  .data dt { font: 800 .8125rem/1.5 var(--text); text-transform: uppercase; letter-spacing: .08em; }
  .data dd { margin: 0; }
  .data a { text-decoration: none; }
  .data a:hover { text-decoration: underline; }
  .details :focus-visible, .red-field :focus-visible { outline-color: var(--sun); }
  @media (max-width: 1100px) { .contact { grid-template-columns: 1fr; } .svc-row { grid-template-columns: 1fr; gap: 12px; } }
  @media (max-width: 760px) { .cform-grid { grid-template-columns: 1fr; } .svc-list--wide { grid-template-columns: 1fr; } .svc-list { font-size: 1.5rem; } }

  /* navi crociera */
  .cruise-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 64px; align-items: start; }
  .cruise-info h2 { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); margin-bottom: 16px; }
  .cruise-info p { margin: 0 0 12px; max-width: 38em; }
  .cruise-info .when { font: 900 clamp(1.75rem, 1.4rem + 1vw, 2.25rem)/1.1 var(--display); text-transform: uppercase; color: var(--blue); }
  .filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
  .filter[hidden] { display: none; }
  .chip { font: 800 1.1875rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding: 11px 14px 9px; border: 3px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
  .chip:hover { background: var(--card); }
  .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .tours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .tour { background: var(--card); border: 3px solid var(--ink); border-radius: 6px; padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 10px; }
  .tour[hidden] { display: none; }
  .tour h3 { font-size: 2rem; }
  .tour p { margin: 0; font-size: 1rem; line-height: 1.5; }
  .tour .note { font-weight: 700; }
  .from { list-style: none; margin: auto 0 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .from li { background: var(--sun); color: var(--ink); font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 8px 10px 6px; border-radius: 4px; }

  /* testi lunghi (condizioni generali) */
  .prose { max-width: 52rem; margin-inline: auto; }
  .prose p { margin: 0 0 16px; }
  .prose h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); margin: 40px 0 14px; }
  .prose .site-intro { margin-top: 40px; padding-top: 24px; border-top: 3px solid var(--ink); }
  .prose .plain { list-style: none; margin: 0 0 16px; padding: 0; }
  @media (max-width: 1100px) { .cruise-info { grid-template-columns: 1fr; } .filter { justify-content: flex-start; } }
  @media (max-width: 760px) { .tours { grid-template-columns: 1fr; } .tour h3 { font-size: 1.75rem; } }

  .tour-photo--none { background: var(--sea); display: grid; place-items: center; color: var(--sun); }
  .tour-photo--none .ic { width: 64px; height: 64px; }
  .tour-photo { width: 100%; height: auto; aspect-ratio: 20 / 9; object-fit: cover; object-position: 50% 35%; border-radius: 4px; margin-bottom: 4px; }
