/* =============================================================================
   SECTION — SPECIAL OFFERS
   Tokens only; no values invented here that root.css already names.

   The page is a scan, not a read: a visitor arrives knowing they want a
   discount and is looking for the one that matches their dates. So the saving
   is the loudest thing on every card, the conditions sit directly under it
   rather than behind a link, and one offer is deliberately larger than the
   rest — a grid of five equal cards is a price list, not an offer page.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   THE OFFERS
   --------------------------------------------------------------------------- */
.of-grid-sec{
  background:var(--cream);
  color:var(--ink);
  padding-block:clamp(44px,5vw,80px);
}

/* ---- the headline offer ---- */
.of-feature{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(24px,3vw,48px);
  align-items:center;
  padding:clamp(28px,3.4vw,52px);
  border-radius:var(--r-card);
  background:var(--band);
  color:var(--cream);
  overflow:hidden;
  position:relative;
}
/* A single soft light from the badge corner, so the dark card is not a flat
   rectangle. Cheap: one gradient, no blur, no extra element. */
.of-feature::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(120% 140% at 88% 18%,rgba(183,200,150,.17) 0%,rgba(183,200,150,0) 58%);
  pointer-events:none;
}
.of-feature-copy{position:relative;z-index:1;max-width:62ch}
.of-eyebrow{
  margin:0 0 var(--space-sm);
  font-family:var(--font-body);
  font-size:11px;font-weight:var(--fw-bold);
  letter-spacing:var(--track-label);text-transform:uppercase;
  color:var(--accent);
}
.of-feature h2{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(30px,3.4vw,50px);
  line-height:1.08;letter-spacing:-.016em;
  font-weight:var(--fw-medium);
  color:#fff;
}
.of-feature-line{
  margin:clamp(12px,1.4vw,18px) 0 0;
  font-family:var(--font-body);
  font-size:clamp(15.5px,1.15vw,17.5px);
  line-height:var(--lh-body);
  color:rgba(245,240,230,.84);
}
.of-feature .of-terms{margin-block:clamp(18px,2vw,26px) clamp(22px,2.4vw,30px)}
.of-feature .of-terms li{color:rgba(245,240,230,.80)}
.of-feature .of-terms svg{stroke:var(--accent)}
.of-feature .btn{align-self:start}

/* The number, not a sticker. Set in the display serif at a size nothing else
   on the page reaches, so it reads as the offer rather than as decoration. */
.of-feature-badge{
  position:relative;z-index:1;
  display:flex;align-items:baseline;gap:var(--space-sm);
  color:var(--accent);
}
.of-badge-num{
  font-family:var(--font-display);
  font-size:clamp(76px,9vw,132px);
  line-height:.8;
  font-weight:var(--fw-regular);
}
.of-badge-unit{
  font-family:var(--font-body);
  font-size:clamp(12px,1vw,14px);font-weight:var(--fw-bold);
  letter-spacing:var(--track-label);text-transform:uppercase;
  line-height:1.35;
  color:rgba(245,240,230,.72);
}

/* ---- the four ---- */
.of-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(16px,1.8vw,26px);
  margin-top:clamp(16px,1.8vw,26px);
}
.of-card{
  display:flex;flex-direction:column;
  padding:clamp(22px,2.4vw,34px);
  border:1px solid rgba(40,52,38,.14);
  border-radius:var(--r-card);
  background:var(--cream-warm);
  transition:border-color .25s ease,transform .25s var(--ease-out),box-shadow .25s ease;
}
.of-save{
  margin:0 0 var(--space-sm);
  font-family:var(--font-display);
  font-size:clamp(27px,2.6vw,38px);
  line-height:1;
  font-weight:var(--fw-regular);
  color:var(--rust-deep);
}
.of-card h3{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(20px,1.7vw,25px);
  line-height:1.18;
  font-weight:var(--fw-medium);
  color:#153d31;
}
.of-card-line{
  margin:var(--space-sm) 0 0;
  font-family:var(--font-body);
  font-size:14.5px;line-height:var(--lh-body);
  color:var(--ink-soft);
  /* Reserve three lines so the conditions list starts at the same height in
     every card. lh with an em fallback, because typography.css re-declares
     this line-height later in the cascade.

     This reserves a floor, it does not cap: a description that runs to four
     lines pushes its own conditions list 23px below the other three. Keep
     these to roughly 110 characters and they stay level at every width. If
     the offers ever come out of a CMS, where length cannot be controlled,
     this is the rule to replace with a subgrid row. */
  min-height:calc(3 * 1.6em);
  min-height:3lh;
}
/* Pushes the link to the bottom edge so all four align however long the
   conditions run. */
.of-card .of-terms{flex:1 1 auto}
.of-card .of-link{margin-top:clamp(16px,1.8vw,22px)}

