/* =====================================================================
   VILLICANA TRANSPORTATION · quote.css
   The quote section, shared by /contact (#quote, English) and /es/
   (#cotizar, Spanish): every "Request a Quote" link lands here. Quotes
   are requested by phone; there is no form. Needs main.css first
   (tokens, .villi-btn-primary, global :focus-visible ring).

   Contrast (on white): text --ink / --ink-2, green text --forest-text.
   ===================================================================== */

.qf-section {
  background: var(--bone-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(2.25rem, 6vw, 5rem) 0 clamp(2.75rem, 7vw, 5.5rem);
  /* Lands below the sticky navbar when reached through #quote / #cotizar. */
  scroll-margin-top: 64px;
}

.qf-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.25rem);
}
@media (min-width: 1000px) {
  .qf-wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(3rem, 5vw, 5.5rem);
    row-gap: 2.5rem;
  }
  .qf-head { grid-column: 1; grid-row: 1; }
  .qf-body { grid-column: 2; grid-row: 1 / span 2; }
  .qf-aside { grid-column: 1; grid-row: 2; align-self: start; }
}

/* ---------- Head ---------- */
.qf-kicker {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-text);
  margin: 0 0 0.9rem;
  vertical-align: top;   /* the DM Mono swap cannot move the line (CLS) */
}
.qf-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.qf-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw + 0.6rem, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.qf-title em {
  font-style: italic; font-weight: 400; color: var(--forest-text);
  /* The italic face is not preloaded; top alignment keeps the line height
     the same before and after it swaps in (CLS). */
  vertical-align: top;
}

.qf-intro {
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}

/* ---------- Call card ---------- */
.qf-body { min-width: 0; }

.qf-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  padding: clamp(1.25rem, 4vw, 2.25rem);
}
.qf-card-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.qf-card-title em { font-style: italic; color: var(--forest-text); }
.qf-card-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 0.85rem;
}
.qf-card-phone,
.qf-card-phone:visited {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 6px;
  white-space: nowrap;
}
.qf-card-phone:hover { color: var(--forest-text); text-decoration-color: currentColor; }

.qf-ready {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.qf-ready li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  line-height: 1.45;
}
.qf-ready li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--forest-2);
}

.qf-card-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.qf-card-actions > * { justify-content: center; min-height: 52px; }
.qf-card-actions .fi { font-size: 16px; }
@media (max-width: 600px) {
  .qf-card-actions > * { flex: 1 1 100%; }
}
