/* SUMA · Electric palette. Opt-in only: original directions stay intact. */
html[data-palette="v2"] {
  --bg:#f6f7fb;--surface:#ffffff;--surface-strong:#e7ecff;
  --ink:#19182d;--text:#41415b;--muted:#606079;--line:#dcdfea;
  --brand:#1c41d0;--brand-hover:#1736ad;--on-brand:#ffffff;
  --brand-text:#1c41d0;--brand-display:#1c41d0;
  --accent:#d9f85a;--accent-ink:#24270e;--soft:#eef2ff;
  --success:#246b48;--danger:#a33246;--field-bg:#ffffff;--field-line:#8b8da3;
  --focus-ring:#1c41d0;--brand-panel-bg:#1c41d0;--brand-panel-ink:#ffffff;
  --tutorial-bg:#eef2ff;
  --card-shadow:0 12px 34px -24px #1c41d026;color-scheme:light;
}
html[data-palette="v2"][data-estilo="urbano"] {
  --brand-panel-bg:#eef2ff;--brand-panel-ink:#19182d;
  --tutorial-bg:#eef2ff;
  color-scheme:light;
}
html[data-palette="v2"] :focus-visible {outline-color:var(--focus-ring)!important}
html[data-palette="v2"] .skipLink {background:var(--brand);color:var(--on-brand)}
html[data-palette="v2"] body .btn,
html[data-palette="v2"] body .homePage .btn,
html[data-palette="v2"] body.communityPage .btn {border-radius:12px}
html[data-palette="v2"] body .btn.primary,
html[data-palette="v2"] body .homePage .btn.primary,
html[data-palette="v2"] body.communityPage .btn.primary {background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
html[data-palette="v2"] body .btn.primary:hover,
html[data-palette="v2"] body .homePage .btn.primary:hover,
html[data-palette="v2"] body.communityPage .btn.primary:hover {background:var(--brand-hover);border-color:var(--brand-hover);color:var(--on-brand)}
html[data-palette="v2"] body .btn:hover {border-color:var(--brand)}
html[data-palette="v2"] body .mobileMenu summary {border-radius:10px}
html[data-palette="v2"] body .mobileMenu nav a:hover,
html[data-palette="v2"] body .mobileMenu nav button:hover {background:var(--soft);color:var(--ink)}
html[data-palette="v2"] body .mobileMenu nav .btn.primary:hover {background:var(--brand-hover);color:var(--on-brand)}

/* Links and filled controls share the original SUMA wordmark blue. */
html[data-palette="v2"] :is(.eyebrow,.tutorialInlineLink,.textLink) {color:var(--brand-text)}
html[data-palette="v2"] body .desktopMenu a:hover,
html[data-palette="v2"] body .desktopMenu a[aria-current="page"],
html[data-palette="v2"] body .footerInner a:hover {color:var(--brand-text)}
html[data-palette="v2"] .homePage .editorialHero .homeExplore:hover {color:var(--brand-text)}
html[data-palette="v2"] .editorialBrands .brandIntro .eyebrow {color:var(--brand-text)}
html[data-palette="v2"] .tutorialCopy h2 em,
html[data-palette="v2"] .editorialBrands .brandIntro h1 em,
html[data-palette="v2"] .editorialBrands .brandIntro h1 span {color:var(--brand-display)}

/* Keep the original blue wordmark and orange dot in every palette. */

/* Light editorial: a bright canvas and deliberate, flat color accents. */
html[data-palette="v2"] .homePage .editorialHero .homeHeroCopy .homeTagline {
  display:inline-flex;align-items:center;max-width:100%;padding:.5rem .8rem;border-radius:7px;
  background:#d9f85a;color:#24270e;font-size:.8125rem;font-weight:700;letter-spacing:.075em;line-height:1.55;
}
html[data-palette="v2"] .homePage .editorialHero .homeHeroCopy h1 em {color:var(--brand-display)}
html[data-palette="v2"] .heroSlides {border-radius:22px}
html[data-palette="v2"] .carouselBar {padding-top:.65rem}
html[data-palette="v2"] .carouselBar>p {font-size:.875rem;font-weight:550}
html[data-palette="v2"] .carouselDot {width:44px;height:44px}
html[data-palette="v2"] .carouselDots {gap:0}
html[data-palette="v2"] .carouselControls {gap:.5rem}
html[data-palette="v2"] .carouselDot::after {background:var(--muted)}
html[data-palette="v2"] .carouselDot[aria-pressed="true"]::after {background:var(--brand)}
html[data-palette="v2"] .carouselPause {width:44px;height:44px;border-color:var(--field-line);color:var(--ink)}
html[data-palette="v2"] .homePage .editorialHero .homeActions .btn {border-radius:12px}

/* Color helps people scan the experience invitations. */
html[data-palette="v2"] .editorialExperiences {background:var(--surface);border-block:1px solid var(--line)}
html[data-palette="v2"] .editorialExperience {overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--bg);box-shadow:var(--card-shadow)}
html[data-palette="v2"] .experiencePhoto {border-radius:0;background:var(--soft)}
html[data-palette="v2"] .experienceCopy {padding:1.5rem 1.5rem 1.75rem}
html[data-palette="v2"] .experienceCopy h3 {font-weight:650}
html[data-palette="v2"] .experienceKind {top:1rem;left:1rem;background:#e7ecff;color:#1836a6;border-radius:6px;padding:.45rem .75rem;font-size:.875rem;font-weight:650;letter-spacing:.035em}
html[data-palette="v2"] .editorialExperience:nth-child(2) .experienceKind {background:#d9f85a;color:#24270e}
html[data-palette="v2"] .editorialExperience:nth-child(3) .experienceKind {background:#19182d;color:#f6f7fc}
html[data-palette="v2"] .preparationNote {font-size:.875rem}
html[data-palette="v2"] .editorialSteps h3 {color:var(--ink);font-weight:650}
html[data-palette="v2"] .editorialSteps .textLink {font-size:.9375rem}
html[data-palette="v2"] .editorialTutorial {background:var(--tutorial-bg);border-top:1px solid var(--line)}
html[data-palette="v2"] .tutorialCopy .eyebrow {color:var(--brand-text)}
html[data-palette="v2"] .editorialTutorialSteps li::before {background:var(--brand);color:var(--on-brand);border-color:var(--brand)}
html[data-palette="v2"] .tutorialAnimation figcaption {color:var(--muted);font-size:.875rem}
html[data-palette="v2"] .tutorialAnimation iframe {color-scheme:inherit}
html[data-palette="v2"] .eyebrow {font-size:.875rem;letter-spacing:.09em}

/* Light urban: preserve the immersive cover and the original SUMA identity. */
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroInner {border:1px solid var(--line);border-radius:22px}
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroCopy .homeTagline {background:#d9f85a;color:#24270e;font-weight:700}
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroCopy h1 {color:var(--ink)}
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroCopy h1 em {color:var(--brand-display)}
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeLead {color:var(--text)}
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeExplore {color:var(--ink)}
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homePrimary {background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homePrimary:hover {background:var(--brand-hover);border-color:var(--brand-hover);color:var(--on-brand)}
/* The reason to sign up today: one line under the hero button, shown only to visitors without an account.
   It takes its own row below the button and the secondary link; on phones it sits right under the button. */
.homePage .editorialHero .homeReason {order:1;width:100%;max-width:32rem;margin:0;font-size:.9375rem;line-height:1.5}
html[data-estilo="urbano"] .homePage .editorialHero .homeReason {color:#fff}
html[data-palette="v2"] .homePage .editorialHero .homeReason,
html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeReason {color:var(--text)}
@media(min-width:501px) {
  .homePage .editorialHero .homeActions {row-gap:.85rem}
}
html[data-palette="v2"][data-estilo="urbano"] .heroSlides {border-radius:0}
html[data-palette="v2"][data-estilo="urbano"] .heroSlide::after {background:linear-gradient(90deg,#f6f7fbff 0%,#f6f7fbf5 36%,#f6f7fb99 57%,#f6f7fb0a 80%)}
html[data-palette="v2"][data-estilo="urbano"] .carouselBar {padding:.3rem .5rem .3rem 1rem;border:1px solid #dcdfea;border-radius:999px;background:#ffffffed;backdrop-filter:blur(8px)}
html[data-palette="v2"][data-estilo="urbano"] .carouselBar>p {color:var(--text)}
html[data-palette="v2"][data-estilo="urbano"] .carouselPause {border-color:var(--field-line);color:var(--ink);background:var(--surface)}
html[data-palette="v2"][data-estilo="urbano"] .carouselDot::after {background:var(--muted)}
html[data-palette="v2"][data-estilo="urbano"] .carouselDot[aria-pressed="true"]::after {background:var(--brand)}
html[data-palette="v2"][data-estilo="urbano"] .editorialExperiences {background:var(--bg)}
html[data-palette="v2"][data-estilo="urbano"] .editorialExperience {background:var(--surface)}
html[data-palette="v2"][data-estilo="urbano"] .tutorialCopy h2 em {color:var(--brand-display)}
html[data-palette="v2"][data-estilo="urbano"] .eyebrow {color:var(--brand-text)}
html[data-palette="v2"][data-estilo="urbano"] .editorialBrands .brandIntro .eyebrow {color:var(--brand-text)}
html[data-palette="v2"][data-estilo="urbano"] .editorialBrands .brandIntro h1 em {color:var(--brand-display)}

/* Contact keeps readable copy and a single deliberate WhatsApp action. */
html[data-palette="v2"] .editorialBrands .brandEditorialPhoto img {border-radius:20px}
html[data-palette="v2"] .editorialBrands .brandActionPanel {background:var(--brand-panel-bg);border-radius:20px}
html[data-palette="v2"] .editorialBrands .brandActionPanel p,
html[data-palette="v2"] .editorialBrands .brandActionPanel .brandMeasurement {color:var(--brand-panel-ink)}
html[data-palette="v2"] .editorialBrands .brandActionPanel .brandContactButton {background:#d9f85a;border-color:#d9f85a;color:#24270e}
html[data-palette="v2"] .editorialBrands .brandActionPanel .brandContactButton:hover {background:#e6ff84;border-color:#e6ff84;color:#24270e}
html[data-palette="v2"] .editorialBrands .brandActionPanel .brandContactButton:focus-visible {outline-color:var(--accent)!important}
html[data-palette="v2"][data-estilo="urbano"] .editorialBrands .brandActionPanel .brandContactButton {background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
html[data-palette="v2"][data-estilo="urbano"] .editorialBrands .brandActionPanel .brandContactButton:hover {background:var(--brand-hover);border-color:var(--brand-hover);color:var(--on-brand)}
html[data-palette="v2"][data-estilo="urbano"] .editorialBrands .brandActionPanel .brandContactButton:focus-visible {outline-color:var(--focus-ring)!important}
@media(max-width:800px) {
  html[data-palette="v2"] .experienceCopy {padding:1.3rem 1.25rem 1.5rem}
  /* Give the carousel its own clear area on small screens, after the copy: the text and the
     sign-up button come first so the button is on the first screen of a phone. With the photo
     first, the button started below the visible area on every phone size measured (29/11/2026;
     see «Página de inicio» in SIGNUP_ORIGIN_RELEASE.md). Do not move the carousel back above. */
  html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroInner {
    display:flex;flex-direction:column;min-height:0;padding:0;gap:0;background:var(--surface);
  }
  html[data-palette="v2"][data-estilo="urbano"] .heroCarousel {
    position:relative;inset:auto;height:auto;
  }
  html[data-palette="v2"][data-estilo="urbano"] .heroSlides {height:clamp(17rem,72vw,24rem);aspect-ratio:auto}
  html[data-palette="v2"][data-estilo="urbano"] .heroSlide::after {content:none}
  html[data-palette="v2"][data-estilo="urbano"] .heroSlide>img {object-position:center 42%}
  html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroCopy {
    width:100%;max-width:none;padding:1.6rem 1.25rem 2rem;
  }
  html[data-palette="v2"][data-estilo="urbano"] .carouselBar {left:.75rem;right:.75rem;bottom:.75rem;background:#fffffff2}
}
@media(max-width:500px) {
  html[data-palette="v2"] .homePage .editorialHero .homeHeroCopy .homeTagline {font-size:.75rem;letter-spacing:.055em;padding:.5rem .7rem}
  html[data-palette="v2"] .experienceKind {font-size:.875rem;left:.85rem;top:.85rem}
  html[data-palette="v2"] .heroSlides {border-radius:16px}
  html[data-palette="v2"][data-estilo="urbano"] .heroSlides {border-radius:0}
  html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroInner {border-radius:18px}
  /* Phones: a title that scales with the screen and tighter spacing, so the button also stays on the
     first screen when the phone's text size is enlarged. */
  html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroCopy {padding-top:1.35rem}
  html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroCopy .homeTagline {margin-bottom:1rem}
  html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeHeroCopy h1 {font-size:clamp(2.3rem,11vw,2.95rem);margin-bottom:1.1rem}
  html[data-palette="v2"][data-estilo="urbano"] .homePage .editorialHero .homeActions {margin-top:1.35rem}
  .homePage .editorialHero .homeReason {order:0;margin:-.55rem 0 -.2rem}
  html[data-palette="v2"][data-estilo="urbano"] .carouselBar {left:.75rem;right:.75rem;padding:.25rem .4rem .25rem .7rem;gap:.3rem}
  html[data-palette="v2"] .carouselBar {gap:.5rem}
}
