:root {
  --forest: #173b32;
  --deep: #102b25;
  --leaf: #2b5449;
  --paper: #f8f5ed;
  --white: #fffefa;
  --ink: #192b25;
  --muted: #54635a;
  --line: #dedfd4;
  --gold: #f1d19b;
  --rust: #84482e;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.55 var(--sans);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.65rem; }
body { margin: 0; min-width: 280px; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; }
p + p { margin-top: .6rem; }
img { display: block; max-width: 100%; }
svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; vertical-align: middle; }
button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button, a, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a56a3a; outline-offset: 4px; }
h2:focus { outline: none; }
[hidden] { display: none !important; }
.container { width: min(100% - 6rem, 1180px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: .8rem; left: .8rem; z-index: 5; background: var(--white); padding: .6rem 1rem; }

.site-header { background: var(--white); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { justify-self: start; display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; color: var(--forest); }
.brand-mark {
  flex: none; width: 3.35rem; height: auto;
}
.brand-name { display: grid; gap: .18rem; }
.brand-wordmark {
  display: block; width: 10.25rem; aspect-ratio: 9 / 1;
  background: url("./assets/expitalia-logo.webp") center 98.5% / 124% auto no-repeat;
  mix-blend-mode: multiply;
}
.brand-byline { color: var(--muted); font: 600 .75rem/1.2 var(--sans); }
.main-nav { display: flex; align-items: center; gap: 2.1rem; flex-wrap: wrap; white-space: nowrap; }
.main-nav a { text-decoration: none; font-size: .92rem; font-weight: 600; }
.main-nav a:hover, .agency-directory a:hover { color: var(--rust); text-decoration: underline; text-underline-offset: 4px; }
.mode-switch {
  justify-self: end; display: flex; align-items: stretch; gap: .2rem; background: #eeeee6;
  padding: .25rem; border: 1px solid #e6e7dd; border-radius: 100px;
}
.mode-switch button { background: transparent; border: 0; border-radius: 100px; padding: .42rem .8rem; font-size: .86rem; font-weight: 700; }
.mode-switch button[aria-pressed="true"] { background: var(--forest); color: var(--white); }
.mode-switch button[aria-pressed="false"]:hover { background: #e0e6dc; }

.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--forest); color: var(--white); }
.hero-photo {
  position: absolute; inset: 0 0 0 38%; z-index: -2;
  background: url("./assets/laguna.webp") center 53% / cover no-repeat;
}
.hero::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg, #173b32 0%, #173b32 34%, #173b32 39%, #173b32e8 44%, #173b3240 64%, #11282108 82%),
              linear-gradient(0deg, #142b23bb, transparent 32%);
}
.hero-inner { min-height: 480px; display: flex; align-items: center; position: relative; padding-block: 3.1rem 4.65rem; }
.hero-copy { max-width: 670px; }
.eyebrow {
  display: flex; align-items: center; gap: .68rem;
  color: var(--rust); font-size: .79rem; line-height: 1.35; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.hero .eyebrow { color: #f4e4c7; margin-bottom: 1.22rem; }
.tricolore { display: inline-block; width: 2rem; height: 3px; background: linear-gradient(90deg, #819f73 0 33.3%, #f2e8cc 33.3% 66.6%, #cf7767 66.6%); }
.hero h1 { font-weight: 500; font-size: clamp(3.1rem, 5.35vw, 5.25rem); line-height: .995; letter-spacing: -.052em; }
.hero h1 em { color: var(--gold); font-weight: 500; }
.hero-description { max-width: 455px; margin-top: 1.28rem; color: #f1f1e9; font-size: 1.1rem; line-height: 1.5; }
.hero-link {
  display: inline-flex; margin-top: 1.35rem; padding: .67rem .98rem; border: 1px solid #ebd0a071;
  border-radius: .45rem; color: #f9e9cc; font-weight: 700; font-size: .9rem; background: #13372de1; text-decoration: none;
}
.hero-link:hover { background: #305447; }
.hero-mascot {
  position: absolute; right: .15rem; bottom: 6rem; width: clamp(124px, 13.4vw, 190px);
  border-radius: 50%; padding: .45rem; background: var(--white); transform: rotate(4deg);
  box-shadow: 0 12px 34px #122f2759, 0 0 0 1px #183a315a;
}
.hero-mascot img { width: 100%; height: auto; border-radius: 50%; }
.hero-place {
  position: absolute; right: .3rem; bottom: 4.4rem; margin: 0;
  color: #fff9e9; font-size: .78rem; font-weight: 700; text-shadow: 0 1px 5px #000;
}
.hero-place span { color: var(--gold); margin-right: .2rem; }

.search-panel {
  position: relative; z-index: 1; margin-top: -2.75rem; display: grid; align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1rem;
  padding: 1.1rem 1.3rem 1.25rem; border: 1px solid #e9e7dc; border-radius: .9rem;
  background: var(--white); box-shadow: 0 12px 30px #182b2510;
}
.field { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; min-width: 0; }
.field label { display: flex; align-items: center; gap: .4rem; color: var(--forest); font-size: .88rem; font-weight: 700; }
.field label svg { width: 1rem; height: 1rem; vertical-align: -.17em; }
select, textarea {
  background-color: #fbfbf6; border: 1px solid #d8dbd0; border-radius: .47rem; width: 100%;
  padding: .65rem .85rem; line-height: 1.45;
}
select {
  appearance: none; min-height: 46px; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%232b5449' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right .75rem center; background-repeat: no-repeat; background-size: 1rem;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .48rem;
  border: 1px solid transparent; border-radius: .47rem; padding: .66rem 1.05rem;
  min-height: 46px; text-decoration: none; font-size: .92rem; font-weight: 700; line-height: 1.4;
}
.button-dark { background: var(--forest); color: var(--white); }
.button-dark:hover { background: #285747; }
.button-whatsapp { background: #08664e; color: #fff; }
.button-whatsapp:hover { background: #07513f; }
.button-whatsapp svg { flex: none; width: 1.15rem; height: 1.15rem; }
.button-outline { border-color: #bac8bd; background: var(--white); color: var(--forest); }
.button-outline:hover { background: #e8eee3; }
.search-panel .button { padding-inline: 1.45rem; }

.catalog { margin-block: 3.65rem 4.5rem; }
.section-heading { display: flex; justify-content: space-between; gap: 1.25rem; align-items: end; }
.section-heading h2, .professional-panel h2 { margin-top: .46rem; font-size: clamp(2.2rem, 4.1vw, 3.35rem); letter-spacing: -.04em; }
.section-note { color: var(--muted); font-size: .86rem; padding-bottom: .2rem; }
.chips { display: flex; gap: .52rem; flex-wrap: wrap; margin-top: 1.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .42rem; min-height: 40px; white-space: nowrap;
  border-radius: 100px; border: 1px solid #d9ded0; background: var(--white);
  padding: .42rem .85rem; color: var(--forest); font-size: .86rem; font-weight: 700;
}
.chip svg { width: 1.02rem; height: 1.02rem; }
.chip[aria-pressed="true"] { color: var(--white); background: var(--forest); border-color: var(--forest); }
.chip[aria-pressed="false"]:hover { background: #e8eee3; }
.results-heading { margin-block: 1.26rem .63rem; min-height: 1.5rem; display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.results-heading p { color: var(--muted); font-size: .87rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.card {
  min-width: 0; overflow: hidden; display: flex; flex-direction: column;
  border-radius: .78rem; border: 1px solid var(--line); background: var(--white);
  box-shadow: 0 4px 18px #20352d08;
}
.card-media { position: relative; aspect-ratio: 1.8; background: #d3dfd6; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.category-tag {
  position: absolute; top: .85rem; left: .85rem; background: #fffff3; border-radius: 100px;
  padding: .3rem .64rem; color: var(--forest); font-weight: 700; font-size: .76rem;
}
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 1.05rem 1.08rem .95rem; }
.card-location, .card-agency, .duration { display: flex; align-items: center; gap: .36rem; }
.card-location { color: var(--rust); font-size: .82rem; font-weight: 700; }
.card-location svg, .duration svg, .card-agency svg { width: 1rem; height: 1rem; }
.card h3 { font-size: clamp(1.32rem, 2.3vw, 1.68rem); letter-spacing: -.025em; margin-top: .45rem; }
.card-description { margin-top: .58rem; color: var(--muted); }
.card-agency { color: var(--leaf); font-weight: 600; font-size: .85rem; margin-top: auto; padding-top: .9rem; }
.card-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: .55rem; border-top: 1px solid #e9e9de;
  margin-top: .8rem; padding-top: .6rem;
}
.duration { color: var(--muted); font-size: .86rem; }
.text-button {
  padding: 0; border: 0; background: none; color: var(--forest);
  font-size: .9rem; font-weight: 700; text-decoration: underline; text-decoration-color: #81958a; text-underline-offset: 4px;
}
.text-button:hover { color: var(--rust); text-decoration-color: currentColor; }
.card-link { padding-block: .27rem; }
.empty-state { border-radius: .7rem; border: 1px dashed #bbc7bb; padding: 1.7rem; background: var(--white); }
.empty-state h3 { font-size: 1.55rem; }
.empty-state p { margin: .55rem 0 1rem; color: var(--muted); }
.empty-state .text-button { display: inline-block; margin: .55rem .85rem; }

.professional-panel {
  margin-top: 2.35rem; background: #e7eee4; border: 1px solid #d3dfd2; border-radius: .85rem;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.15rem 2rem; padding: 1.55rem;
}
.professional-panel h2 { font-size: clamp(1.75rem, 3.5vw, 2.55rem); }
.professional-panel p:not(.eyebrow) { color: var(--muted); margin-top: .55rem; max-width: 63ch; }
.coverage { grid-column: 1 / -1; border-top: 1px solid #c9d6c8; padding-top: 1rem; }
.coverage h3 { font-size: 1.32rem; margin-bottom: .75rem; }
.coverage-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.coverage-result { min-height: 1.45rem; }
.service-agencies { padding-inline-start: 1.25rem; columns: 2; column-gap: 2rem; }
.service-agencies li { break-inside: avoid; padding-block: .25rem; overflow-wrap: anywhere; }
.service-evidence { font-size: .82rem; color: var(--muted); }
.service-offers { padding-inline-start: 1.1rem; }
@media (max-width: 600px) { .service-agencies { columns: 1; } }
.coverage .text-button { margin-top: .45rem; }

.agencies-section { background: #e8eee4; border-block: 1px solid #dce3d7; padding-block: 3.6rem; }
.agencies-section .section-heading p:not(.eyebrow) { color: var(--muted); margin-top: .6rem; }
.agency-filter { width: min(100%, 230px); }
.agency-list { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.agency-card {
  min-width: 0; display: flex; flex-direction: column; gap: .7rem; padding: .85rem;
  background: var(--white); border: 1px solid #dce3d8; border-radius: .58rem;
}
.agency-mark {
  width: 7rem; max-width: 100%; height: 3.4rem; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: .25rem; background: #fff; border: 1px solid #e7eae2; border-radius: .4rem;
}
.agency-mark img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.agency-mark-dark { background: var(--deep); }
.agency-card .agency-mark { width: 100%; height: 4.25rem; padding: .55rem .8rem; }
.agency-card .agency-mark img { max-width: min(100%, 10rem); }
.dialog-body.standalone > .agency-mark { margin-bottom: .8rem; }
.agency-card h3 { font-size: 1.15rem; line-height: 1.18; letter-spacing: -.015em; overflow-wrap: anywhere; }
.agency-card p { margin-block: .37rem .42rem; color: var(--muted); font-size: .86rem; }
.agency-directory { margin-top: 1.15rem; color: var(--forest); font-size: .92rem; font-weight: 700; text-underline-offset: 4px; }
.no-agency { grid-column: 1 / -1; color: var(--muted); }

/* The trip flyer keeps the agency details in the same position across destinations. */
.bus-trips { margin-block: 3rem; scroll-margin-top: 7rem; }
.bus-trip-banner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .55fr);
  align-items: center; overflow: hidden; border-radius: .8rem; color: #fffdf8; background: var(--forest);
}
.bus-trip-banner > div { padding: clamp(1rem, 3.5vw, 2.7rem); }
.bus-trip-banner h2 { color: inherit; }
.bus-trip-banner p { margin: .55rem 0 0; }
.bus-trip-banner img { width: 100%; height: 100%; max-height: 13rem; display: block; object-fit: cover; }
.bus-trip-status { margin-block: 1rem; color: var(--muted); }
.bus-trip-regions { margin-top: 1rem; padding: .9rem 1.05rem; border-radius: .85rem; background: #eef3eb; }
.bus-trip-regions h3 { margin: 0; font: 700 1rem var(--sans); color: var(--forest); }
.bus-trip-regions p { margin: .4rem 0 0; font-size: .92rem; color: var(--muted); }
#bus-trip-region-buttons { display: flex; gap: .45rem; flex-wrap: wrap; }
#bus-trip-region-buttons:not(:empty) { margin-top: .6rem; }
#bus-trip-region-buttons button {
  padding: .42rem .78rem; border: 1px solid #b9ccbe; border-radius: 100px;
  background: var(--white); color: var(--forest); font-size: .88rem; font-weight: 650;
}
#bus-trip-region-buttons button[aria-pressed="true"] { background: var(--forest); color: var(--white); border-color: var(--forest); }
.bus-trip-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem .85rem; margin-block: 1rem; }
.bus-trip-filters[hidden] { display: none; }
.bus-trip-filters .field { flex: 1 1 9rem; }
.bus-trip-filters .bus-trip-nearby { flex: 2 1 13rem; }
.bus-trip-filters .bus-trip-radius { flex: 0 0 6.4rem; }
.bus-trip-filters .field input { width: 100%; }
.bus-trip-hint { flex-basis: 100%; color: var(--muted); font-size: .86rem; margin: 0; }
.bus-trip-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: start; gap: .75rem; }
.bus-trip-more { margin: 1rem auto 0; }
.bus-trip-card {
  border: 1px solid #d8dfd3; border-radius: .75rem; background: #fffdf8;
}
.bus-trip-heading {
  display: grid; gap: .25rem; position: relative; cursor: pointer; list-style: none;
  min-height: 7rem; padding: .8rem 2.35rem .8rem 1rem;
  color: #fffdf8; background: #214b40; border-radius: .7rem;
}
.bus-trip-heading::-webkit-details-marker { display: none; }
.bus-trip-heading::after {
  content: ""; position: absolute; inset-block-start: 1.25rem; inset-inline-end: 1.02rem;
  width: .55rem; height: .55rem; border-block-end: 2px solid; border-inline-end: 2px solid; transform: rotate(45deg);
}
.bus-trip-card[open] .bus-trip-heading { border-end-start-radius: 0; border-end-end-radius: 0; }
.bus-trip-card[open] .bus-trip-heading::after { transform: rotate(225deg); }
.bus-trip-card[data-theme="city"] .bus-trip-heading { background: #694533; }
.bus-trip-card[data-theme="markets"] .bus-trip-heading { background: #754049; }
.bus-trip-card[data-theme="nature"] .bus-trip-heading { background: #2d5840; }
.bus-trip-card[data-theme="events"] .bus-trip-heading { background: #39496d; }
.bus-trip-title { font: 700 1.28rem/1.18 var(--serif); overflow-wrap: anywhere; }
.bus-trip-date, .bus-trip-origin { font-size: .86rem; }
.bus-trip-date { font-weight: 650; }
.bus-trip-origin strong { margin-inline-end: .18rem; }
.bus-trip-content { display: flex; flex: 1; flex-direction: column; padding: .85rem 1.1rem; }
.bus-trip-route { margin: 0 0 .9rem; }
.bus-trip-route > div { display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, 1fr); gap: .55rem; padding-block: .26rem; }
.bus-trip-route dt { color: var(--muted); font-weight: 600; }
.bus-trip-route dd { margin: 0; overflow-wrap: anywhere; }
.bus-trip-organizer { display: flex; align-items: center; gap: .7rem; border-block-start: 1px solid #e1e7de; padding-top: .7rem; margin-top: auto; }
.bus-trip-organizer .agency-mark { flex: 0 0 5.4rem; min-height: 2.9rem; }
.bus-trip-contacts { display: flex; flex-wrap: wrap; gap: .2rem .65rem; }
.bus-trip-actions { margin-top: .6rem; }
@media (max-width: 520px) {
  .bus-trip-banner { grid-template-columns: minmax(0, 1fr) minmax(0, .58fr); }
  .bus-trip-banner img { min-height: 9rem; }
}

/* Destination calendar */
.special-events { margin-block: 3rem; scroll-margin-top: 7rem; }
.special-event-covers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .85rem; }
.special-event-cover { position: relative; display: grid; align-content: end; isolation: isolate; min-height: clamp(13rem, 25vw, 19rem); padding: clamp(1rem, 3vw, 1.7rem); overflow: hidden; border: 0; border-radius: .8rem; text-align: start; cursor: pointer; background: var(--forest); }
.special-event-cover img, .special-event-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.special-event-cover img { z-index: -2; object-fit: cover; }
.special-event-cover::after { z-index: -1; content: ""; background: linear-gradient(0deg, #102e28, #102e28ae 42%, transparent 88%); }
.special-event-cover[aria-expanded="true"] { outline: 3px solid var(--forest); outline-offset: 3px; }
.special-event-cover-caption { color: #fffdf8; }
.special-event-cover-title { display: block; font: 600 clamp(1.45rem, 3vw, 2.22rem)/1.12 var(--serif); }
.special-event-cover-action { display: block; margin-top: .5rem; font-size: .94rem; }
.special-event-content { padding: 1rem 0; }
.event-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); max-width: 34rem; gap: .7rem; }
.special-event-status { color: var(--muted); margin-block: 1rem 0; }
.special-event-region { margin-top: 1.3rem; }
.special-event-region h3 { font-size: 1.48rem; margin-bottom: .5rem; }
.special-event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.special-event-card { display: flex; flex-direction: column; padding: .9rem 1.05rem; border: 1px solid #d8dfd3; border-radius: .65rem; background: #fffdf8; }
.special-event-card h4 { font: 600 1.34rem/1.2 var(--serif); color: var(--forest); margin: .3rem 0; }
.special-event-date { color: var(--muted); font-weight: 600; margin: 0; }
.special-event-occasion, .special-event-price { font-weight: 700; }
.event-source { margin-top: auto; }
.event-local-agencies { margin-top: .85rem; padding-top: .65rem; border-top: 1px solid #d8dfd3; }
.event-local-agencies summary { cursor: pointer; color: var(--forest); font-weight: 700; }
.event-local-agencies ul { display: grid; gap: .7rem; list-style: none; margin: .65rem 0 0; padding: 0; }
.event-local-agencies li { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.event-local-agencies .agency-mark { width: 4.6rem; height: 2.75rem; }
.event-agency-area { color: var(--muted); font-size: .875rem; }

.specialist-section { margin-block: 3rem; min-width: 0; }
.specialist-section .section-heading { align-items: center; margin-bottom: .8rem; }
.specialist-navigation { display: flex; flex-wrap: wrap; gap: .4rem; }
.specialist-navigation .button { padding: .48rem .72rem; min-height: 40px; font-size: .85rem; }
.specialist-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(10rem, 21vw, 13rem);
  gap: .75rem; padding: .2rem .2rem .65rem; overflow-x: auto;
  scroll-snap-type: x proximity; scroll-padding-inline: .2rem; scroll-behavior: smooth;
  scrollbar-width: none;
}
.specialist-rail-paused { scroll-snap-type: none; }
.specialist-position { width: 100%; height: 1.6rem; margin: 0; accent-color: var(--forest); cursor: pointer; }
.specialist-position:disabled { visibility: hidden; }
.specialist-card {
  display: grid; grid-template-rows: auto 1fr; padding: 0; text-align: start; min-width: 0;
  scroll-snap-align: start; border: 1px solid #d8dfd3; border-radius: .65rem;
  background: #fffdf8; color: var(--forest);
}
.specialist-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .6rem .6rem 0 0; display: block; }
.specialist-card span { align-self: center; padding: .66rem .7rem; font-size: .94rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.specialist-card:hover, .specialist-card[aria-pressed="true"] { background: #eaf0e7; border-color: #557661; }
.specialist-card[aria-pressed="true"] span { text-decoration: underline; text-underline-offset: .22em; }
.specialist-travel { margin-top: 1.3rem; }
.specialist-travel h3, .specialist-results h3 { font-size: 1.32rem; }
.specialist-travel-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .65rem; }
@media (min-width: 900px) {
  .specialist-travel-cards .specialist-card { grid-template: 1fr / minmax(7rem, 46%) 1fr; }
  .specialist-travel-cards .specialist-card img { border-radius: .6rem 0 0 .6rem; }
  [dir="rtl"] .specialist-travel-cards .specialist-card img { border-radius: 0 .6rem .6rem 0; }
  .specialist-travel-cards .specialist-card span { padding: .9rem 1rem; font-size: 1.15rem; }
}
.specialist-index { margin-top: .85rem; color: var(--forest); }
.specialist-index summary { width: fit-content; cursor: pointer; text-underline-offset: .2em; font-weight: 700; }
.specialist-index-items { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: .45rem; }
.specialist-index-items [aria-pressed="true"] { font-weight: 800; }
.specialist-results {
  scroll-margin-top: 6rem; margin-top: 1rem; padding: .85rem 1rem;
  border: 1px solid #d3ddd0; border-radius: .7rem; background: #f8faf4;
}
.specialist-results-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .65rem 1rem; }
.specialist-results-header .field { min-width: min(13.5rem, 100%); }
#specialist-count { margin-block: .65rem .3rem; }
.specialist-territory-note { margin-bottom: .55rem; color: var(--muted); font-size: .88rem; }
.specialist-agencies:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: .75rem; align-items: start; }
.specialist-area-group { min-width: 0; padding: .65rem .8rem; border: 1px solid #d3ddd0; border-radius: .5rem; background: #fffdf8; }
.specialist-area-group h4 { font-size: 1rem; margin-bottom: .25rem; }
.specialist-area-group .service-agencies { columns: 1; padding-inline-start: 1rem; }
.service-destinations { display: block; color: var(--muted); }
@media (max-width: 680px) {
  .specialist-section .section-heading { flex-direction: row; flex-wrap: wrap; align-items: baseline; }
}
@media (prefers-reduced-motion: reduce) { .specialist-rail { scroll-behavior: auto; } }

.site-footer { background: var(--deep); color: #e6ebdf; padding: 1.8rem 0; }
.footer-inner { display: grid; grid-template-columns: 1fr minmax(0, 27rem); gap: 1.25rem 2rem; }
.agency-opening { margin-block: clamp(2rem, 5vw, 4.25rem); }
.agency-opening-card {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.12fr);
  border-radius: 1rem; overflow: hidden; background: var(--forest); color: var(--white);
}
.agency-opening-card > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; align-self: center; }
.agency-opening-copy { align-self: center; padding: clamp(1.55rem, 4.2vw, 3.25rem); }
.agency-opening-copy .eyebrow { color: var(--gold); }
.agency-opening-copy h2 { color: var(--white); font-size: clamp(2rem, 3.7vw, 3.25rem); margin-block: .48rem .75rem; }
.agency-opening-copy p:not(.eyebrow) { max-width: 50ch; color: #ecefe7; }
.agency-opening-link { margin-top: 1.2rem; background: var(--gold); color: var(--deep); }
.agency-opening-link:hover { background: #ffe0ac; }
@media (max-width: 800px) {
  .agency-opening-card { grid-template-columns: 1fr; }
}

.footer-name { font: 600 1.8rem/1 var(--serif); text-decoration: none; color: var(--gold); }
.site-footer p, .footer-company address { margin-top: .4rem; font-size: .9rem; line-height: 1.55; }
.footer-company address { font-style: normal; }
.footer-service { align-self: end; }
.footer-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-top: .7rem; font-size: .88rem; }
.footer-credit { grid-column: 1 / -1; border-top: 1px solid #e6ebdf40; padding-top: .75rem; font-size: .78rem; }
.footer-button { padding: 0; border: 0; background: transparent; text-decoration: underline; }

dialog {
  padding: 0; color: var(--ink); background: var(--white); width: min(620px, calc(100% - 2rem));
  max-height: calc(100% - 2rem); border: 1px solid var(--line); border-radius: .95rem;
  box-shadow: 0 20px 90px #091a1799; overflow: auto; overscroll-behavior: contain;
}
dialog::backdrop { background: #10251ed1; }
.close-dialog {
  position: sticky; top: .65rem; left: calc(100% - 3rem); z-index: 1;
  display: grid; place-items: center; width: 2.34rem; height: 2.34rem;
  border: 1px solid #ccd6cb; border-radius: 50%; background: var(--white);
  color: var(--forest); margin-bottom: -2.34rem; box-shadow: 0 2px 8px #142e2230;
}
.close-dialog:hover { background: #e9eee4; }
.detail-photo { width: 100%; height: 215px; object-fit: cover; }
.detail-photo-caption { margin: -.76rem 0 .72rem; font-size: .8rem; color: var(--muted); }
.dialog-body { padding: 1.35rem clamp(1.1rem, 4vw, 1.8rem) 1.5rem; }
.dialog-body.standalone { padding-top: 1.9rem; }
.dialog-body h2 { font-size: clamp(1.85rem, 5vw, 2.6rem); margin: .45rem 0 .6rem; letter-spacing: -.035em; }
.dialog-body .duration { margin-top: .65rem; }
.provider {
  display: flex; gap: .8rem; align-items: start; padding: .9rem;
  border-radius: .48rem; background: #eef2e8; margin: .9rem 0;
}
.provider .agency-mark { width: 5.5rem; }
.provider > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.provider .eyebrow { font-size: .74rem; letter-spacing: .09em; }
.provider h3 { margin-top: .2rem; font-size: 1.27rem; }
.provider p:last-child { margin-top: .32rem; font-size: .9rem; color: var(--muted); }
.dialog-actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .9rem; }
.related-title { margin-top: 1rem; font-size: 1.28rem; }
.related-list { margin-top: .5rem; padding-left: 1.2rem; }
.related-list li + li { margin-top: .4rem; }
.request-field { margin-top: 1rem; }
textarea { resize: vertical; min-height: 5rem; }
.request-note { font-size: .88rem; margin-top: .7rem; color: var(--muted); }
.experience-contact { padding: .85rem; border: 1px solid var(--line); border-radius: .55rem; }
.experience-contact h3 { margin: 0; font-size: 1.18rem; }
.experience-contact .dialog-actions { margin-top: .65rem; }
.experience-agency-link { display: inline-block; margin-top: .75rem; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
#coverage-report { margin-inline-start: .85rem; }
#report-form .button { margin-top: .7rem; }
.copy-status { color: var(--leaf); font-size: .85rem; margin-top: .45rem; }
.copy-status:empty { display: none; }

@media (max-width: 1050px) {
  .container { width: min(100% - 3.25rem, 1180px); }
  .hero h1 { font-size: clamp(3.2rem, 6.25vw, 4.8rem); }
  .header-inner { gap: 1.2rem; }
  .main-nav { gap: 1.1rem; }
  .agency-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 68px; grid-template-columns: 1fr auto; gap: 0 .45rem; padding-top: .55rem; }
  .main-nav {
    grid-column: 1 / -1; grid-row: 2; padding: .6rem 0 .52rem; margin-top: .4rem;
    border-top: 1px solid #eceee7; gap: 1.25rem;
  }
  .main-nav a, .mode-switch button { font-size: .82rem; }
  .hero-inner { min-height: 453px; padding-block: 2.4rem 7.8rem; align-items: start; }
  .hero-photo { inset: 0; background-position: center 52%; }
  .hero::after { background: linear-gradient(90deg, #102e28f2, #173b32c7 57%, #173b3259), linear-gradient(0deg,#112c23b2, transparent 36%); }
  .hero-description { font-size: 1rem; max-width: 420px; }
  .hero-mascot { bottom: 3.9rem; width: 95px; right: .22rem; padding: .3rem; }
  .hero-place { left: .2rem; right: auto; bottom: 3.4rem; }
  .search-panel { grid-template-columns: 1fr 1fr; gap: .55rem .65rem; padding: .85rem; margin-top: -2.25rem; }
  .search-panel .button { grid-column: 1 / -1; }
  .catalog { margin-block: 2.85rem 3rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .55rem; }
  .agencies-section { padding-block: 2.5rem; }
  .agencies-section .section-heading { gap: 1rem; }
  .professional-panel { grid-template-columns: 1fr; padding: 1rem; }
  .professional-panel > a { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .brand-mark { width: 2.7rem; }
  .brand { gap: .4rem; }
  .brand-wordmark { width: 8.4rem; }
  .brand-byline { max-width: 10rem; font-size: .68rem; }
  .mode-switch { gap: 0; }
  .mode-switch button { padding-inline: .45rem; font-size: .78rem; }
  .hero h1 { font-size: clamp(2.72rem, 11vw, 3.45rem); }
  .hero-inner { min-height: 427px; }
  .hero-description { padding-right: .15rem; }
  .hero-mascot { width: 84px; }
  .hero-link { margin-top: .95rem; }
  .chips { gap: .38rem; margin-top: 1rem; }
  .chip { padding-inline: .58rem; font-size: .81rem; }
  .chips svg { width: .91rem; height: .91rem; }
  .cards, .agency-list, .coverage-fields { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 1.9; }
  .card h3 { font-size: 1.55rem; }
  .detail-photo { height: 155px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .chip, .hero-link, .mode-switch button { transition: background-color .16s ease, color .16s ease; }
}

.header-controls { display: flex; align-items: center; justify-content: end; gap: .55rem; justify-self: end; }
.mode-switch button { white-space: nowrap; }
.language-switch select {
  width: auto; min-height: 39px; padding: .37rem 1.9rem .37rem .63rem;
  background-position: right .45rem center; color: var(--forest); font-size: .86rem; font-weight: 700;
}
.nane-guide {
  margin-top: 1rem; overflow: hidden; background: var(--white);
  border: 1px solid #d7e2d7; border-radius: .85rem; box-shadow: 0 5px 18px #18382d0c;
}
.guide-summary {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem;
  padding: .85rem 1.15rem; background: #edf2e8;
}
.guide-summary img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 2px solid var(--white); }
.guide-summary h2 { font-size: 1.45rem; color: var(--forest); }
.guide-summary p { margin-top: .22rem; color: var(--muted); }
.guide-launch-actions { display: grid; justify-items: center; gap: .35rem; }
.guide-talk { gap: .4rem; white-space: nowrap; }
.guide-talk-icon { display: flex; }
.guide-talk-icon svg { width: 1.15rem; height: 1.15rem; }
.guide-write { min-height: 30px; font-size: .81rem; }
.guide-dialog {
  width: min(930px, calc(100% - 2rem)); border: 0; overflow: hidden;
}
.guide-layout { position: relative; display: grid; grid-template-columns: minmax(230px, .82fr) minmax(0, 1.42fr); height: min(596px, calc(100dvh - 2rem)); }
.guide-stage {
  --stage-accent: #e9bf7e;
  --stage-halo: #4e6d57;
  display: grid; align-content: center; justify-items: center; gap: .9rem; min-width: 0;
  background: radial-gradient(ellipse at 48% 37%, var(--stage-halo), #173b32 58%, #132e27 100%);
  color: var(--white); padding: 1.65rem;
}
.guide-stage[data-region="Veneto"] { --stage-halo: #366e69; }
.guide-stage[data-region="Campania"] { --stage-halo: #756247; --stage-accent: #f2bd86; }
.guide-portrait {
  position: relative; isolation: isolate; width: min(100%, 304px, calc((100dvh - 9rem) * .8)); aspect-ratio: 4 / 5;
  border-radius: .75rem; border: 1px solid #f5dbab80; background: #254a3d;
  box-shadow: 0 14px 32px #0b211e55;
}
.guide-figure {
  display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit;
  position: relative; z-index: 1;
}
.guide-stage[data-region=""] .guide-figure { padding: 5% 0; filter: drop-shadow(0 5px 12px #102b2466); }
.guide-postcard {
  position: absolute; width: 49%; height: 29%; object-fit: cover; border: 2px solid #f8eac8;
  border-radius: .3rem; box-shadow: 0 6px 12px #0a211d80;
}
.guide-postcard-lagoon { top: 18%; left: 5%; transform: rotate(-8deg); }
.guide-postcard-hills { right: 5%; bottom: 23%; transform: rotate(7deg); }
.guide-stage:not([data-region=""]) .guide-postcard { display: none; }
.guide-stage-caption { text-align: center; min-width: 0; }
.guide-name { font: 600 clamp(2rem, 5vw, 3.35rem)/1 var(--serif); color: #ffedcc; }
.guide-stage-caption p + p { margin-top: .35rem; }
.guide-speaking { min-height: 1.2em; color: #fadba6; font-size: .88rem; font-weight: 700; }
.guide-waveform {
  position: absolute; z-index: 2; bottom: -.5rem; left: 50%; transform: translateX(-50%);
  display: none; align-items: center; justify-content: center; gap: .19rem; width: 3rem; height: 1.6rem;
  border-radius: 2rem; border: 1px solid #edcb96; background: var(--deep);
}
.guide-waveform i { display: block; background: var(--stage-accent); width: 3px; height: .75rem; border-radius: 2px; }
.guide-stage:is([data-speaking], [data-listening]) .guide-waveform { display: flex; }
.guide-stage[data-listening] .guide-waveform { border-color: #add8b2; }
.guide-listening { color: #c7edc7; }
.guide-stage[data-listening] .guide-waveform i { background: #c7edc7; }
.guide-stage[data-listening] #guide-speaking:empty { display: none; }
.guide-conversation {
  min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  gap: .85rem; padding: 1.45rem;
}
.guide-dialog-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: .65rem; padding-inline-end: 2rem; }
.guide-language select { min-height: 40px; width: auto; font-size: .88rem; }
.guide-dialog-heading h2 { color: var(--forest); font-size: clamp(1.6rem, 4vw, 2.28rem); letter-spacing: -.03em; }
.guide-dialog-heading p { grid-column: 1 / -1; color: var(--muted); font-size: .90rem; margin-top: .34rem; }
.guide-close { position: absolute; top: .85rem; right: .85rem; left: auto; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .guide-waveform i { animation: guide-level .75s ease-in-out infinite alternate; }
  .guide-waveform i:nth-child(even) { animation-delay: -.35s; }
  .guide-waveform i:first-child, .guide-waveform i:last-child { animation-delay: -.52s; }
  @keyframes guide-level {
    from { transform: scaleY(.35); }
    to { transform: scaleY(1); }
  }
}
.guide-thread {
  min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: .55rem; align-items: flex-start;
  background: #f7f8f1; border: 1px solid #e0e6d8; border-radius: .6rem; padding: .65rem;
}
.guide-turn { color: var(--ink); background: var(--white); border-radius: .5rem; padding: .62rem .82rem; max-width: min(90%, 54ch); overflow-wrap: anywhere; flex-shrink: 0; }
.guide-user { align-self: end; background: var(--forest); color: var(--white); }
.guide-results { padding-left: 1.2rem; margin-block: .4rem .15rem; }
.guide-listen { display: block; margin-top: .5rem; }
.guide-quick { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .65rem; }
.guide-form { display: flex; gap: .55rem; margin-top: .65rem; }
.guide-form input {
  flex: 1; min-width: 0; background: #fbfbf6; border: 1px solid #d8dbd0; border-radius: .47rem;
  color: var(--ink); font: inherit; padding: .65rem .85rem;
}
.guide-voice-status { color: var(--muted); font-size: .86rem; margin-top: .35rem; }
.guide-voice-status:empty { display: none; }
[dir="rtl"] select { padding: .65rem .85rem .65rem 2.6rem; background-position: left .75rem center; }
[dir="rtl"] .close-dialog { left: auto; right: calc(100% - 3rem); }
[dir="rtl"] .guide-close { left: .85rem; right: auto; }
[dir="rtl"] :is(.related-list, .guide-results) { padding-right: 1.2rem; padding-left: 0; }
[dir="rtl"] :is(h1, h2, h3, .eyebrow) { letter-spacing: normal; }
@media (max-width: 1040px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 .55rem; padding-top: .55rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; padding-block: .55rem; }
}
@media (max-width: 550px) {
  .header-controls { display: contents; }
  .header-inner { grid-template-columns: 1fr auto; }
  .language-switch { grid-column: 2; grid-row: 1; justify-self: end; }
  .mode-switch { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: .45rem; }
  .main-nav { grid-row: 3; }
  .guide-summary { padding: .66rem; gap: .53rem; }
  .guide-summary img { width: 49px; height: 49px; }
  .guide-summary h2 { font-size: 1.18rem; }
  .guide-summary p { font-size: .84rem; }
  .guide-summary { grid-template-columns: auto 1fr; }
  .guide-launch-actions {
    grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto;
    align-items: center; gap: .7rem; justify-items: stretch;
  }
  .guide-summary .button { padding-inline: .5rem; font-size: .83rem; }
  .guide-write { padding-inline: .2rem; }
}
@media (max-width: 690px) {
  .guide-dialog { width: calc(100% - 1rem); }
  .guide-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: min(700px, calc(100dvh - 1rem)); }
  .guide-stage {
    grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: .8rem;
    padding: .65rem 3.6rem .65rem 1rem;
  }
  .guide-portrait { width: clamp(86px, 25vw, 108px); border-radius: .55rem; }
  .guide-stage-caption { text-align: left; }
  .guide-name { font-size: 1.62rem; }
  .guide-stage-caption p:not(.guide-name) { font-size: .82rem; }
  .guide-speaking { min-height: 0; }
  .guide-speaking:empty { display: none; }
  .guide-conversation { padding: .8rem; gap: .55rem; }
  .guide-dialog-heading { padding-inline-end: 0; }
  [dir="rtl"] .guide-stage { padding-inline: 1rem 3.6rem; }
  [dir="rtl"] .guide-stage-caption { text-align: start; }
  .guide-dialog-heading h2 { font-size: 1.55rem; }
  .guide-dialog-heading p { font-size: .83rem; }
}
@media (max-height: 510px) {
  .guide-layout { height: calc(100dvh - 1rem); }
  .guide-stage { padding-block: .45rem; }
  .guide-portrait { width: min(100%, 176px); }
  .guide-quick { display: none; }
}
@media (max-width: 690px) and (max-height: 510px) {
  .guide-portrait { width: 70px; }
}

.list-more { display: flex; justify-content: center; }
.list-more:has(button:not([hidden])) { margin-top: 1.25rem; }
.agency-count { margin-top: .85rem; color: var(--muted); font-size: .88rem; }
.agency-filters { display: grid; grid-template-columns: minmax(141px, 1fr) minmax(141px, 1fr); align-items: end; gap: .6rem; }
.agency-filters .agency-filter { width: 100%; }
#agency-search {
  width: 100%; min-width: 0; min-height: 46px; padding: .65rem .75rem; border: 1px solid #d8dbd0;
  background: #fbfbf6; border-radius: .47rem; color: var(--ink); font: inherit;
}
.related-title.note { font-family: var(--sans); font-size: .95rem; }
@media (max-width: 400px) {
  .agency-filters { grid-template-columns: 1fr; width: 100%; }
}

.guide-auto-read {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; color: var(--forest);
}
.guide-auto-read input { accent-color: var(--forest); width: 1rem; height: 1rem; }
.guide-local-title { margin-top: .7rem; font-size: .86rem; font-weight: 700; }
.guide-stage[data-region="Sicilia"] { --stage-halo: #755941; --stage-accent: #efbf77; }
.guide-voice-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-top: .55rem; }
.guide-mic { min-height: 42px; gap: .36rem; padding: .45rem .7rem; border: 1px solid #a2b7a8; color: var(--forest); background: #edf2e8; font-size: .88rem; }
.guide-mic svg { display: block; width: 1.12rem; height: 1.12rem; }
.guide-mic:hover { background: #e1ebdf; }
.guide-mic[aria-pressed="true"] { color: #fff; background: #8b3b31; border-color: #8b3b31; }
.guide-mic-level { width: 3.5rem; height: .65rem; accent-color: #436b54; }
.guide-mic-help { display: inline-block; margin-top: .35rem; font-size: .88rem; }
.guide-mic-help[hidden] { display: none; }
.guide-voice-note { color: var(--muted); font-size: .78rem; line-height: 1.32; margin-top: .4rem; }
