:root {
    /* Primarios */
    --color-primary: #E94B8C;
    --color-primary-dark: #A0144F;
    --color-primary-darker: #5A0E2D;
    --color-primary-light: #FBD9E8;
    --color-primary-pale: #FDF0F6;

    /* Neutros */
    --color-ink: #1A1A1A;
    --color-ink-soft: #4A4A4A;
    --color-muted: #8B8B8B;
    --color-line: #E5E5E5;
    --color-bg: #FFFFFF;
    --color-bg-alt: #FAF7F4;

    /* Estado */
    --color-success: #2E7D32;
    --color-warning: #ED6C02;
    --color-danger: #C62828;
    --color-whatsapp: #25D366;

    --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 32px rgba(160, 20, 79, 0.12);

    --container-max: 1200px;
    --container-narrow: 880px;

    --header-height: 72px;
    --banner-height: 36px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-ink);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-ink);
    margin: 0 0 0.6em 0;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1em 0; }

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--color-primary-darker);
    text-decoration: underline;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    padding-left: 1.4em;
}

hr {
    border: 0;
    border-top: 1px solid var(--color-line);
    margin: 2rem 0;
}

/* Layout helpers */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.section {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-pale {
    background: var(--color-primary-pale);
}

.lead {
    font-size: 1.125rem;
    color: var(--color-ink-soft);
}

.muted {
    color: var(--color-muted);
}

.text-center {
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-secondary:hover {
    background: var(--color-primary-pale);
    color: var(--color-primary-darker);
}

.btn-ghost {
    background: transparent;
    color: var(--color-ink);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--color-primary-pale);
    color: var(--color-primary-dark);
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: white;
    border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: white;
}

.btn-lg { padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Cards */
.card {
    background: white;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card-link {
    display: block;
    color: inherit;
}

.card-link:hover {
    text-decoration: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-primary-pale);
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.4rem;
}

.card p {
    color: var(--color-ink-soft);
    margin: 0;
    font-size: 0.95rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Forms */
.form-row {
    margin-bottom: 1.25rem;
}

.form-row label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--color-ink);
}

.form-row .help {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-ink);
    background: white;
    border: 1.5px solid var(--color-line);
    border-radius: var(--radius-md);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

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

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--color-ink-soft);
}

.checkbox-row input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--color-primary);
}

.validation-message {
    color: var(--color-danger);
    font-size: 0.875rem;
    margin-top: 0.3rem;
}

/* Tables */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.price-table th,
.price-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-line);
}

.price-table th {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary-dark);
    background: var(--color-primary-pale);
}

.price-table td:last-child,
.price-table th:last-child {
    text-align: right;
    font-weight: 600;
}

.price-note {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, var(--color-primary-pale) 0%, white 60%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 88% 22%, rgba(233, 75, 140, 0.18) 0%, transparent 38%),
        radial-gradient(circle at 12% 88%, rgba(160, 20, 79, 0.10) 0%, transparent 36%);
    pointer-events: none;
}

.hero > .container { position: relative; z-index: 1; }

.hero h1 {
    margin-bottom: 1rem;
    color: var(--color-primary-darker);
}

.hero .subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--color-ink-soft);
    max-width: 640px;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: var(--color-ink-soft);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-trust-item svg {
    color: var(--color-primary);
}

/* Two-column hero layout (used on Home) */
.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-mascot-stage { order: -1; }
}

/* Mascot stage — pink halo + sparkles + floating character */
.hero-mascot-stage {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 400px;
    justify-self: end;
}

@media (max-width: 900px) {
    .hero-mascot-stage {
        max-width: 280px;
        justify-self: center;
        margin-bottom: 1rem;
    }
}

/* Soft radial halo behind character */
.hero-mascot-stage::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(233, 75, 140, 0.28) 0%,
            rgba(233, 75, 140, 0.10) 38%,
            transparent 68%);
    filter: blur(6px);
}

/* Sparkles ring around the halo */
.hero-mascot-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 6px at 12% 30%, var(--color-primary) 50%, transparent 51%),
        radial-gradient(circle 4px at 88% 18%, var(--color-primary-dark) 50%, transparent 51%),
        radial-gradient(circle 5px at 92% 72%, var(--color-primary) 50%, transparent 51%),
        radial-gradient(circle 3px at 8% 78%, var(--color-primary-dark) 50%, transparent 51%),
        radial-gradient(circle 4px at 50% 4%, var(--color-primary-light) 50%, transparent 51%),
        radial-gradient(circle 3px at 22% 92%, var(--color-primary) 50%, transparent 51%);
    background-repeat: no-repeat;
    pointer-events: none;
    animation: sparkle 4.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.04); }
}

.hero-mascot-character {
    position: absolute;
    inset: 0;
    /* PNG is 462x436. Character ends at image y=75%, wordmark starts at y=77%
       (verified by pixel scan). bg-size 140% auto on a 1:1 stage paints the
       image at 132% of the stage height, so visible portion = image y 0-76% —
       the character lands cleanly with the wordmark below the box edge. */
    background-image: url("/img/reparaman-logo.webp");
    background-size: 140% auto;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    animation: hero-float 6s ease-in-out infinite;
    filter: drop-shadow(0 18px 28px rgba(90, 14, 45, 0.22));
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0) rotate(-0.6deg); }
    50%      { transform: translateY(-14px) rotate(0.6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-mascot-img,
    .hero-mascot-stage::after { animation: none; }
}

/* Top urgency banner */
.top-banner {
    background: var(--color-primary-darker);
    color: white;
    text-align: center;
    font-size: 0.875rem;
    line-height: var(--banner-height);
    height: var(--banner-height);
    overflow: hidden;
}

.top-banner a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .top-banner {
        font-size: 0.78rem;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-line);
    height: var(--header-height);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--color-primary-darker);
}

