/* Authentivibes — static rebuild */
:root {
  --green: #8bc34a;
  --green-dark: #6a9739;
  --text: #111111;
  --text-muted: #333333;
  --cream: #f8f6f3;
  --section-grey: #f3f4f8;
  --navy: #001524;
  --white: #ffffff;
  --footer-bg: #004e77;
  --shadow: 0 8px 32px rgba(0, 21, 36, 0.08);
  --radius: 12px;
  --max: 1200px;
  --font: "Poppins", system-ui, sans-serif;
  --font-heading: "Source Serif Pro", Georgia, "Times New Roman", serif;
  --heading-blue: #004e77;
  --heading-orange: #ff9c34;
  --orange-dark: #e88a1f;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-muted);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Titoli e sottotitoli (come sito originale) */
.about h2,
.excursions h2,
.testimonials h2,
.page-hero h1,
.page-content h2,
.page-content h3,
.contact h3,
.catalog-card-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading-blue);
}

.eyebrow,
.page-hero p {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading-orange);
  font-size: clamp(1.125rem, 2.5vw, 1.5625rem);
  line-height: 1.3;
}

.page-hero .eyebrow {
  margin-top: 1rem;
}

.hero h1,
.hero-tagline,
.service-card__title {
  font-family: var(--font);
}

.canary h2,
.newsletter h3 {
  font-family: var(--font-heading);
  color: var(--white);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--heading-blue);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.top-bar a {
  color: var(--white);
}

.top-bar a:hover {
  color: var(--heading-orange);
}

.top-bar .sep {
  opacity: 0.4;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav > li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--heading-blue);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--heading-orange);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.dropdown a {
  text-transform: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  color: var(--heading-blue);
  transition: color 0.2s;
}

.dropdown a:hover {
  color: var(--heading-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #d8dee4;
  border-radius: 6px;
  background: var(--white);
  color: var(--heading-blue);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch__btn:hover {
  border-color: var(--heading-blue);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 1000;
  min-width: 9rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--white);
  border: 1px solid #e4e9ee;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lang-switch__option {
  display: block;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
}

.lang-switch__option:hover,
.lang-switch__option[aria-selected="true"] {
  background: var(--cream);
  color: var(--heading-blue);
}

.cart-btn {
  color: var(--green);
  font-size: 1.25rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--heading-orange);
  border: none;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

/* Hero + card a cavallo */
.hero-block {
  position: relative;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: max(780px, 85vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 7rem;
  background: var(--navy) url("img/hero.jpg") center 42% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 21, 36, 0.35) 0%,
    rgba(0, 21, 36, 0.18) 50%,
    rgba(0, 21, 36, 0.05) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 5rem 1rem 5rem 0;
  margin-inline: 0 auto;
  margin-left: 30px;
  width: min(100% - 30px, var(--max));
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
  color: var(--white);
  margin: 0 0 1.25rem;
  max-width: 28em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 4.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: left;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.55),
    0 4px 48px rgba(0, 0, 0, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Servizi — metà sull'hero, metà sul bianco sotto */
.services {
  --services-overlap: 7.25rem;
  position: relative;
  z-index: 10;
  margin-top: calc(-1 * var(--services-overlap));
  padding: 0 0 3rem;
  background: transparent;
}

.services::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  bottom: 0;
  background: var(--white);
  z-index: -1;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin-inline: auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  aspect-ratio: 1;
  padding: 1.35rem 0.75rem 0;
  border-radius: 12px;
  background: var(--white);
  border-bottom: 6px solid var(--navy);
  box-shadow: 0 4px 20px rgba(0, 21, 36, 0.14);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
  overflow: hidden;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  border-bottom-color: #e8913a;
  box-shadow: 0 10px 28px rgba(0, 21, 36, 0.18);
}

.service-card__icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0 0.5rem;
}

.service-card__icon img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.service-card__title {
  margin: 0;
  padding: 0 0.35rem 1.1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.service-card:hover .service-card__title {
  color: #e8913a;
}

/* About */
.about {
  padding: 3rem 0 5rem;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image {
  justify-self: start;
  max-width: 460px;
  width: 100%;
  padding: 0.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 21, 36, 0.1);
}

.about-image img {
  border-radius: calc(var(--radius) - 4px);
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.eyebrow {
  margin: 0 0 0.5rem;
}

.about h2 {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  margin: 0 0 1.25rem;
  line-height: 1.15;
}

.about p {
  margin: 0 0 1rem;
}

/* Escursioni — sfondo #F3F4F8 come originale */
.excursions {
  padding: 3.125rem clamp(1.5rem, 9vw, 9.375rem);
  background-color: var(--section-grey);
}

.excursions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.excursions h2 {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.excursions-content p {
  margin: 0 0 1.25rem;
}

.excursions-gallery {
  display: grid;
  gap: 1rem;
}

.excursions-gallery img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.excursions-promo {
  margin-top: 1.5rem;
}

.excursions-promo img {
  max-width: 100%;
  height: auto;
}

/* Canary section */
.canary {
  padding: 5rem 0;
  background: var(--heading-blue);
  color: var(--white);
}

.canary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.canary h2 {
  font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 1rem;
}

.canary p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  opacity: 0.95;
  margin: 0 0 1.5rem;
}

.canary-video {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 21, 36, 0.25);
  aspect-ratio: 16 / 9;
  background: var(--heading-blue);
}

.canary-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  vertical-align: top;
  background: transparent;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--cream);
  text-align: center;
}

