:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-strong: #0c1524;
    --text: #142033;
    --muted: #617089;
    --line: rgba(20, 32, 51, 0.08);
    --brand: #37b6e9;
    --brand-deep: #1778b7;
    --accent: #84d8ff;
    --success: #17b26a;
    --shadow: 0 24px 60px rgba(12, 21, 36, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(55, 182, 233, 0.16), transparent 30%),
        linear-gradient(180deg, #eef7fb 0%, var(--bg) 36%, #fdfefe 100%);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.site-nav {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.navbar-brand {
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
}

.dropdown-item {
    font-weight: 500;
    color: var(--text);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(55, 182, 233, 0.08);
    color: var(--brand-deep);
}

.nav-cta {
    border-radius: 999px;
    padding-inline: 1rem;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 999px;
    background: rgba(23, 120, 183, 0.08);
}

.lang-switch a {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: var(--brand-deep);
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
}

.lang-switch a.is-active {
    background: #fff;
    color: var(--text);
    box-shadow: 0 6px 14px rgba(12, 21, 36, 0.08);
}

.hero-section {
    padding: 8.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 6rem -10rem auto auto;
    width: 28rem;
    height: 28rem;
    background: radial-gradient(circle, rgba(55, 182, 233, 0.25), transparent 60%);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(23, 120, 183, 0.08);
    color: var(--brand-deep);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.hero-section h1,
.section-heading h2 {
    letter-spacing: -0.04em;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1rem;
}

.lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--brand-deep);
}

.hero-copy,
.section-heading p,
.service-card p,
.location-card p,
.site-footer p {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.hero-actions .btn {
    border-radius: 999px;
    padding: 0.9rem 1.3rem;
    font-weight: 600;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    border: 1px solid rgba(20, 32, 51, 0.08);
    box-shadow: 0 14px 30px rgba(12, 21, 36, 0.08);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    background: #fff;
    color: var(--text);
    border-color: rgba(20, 32, 51, 0.12);
}

.hero-meta {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.6rem;
    color: var(--muted);
}

.hero-meta i {
    color: var(--brand);
    margin-right: 0.45rem;
}

.store-status {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
}

.store-status small {
    font-weight: 500;
    color: var(--muted);
}

.status-open {
    background: rgba(23, 178, 106, 0.1);
    color: #12804d;
}

.status-closed {
    background: rgba(244, 63, 94, 0.1);
    color: #be123c;
}

.hero-card {
    position: relative;
    min-height: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 12px);
}

.floating-panel {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    background: rgba(12, 21, 36, 0.78);
    color: #fff;
    backdrop-filter: blur(10px);
}

.floating-panel strong {
    display: block;
    margin-bottom: 0.8rem;
}

.floating-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.floating-actions a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.floating-actions a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.floating-actions i {
    font-size: 1.1rem;
}

.floating-actions span {
    display: block;
    color: #fff;
}

.section-block {
    padding: 5rem 0;
    scroll-margin-top: 76px; /* Offset para el nav fijo nativo por CSS */
}

.section-compact {
    padding-top: 0;
    padding-bottom: 1rem;
}

.section-tint {
    background: linear-gradient(180deg, rgba(132, 216, 255, 0.12), rgba(255, 255, 255, 0.12));
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.25rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    margin-bottom: 0.75rem;
}

.mobile-heading {
    display: none;
}

.service-card,
.hours-card,
.location-card,
.review-cta,
.featured-strip,
.trust-card,
.brand-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow);
}

.featured-strip {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.promo-toast {
    position: fixed;
    right: 1rem;
    bottom: 5.8rem;
    width: min(380px, calc(100vw - 2rem));
    padding: 1.15rem;
    border-radius: 24px;
    background: rgba(12, 21, 36, 0.96);
    color: #fff;
    box-shadow: 0 24px 60px rgba(12, 21, 36, 0.28);
    z-index: 1035;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.promo-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.promo-toast .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    margin-bottom: 0.8rem;
}

.promo-toast h3 {
    margin-bottom: 0.55rem;
    font-size: 1.25rem;
}

.promo-toast p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1rem;
}

.promo-toast .btn {
    width: 100%;
    border-radius: 999px;
    font-weight: 600;
}

.promo-toast-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.needs-card {
    display: block;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.needs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 56px rgba(12, 21, 36, 0.14);
}

.needs-card i {
    width: 3.35rem;
    height: 3.35rem;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(55, 182, 233, 0.12);
    color: var(--brand-deep);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.needs-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
}

