/**
 * StayNomad component vocabulary.
 *
 * Implements docs/COMPONENT-SPEC.md. Every component is prefixed `sn-` and
 * built to be reused across pages — no page-specific selectors live here.
 *
 * Rules observed throughout:
 *   - no raw colour, size or timing values; tokens only
 *   - card radius stays within the 4-12px band the brand direction allows
 *   - pill radius is reserved for metadata chips, never buttons or cards
 *   - every interactive element carries a visible focus state and a 44px
 *     minimum touch target
 *
 * @see docs/COMPONENT-SPEC.md
 * @see docs/DESIGN-SYSTEM.md
 */

/* =====================================================================
   Layout — SN Container / SN Section
   ===================================================================== */

.sn-container {
  width: 100%;
  max-width: var(--sn-container);
  margin-inline: auto;
  padding-inline: var(--sn-gutter);
}

.sn-container--narrow {
  max-width: var(--sn-container-narrow);
}

/* Full-bleed media escapes the container without breaking the flow. */
.sn-container--bleed {
  max-width: none;
  padding-inline: 0;
}

/*
 * Break a single child out of its container to the full viewport width.
 *
 * Applied to media only — photography is the product on a villa site and
 * looks boxed-in at a fixed width, while body copy past ~75 characters a line
 * gets harder to read. So the container widened to 1440px for everything and
 * imagery opts out of it entirely.
 *
 * `50% - 50vw` is negative on any viewport wider than the container. `vw`
 * includes the scrollbar, which would otherwise add a hairline of horizontal
 * scroll; `overflow-x: clip` on the body (base.css) absorbs that without
 * creating a scroll container the way `hidden` would.
 */
.sn-bleed {
  margin-inline: calc(50% - 50vw);
  width: auto;
  max-width: none;
  padding-inline: var(--sn-gutter);
}

.sn-section {
  padding-block: var(--sn-section-y);
}

.sn-section--compact  { padding-block: var(--sn-section-y-compact); }
.sn-section--spacious { padding-block: var(--sn-section-y-spacious); }

/* Surfaces. The inverse pair also flips text colour for everything inside. */
.sn-section--ivory { background-color: var(--sn-ivory); }
.sn-section--white { background-color: var(--sn-white); }
.sn-section--sand  { background-color: var(--sn-sand); }

.sn-section--green,
.sn-section--green-dark {
  color: var(--sn-text-inverse);
}

.sn-section--green      { background-color: var(--sn-green); }
.sn-section--green-dark { background-color: var(--sn-green-dark); }

.sn-section--green :is(h1, h2, h3, h4, h5, h6),
.sn-section--green-dark :is(h1, h2, h3, h4, h5, h6) {
  color: var(--sn-text-inverse);
}

/* =====================================================================
   Typography — SN Eyebrow / Display Heading / Body
   ===================================================================== */

.sn-eyebrow {
  display: block;
  margin-bottom: var(--sn-space-3);
  font-family: var(--sn-font-body);
  font-size: var(--sn-label);
  font-weight: var(--sn-weight-medium);
  letter-spacing: var(--sn-tracking-label);
  text-transform: uppercase;
  color: var(--sn-orange-ink);
}

.sn-eyebrow--muted   { color: var(--sn-text-muted); }
.sn-eyebrow--inverse { color: var(--sn-text-inverse-muted); }

.sn-display {
  margin: 0 0 var(--sn-space-5);
  font-family: var(--sn-font-display);
  font-weight: var(--sn-weight-display);
  line-height: var(--sn-leading-display);
  letter-spacing: var(--sn-tracking-display);
  text-wrap: balance;
}

.sn-display--hero    { font-size: var(--sn-display-xl); }
.sn-display--section { font-size: var(--sn-display-m); }
.sn-display--compact { font-size: var(--sn-heading-l); }
.sn-display--inverse { color: var(--sn-text-inverse); }