.testimonials h2 {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  margin: 0 0 2.5rem;
  line-height: 1.15;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  text-align: left;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial-card p {
  flex: 1;
  margin: 0 0 1rem;
  font-style: italic;
}

.testimonial-card cite {
  margin-top: auto;
  font-style: normal;
  font-weight: 700;
  color: var(--heading-blue);
}

/* Newsletter */
.newsletter {
  position: relative;
  padding: 4.5rem 0;
  background: var(--navy) url("img/newsletter-bg.jpg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 21, 36, 0.9) 0%,
    rgba(0, 78, 119, 0.82) 50%,
    rgba(0, 21, 36, 0.72) 100%
  );
  z-index: 0;
}

.newsletter .container.newsletter-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: min(100% - 30px, 640px);
  margin-inline: 0 auto;
  margin-left: 30px;
  padding-left: 30px;
  box-sizing: border-box;
  text-align: left;
}

.newsletter h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 6px;
  font-family: inherit;
}

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--heading-orange);
  color: var(--text);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* Contact */
.contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.contact h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 1.5rem;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.contact-list .icon {
  color: var(--green);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  margin-top: 1.5rem;
}

.contact-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

.contact-form .contact-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.contact-form .contact-privacy input {
  width: auto;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}

.btn-primary {
  background: var(--heading-orange);
  color: var(--text);
  border-color: var(--heading-orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--cream);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
}

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer h4 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  padding: 0.25rem 0;
  opacity: 0.85;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--heading-orange);
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--heading-orange);
  color: var(--white);
}

.social-links svg,
.social-links img {
  width: 18px;
  height: 18px;
  display: block;
}

.social-links svg {
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.payment img {
  max-height: 40px;
  opacity: 0.9;
}

/* Isole — scelta isola (come originale) */
.islands-picker {
  padding: 3.125rem clamp(1.5rem, 9vw, 9.375rem) 4.5rem;
  background: var(--white);
}

.islands-picker__title {
  margin: 0 auto 2.5rem;
  max-width: var(--max);
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-blue);
}

.islands-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.875rem;
  max-width: var(--max);
  margin-inline: auto;
}

.island-card {
  margin: 0;
}

.island-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.island-card__link:hover {
  transform: translateY(-4px);
}

.island-card__link:focus-visible {
  outline: 3px solid var(--heading-orange);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.island-card__visual {
  position: relative;
  margin-bottom: 2.75rem;
}

.island-card__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.island-card__name {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  margin: 0;
  padding: 0.75rem 1.75rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 21, 36, 0.12);
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-blue);
  white-space: nowrap;
}

.island-card__text {
  margin: 0;
  padding: 0 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: center;
  color: var(--heading-blue);
}

/* Escursioni — hub e catalogo */
.excursions-hub-hero {
  padding: clamp(3.5rem, 8vw, 5rem) 1rem 2rem;
  text-align: center;
  background: var(--white);
}

.excursions-hub-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--heading-blue);
  line-height: 1.15;
}

.excursions-hub-hero__subtitle {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-style: italic;
  color: var(--heading-blue);
  opacity: 0.9;
}

.excursions-hub-hero__back {
  margin: 0 0 1rem;
  font-size: 0.875rem;
}

.excursions-hub-hero__back a {
  color: var(--heading-blue);
  font-weight: 600;
  text-decoration: none;
}

.excursions-hub-hero__back a:hover {
  text-decoration: underline;
}

.excursions-categories {
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 2.75rem;
  background: var(--white);
}

.excursions-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 56rem;
  margin-inline: auto;
}

.excursions-categories__grid--count-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: min(90rem, 100%);
  gap: 1rem;
}

.excursions-categories__grid--count-6 .exc-cat-card__overlay h2 {
  font-size: clamp(0.8rem, 1.15vw, 0.95rem);
}

.excursions-categories__grid--count-6 .exc-cat-card__overlay p {
  font-size: clamp(0.62rem, 0.85vw, 0.7rem);
}

.excursions-categories__grid--count-6 .exc-cat-card__overlay {
  padding: 0.75rem 0.4rem 0.85rem;
}

.excursions-categories__grid--count-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: min(80rem, 100%);
  gap: 1rem;
}

.excursions-categories__grid--count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: min(68rem, 100%);
  gap: 1.1rem;
}

.excursions-categories__grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 56rem;
  gap: 1.15rem;
}

.exc-cat-card {
  margin: 0;
}

