/* The homepage shares its field widths and contact paths with the PHP forms. */
body[data-page="index.php"] {
  --page-paper: #f8f8f2;
  --page-ink: #232821;
  --page-rule: #d5dbcf;
  background: var(--page-paper);
  font-family: "Golos Text", Arial, sans-serif;
}
.skip-link:not(:focus) { clip-path: inset(50%); pointer-events: none; }
body[data-page="index.php"] .top-progress { display: none; }
body[data-page="index.php"] #main, .home-catalog, .holiday-formats { background: var(--page-paper); }
.travel-desk .desk-planning {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  margin-top: clamp(28px, 4.4vw, 64px);
}
.desk-adviser { padding: clamp(24px, 3.15vw, 44px); }
.desk-adviser > p { max-width: 44ch; }
.desk-adviser #lead-form {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 18px 0 0;
  padding: 0 !important; /* Override legacy mobile padding on standalone forms. */
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--page-ink);
  box-shadow: none;
  scroll-margin-block: 8px;
}
.desk-adviser #lead-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}
.desk-adviser #lead-form .form-grid > label { display: grid; gap: 5px; min-width: 0; }
.desk-adviser #lead-form .form-grid label > span { font: 550 .94rem/1.3 "Golos Text", Arial, sans-serif; color: #293628; }
.desk-adviser #lead-form .form-grid :is(input, select, textarea) {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #a7b79b;
  border-radius: 9px;
  background: #fffefa;
  color: var(--page-ink);
  font: 450 1rem/1.35 "Golos Text", Arial, sans-serif;
  box-shadow: none;
}
.desk-adviser #lead-form .form-grid textarea { min-height: 92px; resize: vertical; }
.trip-wishes { border-block: 1px solid #bfceb1; }
.trip-wishes summary, .agency-foot summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}
.trip-wishes summary::-webkit-details-marker, .agency-foot summary::-webkit-details-marker { display: none; }
.trip-wishes summary::after, .agency-foot summary::after { content: "+"; flex: none; font-size: 1.25rem; line-height: 1; }
.trip-wishes[open] summary::after, .agency-foot details[open] summary::after { content: "−"; }
.trip-wishes[open] { padding-bottom: 16px; }
.desk-adviser #lead-form .consent {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  font: 450 .88rem/1.45 "Golos Text", Arial, sans-serif;
  color: #404d3b;
}
.desk-adviser #lead-form .consent input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: #365728; }
.desk-adviser #lead-form .consent span { font: inherit !important; color: inherit; }
.desk-adviser #lead-form .consent a { color: #294c29; text-decoration: underline; text-underline-offset: 2px; }
.desk-adviser #lead-form .btn-form {
  justify-self: start;
  width: auto;
  min-height: 48px;
  margin: 0;
  padding: 12px 22px;
  border: 0;
  border-radius: 11px;
  background: #b7e683;
  color: var(--page-ink);
  font: 650 1rem/1.25 "Golos Text", Arial, sans-serif;
  box-shadow: none;
}
.desk-adviser #lead-form .btn-form:hover { background: #a9df72; }
.agency-foot {
  color: var(--page-ink);
  background: #eff1e8;
  border-top: 1px solid var(--page-rule);
  font: 470 1rem/1.45 "Golos Text", Arial, sans-serif;
}
.agency-foot-inner { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.agency-foot a { color: inherit; text-decoration: none; }
.agency-foot a:hover, .agency-foot summary:hover { color: #804009; }
.agency-foot-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  gap: 32px;
  padding-block: clamp(28px, 3.5vw, 48px);
}
.agency-foot .agency-seal { width: 58px; }
.agency-foot .agency-name { font-size: clamp(1.25rem, 2.1vw, 1.75rem); }
.agency-foot-brand p, .agency-foot-office span { color: #50594f; font-size: .94rem; }
.agency-foot-brand p { margin: 8px 0 0; }
.agency-foot-office, .agency-foot-contact { display: flex; flex-direction: column; align-items: start; }
.agency-foot-office a, .agency-foot-contact a, .agency-foot-end a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
}
.agency-foot svg { width: 16px; height: 16px; flex: none; }
.foot-address { font-weight: 600; }
.foot-phone { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 670; letter-spacing: -.045em; white-space: nowrap; }
.agency-foot-nav {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 36px; border-block: 1px solid #ccd2c3;
}
.agency-foot summary { min-height: 54px; }
.agency-foot nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px; padding: 0 0 20px; }
.agency-foot nav a { display: flex; align-items: center; min-height: 42px; font-size: .95rem; }
.agency-foot-end { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; padding-block: 14px; color: #50594f; font-size: .92rem; }
.agency-foot-end > div { display: flex; flex-wrap: wrap; gap: 0 18px; }
body[data-page="index.php"] #cookie-banner:not([hidden]) {
  border: 1px solid var(--page-rule); border-radius: 12px; background: #fffefa;
  font-family: "Golos Text", Arial, sans-serif;
}
@media (max-width: 850px) {
  .agency-foot-inner { width: calc(100% - 24px); }
  .agency-foot-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; }
  .agency-foot-brand { grid-column: 1 / -1; }
  .travel-desk .desk-planning { gap: 24px; }
}
@media (max-width: 740px) {
  .travel-desk .desk-planning { grid-template-columns: 1fr; gap: 28px; }
  .desk-adviser { padding: 24px 18px; }
  .desk-adviser #lead-form .consent { font-size: .9rem; }
  .agency-foot-office a, .agency-foot-contact a, .agency-foot nav a, .agency-foot-end a { min-height: 44px; }
  .agency-foot-end { flex-wrap: wrap; }
  .agency-foot-nav { grid-template-columns: 1fr; gap: 0; }
  .agency-foot-nav details + details { border-top: 1px solid #ccd2c3; }
}
@media (max-width: 520px) {
  .desk-adviser #lead-form .form-grid { grid-template-columns: 1fr; gap: 10px; }
  .agency-foot-main { grid-template-columns: 1fr; gap: 12px; }
  .agency-foot-brand { grid-column: auto; }
  .agency-foot-office { order: 1; }
  .agency-foot .agency-foot-main { padding-block: 24px; }
  .agency-foot-contact { flex-flow: row wrap; align-items: center; gap: 0 16px; }
  .agency-foot-office a { min-height: 44px; }
  .agency-foot-end { flex-direction: column-reverse; align-items: start; gap: 6px; }
}


.home-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  font-family: "Golos Text", Arial, sans-serif;
  color: var(--page-ink);
}
.home-wrap h2 {
  margin: 0 0 clamp(18px, 2.2vw, 30px);
  font: 660 clamp(1.8rem, 3.4vw, 3rem)/1.06 "Golos Text", Arial, sans-serif;
  color: inherit;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.home-wrap a { color: inherit; text-decoration: none; }
.home-wrap :is(a, summary):focus-visible { outline: 3px solid #985018; outline-offset: 3px; }
.home-wrap svg { width: 18px; height: 18px; flex: none; }
body[data-page="index.php"] :is(#popular-destinations, #home-tour-search) { scroll-margin-top: 8px; }
.edition-grid { display: grid; grid-template-columns: minmax(0,1.55fr) repeat(2,minmax(0,1fr)); gap: clamp(10px, 1.5vw, 20px); }
.edition-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  isolation: isolate;
  background: #eeeee5;
  border-radius: 18px;
  overflow: hidden;
}
.edition-photo { grid-area: 1 / 1 / 2 / 2; position: relative; min-height: 0; }
.edition-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.edition-card:first-child { min-height: clamp(268px, 25vw, 345px); background: #27423a; }
.edition-card:first-child .edition-photo { grid-area: auto; position: absolute; inset: 0; z-index: -2; }
.edition-card:first-child img { object-position: 50% 55%; }
.edition-card:first-child::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10,30,24,.91), rgba(10,30,24,.29) 39%, transparent 69%);
}
.edition-caption { align-self: end; padding: clamp(15px, 1.5vw, 22px); }
.edition-caption h3 { margin: 0; font: 640 clamp(1.3rem, 2.2vw, 1.95rem)/1.08 "Golos Text", Arial, sans-serif; letter-spacing: -.045em; color: inherit; }
.edition-caption p { max-width: 38ch; margin: 7px 0 0; color: #444e42; font: 450 clamp(.94rem, 1.15vw, 1.05rem)/1.42 "Golos Text", Arial, sans-serif; }
.edition-card:first-child .edition-caption { grid-row: 2; padding: clamp(18px, 2.3vw, 34px); color: white; }
.edition-card:first-child h3 { font-size: clamp(1.9rem, 3.1vw, 3rem); }
.edition-card:first-child p { color: white; }
.edition-card:nth-child(2) { background: #f4e6d9; }
.edition-card:nth-child(3) { background: #e7efe8; }
.edition-card:not(:first-child) .edition-caption { grid-row: 2; }
.edition-arrow {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: #fffffff0; color: #243528;
}
@media (hover: hover) {
  .edition-arrow { transition: background .18s, transform .18s; }
  .edition-card:hover .edition-arrow { background: #c7ef9d; transform: translateX(2px); }
}
.edition-index { border-bottom: 1px solid var(--page-rule); }
.edition-index summary, .booking-questions summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 54px; list-style: none; cursor: pointer;
}
.edition-index summary { font-weight: 600; }
.edition-index summary::-webkit-details-marker, .booking-questions summary::-webkit-details-marker { display: none; }
.edition-index summary::after, .booking-questions summary::after { content: "+"; flex: none; font-size: 1.35rem; font-weight: 450; }
.edition-index[open] summary::after, .booking-questions details[open] summary::after { content: "−"; }
.edition-index > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 2px 18px; padding-bottom: 16px; }
.edition-index a { display: flex; align-items: center; gap: 9px; min-height: 44px; }
.edition-index img { width: 22px; height: 16px; object-fit: contain; }
.resort-edition { padding-block: clamp(32px,4.7vw,66px); }
.resort-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.resort-heading > a, .booking-questions a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 580; color: #39542e; }
.resort-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 2.1vw, 30px); }
.resort-column { border-top: 4px solid #a4ce79; }
.resort-column:nth-child(2) { border-color: #eea269; }
.resort-column:nth-child(3) { border-color: #8ebbb2; }
.resort-column h3 { margin: 18px 0 6px; color: #273025; font: 640 clamp(1.17rem, 1.65vw, 1.55rem)/1.2 "Golos Text", Arial, sans-serif; letter-spacing: -.035em; }
.resort-column a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--page-rule); }
.resort-column strong, .resort-column small { display: block; }
.resort-column strong { font-size: 1.05rem; font-weight: 610; }
.resort-column small { margin-top: 3px; font-size: .94rem; line-height: 1.38; color: #4f594e; }
.resort-column svg { width: 15px; color: #597451; }
.home-wrap :is(.edition-index a, .resort-column a, .resort-heading > a, .booking-questions a):hover { color: #85400c; }
.booking-guide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0,1.2fr); align-items: start; gap: 24px 50px; padding-block: clamp(32px,4.4vw,64px); }
.booking-questions { border-top: 1px solid #b9c4b4; }
.booking-questions details { border-bottom: 1px solid #cbd3c4; }
.booking-questions summary { padding-block: 12px; font-size: clamp(1rem,1.3vw,1.15rem); font-weight: 575; line-height: 1.35; }
.booking-questions p { margin: 0 0 4px; max-width: 62ch; line-height: 1.55; color: #475146; }
.booking-questions a { margin-bottom: 4px; }
@media (max-width: 850px) { .home-wrap { width: calc(100% - 24px); } }
@media (max-width: 700px) {
  .edition-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edition-card { border-radius: 13px; }
  .edition-card:first-child { grid-column: 1 / -1; min-height: clamp(195px,46vw,288px); }
  .edition-card:not(:first-child) { grid-template-rows: auto 1fr; }
  .edition-card:not(:first-child) .edition-photo { aspect-ratio: 1.65; }
  .edition-card:not(:first-child) .edition-caption { align-self: start; padding: 12px; }
  .edition-card:not(:first-child) .edition-arrow { display: none; }
  .edition-caption p { margin-top: 4px; }
  .resort-heading { display: block; }
  .resort-heading h2 { margin-bottom: 0; }
  .resort-heading > a { margin: 2px 0 10px; }
  .resort-columns { grid-template-columns: 1fr; gap: 20px; }
  .resort-column { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 16px; border-top-width: 3px; }
  .resort-column h3 { grid-column: 1 / -1; margin: 12px 0 0; }
  .resort-column a { align-items: flex-start; padding-block: 10px 12px; }
  .resort-column svg { margin-top: 5px; width: 12px; }
  .resort-column small { font-size: .875rem; }
  .booking-guide { grid-template-columns: 1fr; gap: 16px; }
  .booking-guide h2 { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .edition-arrow { transition: none; } }