.sn-body {
  font-family: var(--sn-font-body);
  font-size: var(--sn-body);
  line-height: var(--sn-leading-body);
}

.sn-body--intro {
  font-size: var(--sn-body-l);
  max-width: 62ch; /* keeps long intros readable on wide screens */
}

.sn-body--small   { font-size: var(--sn-small); }
.sn-body--muted   { color: var(--sn-text-muted); }
.sn-body--inverse { color: var(--sn-text-inverse-muted); }

/* Section intro block — eyebrow + heading + copy, used by most sections. */
.sn-section-head {
  max-width: 62ch;
  margin-bottom: var(--sn-space-8);
}

/* Any copy under a section heading is the section intro: one size,
 * muted, no trailing margin — the head owns the spacing below it. */
.sn-section-head > .sn-body {
  margin: 0;
  font-size: var(--sn-body-l);
  color: var(--sn-text-muted);
}

.sn-section-head > .sn-body--inverse {
  color: var(--sn-text-inverse-muted);
}

.sn-section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* =====================================================================
   SN Button
   ===================================================================== */

.sn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sn-space-2);
  min-height: var(--sn-tap-target);
  padding: var(--sn-space-3) var(--sn-space-6);
  border: 1px solid transparent;
  border-radius: var(--sn-radius-sm);
  font-family: var(--sn-font-body);
  font-size: var(--sn-small);
  font-weight: var(--sn-weight-medium);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--sn-duration-fast) var(--sn-ease),
    border-color var(--sn-duration-fast) var(--sn-ease),
    color var(--sn-duration-fast) var(--sn-ease);
}

.sn-btn--primary {
  background-color: var(--sn-orange-fill);
  border-color: var(--sn-orange-fill);
  color: var(--sn-white);
}

.sn-btn--primary:hover {
  background-color: var(--sn-orange-hover);
  border-color: var(--sn-orange-hover);
  color: var(--sn-white);
}

.sn-btn--secondary {
  background-color: transparent;
  border-color: var(--sn-border);
  color: var(--sn-text);
}

.sn-btn--secondary:hover {
  border-color: var(--sn-text);
  background-color: var(--sn-white);
  color: var(--sn-text);
}

.sn-btn--secondary-dark {
  background-color: transparent;
  border-color: var(--sn-border-inverse);
  color: var(--sn-text-inverse);
}

.sn-btn--secondary-dark:hover {
  border-color: var(--sn-text-inverse);
  background-color: rgb(255 255 255 / 8%);
  color: var(--sn-text-inverse);
}

/* Text/arrow variant — the quiet tertiary action. */
.sn-btn--text {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sn-orange-ink);
  font-size: var(--sn-small);
  font-weight: var(--sn-weight-medium);
}

/*
 * A text button is typographic, but it is still a tap target. On touch widths
 * it gets the full target height with the extra space taken as padding around
 * the label, so the underline stays tight to the text and only the hit area
 * grows.
 */
@media (max-width: 767px) {
  .sn-btn--text {
    min-height: var(--sn-tap-target);
    align-items: center;
  }
}

/* An underline that appears on hover rather than an appended arrow — the
 * arrow added nothing the link text did not already say. */
.sn-btn--text {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color var(--sn-duration-fast) var(--sn-ease);
}

.sn-btn--text:hover,
.sn-card:hover .sn-btn--text {
  text-decoration-color: currentColor;
}

.sn-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sn-space-3);
}

/* =====================================================================
   Card foundation
   ===================================================================== */

.sn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--sn-white);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  transition:
    transform var(--sn-duration) var(--sn-ease),
    box-shadow var(--sn-duration) var(--sn-ease);
}

.sn-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sn-shadow-lift);
}

/*
 * Media wrapper owns the aspect ratio so a missing image collapses to an
 * empty ratio box rather than breaking the grid — relevant while the
 * El Sereno photography is outstanding.
 */
.sn-card__media {
  position: relative;
  aspect-ratio: var(--sn-ratio-property);
  overflow: hidden;
  background-color: var(--sn-sand);
}