.exc-cat-card__link {
  display: block;
  text-decoration: none;
  color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 21, 36, 0.12);
}

.excursions-categories__grid--count-4 .exc-cat-card__visual,
.excursions-categories__grid--count-5 .exc-cat-card__visual,
.excursions-categories__grid--count-6 .exc-cat-card__visual {
  aspect-ratio: 1;
  min-height: 0;
}

.exc-cat-card__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 78, 119, 0.18);
}

.exc-cat-card__link:focus-visible {
  outline: 3px solid var(--heading-orange);
  outline-offset: 4px;
}

.exc-cat-card__visual {
  position: relative;
  aspect-ratio: 1;
}

.exc-cat-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exc-cat-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.75rem 0.45rem 0.9rem;
  background: linear-gradient(180deg, rgba(0, 21, 36, 0.02) 38%, rgba(0, 30, 50, 0.88) 100%);
  text-align: center;
}

.exc-cat-card__overlay h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.exc-cat-card__overlay p {
  margin: 0;
  font-size: clamp(0.62rem, 0.85vw, 0.72rem);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.excursions-catalog {
  padding: 3rem clamp(1.25rem, 6vw, 4rem) 4rem;
  background: var(--section-grey);
}

.excursions-catalog__head {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.excursions-catalog__head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--heading-blue);
}

.excursions-catalog__head p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.excursions-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  margin-bottom: 1rem;
}

.excursions-search {
  flex: 1 1 220px;
  min-width: 0;
}

.excursions-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 78, 119, 0.2);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
}

.excursions-search input:focus {
  outline: 2px solid var(--heading-orange);
  outline-offset: 1px;
  border-color: transparent;
}

.excursions-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.excursions-filter {
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(0, 78, 119, 0.25);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--heading-blue);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.excursions-filter:hover {
  border-color: var(--heading-orange);
}

.excursions-filter.is-active {
  background: var(--heading-blue);
  border-color: var(--heading-blue);
  color: var(--white);
}

.excursions-result-count {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading-blue);
}

.excursions-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.exc-product-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.exc-product-card:hover {
  transform: translateY(-3px);
}

.exc-product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.exc-product-card__img {
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
}

.exc-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exc-product-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--section-grey), var(--cream));
}

.exc-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.exc-product-card__body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-blue);
  line-height: 1.25;
}

.exc-product-card__title-link {
  color: inherit;
  text-decoration: none;
}

.exc-product-card__title-link:hover h3 {
  color: var(--heading-orange, #e8913a);
}

.exc-product-card a.exc-product-card__img {
  display: block;
  color: inherit;
}

.exc-product-card__body p {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  line-height: 1.45;
  flex: 1;
}

.exc-product-card__price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--heading-orange);
}

.exc-product-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.exc-product-card__info {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--heading-orange);
  text-decoration: none;
}

.exc-product-card__price + .exc-product-card__info {
  margin-top: 0.25rem;
}

.exc-product-card__info:hover {
  text-decoration: underline;
}

.exc-product-card__cta {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--heading-blue);
}

.excursions-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

.excursions-catalog__note {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.excursions-catalog__note a {
  color: var(--heading-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pagina singola isola */
.island-page-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 6rem) 1rem;
  text-align: center;
  background: #212121 var(--island-hero-image) center / cover no-repeat;
}

.island-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 78, 119, 0.72);
}

.island-page-hero__inner {
  position: relative;
  z-index: 1;
}

.island-page-hero__back {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.island-page-hero__back a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
}

.island-page-hero__back a:hover {
  opacity: 1;
  text-decoration: underline;
}

.island-page-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
}

.island-page-content {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--section-grey);
}

.island-page-content__inner {
  max-width: 720px;
  margin-inline: auto;
}

.island-page-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading-orange);
}

.island-page-prose {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--heading-blue);
}

.island-page-prose p {
  margin: 0 0 1rem;
}

.island-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Inner pages */
.page-hero {
  padding: 4rem 0;
  background: var(--cream);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  margin: 0;
  line-height: 1.15;
}

.page-content {
  padding: 4rem 0;
}

.claims-banner {
  background: #f7f3ef;
  border-left: 4px solid var(--heading-orange);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.claims-banner p {
  margin: 0.35rem 0;
}

.claims-decreto {
  font-size: 0.95rem;
  opacity: 0.85;
}

.claims-meta {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.claims-meta p {
  margin: 0.35rem 0;
}

.claims-download {
  margin: 1.5rem 0;
}

.claims-lang-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.claims-lang-block h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.page-content .prose {
  max-width: 720px;
}

.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 2rem;
  line-height: 1.2;
}

/* Chi siamo — pagina dedicata (come /about/) */
.about-page-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 1rem;
  text-align: center;
  background: #212121 url("img/newsletter-bg.jpg") center / cover no-repeat;
}

.about-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 78, 119, 0.81);
}

