:root {
  --sr-navy: #062b52;
  --sr-navy-deep: #041f3e;
  --sr-green: #079b63;
  --sr-green-dark: #06794f;
  --sr-mint: #eaf8f2;
  --sr-ink: #183b5a;
  --sr-muted: #60788c;
  --sr-border: #d8e5e7;
  --sr-soft: #f5f9f9;
  --sr-danger: #a43c35;
  --sr-shadow: 0 18px 48px rgba(5, 40, 76, .09);
}

.smart-reminder-page { color: var(--sr-ink); background: #fff; }
.smart-reminder-page *, .smart-reminder-page *::before, .smart-reminder-page *::after { box-sizing: border-box; }
.smart-reminder-page main { overflow-x: clip; }
.sr-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

.sr-hero {
  padding: clamp(52px, 7vw, 88px) 0 clamp(46px, 6vw, 72px);
  background:
    radial-gradient(circle at 88% 12%, rgba(23, 177, 119, .13), transparent 25rem),
    linear-gradient(180deg, #f7fbfb 0%, #eef7f6 100%);
}
.sr-hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); align-items: end; gap: clamp(30px, 5vw, 72px); }
.sr-back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: #075c91; font-weight: 800; text-decoration: none; }
.sr-eyebrow { display: inline-flex; color: var(--sr-green-dark); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.sr-hero h1 { margin: 12px 0 10px; color: var(--sr-navy); font-size: clamp(2.75rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.sr-hero__inner > div > p { max-width: 650px; margin: 0; color: #3f6078; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; }
.sr-hero ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.sr-hero li { padding: 8px 12px; border: 1px solid #cce2dc; border-radius: 999px; color: #315f5a; background: rgba(255,255,255,.75); font-size: .78rem; font-weight: 750; }
.sr-hero__note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 22px; border: 1px solid rgba(7, 155, 99, .18); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 16px 40px rgba(5, 40, 76, .07); }
.sr-hero__note > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--sr-navy); font-weight: 900; }
.sr-hero__note p { margin: 0; color: #456579; font-size: .84rem; line-height: 1.65; }

.sr-app-section { padding: clamp(48px, 7vw, 84px) 0; background: #fff; }
.sr-app { position: relative; max-width: 1040px; min-width: 0; margin: 0 auto; overflow: hidden; border: 1px solid var(--sr-border); border-radius: 28px; background: #fff; box-shadow: var(--sr-shadow); }
.sr-app__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px clamp(20px, 4vw, 38px); color: #fff; background: var(--sr-navy); }
.sr-app__header h2 { margin: 3px 0 0; color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.sr-step-count { color: #7fe1ba; font-size: .74rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.sr-restart { min-width: 80px; min-height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; color: #fff; background: rgba(255,255,255,.08); font: inherit; font-size: .78rem; font-weight: 850; cursor: pointer; }

.sr-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 18px clamp(20px, 4vw, 38px); border-bottom: 1px solid var(--sr-border); background: #fbfdfd; list-style: none; }
.sr-progress li { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; color: #8294a0; font-size: .74rem; font-weight: 800; }
.sr-progress li:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: calc(50% + 42px); right: calc(-50% + 42px); height: 1px; background: #d6e3e5; }
.sr-progress span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #cedde0; border-radius: 50%; background: #fff; }
.sr-progress .is-active, .sr-progress .is-complete { color: var(--sr-navy); }
.sr-progress .is-active span { color: #fff; border-color: var(--sr-green); background: var(--sr-green); box-shadow: 0 0 0 5px rgba(7,155,99,.1); }
.sr-progress .is-complete span { color: #fff; border-color: var(--sr-navy); background: var(--sr-navy); }
.sr-progress .is-complete::after { background: #8fcdb5 !important; }
.sr-live-status { min-height: 1.45em; margin: 16px clamp(20px, 4vw, 38px) -4px; color: var(--sr-danger); font-size: .8rem; font-weight: 800; }
.sr-live-status.is-info { color: #126b65; }

.sr-step { padding: clamp(26px, 4vw, 42px); }
.sr-step[hidden] { display: none; }
.sr-step__heading { max-width: 720px; margin-bottom: 27px; }
.sr-step__heading > span { color: var(--sr-green-dark); font-size: .72rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.sr-step__heading h2 { margin: 6px 0 7px; color: var(--sr-navy); font-size: clamp(1.55rem, 3.2vw, 2.25rem); line-height: 1.15; }
.sr-step__heading h2:focus { outline: 0; }
.sr-step__heading p { margin: 0; color: var(--sr-muted); line-height: 1.55; }

.sr-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.sr-category-card { position: relative; min-width: 0; min-height: 92px; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--sr-border); border-radius: 17px; background: #fbfdfd; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.sr-category-card:hover { transform: translateY(-2px); border-color: rgba(7,155,99,.38); }
.sr-category-card input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.sr-category-card:has(input:checked) { border-color: var(--sr-green); background: var(--sr-mint); box-shadow: 0 0 0 3px rgba(7,155,99,.1); }
.sr-category-card:has(input:focus-visible) { outline: 3px solid #075c91; outline-offset: 3px; }
.sr-category-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--sr-green-dark); background: #e6f6ef; font-size: .72rem; font-weight: 900; }
.sr-category-card strong { min-width: 0; color: var(--sr-navy); font-size: .86rem; line-height: 1.32; }

.sr-field { min-width: 0; display: grid; align-content: start; gap: 8px; color: var(--sr-navy); font-size: .82rem; font-weight: 850; }
.sr-other-field[hidden], .sr-field[hidden], [data-email-required][hidden], [data-phone-required][hidden], [data-email-optional][hidden] { display: none; }
.sr-field > span b, .sr-consent b { color: #a13d36; }
.sr-field > span em { color: #718595; font-size: .72rem; font-style: normal; font-weight: 650; }
.sr-field input, .sr-field select, .sr-field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid #cfdee2; border-radius: 12px; outline: 0; color: var(--sr-ink); background: #fff; font: inherit; font-size: .9rem; font-weight: 600; }
.sr-field textarea { resize: vertical; line-height: 1.5; }
.sr-field input:focus, .sr-field select:focus, .sr-field textarea:focus { border-color: var(--sr-green); box-shadow: 0 0 0 4px rgba(7,155,99,.12); }
.sr-field small { color: #718595; font-size: .72rem; line-height: 1.4; font-weight: 650; }
.sr-other-field { max-width: 640px; margin-top: 18px; }
.sr-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sr-field--full { grid-column: 1 / -1; }
.sr-privacy-hint { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; color: #557082; font-size: .76rem; line-height: 1.45; }
.sr-privacy-hint span { color: var(--sr-green); font-weight: 900; }

.sr-alert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.sr-alert-grid label { position: relative; min-height: 84px; display: flex; align-items: center; padding: 15px; border: 1px solid var(--sr-border); border-radius: 16px; background: #fbfdfd; cursor: pointer; }
.sr-alert-grid input { width: 21px; height: 21px; flex: 0 0 auto; margin: 0 12px 0 0; accent-color: var(--sr-green); }
.sr-alert-grid label:has(input:checked) { border-color: var(--sr-green); background: var(--sr-mint); }
.sr-alert-grid label:has(input:focus-visible) { outline: 3px solid #075c91; outline-offset: 3px; }
.sr-alert-grid strong, .sr-alert-grid small { display: block; }
.sr-alert-grid strong { color: var(--sr-navy); font-size: .9rem; }
.sr-alert-grid small { margin-top: 3px; color: var(--sr-muted); font-size: .72rem; }

.sr-step__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.sr-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 18px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-size: .82rem; font-weight: 850; text-align: center; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.sr-button:hover { transform: translateY(-1px); }
.sr-button:focus-visible, .sr-restart:focus-visible, .sr-edit-actions button:focus-visible, .sr-contact-panel__heading button:focus-visible, .sr-noscript a:focus-visible, .sr-back-link:focus-visible { outline: 3px solid #0873ad; outline-offset: 3px; }
.sr-button--primary { color: #fff; background: var(--sr-green); box-shadow: 0 10px 23px rgba(7,155,99,.2); }
.sr-button--primary:hover { color: #fff; background: var(--sr-green-dark); }
.sr-button--secondary { color: var(--sr-navy); border-color: #cbdce0; background: #fff; }
.sr-button--whatsapp { color: #fff; background: #087f59; }
.sr-button--danger { color: #fff; background: var(--sr-danger); }

.sr-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 0; border: 1px solid var(--sr-border); border-radius: 17px; background: var(--sr-border); }
.sr-summary > div { min-width: 0; padding: 16px 18px; background: #fbfdfd; }
.sr-summary dt { margin: 0 0 5px; color: #708594; font-size: .7rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.sr-summary dd { overflow-wrap: anywhere; margin: 0; color: var(--sr-navy); font-size: .9rem; font-weight: 800; line-height: 1.45; white-space: pre-line; }
.sr-skipped-alerts { margin: 14px 0 0; padding: 12px 14px; border-radius: 11px; color: #795b17; background: #fff7df; font-size: .76rem; line-height: 1.5; }
.sr-final-actions { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; margin-top: 22px; }
.sr-download-status { min-height: 1.5em; margin: 12px 0 0; color: #126b52; font-size: .78rem; font-weight: 800; line-height: 1.5; }
.sr-edit-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 13px; }
.sr-edit-actions button { min-height: 44px; padding: 5px; border: 0; color: #075c91; background: transparent; font: inherit; font-size: .76rem; font-weight: 850; cursor: pointer; }

.sr-contact-panel { margin-top: 25px; padding: clamp(19px, 3vw, 28px); border: 1px solid #cfe2de; border-radius: 19px; background: #f5faf8; }
.sr-contact-panel[hidden] { display: none; }
.sr-contact-panel__heading { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.sr-contact-panel__heading span { color: var(--sr-green-dark); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.sr-contact-panel__heading h3 { margin: 4px 0 5px; color: var(--sr-navy); font-size: 1.25rem; }
.sr-contact-panel__heading p { margin: 0; color: var(--sr-muted); font-size: .78rem; }
.sr-contact-panel__heading button { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid #cadcdf; border-radius: 50%; color: var(--sr-navy); background: #fff; font-size: 1.35rem; cursor: pointer; }
.sr-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sr-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; margin-top: 16px; color: #496779; font-size: .75rem; line-height: 1.55; cursor: pointer; }
.sr-consent input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--sr-green); }
.sr-consent a { color: #075c91; font-weight: 800; }
.sr-consent--optional { margin-top: 10px; }
.sr-contact-form > .sr-button { width: 100%; margin-top: 18px; }
.sr-form-status { min-height: 1.5em; margin: 10px 0 0; font-size: .78rem; font-weight: 800; }
.sr-form-status.error, .sr-form-status.is-error { color: var(--sr-danger); }
.sr-form-status.success, .sr-form-status.is-success { color: var(--sr-green-dark); }
.sr-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.sr-restart-confirm { position: absolute; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4,31,62,.64); backdrop-filter: blur(5px); }
.sr-restart-confirm[hidden] { display: none; }
.sr-restart-confirm > div { width: min(430px, 100%); padding: 25px; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.sr-restart-confirm h3 { margin: 0 0 7px; color: var(--sr-navy); }
.sr-restart-confirm p { margin: 0 0 20px; color: var(--sr-muted); }
.sr-restart-confirm > div > div { display: flex; justify-content: flex-end; gap: 9px; }

.sr-how { padding: clamp(55px, 7vw, 88px) 0; background: var(--sr-soft); }
.sr-how header { max-width: 650px; margin: 0 auto 30px; text-align: center; }
.sr-how h2 { margin: 9px 0 0; color: var(--sr-navy); font-size: clamp(1.8rem, 3.5vw, 2.65rem); }
.sr-how ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; }
.sr-how li { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 19px; border: 1px solid var(--sr-border); border-radius: 17px; background: #fff; box-shadow: 0 12px 30px rgba(5,40,76,.055); }
.sr-how li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--sr-navy); font-weight: 900; }
.sr-how strong { color: var(--sr-navy); }
.sr-how p { margin: 4px 0 0; color: var(--sr-muted); font-size: .78rem; line-height: 1.4; }
.sr-noscript { padding: 28px 0; color: #fff; background: var(--sr-navy); }
.sr-noscript h2 { margin: 0 0 8px; color: #fff; }
.sr-noscript p { max-width: 760px; }
.sr-noscript a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 8px; padding: 8px 15px; border-radius: 11px; color: #fff; background: var(--sr-green); font-weight: 850; text-decoration: none; }

@media (max-width: 900px) {
  .sr-hero__inner { grid-template-columns: 1fr; align-items: start; }
  .sr-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-final-actions { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .sr-hero { padding-top: 34px; }
  .sr-hero__inner { gap: 24px; }
  .sr-hero h1 { font-size: clamp(2.55rem, 15vw, 3.55rem); }
  .sr-hero ul { display: grid; }
  .sr-hero__note { grid-template-columns: 40px minmax(0, 1fr); padding: 18px; }
  .sr-hero__note > span { width: 40px; height: 40px; }
  .sr-app { border-radius: 21px; }
  .sr-app__header { padding: 20px 18px; }
  .sr-progress { padding: 16px 13px; }
  .sr-progress li { display: grid; justify-items: center; gap: 5px; font-size: .68rem; }
  .sr-progress li:not(:last-child)::after { top: 15px; left: calc(50% + 22px); right: calc(-50% + 22px); }
  .sr-progress span { width: 29px; height: 29px; }
  .sr-live-status { margin-left: 18px; margin-right: 18px; }
  .sr-step { padding: 25px 18px; }
  .sr-step-count, .sr-progress li, .sr-step__heading > span, .sr-step__heading p,
  .sr-field, .sr-field input, .sr-field select, .sr-field textarea, .sr-field small,
  .sr-category-card strong, .sr-alert-grid strong, .sr-alert-grid small,
  .sr-live-status, .sr-privacy-hint, .sr-summary dd, .sr-skipped-alerts,
  .sr-download-status, .sr-edit-actions button, .sr-contact-panel__heading span,
  .sr-contact-panel__heading p, .sr-consent, .sr-form-status, .sr-how p { font-size: .875rem; }
  .sr-restart, .sr-progress small, .sr-button { font-size: .875rem; }
  .sr-category-grid, .sr-fields-grid, .sr-alert-grid, .sr-contact-grid, .sr-summary { grid-template-columns: 1fr; }
  .sr-category-card { min-height: 76px; }
  .sr-field--full { grid-column: auto; }
  .sr-step__actions { display: grid; grid-template-columns: 1fr; }
  .sr-step__actions .sr-button--primary { grid-row: 1; }
  .sr-step__actions .sr-button--secondary { grid-row: 2; }
  .sr-final-actions .sr-button--calendar { grid-row: 1; }
  .sr-final-actions .sr-button--whatsapp { grid-row: 2; }
  .sr-final-actions .sr-button--secondary { grid-row: 3; }
  .sr-button { width: 100%; min-height: 48px; }
  .sr-restart-confirm > div > div { display: grid; }
  .sr-how ol { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .sr-category-card, .sr-button { transition: none; }
}