.needs-card p {
    margin: 0;
    color: var(--muted);
}

.featured-strip i,
.trust-card > i {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(55, 182, 233, 0.12);
    color: var(--brand-deep);
    font-size: 1.35rem;
    flex: 0 0 auto;
}

.featured-strip h3,
.trust-card h3,
.review-cta h3 {
    margin-bottom: 0.45rem;
    font-size: 1.15rem;
}

.featured-strip p,
.trust-card p,
.review-cta p {
    margin: 0;
    color: var(--muted);
}

.trust-card {
    height: 100%;
}

.trust-card > i {
    margin-bottom: 1rem;
}

.diagnostic-list,
.diagnostic-result {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: var(--shadow);
}

.diagnostic-list {
    display: grid;
    gap: 0.9rem;
}

.diagnostic-trigger {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    padding: 1rem 1.1rem;
    color: var(--text);
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.diagnostic-trigger i {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(55, 182, 233, 0.12);
    color: var(--brand-deep);
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.diagnostic-trigger span {
    font-weight: 700;
}

.diagnostic-trigger:hover,
.diagnostic-trigger.is-active {
    border-color: rgba(23, 120, 183, 0.22);
    box-shadow: 0 18px 32px rgba(12, 21, 36, 0.08);
    transform: translateY(-2px);
}

.diagnostic-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.diagnostic-result h3 {
    margin-bottom: 0.75rem;
    font-size: 1.45rem;
}

.diagnostic-result p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.diagnostic-result .btn {
    align-self: flex-start;
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 600;
}

.urgency-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(12, 21, 36, 0.96), rgba(23, 120, 183, 0.92));
    color: #fff;
    box-shadow: var(--shadow);
}

.urgency-copy {
    max-width: 620px;
}

.urgency-copy .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.urgency-copy h2 {
    margin-bottom: 0.7rem;
}

.urgency-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.urgency-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.urgency-actions .btn {
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 600;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -30% auto;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(132, 216, 255, 0.28), transparent 65%);
}

.service-icon {
    width: 4.25rem;
    height: 4.25rem;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--brand), var(--brand-deep));
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.service-card h3,
.hours-card h3,
.location-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.35rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 156px;
    padding: 1.4rem 1rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--text);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-link i {
    font-size: 2rem;
}

.quick-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(12, 21, 36, 0.16);
}