.about-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.about-page-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.about-page-intro {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.about-page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.about-page-copy {
  min-width: 0;
}

.about-page-body {
  padding: 0 0 clamp(2rem, 5vw, 3rem);
}

.about-page-copy .about-page-lead {
  margin-bottom: 1rem;
}

.about-page-lead {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-orange);
}

.about-page-prose {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--heading-blue);
}

.about-page-prose p {
  margin: 0 0 0.75rem;
}

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

.about-page-prose strong {
  font-weight: 700;
}

.about-page-media {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  background: var(--heading-blue);
}

.about-page-media video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: cover;
}

.about-page-cta {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--section-grey);
}

.briefing-booking {
  width: min(100% - 2rem, var(--max));
  max-width: var(--max);
  margin-inline: auto;
}

.briefing-booking__header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.briefing-booking__header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-orange);
}

.briefing-booking__header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--heading-blue);
}

.briefing-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  max-width: 100%;
  overflow: hidden;
}

.briefing-fieldset {
  border: 0;
  margin: 0 0 2.25rem;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}

.briefing-fieldset:last-of-type {
  margin-bottom: 1.75rem;
}

.briefing-fieldset--date {
  overflow: hidden;
}

.briefing-fieldset legend {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-blue);
  margin-bottom: 1rem;
  padding: 0;
}

.briefing-fieldset__hint {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.briefing-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.briefing-options:not(.briefing-options--dates) .briefing-option {
  padding: 0.7rem 1.25rem;
}

.briefing-date-picker {
  max-width: 100%;
  min-width: 0;
}

.briefing-date-picker__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}

.briefing-date-picker__month {
  flex: 1;
  text-align: center;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-blue);
  text-transform: capitalize;
}

.briefing-date-nav {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid #d8e4ec;
  border-radius: 8px;
  background: var(--white);
  color: var(--heading-blue);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.briefing-date-nav:hover:not(:disabled) {
  border-color: var(--heading-orange);
  color: var(--heading-orange);
}

.briefing-date-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.briefing-options--dates {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 100%;
}

.briefing-options--times {
  gap: 0.65rem;
}

.briefing-date-empty {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.briefing-option {
  padding: 0.65rem 1rem;
  border: 2px solid #d8e4ec;
  border-radius: 10px;
  background: var(--white);
  color: var(--heading-blue);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

.briefing-option--date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
  min-height: 4.5rem;
  padding: 0.65rem 0.35rem;
  text-align: center;
  line-height: 1.15;
}

.briefing-option__dow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: lowercase;
  opacity: 0.85;
}

.briefing-option__num {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.briefing-option__mon {
  font-size: 0.7rem;
  text-transform: lowercase;
  opacity: 0.8;
}

.briefing-option--time {
  min-width: 5.25rem;
  text-align: center;
  padding: 0.7rem 1rem;
}

.briefing-option:hover:not(:disabled) {
  border-color: var(--heading-orange);
  transform: translateY(-1px);
}

.briefing-option.is-selected,
.briefing-option[aria-pressed="true"] {
  border-color: var(--heading-orange);
  background: var(--heading-orange);
  color: var(--white);
}

.briefing-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.briefing-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.briefing-form__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.briefing-form__row label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--heading-blue);
}

.briefing-form__row input,
.briefing-form__row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

.briefing-form__row--full {
  grid-column: 1 / -1;
}

.briefing-privacy,
.contact-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--heading-blue);
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.briefing-privacy input,
.contact-privacy input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.briefing-privacy a,
.contact-privacy a {
  color: var(--heading-orange);
  text-decoration: underline;
}

.briefing-form__submit {
  width: 100%;
  border: none;
  font-size: 1.05rem;
  padding: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.briefing-message {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.briefing-message--success {
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--heading-blue);
}

.briefing-message--success h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--heading-orange);
}

.briefing-message--success ul {
  text-align: left;
  margin: 0.75rem auto;
  padding-left: 1.25rem;
  max-width: 28rem;
}

.briefing-reset {
  margin-top: 1.5rem;
  border: none;
}

.briefing-message--error {
  background: #fdecea;
  color: #b42318;
  font-weight: 500;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}

.mobile-nav.open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--white);
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: 0.25s;
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--heading-blue);
  border-bottom: 1px solid #eee;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--heading-orange);
}