.sn-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--sn-duration) var(--sn-ease);
}

.sn-card:hover .sn-card__media img {
  transform: scale(1.03);
}

.sn-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--sn-space-4);
  padding: var(--sn-space-6);
}

.sn-card__title {
  margin: 0;
  font-family: var(--sn-font-display);
  font-size: var(--sn-heading-m);
  line-height: var(--sn-leading-heading);
}

/*
 * A card title that is also the card's link must not inherit the global link
 * colour — an orange underlined property name reads as body copy with a
 * hyperlink in it rather than as a heading.
 */
.sn-card__title a {
  color: inherit;
  text-decoration: none;
}

.sn-card:hover .sn-card__title a {
  color: var(--sn-orange-ink);
}

.sn-card__meta {
  font-size: var(--sn-small);
  color: var(--sn-text-muted);
}

.sn-card__text {
  font-size: var(--sn-body);
  line-height: var(--sn-leading-body);
  color: var(--sn-text-muted);
}

/* Push the CTA to the bottom so cards of differing copy length still align. */
.sn-card__footer {
  margin-top: auto;
  padding-top: var(--sn-space-2);
}

/*
 * Stretched link: the whole card is clickable, but only one real anchor
 * exists so screen readers announce a single link, not three.
 */
.sn-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* --- Highlights chips ------------------------------------------------- */

.sn-card__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sn-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sn-card__highlights li {
  margin: 0;
  padding: var(--sn-space-2) var(--sn-space-3);
  border-radius: var(--sn-radius-pill); /* metadata chip — permitted */
  background-color: var(--sn-sand);
  font-size: var(--sn-small);
  line-height: 1.3;
  color: var(--sn-text);
}

/*
 * Experience groups as ruled columns. Six things a guest can ask for are
 * not six products to compare in boxes: each column is a rule, a title,
 * a line, the options as chips and the ask. The rule is the only chrome.
 */
.sn-experiences {
  gap: 0 var(--sn-space-7);
}

.sn-experiences .sn-card {
  overflow: visible;
  background: none;
  border: 0;
  border-top: 1px solid var(--sn-border);
  border-radius: 0;
}

.sn-experiences .sn-card:hover {
  transform: none;
  box-shadow: none;
}

.sn-experiences .sn-card__body {
  gap: var(--sn-space-4);
  padding: var(--sn-space-6) 0;
}

.sn-experiences .sn-card__title {
  font-size: var(--sn-heading-l);
  font-weight: 400;
  line-height: 1.1;
}

.sn-experiences .sn-card__highlights {
  gap: var(--sn-space-2) var(--sn-space-2);
  margin-top: var(--sn-space-2);
}

.sn-experiences .sn-card__highlights li {
  padding: 8px 14px;
  font-size: var(--sn-body);
}

.sn-experiences .sn-card__note {
  font-size: var(--sn-small);
  line-height: var(--sn-leading-body);
}

.sn-experiences .sn-card__footer .sn-btn--text {
  font-size: var(--sn-body-l);
}

@media (min-width: 1024px) {
  .sn-experiences .sn-card__body {
    padding: var(--sn-space-7) 0;
  }
}

/* --- Ratio modifiers -------------------------------------------------- */

.sn-card--experience .sn-card__media { aspect-ratio: var(--sn-ratio-experience); }
.sn-card--attraction .sn-card__media { aspect-ratio: var(--sn-ratio-attraction); }
.sn-card--escape     .sn-card__media { aspect-ratio: var(--sn-ratio-square); }

/* =====================================================================
   Grids
   ===================================================================== */

/*
 * Column counts are fixed per breakpoint rather than auto-filled. Auto-fill
 * put six cards into four columns plus an orphan row of two on wide screens,
 * which reads as an unfinished layout; six cards want two rows of three.
 */