/* ---- shared conditions list ---- */
.of-terms{
  list-style:none;
  margin:clamp(14px,1.6vw,20px) 0 0;
  padding:0;
}
.of-terms li{
  display:flex;align-items:flex-start;gap:10px;
  font-family:var(--font-body);
  font-size:13px;line-height:1.5;
  color:var(--ink-soft);
}
.of-terms li + li{margin-top:9px}
.of-terms svg{
  width:15px;height:15px;flex:0 0 auto;
  margin-top:2px;
  fill:none;stroke:var(--sage);stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}
.of-link{
  display:inline-flex;align-items:center;gap:10px;
  align-self:flex-start;
  padding-bottom:4px;
  border-bottom:1px solid rgba(139,55,29,.34);
  font-family:var(--font-body);
  font-size:12px;font-weight:var(--fw-bold);
  letter-spacing:var(--track-label);text-transform:uppercase;
  color:var(--rust-deep);
  transition:border-color .25s ease;
}
.of-link svg{
  width:22px;height:9px;flex:0 0 auto;
  fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round;
  transition:transform .3s var(--ease-out);
}

/* The service discount is the one offer tied to who the owners are rather
   than to a date, so it gets the rust edge instead of another neutral card. */
.of-card.is-vet{border-color:rgba(139,55,29,.30);background:#f6efe6}

/* ---------------------------------------------------------------------------
   COMING UP
   No numbers in this block, by design. An announced rate that later changes
   is worse than no announcement, so these say when, never how much.

   Dark ground on purpose. Everything from the offer cards down was cream,
   cream-warm, cream-warm, cream-warm, cream - five grounds within three RGB
   points of each other, so the whole lower half of the page read as one
   undifferentiated field. Putting the seasonal teaser on the band colour
   breaks the run exactly where the page changes subject.
   --------------------------------------------------------------------------- */
.of-soon{
  background:var(--band);
  color:var(--cream);
  padding-block:clamp(44px,5vw,78px);
}
.of-soon-head{max-width:620px}
.of-soon-kicker{
  margin:0 0 var(--space-sm);
  font-family:var(--font-body);
  font-size:11px;font-weight:var(--fw-bold);
  letter-spacing:var(--track-kicker);text-transform:uppercase;
  color:var(--accent);
}
.of-soon h2{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(25px,2.6vw,38px);
  line-height:1.12;
  font-weight:var(--fw-medium);
  color:#fff;
}
.of-soon-list{
  list-style:none;margin:clamp(24px,2.8vw,40px) 0 0;padding:0;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(18px,2vw,30px);
}
.of-soon-list li{
  padding-top:clamp(16px,1.8vw,22px);
  border-top:1px solid rgba(183,200,150,.26);
}
.of-soon-when{
  display:inline-block;
  margin-bottom:10px;
  font-family:var(--font-body);
  font-size:10.5px;font-weight:var(--fw-bold);
  letter-spacing:var(--track-kicker);text-transform:uppercase;
  color:var(--accent);
}
.of-soon-list h3{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(18px,1.5vw,22px);
  line-height:1.2;
  font-weight:var(--fw-medium);
  color:var(--cream);
}
.of-soon-list p{
  margin:var(--space-sm) 0 0;
  font-family:var(--font-body);
  font-size:14px;line-height:var(--lh-body);
  color:rgba(245,240,230,.78);
}
.of-soon-note{
  margin:clamp(26px,3vw,40px) 0 0;
  font-family:var(--font-body);
  font-size:14.5px;line-height:var(--lh-body);
  color:rgba(245,240,230,.74);
}
.of-soon-note a{color:var(--accent);border-bottom:1px solid rgba(183,200,150,.42)}

/* ---------------------------------------------------------------------------
   BREAKPOINTS
   --------------------------------------------------------------------------- */
@media (min-width:640px){
  .of-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .of-soon-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Below the two-column breakpoint the badge would stack underneath the CTA,
   which buries the number the whole card is about. Lead with it instead. */
@media (max-width:999px){
  .of-feature-badge{order:-1}
  .of-feature{row-gap:clamp(18px,2.4vw,28px)}
}
@media (min-width:1000px){
  .of-feature{grid-template-columns:minmax(0,1fr) auto}
  .of-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ---------------------------------------------------------------------------
   HOVER — pointer devices only, so nothing sticks on a touchscreen
   --------------------------------------------------------------------------- */
@media (hover:hover) and (pointer:fine){
  .of-card:hover{
    border-color:rgba(40,52,38,.30);
    transform:translateY(-3px);
    box-shadow:0 14px 30px -22px rgba(13,42,32,.55);
  }
  .of-card.is-vet:hover{border-color:rgba(139,55,29,.52)}
  .of-link:hover{border-bottom-color:currentColor}
  .of-link:hover svg{transform:translateX(5px)}
  .of-soon-note a:hover{border-bottom-color:currentColor}
}
@media (prefers-reduced-motion:reduce){
  .of-card,.of-link svg{transition:none}
  .of-card:hover{transform:none}
}