.brand:hover {
    text-decoration: none;
    color: var(--color-primary-darker);
}

/* Character-only mark — circular badge cropped from the full PNG. */
.brand-mark {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    background-image: url("/img/reparaman-face.webp");
    background-repeat: no-repeat;
    background-size: 92% auto;
    background-position: 50% 55%;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 14px rgba(160, 20, 79, 0.18);
    transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}

.brand:hover .brand-mark {
    transform: rotate(-6deg) scale(1.06);
}

.brand-wordmark {
    display: inline-flex;
    align-items: baseline;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    color: var(--color-primary-darker);
}

.brand-r {
    font-size: 0.55em;
    color: var(--color-muted);
    margin-left: 0.05em;
}

/* Full lettered logo (character + REPARAMAN + tagline). */
.brand-img-full {
    display: block;
    height: 56px;
    width: auto;
    max-width: 100%;
}


.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    justify-content: center;
}

.nav-desktop a {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-desktop a:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary-dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-phone:hover { text-decoration: none; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--color-ink);
}

@media (max-width: 1100px) {
    .nav-desktop, .nav-phone, .nav-actions .btn:not(.nav-toggle) {
        display: none;
    }
    .nav-toggle { display: inline-flex; }
}

/* Mobile drawer */
.nav-drawer {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 1.25rem;
    overflow-y: auto;
    z-index: 49;
    border-top: 1px solid var(--color-line);
}

.nav-drawer.open {
    display: block;
}

.nav-drawer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.nav-drawer-list li {
    border-bottom: 1px solid var(--color-line);
}

.nav-drawer-list a {
    display: block;
    padding: 1rem 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}

.nav-drawer-list a:hover {
    text-decoration: none;
    color: var(--color-primary-dark);
}

.nav-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    background: var(--color-primary-darker);
    color: rgba(255, 255, 255, 0.85);
    padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
    margin-top: 4rem;
}

.site-footer .footer-brand .brand {
    background: white;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.site-footer h4 {
    color: white;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.site-footer a:hover {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

/* Floating mobile FAB */
.fab {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 40;
}

.fab a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: transform 0.15s ease;
}

.fab a:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.fab-phone { background: var(--color-primary); }
.fab-whatsapp { background: var(--color-whatsapp); }

@media (max-width: 1100px) {
    .fab { display: flex; }
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 0.875rem;
    color: var(--color-muted);
    padding: 1rem 0 0;
}

.breadcrumb a {
    color: var(--color-muted);
}

.breadcrumb a:hover {
    color: var(--color-primary-dark);
}

.breadcrumb-sep {
    margin: 0 0.4rem;
    color: var(--color-muted);
}

/* Lists */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
    color: var(--color-ink-soft);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 1.1rem;
    height: 1.1rem;
    background: var(--color-primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}

/* Steps */
.steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    counter-reset: step;
    display: grid;
    gap: 1rem;
}

.steps li {
    counter-increment: step;
    padding-left: 3rem;
    position: relative;
    color: var(--color-ink-soft);
    min-height: 2.25rem;
    padding-top: 0.2rem;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
}

/* Pills */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: var(--color-primary-pale);
    color: var(--color-primary-dark);
}

/* Trust strip */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 760px) {
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

.trust-strip-item .num {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.trust-strip-item .label {
    font-size: 0.95rem;
    color: var(--color-ink-soft);
}

/* CTA box */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.cta-box h2 {
    color: white;
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.cta-box .btn-primary {
    background: white;
    color: var(--color-primary-dark);
    border-color: white;
}

.cta-box .btn-primary:hover {
    background: var(--color-primary-pale);
    color: var(--color-primary-darker);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--color-line);
    padding: 1.25rem 0;
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item .answer {
    margin-top: 0.75rem;
    color: var(--color-ink-soft);
}

/* Guías */
.card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.guide-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.guide-body h2:first-child { margin-top: 0; }

.guide-body p {
    color: var(--color-ink-soft);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.guide-body .check-list {
    margin-top: 0.5rem;
}

/* Errors / 404 */
.error-page {
    text-align: center;
    padding: 4rem 1.25rem;
}

.error-page h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
}

.error-mascot {
    width: 220px;
    height: 220px;
    margin: 0 auto 1rem;
    position: relative;
    border-radius: 50%;
    background-color: rgba(233, 75, 140, 0.10);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(233, 75, 140, 0.18) 0%, transparent 70%),
        url("/img/reparaman-logo.webp");
    background-size: auto, 145% auto;
    background-position: center, 50% 0%;
    background-repeat: no-repeat;
    transform: rotate(-8deg);
    filter: drop-shadow(0 12px 18px rgba(90, 14, 45, 0.18));
}

/* FocusOnNavigate programmatically focuses h1 after every navigation for
   screen readers; the resulting outline is unwanted noise for sighted users.
   H1 is not interactive so removing focus styling is fine. */
h1:focus,
h1[tabindex]:focus {
    outline: none;
    box-shadow: none;
}

/* Validation visuals from default Blazor */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--color-success);
}

.invalid {
    outline: 1px solid var(--color-danger);
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
    border-radius: var(--radius-md);
}

.blazor-error-boundary::after {
    content: "Ha ocurrido un error.";
}