.sn-grid {
  display: grid;
  gap: var(--sn-space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sn-grid--2,
  .sn-grid--3,
  .sn-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .sn-grid { gap: var(--sn-space-6); }
  .sn-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =====================================================================
   SN Feature Card — brand pillars, icon-led, no image
   ===================================================================== */

.sn-feature {
  display: flex;
  flex-direction: column;
  gap: var(--sn-space-3);
  padding-top: var(--sn-space-5);
  border-top: 1px solid var(--sn-border);
}

.sn-feature__icon {
  display: grid;
  place-items: center;
  width: var(--sn-space-7);
  height: var(--sn-space-7);
  border-radius: var(--sn-radius-md);
  background-color: var(--sn-orange-soft);
  color: var(--sn-orange-ink);
}

.sn-feature__icon svg {
  width: 22px;
  height: 22px;
}

.sn-feature__title {
  margin: 0;
  font-family: var(--sn-font-display);
  font-size: var(--sn-heading-m);
}

.sn-feature__text {
  font-size: var(--sn-body);
  line-height: var(--sn-leading-body);
  color: var(--sn-text-muted);
}

/* =====================================================================
   SN Trust Bar
   ===================================================================== */

.sn-trust {
  display: grid;
  gap: var(--sn-space-6);
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

/* Hairline dividers so the three figures read as one strip. */
@media (min-width: 640px) {
  .sn-trust > li + li {
    border-left: 1px solid var(--sn-border-inverse);
  }
}

@media (max-width: 639px) {
  .sn-trust {
    grid-template-columns: 1fr;
    gap: var(--sn-space-5);
  }

  .sn-trust > li + li {
    padding-top: var(--sn-space-5);
    border-top: 1px solid var(--sn-border-inverse);
  }
}

.sn-trust__stat-value {
  display: block;
  font-family: var(--sn-font-display);
  font-size: var(--sn-display-l);
  line-height: 1;
  color: var(--sn-text-inverse);
}

.sn-trust__stat-label {
  display: block;
  margin-top: var(--sn-space-3);
  font-size: var(--sn-body);
  color: var(--sn-text-inverse-muted);
}

/*
 * Platform logos. Sized by optical height rather than a shared box: these
 * marks have very different aspect ratios and matching the box makes the
 * wide ones look tiny.
 */
.sn-trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sn-space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sn-trust__logos li {
  margin: 0;
}

.sn-trust__logos img {
  width: auto;
  height: 24px;
  opacity: 0.72;
  filter: grayscale(1) brightness(0) invert(1);
  transition: opacity var(--sn-duration-fast) var(--sn-ease);
}

.sn-trust__logos a:hover img,
.sn-trust__logos a:focus-visible img {
  opacity: 1;
}

/* =====================================================================
   SN Review Card
   ===================================================================== */

.sn-review {
  display: flex;
  flex-direction: column;
  gap: var(--sn-space-5);
  padding: var(--sn-space-7) var(--sn-space-6) var(--sn-space-6);
  background-color: var(--sn-white);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
}

.sn-review__rating {
  display: flex;
  gap: 2px;
  font-size: var(--sn-small);
  letter-spacing: 0.1em;
  color: var(--sn-orange-ink);
}

.sn-review__quote {
  margin: 0;
  font-family: var(--sn-font-display);
  /* A testimonial is a paragraph, not a headline: at --sn-heading-l a
   * three-line quote ran to nine lines and dominated the section. Editorial
   * serif at reading size keeps the voice without the shouting. */
  font-size: var(--sn-body-l);
  line-height: 1.5;
  text-wrap: pretty;
}

.sn-review__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: var(--sn-space-5);
  border-top: 1px solid var(--sn-border);
  font-size: var(--sn-small);
  font-style: normal;
  color: var(--sn-text-muted);
}

.sn-review__name {
  display: block;
  font-weight: var(--sn-weight-bold);
  color: var(--sn-text);
}

/*
 * Carousel: CSS scroll-snap, no JavaScript library. Degrades to a plain
 * horizontal scroller everywhere, and keyboard users tab through the cards
 * natively.
 */
.sn-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 340px);
  gap: var(--sn-space-5);
  padding-bottom: var(--sn-space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--sn-gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--sn-border) transparent;
}

