/* The request form on guides and package pages (3 Nov 2026; the full form since 4 Nov 2026),
   stamped by tools/render-forms.mjs. The box around it is this file's; the form's own rules are
   the custom page's, generated below. */
.ask-form{text-align:left;background:var(--stone,#F0E7D6);border-radius:var(--r,18px);padding:26px 24px;margin:34px auto;box-sizing:border-box;max-width:760px}
.ask-form .af-head{font-family:'Fraunces',Georgia,serif;font-size:1.3rem;font-weight:600;line-height:1.25;color:var(--ink,#2C2620);margin:0 0 6px}
.ask-form .ask-cta-line{text-align:left;font-weight:400;margin:0 0 16px;color:var(--ink,#2C2620)}

/* BEGIN the full form, generated by tools/render-forms.mjs from custom-camino.html: do not edit */
.cc-form{max-width:720px;margin:0 auto;background:#fff;border-radius:var(--r);padding:28px 30px}
.cc-form h2{margin:0 0 18px;font-size:1.2rem}
/* The site-wide form{} rule (a padded, bordered glass panel) is for forms on dark heroes; inside
   this white card it doubled the padding and pushed the fields off the heading's edge (3 Nov 2026). */
form.ccf{padding:0;border:0;border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.cc-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cc-row>*{min-width:0}
.cc-field input,.cc-field select,.cc-field textarea{width:100%;min-width:0;box-sizing:border-box}
.cc-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
/* 8 Nov 2026: in a two-column row each field spans the same three tracks (label, input, helper), so a label that wraps never pushes its input below its neighbour's. Without subgrid the row stays as before. */
@media(min-width:721px){.cc-row{row-gap:0}.cc-row>.cc-field{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;align-content:start}.cc-row>.cc-field>label{align-self:end}}
.cc-hint.cc-reply{text-align:center;margin:10px 0 0}
.cc-field{display:flex;flex-direction:column;margin:0 0 16px}
.cc-field label{font-size:.78rem;letter-spacing:.07em;text-transform:uppercase;margin-bottom:7px;color:var(--ink-soft)}
.cc-field input,.cc-field select,.cc-field textarea{background:#fff;border:1px solid rgba(44,38,32,.22);border-radius:10px;padding:13px 14px;font-family:'Inter',sans-serif;font-size:1rem;color:var(--ink)}
.cc-field small{color:var(--ink-soft);font-size:.8rem;margin-top:6px}
.cc-field textarea{resize:vertical}
.cc-fine{font-size:.86rem;color:var(--ink-soft);margin:.6em 0 0}
.cc-error{background:#FFF6E5;border:1px solid #E8CE93;border-radius:10px;padding:11px 14px;font-size:.9rem;line-height:1.55}
.cc-error[hidden]{display:none}
.cc-done[hidden]{display:none}
/* 9 Nov 2026: the "request sent" card, built by window.bcRequestSent (email-check.js). */
.cc-done{scroll-margin-top:calc(var(--stick,96px) + 12px)}
.cc-done .cc-sent{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:12px 0}
.cc-done .cc-sent-icon{display:flex;width:52px;height:52px;border-radius:50%;background:var(--olive,#41502E);align-items:center;justify-content:center}
.cc-done .cc-sent-icon svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cc-done .cc-sent-title{font-family:'Fraunces',Georgia,serif;font-size:1.3rem;font-weight:600;line-height:1.25;color:var(--ink,#2C2620);margin:0}
.cc-done .cc-sent-title:focus{outline:none}
.cc-done .cc-sent p{margin:0;max-width:46ch}
.cc-done .cc-sent-body{color:var(--ink,#2C2620);line-height:1.55}
.cc-done .cc-sent-email{font-weight:600;word-break:break-all;color:var(--ink,#2C2620)}
.cc-done .cc-sent-muted{display:flex;flex-direction:column;gap:8px;font-size:.85rem;color:var(--ink-soft,#5E5447)}
.cc-done .cc-sent-muted a{color:var(--terra-text,#A8482A);text-decoration:underline;text-underline-offset:2px}
/* The honeypot is removed from the layout without display:none, which some
   bots check for. It stays reachable to a script and invisible to a human. */
.cc-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
/* Choice chips (30 Oct 2026): real radio inputs inside labels, so the
   keyboard, screen readers and a JavaScript-free submit all work. */
.cc-chips-field{border:0;padding:0;margin:0 0 16px;min-width:0}
.cc-chips-field legend{font-size:.78rem;letter-spacing:.07em;text-transform:uppercase;margin:0 0 7px;padding:0;color:var(--ink-soft)}
.cc-chips{display:flex;flex-wrap:wrap;gap:8px}
.cc-chip{position:relative;display:inline-flex;cursor:pointer;margin:0;text-transform:none;letter-spacing:0}
.cc-chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cc-chip span{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;box-sizing:border-box;border:1px solid var(--stone);border-radius:999px;background:var(--cream);color:var(--ink);font-size:.95rem;line-height:1.3;transition:background .15s,border-color .15s,color .15s}
.cc-chip:hover span{border-color:var(--ink-soft)}
.cc-chip input:checked + span{background:var(--olive);border-color:var(--olive);color:var(--cream)}
.cc-chip input:focus-visible + span{outline:2px solid var(--olive);outline-offset:2px}
.cc-hint{color:var(--ink-soft);font-size:.8rem;margin:-6px 0 16px}
.cc-help{display:block;color:var(--ink-soft);font-size:.78rem;margin-top:5px}
.cc-promo-line{color:var(--olive,#41502E);font-weight:600;font-size:.9rem;margin:0 0 10px}
.cc-suggest,.cc-mismatch{font-size:.85rem;margin:6px 0 0}
.cc-mismatch{color:var(--terra-text)}
.cc-suggest-btn{background:none;border:0;padding:0;font:inherit;color:var(--terra-text);text-decoration:underline;text-underline-offset:2px;cursor:pointer;text-align:left}
@media(max-width:720px){.cc-row{grid-template-columns:minmax(0,1fr)}}
/* 16 Nov 2026 (FORM-FOUR-FIELDS): four questions, the rest behind "+ Add details (optional)" (email-check.js opens it). */
.cc-more-line{margin:-4px 0 12px}
.cc-more-btn{background:none;border:0;padding:6px 0;font:inherit;font-size:.92rem;font-weight:600;color:var(--terra-text,#A8482A);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.cc-more-btn:focus-visible{outline:2px solid var(--olive,#41502E);outline-offset:2px;border-radius:4px}
.cc-more[hidden]{display:none}
/* 16 Nov 2026 (MOBILE-FIXES-2): on a phone the full form takes the package form's compact sizes: name | email and
   days | walkers side by side, chips inline at the package size, the same fields, names and submit. */
@media(max-width:720px){
  .cc-form{padding:18px 14px}
  form.ccf:not(.cc-compact) .cc-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px;align-items:end}
  form.ccf:not(.cc-compact) .cc-field{margin:0 0 7px}
  form.ccf:not(.cc-compact) .cc-field label,form.ccf:not(.cc-compact) .cc-chips-field legend{font-size:12.5px;letter-spacing:.04em;margin:0 0 3px;line-height:1.3}
  form.ccf:not(.cc-compact) .cc-field input,form.ccf:not(.cc-compact) .cc-field textarea{padding:8px 11px;font-size:16px;line-height:1.3;border-radius:8px}
  form.ccf:not(.cc-compact) .cc-field input{height:40px}
  form.ccf:not(.cc-compact) .cc-field textarea{height:56px}
  form.ccf:not(.cc-compact) .cc-chips-field{margin:0 0 7px}
  form.ccf:not(.cc-compact) .cc-chips{gap:6px}
  form.ccf:not(.cc-compact) .cc-chip span{min-height:36px;padding:5px 10px;font-size:.8rem;white-space:nowrap}
  /* rooms and pace: one row each, three equal parts; the route: two per row */
  form.ccf:not(.cc-compact) .cc-chips[data-optional]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  form.ccf:not(.cc-compact) .cc-chips:not([data-optional]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  form.ccf:not(.cc-compact) .cc-chips:not([data-optional]) .cc-chip span{min-height:32px}
  form.ccf:not(.cc-compact) .cc-chip{display:flex;min-width:0}
  form.ccf:not(.cc-compact) .cc-chip span{width:100%;justify-content:center;text-align:center;white-space:normal;line-height:1.2;padding:4px 6px}
  form.ccf:not(.cc-compact) .cc-chips[data-optional] .cc-chip span{border-radius:0}
  form.ccf:not(.cc-compact) .cc-chips[data-optional] .cc-chip+.cc-chip span{border-left-width:0}
  form.ccf:not(.cc-compact) .cc-chips[data-optional] .cc-chip:first-child span{border-radius:10px 0 0 10px}
  form.ccf:not(.cc-compact) .cc-chips[data-optional] .cc-chip:last-child span{border-radius:0 10px 10px 0}
  form.ccf:not(.cc-compact) .cc-hint{margin:-3px 0 6px;font-size:.8rem;line-height:1.45}
  form.ccf:not(.cc-compact) .btn{min-height:44px;padding:10px 26px;font-size:.92rem;width:100%}
  form.ccf:not(.cc-compact) .cc-hint.cc-reply{font-size:.76rem;line-height:1.45;margin:6px 0 0}
}
/* END the full form */

/* The card the form sits on inside the box, and the confirmation that replaces it. */
.ask-form form.ccf{background:#fff;border-radius:14px;padding:22px 22px 16px;margin:0}
.ask-form .cc-done{background:#fff;border-radius:14px;padding:20px;font-size:1rem;line-height:1.55;color:var(--ink,#2C2620)}
.ask-form .cc-done:focus{outline:2px solid var(--olive,#41502E);outline-offset:2px}
.ask-form form.ccf[hidden]{display:none}
.ask-form .cc-send .btn[disabled],.ask-form form.ccf button[disabled]{opacity:.7;cursor:wait}
@media(max-width:640px){.ask-form{padding:20px 16px}.ask-form form.ccf{padding:16px 14px 12px}}
/* 16 Nov 2026 (MOBILE-FIXES-2): the full form on a phone sits in the package card's padding, and a guide's article
   text size never reaches its hint. */
@media(max-width:720px){.ask-form:not(.ask-compact){padding:14px 12px}.ask-form:not(.ask-compact) form.ccf{padding:12px 12px 8px}
  .ask-form form.ccf:not(.cc-compact) .cc-hint{font-size:.8rem;line-height:1.45}.ask-form form.ccf:not(.cc-compact) .cc-hint.cc-reply{font-size:.76rem}}

/* The compact form of every package page (12 Nov 2026): every field visible and smaller, one grid (div.cc-grid).
   Phone: name | email, dates, walkers | days, rooms, pace, notes. No phone and no confirm field since 12 Nov 2026 (José).
   Desktop: a strict symmetric grid on six equal tracks, each field two rows tall (label, input) on a subgrid, so the
   labels of a row share one height and every input lines up; rooms | pace are equal segmented controls. */
.ask-form.ask-compact{padding:16px 18px;margin:18px auto}
.ask-form.ask-compact .af-head{font-size:1.12rem;margin:0 0 2px}
.ask-form.ask-compact .ask-cta-line{font-size:.9rem;margin:0 0 10px}
.ask-form.ask-compact form.ccf{padding:14px 16px 10px}
form.ccf.cc-compact .cc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;align-items:end;
  grid-template-areas:"name email" "dates dates" "days walkers"}
/* 16 Nov 2026 (FORM-FOUR-FIELDS): the rest, behind "+ Add details (optional)" */
form.ccf.cc-compact .cc-more-grid{grid-template-areas:"rooms rooms" "pace pace" "notes notes"}
form.ccf.cc-compact .cc-more-line{margin:0 0 8px}
form.ccf.cc-compact .cc-f-name{grid-area:name}form.ccf.cc-compact .cc-f-email{grid-area:email}

form.ccf.cc-compact .cc-f-dates{grid-area:dates}form.ccf.cc-compact .cc-f-walkers{grid-area:walkers}
form.ccf.cc-compact .cc-f-days{grid-area:days}form.ccf.cc-compact .cc-f-rooms{grid-area:rooms}
form.ccf.cc-compact .cc-f-pace{grid-area:pace}form.ccf.cc-compact .cc-f-notes{grid-area:notes}
form.ccf.cc-compact .cc-field{margin:0 0 8px}
form.ccf.cc-compact .cc-field label,form.ccf.cc-compact .cc-chips-field legend{font-size:.7rem;letter-spacing:.06em;margin:0 0 3px;line-height:1.3}
form.ccf.cc-compact .cc-field input,form.ccf.cc-compact .cc-field textarea{padding:8px 11px;font-size:15px;line-height:1.3;border-radius:8px}
form.ccf.cc-compact .cc-field input{height:40px}
form.ccf.cc-compact .cc-help{font-size:.7rem;line-height:1.35;margin-top:3px}
form.ccf.cc-compact .cc-chips-field{margin:0 0 8px}
form.ccf.cc-compact .cc-chips{gap:6px}
form.ccf.cc-compact .cc-chip span{min-height:36px;padding:5px 12px;font-size:.84rem;white-space:nowrap}
form.ccf.cc-compact .btn{min-height:44px;padding:10px 26px;font-size:.92rem}
form.ccf.cc-compact .cc-hint.cc-reply{font-size:.76rem;line-height:1.45;margin:6px 0 0}
@media(min-width:721px){
  form.ccf.cc-compact .cc-grid{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:14px;align-items:stretch;
    grid-template-areas:"name name name email email email" "name name name email email email"
      "dates dates days days walkers walkers" "dates dates days days walkers walkers"}
  form.ccf.cc-compact .cc-more-grid{grid-template-areas:"rooms rooms rooms pace pace pace" "rooms rooms rooms pace pace pace"
      "notes notes notes notes notes notes" "notes notes notes notes notes notes"}
  form.ccf.cc-compact .cc-grid>.cc-field{display:grid;grid-template-rows:subgrid;row-gap:0;margin:0 0 10px}
  form.ccf.cc-compact .cc-grid>.cc-field>label{align-self:end}
  form.ccf.cc-compact .cc-grid>.cc-chips-field{margin:0 0 10px}
  form.ccf.cc-compact .cc-grid .cc-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  form.ccf.cc-compact .cc-grid .cc-chip{display:flex;min-width:0}
  form.ccf.cc-compact .cc-grid .cc-chip span{width:100%;min-height:40px;justify-content:center;text-align:center;white-space:normal;line-height:1.2;padding:4px 6px;border-radius:0;font-size:.8rem}
  form.ccf.cc-compact .cc-grid .cc-chip+.cc-chip span{border-left-width:0}
  form.ccf.cc-compact .cc-grid .cc-chip:first-child span{border-radius:10px 0 0 10px}
  form.ccf.cc-compact .cc-grid .cc-chip:last-child span{border-radius:0 10px 10px 0}
  form.ccf.cc-compact .btn{width:100%}
}
@media(max-width:720px){
  .ask-form.ask-compact{padding:14px 12px}
  .ask-form.ask-compact form.ccf{padding:12px 12px 8px}
  form.ccf.cc-compact .cc-field input,form.ccf.cc-compact .cc-field textarea{font-size:16px}
  /* 16 Nov 2026 (MOBILE-FIXES): labels at least 12.5 px on phones (were 10.56 and 11.2); the grid is unchanged */
  form.ccf.cc-compact .cc-field label,form.ccf.cc-compact .cc-chips-field legend{font-size:12.5px;letter-spacing:.04em}
  form.ccf.cc-compact .cc-chip span{padding:5px 10px;font-size:.8rem}
}