.mobile-nav .sub a {
  padding-left: 1rem;
  font-weight: 500;
  text-transform: none;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    min-height: max(680px, 78vh);
    padding-bottom: 5rem;
  }

  .services {
    --services-overlap: 6rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .lang-switch {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .about-grid,
  .excursions-grid,
  .canary-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services {
    margin-top: -4rem;
    padding-bottom: 2rem;
  }

  .service-card__icon img {
    width: 90px;
    height: 90px;
  }

  .service-card__title {
    font-size: 0.72rem;
  }

  .newsletter .container.newsletter-inner {
    margin-left: 20px;
    padding-left: 20px;
    width: min(100% - 20px, 640px);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 0.65rem;
  }

  .hero {
    min-height: max(520px, 70vh);
    padding-bottom: 3.5rem;
    background-position: center 40%;
  }

  .about-image {
    order: -1;
    justify-self: center;
    max-width: 340px;
  }

  .about-image img {
    max-height: 400px;
  }

  .about-page-split {
    grid-template-columns: 1fr;
  }

  .briefing-options--dates {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .briefing-form__details {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .islands-picker__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .excursions-categories__grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    max-width: 100%;
  }

  .exc-cat-card__overlay {
    padding: 0.55rem 0.35rem;
  }

  .exc-cat-card__overlay h2 {
    font-size: 0.72rem;
  }

  .exc-cat-card__overlay p {
    font-size: 0.6rem;
    line-height: 1.25;
  }

  .excursions-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 1100px) {
  .excursions-categories__grid--count-4,
  .excursions-categories__grid--count-5,
  .excursions-categories__grid--count-6 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .excursions-categories__grid--count-4 .exc-cat-card,
  .excursions-categories__grid--count-5 .exc-cat-card,
  .excursions-categories__grid--count-6 .exc-cat-card {
    flex: 0 0 min(38vw, 11rem);
    scroll-snap-align: start;
  }
}

@media (max-width: 1024px) and (min-width: 641px) {
  .islands-picker__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .islands-picker__grid .island-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .briefing-options--dates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .briefing-option--time {
    min-width: 4.5rem;
  }
}

/* —— Area agenzie —— */
.agency-auth-page {
  background: #f4f6f8;
}

.agency-auth-hero {
  background: var(--heading-blue);
  color: #fff;
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.agency-auth-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.5rem;
  color: #fff;
}

.agency-auth-hero p {
  margin: 0 auto;
  max-width: 40rem;
  opacity: 0.92;
  font-size: 1rem;
}

.agency-auth-section {
  padding: 2.5rem 0 4rem;
}

.agency-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.agency-auth-layout--center {
  grid-template-columns: minmax(0, 28rem);
  justify-content: center;
}

.agency-auth-card {
  background: #eceff1;
  border-radius: 8px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 78, 119, 0.08);
}

.agency-auth-card h2 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.agency-auth-lead {
  margin: 0 0 1.25rem;
  color: #4a5c68;
  font-size: 0.95rem;
}

.agency-auth-message {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.agency-auth-message.is-error {
  background: #fde8e8;
  color: #9b1c1c;
}

.agency-auth-message.is-success {
  background: #e6f4ea;
  color: #1e6b3a;
}

.agency-auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.agency-auth-switch a {
  color: var(--heading-blue);
  font-weight: 600;
}

.agency-auth-benefits {
  background: #fff;
  border-radius: 8px;
  padding: 1.75rem;
  border: 1px solid #dde3e8;
}

.agency-auth-benefits h3 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.agency-auth-benefits ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #3d4f5c;
  line-height: 1.55;
}

.agency-auth-benefits li + li {
  margin-top: 0.75rem;
}

.agency-demo-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #6b7c88;
  font-style: italic;
}

.agency-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agency-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.agency-form--stacked .agency-form__row,
.agency-form--stacked {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agency-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.agency-form__field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading-blue);
}

.agency-form__field input,
.agency-form__field select,
.agency-form__field textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid #c5ced6;
  border-radius: 4px;
  font: inherit;
  background: #fff;
}

.agency-form__field input:focus,
.agency-form__field select:focus,
.agency-form__field textarea:focus {
  outline: 2px solid var(--heading-orange);
  border-color: var(--heading-orange);
}

.agency-form__check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #4a5c68;
  cursor: pointer;
}

.agency-form__check input {
  margin-top: 0.2rem;
}

.agency-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn-block {
  width: 100%;
}

.agency-dashboard-body {
  background: #f0f3f6;
}

.agency-dashboard {
  padding: 2rem 0 3rem;
  min-height: 60vh;
}

.agency-dashboard__center {
  max-width: 960px;
  margin-inline: auto;
}

.agency-dashboard__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.agency-dashboard__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7c88;
  margin: 0;
}

.agency-dashboard__logout {
  font-size: 0.9rem;
  color: var(--heading-blue);
  font-weight: 600;
}

.agency-dashboard__logout:hover {
  color: var(--heading-orange);
}

.agency-dashboard__center > .agency-panel {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 14px rgba(0, 78, 119, 0.06);
}

.agency-home-welcome {
  text-align: center;
  margin-bottom: 2rem;
}

.agency-home-welcome h1 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.agency-home-welcome__text {
  margin: 0 auto;
  max-width: 36rem;
  color: #5a6d7a;
  line-height: 1.55;
  font-size: 1rem;
}

.agency-hub-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.agency-hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #f4f7f9;
  border: 1px solid #dde5eb;
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  font: inherit;
  color: inherit;
  text-decoration: none;
  width: 100%;
}

.agency-hub-card:hover {
  border-color: var(--heading-orange);
  box-shadow: 0 6px 20px rgba(0, 78, 119, 0.1);
  transform: translateY(-2px);
}

