/* Site review fixes (2026-11-05). Loaded last on the landing page, after every
   other stylesheet, so these rules win ties with the older override files. */

/* ---------- Consultation form ---------- */

/* Email: show its label inside the box like the name fields (refinement.css:36
   hides every label in the questions block, which left email with no visible label or *). */
.form-shell .funnel [id$="qualification"]>.field.inset-field{position:relative}
.form-shell .funnel [id$="qualification"]>.field.inset-field>label{position:absolute;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:nowrap;border:0;font-size:14px;font-weight:400;line-height:18px}
@media (max-width:700px){.form-shell .funnel [id$="qualification"]>.field.inset-field>label{font-size:16px;line-height:20px}}
/* Narrow phones: keep "Request a callback" on one line. */
@media (max-width:400px){.form-shell .funnel.is-calendar .booking-actions button{font-size:12px;padding-inline:4px}}
.form-shell .funnel [id$="qualification"]>.field.inset-field:has(input:not(:placeholder-shown))>label{clip-path:inset(50%);width:1px;height:1px;overflow:hidden}

/* The submit button stays clickable while incomplete (funnel.js sets aria-disabled)
   so a click can name the missing answer. It keeps the inactive look meanwhile. */
.form-shell .funnel .submit-button[aria-disabled="true"]:not(:disabled),
.form-shell .funnel .submit-button[aria-disabled="true"]:not(:disabled):hover{background:#345469;border-color:#9ab7c857;color:#bed5e2;box-shadow:none;transform:none}

/* Country trigger arrow: one clean down chevron (funnel-source.css drew a triangle,
   styles.css rotated a bordered box on top of it). */
.form-shell .funnel .country-chevron{width:6px;height:6px;border-style:solid;border-color:#c3d9e6;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:0 2px 3px}

/* SMS consent note is legal wording: full opacity and readable size. */
.form-shell .funnel .booking-consent{font-size:12px;line-height:1.5;opacity:1;color:#d2e2ea}

/* Calendar preview weekday names. */
.form-shell .funnel .teaser-weekdays{font-size:11px}

/* ---------- Phones: form fields and booking step ---------- */
@media (max-width:700px){
  /* Text fields at 44px (responsive.css:121 had lowered them to 40px). */
  .form-shell .funnel .field input,.form-shell .funnel .field select{height:44px;min-height:44px}
  .form-shell .funnel .phone-field{height:46px;min-height:46px}
  .form-shell .funnel .phone-field input,.form-shell .funnel .country-trigger{height:44px;min-height:44px}
  .form-shell .funnel .inset-field label{top:12px}

  /* Booking step: tap targets of 36 to 44px and nothing under 11px. */
  .form-shell .funnel.is-calendar .contact-summary button,.form-shell .funnel.is-calendar .timezone-summary button{min-height:44px;font-size:13px}
  .form-shell .funnel.is-calendar .availability-label{font-size:12px}
  .form-shell .funnel.is-calendar .weekdays,.form-shell .funnel.is-calendar .calendar-days{width:min(308px,100%);grid-template-columns:repeat(7,40px)}
  .form-shell .funnel.is-calendar .weekdays{font-size:11px}
  .form-shell .funnel.is-calendar .calendar-days{grid-template-rows:repeat(2,40px);grid-auto-rows:40px;row-gap:4px}
  .form-shell .funnel.is-calendar .calendar-days button{width:40px;height:40px;min-width:40px;min-height:40px;font-size:14px}
  .form-shell .funnel.is-calendar .more-availability{height:44px;min-height:44px;max-height:none;font-size:13px}
  .form-shell .funnel.is-calendar .calendar-slot-pane .calendar-step{font-size:13px}
  .form-shell .funnel.is-calendar .calendar-slot-pane [id$='selected-date-label']{font-size:12px}
  .form-shell .funnel.is-calendar .sample-times{grid-auto-rows:44px;max-height:142px;min-height:44px}
  .form-shell .funnel.is-calendar .time-button{height:44px;min-height:44px;font-size:14px}
  .form-shell .funnel.is-calendar .times-scroll-hint:not([hidden]){font-size:11px}
  .form-shell .funnel.is-calendar .booking-actions button{height:44px;min-height:44px;font-size:13px}
}

/* ---------- Page buttons ---------- */

/* Hero button lightens on hover like the other gold buttons (refinement.css:18
   set its background after the shared hover rule). */
.reference-hero .hero-book:hover{background:linear-gradient(115deg,#f7e1bb,#dfbd85 53%,#f0d6a7);box-shadow:inset 0 1px 0 #fff9,0 9px 25px #06192540}

/* One size for the gold call-to-action buttons inside sections. */
@media (width > 700px){
  .promise-actions .button,.inline-cta .button,.starter-copy .button,.diy-actions .button,.team-layout .button{min-height:52px;font-size:14px;white-space:nowrap}
}

/* ---------- Layout ---------- */

/* "Your move to Panama" steps: two columns until there is room for four. */
@media (max-width:900px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Starter kit heading: no one-word last line. */
#starter-title,#faq-title{text-wrap:balance}

/* ---------- Small text ---------- */
.site-header .brand small,.site-footer .brand small,.legal-header .brand small{font-size:9px}
.guide-cover .cover-foot{font-size:9px}

/* ---------- Phone menu: four links in a 2 x 2 grid ---------- */
@media (max-width:700px){
  .menu-open .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;padding:12px 32px 16px}
  #nav-menu-toggle{min-height:44px}
}

/* ---------- Cookie banner ---------- */
/* Desktop: a slim one-line bar, so it covers as little of the hero button and form as possible. */
@media (width > 1100px){
  .consent-banner{width:min(1080px,calc(100% - 48px));padding:10px 12px 10px 20px;gap:20px;font-size:14px;bottom:12px}
  .consent-banner button:not(.consent-link){min-height:40px;padding-block:8px}
}
/* Phones: tighter, so more of the hero stays visible. */
@media (max-width:600px){
  .consent-banner{padding:12px 14px;gap:10px;font-size:14px;line-height:1.45}
  .consent-banner button:not(.consent-link){min-height:44px}
}
.consent-banner .consent-link{display:inline-flex;align-items:center;min-height:32px}

/* "Can you handle the move yourself?": heading lines up with the text below it
   (viewport-fit.css:59 changed only the text's side padding). */
@media (width > 700px){.diy-narrative .diy-cover{padding-inline:clamp(24px,7vw,96px)}}

/* Tablets: keep the two booking buttons on one line each. */
@media (700px < width <= 900px){.form-shell .funnel.is-calendar .booking-actions button{font-size:13px;height:auto;min-height:44px;line-height:1.3}}

/* ---------- Review round 2 ---------- */

/* Gold section buttons: the guarantee and DIY buttons had more specific rules
   (promise-balanced.css:20, reading-detail.css:46) that kept them at 50-51px and 13px. */
@media (width > 700px){
  #offer-conditions.promise-balanced .promise-call,.diy-narrative .diy-actions .button{min-height:54px;font-size:14px}
}

/* Desktop cookie banner: one line where the screen allows it. */
@media (width > 1100px){
  .consent-banner{width:min(1320px,calc(100% - 32px));font-size:13px;gap:16px;padding:8px 10px 8px 18px}
  .consent-banner .consent-text{white-space:normal}
  .consent-banner button:not(.consent-link){padding-inline:16px}
}

/* Callback result: "Choose a call time instead" was a 16px-tall, 10px link. */
.form-shell .funnel .result-edit{display:flex;align-items:center;justify-content:center;min-height:44px;margin:8px auto 0;padding:0 12px;font-size:13px}

/* Country list: a visible keyboard focus ring, distinct from the selected country. */
.form-shell .funnel .country-menu .country-option:focus-visible,.country-menu.country-sheet .country-option:focus-visible{outline:2px solid #add7ca;outline-offset:-2px}

/* Country close X: keep the lines visible in Windows High Contrast mode. */
@media (forced-colors: active){
  .form-shell .funnel .country-menu .country-close::before,.form-shell .funnel .country-menu .country-close::after,
  .country-menu.country-sheet .country-close::before,.country-menu.country-sheet .country-close::after{background:CanvasText;forced-color-adjust:none}
}

/* Phones: the country sheet gets a dim backdrop and the page behind stops scrolling. */
.country-backdrop{position:fixed;inset:0;z-index:1999;background:#06141d99}
.country-backdrop[hidden]{display:none}
html.country-sheet-open,html.country-sheet-open body{overflow:hidden}

/* ---------- Review round 3 ---------- */

/* Small labels: nothing under 11px except the brand tagline (logo lockup) and
   the mock book covers in the starter kit picture.
   About 20 rules across older files set these labels to 10px, some with ids, so
   !important is the one reliable floor here. */
:is(.eyebrow,.chapter):not(.inclusion-column *),.promise-card-visual figcaption{font-size:11px!important}
html body .hero-location span{font-size:10px}
.site-header .brand small,.site-footer .brand small,.legal-header .brand small{font-size:10px}

/* Phones: calendar days fill the row at 44px tall (they were 40 x 40). */
@media (max-width:700px){
  .form-shell .funnel.is-calendar .weekdays,.form-shell .funnel.is-calendar .calendar-days{width:100%;grid-template-columns:repeat(7,minmax(0,1fr));column-gap:4px}
  .form-shell .funnel.is-calendar .calendar-days{grid-template-rows:repeat(2,44px);grid-auto-rows:44px}
  .form-shell .funnel.is-calendar .calendar-days button{width:100%;min-width:0;height:44px;min-height:44px}
}