.sn-carousel > * {
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .sn-carousel {
    grid-auto-columns: 420px;
  }
}

/* =====================================================================
   SN Amenity Grid
   ===================================================================== */

.sn-amenities {
  display: grid;
  gap: var(--sn-space-5) var(--sn-space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .sn-amenities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sn-space-6) var(--sn-space-7);
  }
}

.sn-amenities li {
  display: flex;
  align-items: center;
  gap: var(--sn-space-4);
  margin: 0;
  padding-block: var(--sn-space-3);
  border-bottom: 1px solid var(--sn-border);
  font-size: var(--sn-body);
}

.sn-amenities svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--sn-orange-ink);
}

/* =====================================================================
   SN Property Gallery
   ===================================================================== */

.sn-gallery {
  display: grid;
  gap: var(--sn-space-3);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.sn-gallery__item {
  position: relative;
  aspect-ratio: var(--sn-ratio-property);
  overflow: hidden;
  border-radius: var(--sn-radius-md);
  background-color: var(--sn-sand);
}

.sn-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The first image leads the grid on wider screens. */
@media (min-width: 720px) {
  .sn-gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: var(--sn-ratio-square);
  }
}

/* =====================================================================
   SN CTA Banner
   ===================================================================== */

.sn-cta-banner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 520px;
  overflow: hidden;
  background-color: var(--sn-green);
  color: var(--sn-text-inverse);
  isolation: isolate;
}

.sn-cta-banner__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.sn-cta-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
 * Overlay is the minimum needed for text contrast, per the brand rule
 * against heavy image overlays.
 */
.sn-cta-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(0 28 23 / 92%) 0%, rgb(0 28 23 / 78%) 38%, rgb(0 28 23 / 30%) 70%, rgb(0 28 23 / 18%) 100%);
}

.sn-cta-banner__inner {
  max-width: 40rem;
  padding-block: var(--sn-section-y);
}

.sn-cta-banner__inner .sn-body {
  max-width: 48ch;
  font-size: var(--sn-body-l);
}

/* =====================================================================
   SN FAQ
   ===================================================================== */

.sn-faq {
  max-width: var(--sn-container-narrow);
  border-top: 1px solid var(--sn-border);
}

.sn-faq__item {
  border-bottom: 1px solid var(--sn-border);
}

.sn-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sn-space-4);
  width: 100%;
  min-height: var(--sn-tap-target);
  padding: var(--sn-space-5) 0;
  border: 0;
  background: none;
  font-family: var(--sn-font-display);
  font-size: var(--sn-heading-m);
  line-height: var(--sn-leading-heading);
  text-align: left;
  white-space: normal; /* buttons default to nowrap; a long question must wrap, not push the icon offscreen */
  color: var(--sn-text);
  cursor: pointer;
}

/* The whole row is the control, so it needs a hover state of its own — with the
 * parent theme's pink skin stripped it would otherwise give no feedback at all.
 */
.sn-faq__trigger:hover,
.sn-faq__trigger:focus-visible {
  color: var(--sn-orange-ink);
}

.sn-faq__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--sn-orange-ink);
  transition: transform var(--sn-duration) var(--sn-ease);
}

.sn-faq__trigger[aria-expanded="true"] .sn-faq__icon {
  transform: rotate(45deg);
}

.sn-faq__panel {
  max-width: 62ch;
  padding-bottom: var(--sn-space-6);
  color: var(--sn-text-muted);
}

.sn-faq__panel[hidden] {
  display: none;
}

/* =====================================================================
   SN Planning Form
   ===================================================================== */

.sn-form {
  display: grid;
  gap: var(--sn-space-5);
}