.agency-hub-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.agency-hub-card h2 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.agency-hub-card p {
  margin: 0 0 1rem;
  color: #5a6d7a;
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}

.agency-hub-card__cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading-orange);
}

.agency-back {
  background: none;
  border: none;
  color: var(--heading-blue);
  font: inherit;
  font-weight: 600;
  padding: 0;
  margin-bottom: 1rem;
  cursor: pointer;
}

.agency-back:hover {
  color: var(--heading-orange);
}

.agency-cart-btn {
  position: relative;
}

.agency-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.45rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--heading-orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}

.agency-panel.is-hidden {
  display: none;
}

.agency-panel__head h2 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.agency-panel__head p {
  margin: 0 0 1.25rem;
  color: #5a6d7a;
  font-size: 0.95rem;
}

.agency-alert {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.agency-alert--success {
  background: #e6f4ea;
  color: #1e6b3a;
}

.agency-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.agency-toolbar input,
.agency-toolbar select {
  flex: 1 1 12rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c5ced6;
  border-radius: 4px;
  font: inherit;
}

.agency-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.agency-catalog-card {
  border: 1px solid #e2e8ed;
  border-radius: 6px;
  padding: 1rem;
  background: #fafbfc;
}

.agency-catalog-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem;
  align-items: flex-start;
}

.agency-catalog-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--heading-blue);
  flex: 1 1 100%;
}

.agency-badge {
  font-size: 0.7rem;
  background: var(--heading-blue);
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
}

.agency-catalog-card__price {
  margin: 0.65rem 0 0.15rem;
  font-weight: 700;
  color: var(--heading-orange);
  font-size: 1.05rem;
}

.agency-catalog-card__note {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  color: #6b7c88;
}

.agency-catalog-card__cart {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
}

.agency-catalog-card__cart.is-in-cart {
  background: #5a6d7a;
  border-color: #5a6d7a;
  cursor: default;
}

.agency-status--in-carrello {
  background: #fff4e5;
  color: #8a5a00;
}

.agency-empty {
  color: #6b7c88;
  font-style: italic;
}

.agency-table-wrap {
  overflow-x: auto;
}

.agency-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.agency-table th,
.agency-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e8edf1;
}

.agency-table th {
  color: var(--heading-blue);
  font-weight: 600;
  background: #f4f7f9;
}

.agency-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.agency-status--inviata {
  background: #e8f0fe;
  color: #1a4d8c;
}

.agency-status--confermata {
  background: #e6f4ea;
  color: #1e6b3a;
}

.agency-status--in-attesa {
  background: #fff4e5;
  color: #8a5a00;
}

.agency-status--nuovo {
  background: #e8f4fd;
  color: #0b5cab;
}

.agency-status--in-lavorazione {
  background: #fff4e5;
  color: #8a5a00;
}

.agency-status--completato {
  background: #e6f4ea;
  color: #1e6b3a;
}

.agency-ticket-card {
  max-width: 640px;
  margin-inline: auto;
}

.agency-ticket-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--heading-blue);
}

.agency-form__field textarea {
  resize: vertical;
  min-height: 5rem;
}

/* —— Listos para Canarias —— */
.listos-page {
  background: #f8fafb;
}

.listos-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.listos-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.listos-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 78, 119, 0.55) 0%,
    rgba(0, 78, 119, 0.88) 100%
  );
}

.listos-hero__inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.listos-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
  opacity: 0.9;
}

.listos-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
  color: #fff;
}

.listos-hero__lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.listos-intro {
  padding: 2.5rem 0 1.5rem;
}

.listos-intro h2 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.listos-intro p {
  color: #4a5c68;
  max-width: 46rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.listos-switch-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.listos-switch-card {
  text-align: left;
  background: #fff;
  border: 2px solid #dde5eb;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.listos-switch-card h3 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.listos-switch-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #5a6d7a;
}

.listos-switch-card.is-active {
  border-color: var(--heading-orange);
  box-shadow: 0 4px 16px rgba(255, 156, 52, 0.2);
}

.listos-itinerary {
  padding: 1rem 0 2.5rem;
}

.listos-tab__head h3 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
}

.listos-route {
  font-weight: 600;
  color: var(--heading-orange);
  margin: 0 0 0.75rem;
}

.listos-tab__head > p:last-child {
  color: #4a5c68;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.listos-days {
  display: grid;
  gap: 1rem;
}

.listos-day {
  background: #fff;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--heading-orange);
  box-shadow: 0 1px 8px rgba(0, 78, 119, 0.06);
}

.listos-day h4 {
  color: var(--heading-blue);
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.listos-day ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #3d4f5c;
  line-height: 1.5;
  font-size: 0.92rem;
}

.listos-day li + li {
  margin-top: 0.25rem;
}

.listos-includes {
  padding: 2rem 0;
  background: #fff;
}

.listos-includes h2 {
  color: var(--heading-blue);
  font-family: var(--font-serif);
  margin: 0 0 1rem;
}