.quick-link-success i { color: #16a34a; }
.quick-link-primary i { color: #2563eb; }
.quick-link-dark i { color: #111827; }
.quick-link-warning i { color: #d97706; }
.quick-link-info i { color: #0891b2; }

.brand-card {
    min-height: 120px;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
    padding: 1.25rem;
    background: #fff;
}

.brand-card img {
    width: 100%;
    max-width: 130px;
    max-height: 75px;
    object-fit: contain;
}

.gallery-card {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-card span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(12, 21, 36, 0.72);
    color: #fff;
    font-weight: 500;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.hours-card .table {
    margin-bottom: 0;
}

.hours-card {
    padding: 1.5rem;
}

.hours-card h3 {
    margin-bottom: 1rem;
}

.hours-card thead th {
    background: rgba(55, 182, 233, 0.12);
    color: var(--brand-deep);
    border-bottom: 0;
    padding: 0.95rem 0.85rem;
    font-size: 0.98rem;
}

.hours-card tbody td {
    padding: 0.9rem 0.85rem;
}

.hours-card tbody tr:last-child td {
    border-bottom: 0;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
    display: grid;
    gap: 0.8rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
    line-height: 1.55;
}

.contact-list i {
    color: var(--brand);
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.location-actions .btn {
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 600;
}

.small-note {
    margin-top: 1rem;
    font-size: 0.92rem;
    line-height: 1.65;
}

.map-frame {
    min-height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.map-frame iframe {
    width: 100%;
    min-height: 100%;
    height: 100%;
    border: 0;
    aspect-ratio: 16 / 11;
}

.faq-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.faq-accordion .accordion-button {
    font-weight: 700;
    color: var(--text);
    background: #fff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(55, 182, 233, 0.08);
    color: var(--brand-deep);
}

.faq-accordion .accordion-body {
    color: var(--muted);
    line-height: 1.7;
}

.site-footer {
    padding: 2rem 0 3rem;
}

.floating-whatsapp {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 58px;
    height: 58px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 18px 35px rgba(37, 211, 102, 0.35);
    z-index: 1040;
}

.floating-whatsapp i {
    font-size: 1.7rem;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-actions a {
    color: var(--brand-deep);
    font-weight: 600;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(6, 11, 19, 0.92);
    z-index: 1080;
}

.gallery-modal.is-visible {
    display: flex;
}

.gallery-modal img {
    max-width: min(1100px, 100%);
    max-height: 82vh;
    border-radius: 24px;
}

.gallery-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   Sección Primeros Auxilios (Blog / SEO)
   ========================================================================== */

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(12, 21, 36, 0.16);
}

.blog-card-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.75rem;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.85rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.blog-card-content p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Empuja el botón hacia abajo */
}

.blog-card-content strong {
    color: var(--surface-strong);
}

.blog-cta {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--brand-deep);
    font-size: 1rem;
    transition: color 0.2s ease;
    margin-top: auto;
}

.blog-cta i {
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.blog-cta:hover {
    color: var(--brand);
}

.blog-cta:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Calculadora de Presupuestos
   ========================================================================== */

.calculator-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.calc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calc-step select,
.calc-step input[type="text"] {
    background-color: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    font-family: inherit;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-step select:focus,
.calc-step input[type="text"]:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(55, 182, 233, 0.15);
}

.calc-step select:disabled,
.calc-step input[type="text"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.custom-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(12, 21, 36, 0.15);
    max-height: 240px;
    overflow-y: auto;
    margin: 0.4rem 0 0;
    padding: 0.5rem 0;
    list-style: none;
    display: none;
}

.custom-autocomplete-list.is-active {
    display: block;
}

.custom-autocomplete-list li {
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    color: var(--text);
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-autocomplete-list li:hover {
    background: rgba(55, 182, 233, 0.08);
    color: var(--brand-deep);
}

.calc-result-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(23, 178, 106, 0.1), rgba(23, 178, 106, 0.05));
    border: 1px solid rgba(23, 178, 106, 0.2);
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    visibility: hidden;
}

.calc-result-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.price-display {
    display: flex;
    flex-direction: column;
}

.price-display span {
    font-size: 0.95rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.price-display strong {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--success);
    letter-spacing: -0.03em;
}

@media (max-width: 767.98px) {
    .calculator-card {
        padding: 1.5rem;
    }
    
    .calc-result-panel {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .calc-result-panel .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Sección Opiniones (Reviews)
   ========================================================================== */

.review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.review-stars {
    display: flex;
    gap: 0.2rem;
    color: #f59e0b; /* warm yellow */
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--muted);
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.review-author strong {
    font-weight: 700;
    color: var(--text);
}

.review-author span {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ==========================================================================
   Escaparate de TikTok
   ========================================================================== */

.tiktok-wrapper {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    min-height: 580px; /* Evita saltos en la pantalla mientras carga el iframe */
}

.tiktok-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(12, 21, 36, 0.16);
}

/* Forzar que el iframe de TikTok respete nuestras curvas */
.tiktok-wrapper iframe {
    border-radius: 14px !important;
}

@media (max-width: 767.98px) {
    .tiktok-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 7.5rem;
    }

    .hero-card img {
        min-height: 320px;
    }

    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .section-block {
        padding: 4rem 0;
    }

    .desktop-heading {
        display: none;
    }

    .mobile-heading {
        display: block;
    }

    .hero-actions,
    .location-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .location-actions .btn {
        width: 100%;
    }

    .quick-link {
        min-height: 136px;
    }

    .featured-strip {
        align-items: flex-start;
    }

    .promo-toast {
        right: 0.85rem;
        left: 0.85rem;
        bottom: 5.5rem;
        width: auto;
    }

    .urgency-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .urgency-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .diagnostic-result .btn {
        width: 100%;
        justify-content: center;
    }

    .brand-card {
        min-height: 92px;
        padding: 0.9rem;
        border-radius: 18px;
    }

    .brand-card img {
        max-width: 92px;
        max-height: 60px;
    }

    .gallery-card img {
        height: 220px;
    }

    .map-frame iframe {
        aspect-ratio: 16 / 9;
    }

    .floating-panel {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0.85rem;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .floating-panel strong {
        display: none;
    }

    .floating-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .floating-actions a {
        justify-content: center;
        width: 48px;
        height: 48px;
        margin: 0 auto;
        padding: 0;
        border-radius: 999px;
        background: rgba(12, 21, 36, 0.62);
        backdrop-filter: blur(8px);
        box-shadow: 0 8px 18px rgba(12, 21, 36, 0.18);
    }

    .floating-actions span {
        display: none;
    }

    .floating-actions i {
        font-size: 1rem;
    }

    .floating-whatsapp {
        display: flex;
    }

}