.sn-form__row {
  display: grid;
  gap: var(--sn-space-5);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.sn-field {
  display: flex;
  flex-direction: column;
  gap: var(--sn-space-2);
}

.sn-field__label {
  font-size: var(--sn-body);
  font-weight: var(--sn-weight-medium);
}

.sn-field__control {
  min-height: var(--sn-tap-target);
  padding: var(--sn-space-3) var(--sn-space-4);
  color: var(--sn-text); /* explicit — inverse sections must not bleed into a white field */
  background-color: var(--sn-white);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-sm);
  font-size: var(--sn-body);
  transition: border-color var(--sn-duration-fast) var(--sn-ease);
}

.sn-field__control:hover {
  border-color: var(--sn-text-muted);
}

.sn-field__control:focus {
  border-color: var(--sn-orange-ink);
  outline: none;
}

/* The native ring is suppressed above, so restore it for keyboard users. */
.sn-field__control:focus-visible {
  outline: var(--sn-focus-ring);
  outline-offset: 1px;
}

textarea.sn-field__control {
  min-height: 120px;
  resize: vertical;
}

.sn-field__hint {
  font-size: var(--sn-small);
  color: var(--sn-text-muted);
}

/* =====================================================================
   SN WhatsApp CTA
   ===================================================================== */

.sn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--sn-space-2);
}

.sn-whatsapp svg {
  width: 18px;
  height: 18px;
}

/*
 * Floating variant. Always visible on every viewport (client correction,
 * Sep 2026): a large, centred icon in the bottom-right corner.
 */
.sn-whatsapp--float {
  position: fixed;
  right: var(--sn-space-5);
  bottom: var(--sn-space-5);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: var(--sn-radius-pill);
  box-shadow: var(--sn-shadow-lift);
  /* A floating button sits over whatever the page happens to scroll past, so
   * it has to carry its own opaque surface. Inheriting a transparent
   * background leaves the icon invisible over photography — which is most of
   * this site. This is the one place the pill radius is correct: it is a FAB,
   * not a card or a button in the layout flow. */
  background-color: var(--sn-orange-fill);
  color: var(--sn-white);
}

.sn-whatsapp--float:hover,
.sn-whatsapp--float:focus-visible {
  background-color: var(--sn-orange-hover);
  color: var(--sn-white);
}

.sn-whatsapp--float svg {
  width: 34px;
  height: 34px;
}

@media (min-width: 900px) {
  .sn-whatsapp--float {
    right: var(--sn-space-6);
    bottom: var(--sn-space-6);
    width: 72px;
    height: 72px;
  }

  .sn-whatsapp--float svg {
    width: 38px;
    height: 38px;
  }
}

/* =====================================================================
   Utilities
   ===================================================================== */

/* The gap is the only spacing these own. Flex item margins do not collapse,
 * so the global `p { margin-bottom: --sn-space-5 }` would otherwise stack on
 * top of the gap and double the rhythm between paragraphs. */
.sn-stack    { display: flex; flex-direction: column; gap: var(--sn-space-5); }
.sn-stack-sm { display: flex; flex-direction: column; gap: var(--sn-space-3); }
.sn-stack > *,
.sn-stack-sm > * { margin-bottom: 0; }
.sn-center   { text-align: center; }
.sn-mt-6     { margin-top: var(--sn-space-6); }
.sn-mt-7     { margin-top: var(--sn-space-7); }

/* ---------------------------------------------------------------------
   Shared list reset and card footnote (moved from home.css)
   --------------------------------------------------------------------- */

/* Resets the list affordances only. `margin: 0` here also zeroed the inline
 * margin, and because this file loads after components.css it silently beat
 * `.sn-trust { margin-inline: auto }` — the stats strip sat 184px left of the
 * platform row it is supposed to line up with. */
.sn-plain-list {
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.sn-plain-list > li {
  margin: 0;
}

/* A legal qualifier, not body copy — sized down so it reads as a footnote. */
.sn-card__note {
  margin: 0;
  font-size: var(--sn-label);
  color: var(--sn-text-muted);
}