.listos-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.listos-info-table th,
.listos-info-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e8edf1;
  vertical-align: top;
}

.listos-info-table th {
  width: 28%;
  color: var(--heading-blue);
  background: #f4f7f9;
}

.listos-cta {
  padding: 2.5rem 0 3.5rem;
  background: var(--heading-blue);
  color: #fff;
}

.listos-cta h2 {
  font-family: var(--font-serif);
  color: #fff;
  margin: 0 0 0.5rem;
}

.listos-cta p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  max-width: 36rem;
}

.listos-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.listos-cta .btn-outline {
  border-color: #fff;
  color: #fff;
}

.listos-cta .btn-outline:hover {
  background: #fff;
  color: var(--heading-blue);
}

@media (max-width: 900px) {
  .agency-auth-layout {
    grid-template-columns: 1fr;
  }

  .listos-switch-cards {
    grid-template-columns: 1fr;
  }

  .agency-hub-cards {
    grid-template-columns: 1fr;
  }

  .agency-dashboard__center > .agency-panel {
    padding: 1.25rem;
  }

  .agency-form__row {
    grid-template-columns: 1fr;
  }
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 1200;
  padding: 1rem;
  background: rgba(0, 21, 36, 0.96);
  color: var(--white);
  box-shadow: 0 -8px 32px rgba(0, 21, 36, 0.25);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--white);
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52rem;
}

.cookie-banner__text a {
  color: var(--heading-orange);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.cookie-banner .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-panel.is-open {
  display: flex;
}

.cookie-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 21, 36, 0.55);
}

.cookie-panel__card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.cookie-panel__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-panel__card h2 {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.35rem;
  color: var(--heading-blue);
}

.cookie-panel__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.cookie-panel__lead a {
  color: var(--heading-blue);
  text-decoration: underline;
}

.cookie-panel__toggles {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e4e9ee;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-toggle__text {
  display: grid;
  gap: 0.2rem;
}

.cookie-toggle__text strong {
  color: var(--heading-blue);
  font-size: 0.95rem;
}

.cookie-toggle__text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-toggle input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--heading-blue);
}

.cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-reopen {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1100;
  padding: 0.45rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--heading-blue);
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 78, 119, 0.35);
}

.cookie-reopen:hover {
  background: var(--navy);
}

body.cookie-panel-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .cookie-panel__actions {
    flex-direction: column;
  }

  .cookie-panel__actions .btn {
    width: 100%;
    text-align: center;
  }

  .cookie-reopen {
    left: 0.75rem;
    bottom: 0.75rem;
  }
}

.claims-popup {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.claims-popup.is-open {
  display: flex;
}

.claims-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 21, 36, 0.55);
}

.claims-popup__card {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.claims-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.claims-popup__card h2 {
  margin: 0 2rem 1rem 0;
  font-size: 1.35rem;
  color: var(--heading-blue);
}

.claims-popup__actions {
  display: grid;
  gap: 0.75rem;
}

.claims-popup__actions .btn {
  text-align: center;
}

.claims-popup__message {
  margin: 0 0 1.25rem;
  line-height: 1.55;
  color: var(--text);
}

body.claims-popup-open {
  overflow: hidden;
}

/* —— Ticket dashboard dinamico —— */
.agency-ticket-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.agency-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 21, 36, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  animation: ticketFadeIn 0.35s ease;
}

.agency-stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading-blue);
  line-height: 1.1;
}

.agency-stat-card__label {
  font-size: 0.78rem;
  color: #5a6b78;
  font-weight: 500;
}

.agency-stat-card--open .agency-stat-card__value {
  color: #8a5a00;
}

.agency-stat-card--done .agency-stat-card__value {
  color: #1e6b3a;
}

.agency-ticket-recent {
  margin-bottom: 1.5rem;
  animation: ticketFadeIn 0.4s ease;
}

.agency-ticket-recent__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.agency-ticket-recent__head h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--heading-blue);
}

.agency-ticket-recent__link {
  border: 0;
  background: none;
  color: var(--heading-blue);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.agency-ticket-recent__list {
  display: grid;
  gap: 0.65rem;
}

.agency-ticket-recent .agency-ticket-card {
  max-width: none;
  width: 100%;
  margin-inline: 0;
}

.agency-ticket-recent .agency-ticket-card--compact {
  padding: 1rem 1.25rem;
}

.agency-panel.is-entering {
  animation: ticketPanelIn 0.28s ease;
}

@keyframes ticketPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ticketFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.agency-panel__head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.ticket-wizard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 21, 36, 0.06);
}

.ticket-wizard__progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.ticket-wizard__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a9aa8;
  text-align: center;
}

.ticket-wizard__num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8edf2;
  color: #5a6b78;
  font-size: 0.9rem;
  transition: 0.25s;
}

.ticket-wizard__step.is-active .ticket-wizard__num,
.ticket-wizard__step.is-done .ticket-wizard__num {
  background: var(--heading-orange);
  color: var(--text);
}

.ticket-wizard__step.is-active {
  color: var(--heading-blue);
}

.ticket-wizard__line {
  flex: 0 0 2rem;
  height: 2px;
  background: #e0e6ec;
  margin-bottom: 1.2rem;
}

.ticket-wizard__panel {
  animation: ticketPanelIn 0.22s ease;
}

.ticket-wizard__nav {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ticket-wizard__nav .btn-primary {
  margin-left: auto;
}

.ticket-review {
  background: #f4f7fa;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.ticket-review__title {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: var(--heading-blue);
  font-size: 0.9rem;
}

.ticket-review dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}

.ticket-review dt {
  color: #5a6b78;
  font-weight: 600;
}

.ticket-review dd {
  margin: 0;
  color: var(--text);
}

.ticket-success {
  text-align: center;
  padding: 2rem 1rem;
  animation: ticketPanelIn 0.35s ease;
}

.ticket-success__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #e6f4ea;
  color: #1e6b3a;
  font-size: 1.75rem;
  line-height: 3.5rem;
  font-weight: 700;
}

.ticket-success h3 {
  margin: 0 0 0.5rem;
  color: var(--heading-blue);
}

.ticket-success p {
  margin: 0 0 1.25rem;
  color: #5a6b78;
}

.ticket-success__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ticket-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ticket-filter {
  border: 1px solid #d0d8e0;
  background: var(--white);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a6b78;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}

.ticket-filter.is-active {
  background: var(--heading-blue);
  border-color: var(--heading-blue);
  color: var(--white);
}

.ticket-filter:hover:not(.is-active) {
  border-color: var(--heading-blue);
  color: var(--heading-blue);
}

.agency-ticket-list {
  display: grid;
  gap: 0.75rem;
}

.agency-ticket-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.agency-ticket-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 21, 36, 0.06);
  animation: ticketFadeIn 0.3s ease;
  border-left: 4px solid var(--heading-orange);
}

.agency-ticket-card--compact {
  padding: 0.85rem 1rem;
}

.agency-ticket-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.agency-ticket-card__id {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  color: #8a9aa8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.agency-ticket-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--heading-blue);
}

.agency-ticket-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: #5a6b78;
}

.agency-ticket-card__notes {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f5;
  font-size: 0.88rem;
  color: #4a5c68;
  line-height: 1.5;
}

.agency-ticket-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid #eef2f5;
  font-size: 0.8rem;
  color: #8a9aa8;
}

@media (max-width: 640px) {
  .agency-ticket-stats {
    grid-template-columns: 1fr;
  }

  .ticket-wizard__progress {
    gap: 0.25rem;
  }

  .ticket-wizard__line {
    flex-basis: 0.75rem;
  }

  .ticket-wizard__step span:last-child {
    font-size: 0.68rem;
  }
}

/* Product detail page */
.product-page__hero {
  padding: 2rem 0 1rem;
  background: linear-gradient(180deg, #f4f7fa 0%, var(--white) 100%);
}

.product-page__back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--heading-blue, #0b5cab);
}

.product-page__back:hover {
  color: var(--heading-orange, #e8913a);
}

.product-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.product-page__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 21, 36, 0.12);
  background: var(--cream, #f7f4ef);
}

.product-page__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-page__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7c88;
}

.product-page__summary h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading, "Source Serif Pro", Georgia, serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: var(--heading-blue, #0b5cab);
}

.product-page__price {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading-orange, #e8913a);
}

.product-page__lead {
  margin: 0 0 1.5rem;
  color: #3d4f5c;
  line-height: 1.65;
  font-size: 1.02rem;
}

.product-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-page__body {
  padding: 2.5rem 0 4rem;
}

.product-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.product-page__copy h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  color: var(--heading-blue, #0b5cab);
}

.product-page__copy h2 + p,
.product-page__copy p + h2 {
  margin-top: 1.5rem;
}

.product-page__copy p {
  margin: 0 0 1rem;
  color: #3d4f5c;
  line-height: 1.7;
}

.product-page__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.product-page__list li {
  position: relative;
  padding-left: 1.35rem;
  color: #3d4f5c;
  line-height: 1.5;
}

.product-page__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--heading-orange, #e8913a);
}

.product-page__box {
  padding: 1.35rem 1.4rem;
  border-radius: 14px;
  background: #f4f7fa;
  border: 1px solid #dde5eb;
  margin-bottom: 1rem;
}

.product-page__box--accent {
  background: #fff8eb;
  border-color: #f5d7a4;
}

.product-page__box h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--heading-blue, #0b5cab);
}

.product-page__box p {
  margin: 0;
  color: #3d4f5c;
  line-height: 1.55;
}

.product-page__box dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.product-page__box dl > div {
  display: grid;
  gap: 0.15rem;
}

.product-page__box dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7c88;
}

.product-page__box dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy, #001524);
}

@media (max-width: 900px) {
  .product-page__layout,
  .product-page__grid {
    grid-template-columns: 1fr;
  }
}
