/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.5;
    background-color: #fff;
    overflow-x: hidden;
}

.planes-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 40px;
    background-color: var(--color-cyan);
    /* Ensure color continuity */
}

.planes-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

ul {
    list-style: none;
}

.hidden {
    display: none !important;
}

/* --- VARIABLES --- */
:root {
    --color-cyan: #0097A9;
    --color-lime: #CEDF00;
    --color-pink: #E91E63;
    --color-red-cta: #D32F4F;
    --color-teal-dark: #1A7B8C;
    --color-teal-darker: #135d6a;
    --color-text-dark: #222;
    --color-price-red: #F44336;
    --color-price-green: #00A651;
    --color-input-bg: #fff;
    --color-yellow-text: #FFC107;
    --primary-color: #0097A9;
    --secondary-color: #CEDF00;
    --white: #ffffff;
}

/* --- HERO BANNER & BOTÓN FLOTANTE --- */
.hero-banner {
    width: 100%;
    background-color: var(--color-cyan);
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-banner img {
    width: 100%;
    object-fit: cover;
}

.btn-banner-overlay {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-lime);
    color: #333;
    padding: 15px 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    border: 3px solid white;
    z-index: 10;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-banner-overlay:hover {
    transform: translateX(-50%) scale(1.05);
    background-color: #fff;
    color: var(--color-cyan);
}

.plan-card {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

/* --- INFO SECTION --- */
.info-section {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
    /* Removed bottom padding */
    align-items: center;
}

.info-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.info-content h2 {
    font-size: 1.8rem;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 900;
}

.info-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
}

.info-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.video-placeholder {
    background-color: #f0f0f0;
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border-radius: 8px;
    color: #aaa;
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.video-placeholder::after {
    content: "▶";
    font-size: 2rem;
    color: #bbb;
}

/* --- APP SECTION & INFINITE SLIDER --- */
.app-section {
    background-color: #CEDF00;
    padding: 40px 0 0 0;
    color: #333;
    text-align: center;
    overflow: hidden;
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    margin-bottom: 30px;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.gallery-img {
    width: 240px;
    height: 340px;
    object-fit: cover;
    margin: 0 15px;
    border-radius: 15px;
    border: 3px solid var(--color-lime);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cta-container {
    margin: 30px 20px;
}

.btn-cta {
    background-color: var(--color-pink);
    color: white;
    border: none;
    padding: 15px 40px;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: scale(1.05);
}

.questions-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    text-align: left;
    padding: 0 20px;
}

.questions-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    margin-bottom: -4px;
}

/* --- REGISTRO FORM (COPIED FROM INDEXSEGURO) --- */
.registro {
    padding: 0 20px 30px 20px;
    /* Top padding removed */
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--color-teal-dark));
    color: var(--white);
}

.registro-banner {
    max-width: 100%;
    width: 800px;
    margin-bottom: 40px;
    border-radius: 15px;
}

form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

fieldset {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    overflow: visible;
}

legend {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    padding: 0 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 8px;
}

/* Estilos Inputs Normales */
.form-group input[type="text"]:not(.choices__input),
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select:not(.choices__input) {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: var(--white);
    color: #333 !important;
    font-size: 1rem;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right .7em top 50%;
    background-size: .65em auto;
}

.form-group select:not(.choices__input):focus {
    color: #333 !important;
    background-color: #fff !important;
}

/* --- CHOICES.JS --- */
.choices {
    margin-bottom: 0;
    width: 100%;
    color: #333;
}

.choices__inner {
    background-color: #ffffff !important;
    border: 1px solid #ccc;
    border-radius: 8px;
    min-height: 45px;
    padding: 5px 10px;
    font-size: 1rem;
    color: #333333 !important;
    text-align: center;
}

.choices__list--dropdown .choices__item {
    text-align: center;
}

.choices__input {
    background-color: transparent !important;
    color: #333 !important;
}

.choices__list--dropdown {
    background-color: #ffffff !important;
    color: #333 !important;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #ddd;
    z-index: 100;
}

.choices__list--dropdown .choices__item {
    color: #333 !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: var(--secondary-color) !important;
    color: #333 !important;
}

.choices__placeholder {
    color: #666 !important;
    opacity: 1;
}

/* Radios */
.radio-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 20px 50px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: bold;
}

.radio-group label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group input[type="radio"]:checked+label {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.diseno-placa-grid label,
.form-group label.especie-label {
    padding-left: 15px;
    display: block;
    min-height: auto;
    align-items: stretch;
}

.diseno-placa-grid label {
    text-align: center;
    padding: 15px 10px;
}

.form-group label.especie-label {
    display: inline-block;
    padding: 8px 12px;
}

.radio-group label::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: none;
}

.diseno-placa-grid label::before,
.form-group label.especie-label::before {
    display: none;
}

.radio-group input[type="radio"]:checked+label::before {
    border-color: var(--text-dark);
    background: var(--white);
    box-shadow: inset 0 0 0 6px var(--text-dark);
}

.radio-group input[type="radio"]:checked+label#donacion-label::before {
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: inset 0 0 0 6px var(--secondary-color);
}

.radio-group input[type="radio"]:disabled+label::before {
    border-color: #666;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 0 6px #444;
}

.radio-group input[type="radio"]:disabled+label {
    background: rgba(0, 0, 0, 0.4);
    color: #aaa;
    cursor: not-allowed;
    opacity: 0.8;
    border: 1px dashed #aaa;
}

.soldout-notice {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: -10px;
    margin-bottom: 10px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--secondary-color);
    border-top: none;
}

#donation-spots-message.error {
    color: #ff9999;
    background-color: rgba(211, 47, 47, 0.4);
    border-color: #d32f2f;
    font-size: 1rem;
    font-weight: bold;
    margin-top: -10px;
    margin-bottom: 10px;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #d32f2f;
}

.diseno-placa-referencia {
    max-width: 100%;
    width: 600px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.diseno-placa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 18px 40px;
    background: var(--secondary-color);
    color: var(--text-dark);
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    font-size: 1.2rem;
    text-align: center;
}

.submit-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* --- DONACIÓN STYLES --- */
#donacion-label {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 15px !important;
}

#donacion-label-text {
    text-align: center;
    line-height: 1.5;
    padding: 0 10px;
    padding-left: 35px;
    position: relative;
}

.flip-counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    max-width: 100%;
}

#donation-spots-message {
    margin-top: 15px !important;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.flip-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.flip-label-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.flip-label-gratis {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 4px;
}

.flip-digit-wrapper {
    background: linear-gradient(to bottom, #7e2d6b 0%, #c43b5f 100%);
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    padding: 12px 15px;
    position: relative;
    border: 1px solid #222;
}

.flip-digit-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2px;
    right: 2px;
    height: 1px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.flip-digit {
    font-family: "Segoe UI", "Arial", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.warning-card {
    background-color: rgba(255, 204, 0, 0.15);
    border-left: 5px solid var(--secondary-color);
    color: var(--white);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: opacity 0.5s ease, max-height 0.5s ease;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.warning-card strong {
    color: var(--secondary-color);
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.form-group label.especie-label {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 8px;
    cursor: default;
    border: none;
    text-align: center;
}

/* --- BENEFITS & PRICING --- */
.benefits-section {
    background-color: #fff;
    padding: 50px 20px;
    color: #333;
}

.benefits-container {
    max-width: 800px;
    margin: 0 auto;
}

.benefits-title {
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #000;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: #222;
}

.benefit-icon {
    color: #BBCD00;
    font-weight: 900;
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
}

.benefit-small {
    font-weight: 400;
    font-size: 0.9rem;
    color: #555;
    margin-left: 5px;
}

.pricing-section {
    background-color: var(--color-lime);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 50px 20px;
    text-align: center;
}

.pricing-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: transparent;
    border-radius: 20px;
    padding: 0;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.selected {
    border: 4px solid var(--color-cyan);
    transform: scale(1.02);
}

/* --- FILAS & FORMULARIO CONTINUACIÓN --- */
.fila-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.fila-radio-group {
    background-color: rgba(0, 140, 158, 0.5);
    border: 1px solid #4eaebf;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.fila-radio-group:hover {
    background-color: rgba(0, 140, 158, 0.8);
}

.fila-radio-group input[type="radio"] {
    transform: scale(1.5);
    margin-right: 15px;
    accent-color: white;
}

.fila-radio-group label {
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
}

.species-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.species-btn-header {
    background-color: #FFC107;
    color: #333;
    text-align: center;
    padding: 8px;
    font-weight: 800;
    border-radius: 5px 5px 0 0;
    margin-bottom: -5px;
    z-index: 1;
}

.species-options {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 0 0 5px 5px;
}

.species-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.species-option:last-child {
    border-bottom: none;
}

.species-option input {
    width: auto;
    margin-right: 10px;
    transform: scale(1.5);
}

.diseno-placa-referencia {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.diseno-placa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.diseno-placa-grid .radio-option-box {
    font-size: 0.85rem;
}

.soldout-notice {
    color: var(--color-lime);
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

#donation-spots-message.error {
    color: #ff9999;
    background-color: rgba(211, 47, 47, 0.4);
    border: 1px solid #d32f2f;
    padding: 10px;
    border-radius: 5px;
}

.flip-counter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.flip-digit-wrapper {
    background: linear-gradient(to bottom, #7e2d6b 0%, #c43b5f 100%);
    border-radius: 6px;
    padding: 5px 10px;
    border: 1px solid #222;
}

.flip-digit {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.warning-card {
    background-color: rgba(255, 204, 0, 0.15);
    border-left: 5px solid var(--color-lime);
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    margin-top: 30px;
    background: var(--color-lime);
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 0 #999;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    background: #fff;
    color: var(--color-cyan);
}

.btn-submit:active {
    transform: translateY(4px);
    box-shadow: none;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    color: #666;
}

.terms {
    margin-top: 20px;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.terms input {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

/* --- MICROCHIP INFO SECTION (BLANCA) --- */
.microchip-info-section {
    background-color: #f5f5f5;
    padding: 50px 20px;
    color: #333;
    text-align: center;
}

.microchip-info-container {
    max-width: 800px;
    margin: 0 auto;
}

.microchip-title {
    font-size: 2.2rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    color: #000;
    margin-bottom: 30px;
    text-align: left;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
    background: #fff;
    margin-bottom: 40px;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.carousel-slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
}

.video-responsive-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #ccc;
    border: none;
    font-size: 3rem;
    padding: 0 20px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.carousel-btn:hover {
    color: var(--color-cyan);
}

.carousel-btn.prev {
    left: -10px;
}

.carousel-btn.next {
    right: -10px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicator.current-slide {
    background-color: var(--secondary-color);
}

.microchip-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.microchip-benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
}

.microchip-benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background-color: #CEDF00;
    border-radius: 50%;
}

.microchip-benefits-list strong {
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: #000;
}

.microchip-footer-text {
    text-align: left;
    margin-top: 30px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

/* --- FAQ SECTION (NUEVA) --- */
.faq-section {
    background-color: var(--color-lime);
    background-image: url('../../img/landing/fondopreguntas.png');
    /* Asegúrate de que la imagen esté en la raíz o ajusta ruta */
    background-size: cover;
    background-position: center;
    padding: 60px 20px 80px;
    /* Extra padding bottom */
    text-align: center;
}

.faq-title {
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- FAQ MODULES --- */
.faq-modules-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-module {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-module summary {
    padding: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.faq-module summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-module[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    outline: none;
}

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

.faq-question::after {
    content: '+';
    float: right;
    font-weight: bold;
    color: var(--primary-color);
}

details[open]>.faq-question::after {
    content: '-';
}

.faq-answer {
    color: #555;
    line-height: 1.6;
    padding-top: 10px;
}

.btn-faq-cta {
    background-color: var(--color-red-cta);
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    width: 100%;
    max-width: 700px;
    margin: 50px auto 0;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    text-transform: none;
    /* Normal case as per image */
}

.btn-faq-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.action-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.action-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.action-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- FOOTER (UPDATED) --- */
footer {
    background-color: #1A7B8C;
    /* Dark Teal */
    color: white;
    text-align: center;
    padding: 50px 20px 30px;
    font-family: 'Open Sans', sans-serif;
}

.footer-logo {
    max-width: 150px;
    margin: 0 auto 10px;
    display: block;
}

.footer-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.footer-decoration {
    max-width: 300px;
    margin: 10px auto;
    display: block;
}

.footer-description {
    font-size: 0.9rem;
    max-width: 800px;
    margin: 15px auto 40px;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-sponsors-title {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-sponsors-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    opacity: 0.9;
    display: block;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    color: #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-overlay.visible .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 15px;
    display: block;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content h4 {
    color: var(--primary-color);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.modal-body b {
    color: #333;
    font-weight: 700;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn-modal {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

.btn-pdf {
    background-color: var(--secondary-color);
    color: white;
}

.btn-pdf:hover {
    background-color: #e69500;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 124, 0, 0.3);
}

.modal-close-btn {
    background: transparent;
    color: #999;
    border: 2px solid transparent;
    margin-top: 15px;
    padding: 10px;
    font-size: 0.9rem;
}

.modal-close-btn:hover {
    color: #666;
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
}



@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        text-align: center;
    }

    .info-list li {
        text-align: left;
    }

    .questions-container {
        flex-direction: column;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .initial-form-steps,
    .form-continuation {
        padding: 20px 10px;
    }

    .gallery-img {
        width: 180px;
        height: 260px;
    }

    .btn-banner-overlay {
        padding: 12px 30px;
        font-size: 1rem;
        bottom: 5%;
    }

    .carousel-btn {
        font-size: 2rem;
    }

    .faq-title {
        font-size: 1.5rem;
    }

    .btn-faq-cta {
        font-size: 1rem;
        padding: 15px;
    }
}

/* --- MODAL STYLES (REFINED) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal.visible {
    display: block;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

#plan-modal-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    list-style: none;
    text-align: left;
}

#plan-modal-content ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Terms and Conditions */
.terms-container {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.terms-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.terms-container label {
    cursor: pointer;
    user-select: none;
}

.terms-link {
    color: var(--secondary-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

.terms-link:hover {
    color: var(--white);
}

/* Terms Modal Specifics */
#terms-modal .modal-content {
    max-width: 800px;
    text-align: left;
    max-height: 80vh;
    overflow-y: auto;
}

#terms-modal h2,
#terms-modal h3 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

#terms-modal p,
#terms-modal li {
    color: #333;
    margin-bottom: 10px;
}

#terms-modal ul {
    list-style: disc;
    padding-left: 20px;
}

.hero-banner img.banner-logo-overlay {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    max-width: 150px;
    z-index: 2;
}

/* --- SEARCH PIN SECTION OLD (Removed) --- */

/* --- SEARCH PILL OVERLAY --- */
.search-pill-container {
    display: flex;
    align-items: center;
    background: rgba(235, 245, 250, 0.9);
    /* Light blueish tint */
    border-radius: 50px;
    padding: 5px;
    width: 90%;
    max-width: 500px;
    margin: 20px auto 30px auto;
    /* Spacing in banner */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.search-pill-icon {
    padding-left: 15px;
    padding-right: 10px;
    color: var(--color-cyan);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.search-pill-icon img {
    height: 30px;
    width: auto;
}

.search-pill-input {
    border: none;
    background: transparent;
    font-size: 1rem;
    flex-grow: 1;
    color: #555;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    padding: 10px 0;
}

.search-pill-input::placeholder {
    color: #aaa;
}

.search-pill-button {
    background-color: #AFAFAF;
    /* Grey color from image */
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    margin-right: 2px;
}

.search-pill-button:hover {
    background-color: #999;
}

/* Adjust hero banner to accommodate search */
.hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


/* --- AUTH MODALS (RESTORED) --- */
.auth-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.auth-modal[style*="display: flex"] {
    display: flex !important;
}

.auth-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s;
}

#register-modal .auth-modal-content {
    max-width: 650px;
    /* Wider for registration */
}

.close-auth {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-auth:hover,
.close-auth:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.auth-modal h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 0.95rem;
}

.auth-form-group input,
.auth-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.auth-form-group input:focus,
.auth-form-group select:focus {
    border-color: var(--primary-color);
}

.btn-submit-auth {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
    text-transform: uppercase;
}

.btn-submit-auth:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-2px);
}

.auth-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer-text a {
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

/* Register Form Grid */
.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-form-group.full-width {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-group.full-width {
        grid-column: span 1;
    }
}

.terms-check {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.terms-check input {
    width: 18px;
    height: 18px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- AUTH BUTTONS (Header) --- */
.auth-buttons-container {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
}

.btn-auth {
    padding: 10px 25px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.btn-login {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-register {
    background-color: var(--secondary-color);
    color: #333;
    border-color: var(--secondary-color);
}

.btn-register:hover {
    background-color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .auth-buttons-container {
        top: 15px;
        left: 0;
        right: auto;
        transform: none;
        width: 100%;
        padding: 0 15px;
        justify-content: space-between;
    }

    .btn-auth {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* --- CUSTOM DIV SELECTS --- */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-wrapper.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 300;
    color: #333;
    line-height: inherit;
    background: #fff;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.custom-select-trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--primary-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::before,
.arrow::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 0.15rem;
    height: 100%;
    transition: all 0.3s;
}

.arrow::before {
    left: -3px;
    transform: rotate(45deg);
    background-color: #394a6d;
}

.arrow::after {
    left: 3px;
    transform: rotate(-45deg);
    background-color: #394a6d;
}

.custom-select-wrapper.open .arrow::before {
    transform: rotate(-45deg);
}

.custom-select-wrapper.open .arrow::after {
    transform: rotate(45deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 2px solid var(--primary-color);
    border-top: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    z-index: 200;
    max-height: 200px;
    overflow-y: auto;
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    font-weight: 300;
    color: #3b3b3b;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-option:last-of-type {
    border-bottom: 0;
}

.custom-option:hover,
.custom-option.selected {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

/* --- CUSTOM ALERT MODAL --- */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    /* Higher than other modals */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.custom-modal.visible {
    display: flex !important;
    /* Force flex to center */
}

.custom-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: center;
    animation: modalPopIn 0.3s ease-out forwards;
}

@keyframes modalPopIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-modal h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 800;
}

.custom-modal p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.5;
    white-space: pre-line;
    /* Support \n for multi-line errors */
}

.custom-modal-actions {
    display: flex;
    justify-content: center;
}

.custom-modal-btn {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.custom-modal-btn:hover {
    transform: scale(1.05);
    background-color: #e6ff00;
    /* Slightly lighter lime */
}

/* --- DESKTOP GRID LAYOUT --- */
@media (min-width: 768px) {
    #responsable-fieldset .form-group {
        width: 100%;
    }

    /* Grid for Responsable Fieldset */
    #responsable-fieldset {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    #responsable-fieldset legend {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }

    /* Email inputs on same row if possible, or just grid flow */
    /* Name and Cellphone */


    /* Mascotas Fieldset */
    fieldset#mascotas-validation-message+hr+div#datos-mascota-1,
    fieldset div[id^="datos-mascota-"] {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        align-items: end;
        /* Align bottoms so labels don't offset inputs */
    }

    fieldset div[id^="datos-mascota-"] h4,
    fieldset div[id^="datos-mascota-"] hr {
        grid-column: 1 / -1;
        width: 100%;
    }

    /* Make Name full width in pet section? Or 3 columns: Name, Specie, Breed */
    /* 3 columns looks good: Name (1), Especie (2), Raza (3) */

    /* Quantity Selector - Keep Full Width or Centered? */
    #cantidad_mascotas {
        max-width: 50%;
    }
}

/* --- WIZARD STYLES --- */
#wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
}

.wizard-step {
    animation: fadeIn 0.5s ease;
}

.wizard-step.hidden {
    display: none;
}

.step-title {
    text-align: center;
    color: var(--white);
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.wizard-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #333;
}

.plate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.plate-option-card {
    background: white;
    border: 2px solid #eee;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plate-option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.plate-option-card.selected {
    border-color: var(--primary-color);
    background-color: #f0faff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.plate-option-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
}

.plate-image-container {
    position: relative;
    margin-bottom: 15px;
}

.view-full-btn {
    margin-top: 8px;
    background: #f0f4f8;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.view-full-btn:hover {
    background: var(--primary-color);
    color: white;
}

.plate-option-card span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
    display: block;
    text-transform: capitalize;
    line-height: 1.2;
}

/* Lightbox Styles */
.plate-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plate-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.plate-lightbox-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
    animation: zoomIn 0.3s ease;
}

.plate-lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: #333;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Wizard Grid for Options/Products */
.wizard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* Product Card styles moved to wizard.css for redesign */

.secondary-button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.action-button.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PREMIUM CHECKOUT REDESIGN CUSTOM OVERRIDES --- */

.checkout-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.diseno-placa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.diseno-placa-grid input[type="radio"] {
    display: none !important;
}

.diseno-placa-grid label {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 15px 10px !important;
    border-radius: 12px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    position: relative !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-height: auto !important;
}

.diseno-placa-grid label::before {
    display: none !important;
}

.diseno-placa-grid label:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.diseno-placa-grid input[type="radio"]:checked+label {
    background: linear-gradient(135deg, var(--color-lime) 0%, #b8c700 100%) !important;
    color: #000 !important;
    border-color: var(--color-lime) !important;
    box-shadow: 0 8px 20px rgba(206, 223, 0, 0.3) !important;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
    transform: none !important;
}

.warning-card {
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.warning-card:hover {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.3);
}

/* --- PREMIUM REDESIGN: GLASS INPUTS & CARDS --- */

.wizard-step-card {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border-radius: 28px !important;
    padding: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 30px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.wizard-step-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}


/* Legacy form theme overrides removed to fix visibility on white cards */



/* --- PREMIUM REDESIGN: TERMS & BUTTONS --- */

.terms-container {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.1) !important;
    padding: 20px 25px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.terms-container label {
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

.terms-link {
    color: var(--color-lime) !important;
    text-decoration: underline !important;
    font-weight: 800 !important;
}

.submit-btn {
    background: linear-gradient(135deg, var(--color-lime) 0%, #b8c700 100%) !important;
    color: #000 !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(206, 223, 0, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(206, 223, 0, 0.4) !important;
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98) !important;
}

.submit-btn:disabled {
    filter: grayscale(1) !important;
    opacity: 0.5 !important;
    box-shadow: none !important;
}

/* --- Final Checkout Design Styles --- */
.wizard-step-4-container {
    --checkout-primary-blue: #0A99AB;
    --checkout-primary-yellow: #C2D83E;
    --checkout-primary-dark: #077a8a;
    --checkout-surface: #ffffff;
    --checkout-text-main: #1f2933;
    --checkout-text-muted: #6b7280;
    --checkout-accent: #6DBE24;
    --checkout-card-bg: rgba(255, 255, 255, 0.8);
    --checkout-radius-xl: 32px;
    --checkout-radius-l: 24px;
    --checkout-shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.05);
    --checkout-transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);

    font-family: 'Outfit', sans-serif !important;
    background-color: transparent !important;
    /* Will be set on body via JS class */
    min-height: auto !important;
    padding: 0 !important;
}



/* Adjust grid wrapper to fit inside the overlay */
.wizard-step-4-container .checkout-v2-grid {
    display: grid !important;
    grid-template-columns: 1.25fr 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 1 !important;
}

/* --- EMERGENCY FIX: FORCE FULL WIDTH FOR STEP 4 --- */
#step-4.wizard-step {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.wizard-step-4-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.wizard-step-4-container .card {
    background: var(--checkout-card-bg) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: var(--checkout-radius-xl) !important;
    padding: 35px !important;
    box-shadow: var(--checkout-shadow-soft) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 20px !important;
}

@media (max-width: 850px) {
    .wizard-step-4-container .card {
        padding: 24px !important;
        border-radius: var(--checkout-radius-l) !important;
    }
}

.wizard-step-4-container .section-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: var(--checkout-primary-dark) !important;
}

.wizard-step-4-container .section-title svg {
    width: 24px !important;
    height: 24px !important;
    fill: var(--checkout-primary-blue) !important;
}

/* --- GLOBAL FORM STYLING FOR UNIFICATION --- */
.wizard-step-4-container input[type="text"],
.wizard-step-4-container input[type="email"],
.wizard-step-4-container input[type="tel"],
.wizard-step-4-container select,
.wizard-step-4-container .custom-select-trigger {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    color: var(--checkout-text-main) !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    height: auto !important;
}

.wizard-step-4-container input:focus,
.wizard-step-4-container select:focus,
.wizard-step-4-container .custom-select-trigger.open {
    background: #fff !important;
    border-color: var(--checkout-primary-blue) !important;
    box-shadow: 0 4px 12px rgba(10, 153, 171, 0.1) !important;
    outline: none !important;
}

.wizard-step-4-container label {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: var(--checkout-text-muted) !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.wizard-step-4-container .form-group {
    margin-bottom: 24px !important;
}

/* Fix for Custom Select Options */
.wizard-step-4-container .custom-options {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    margin-top: 8px !important;
}

.wizard-step-4-container .custom-option {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    color: var(--checkout-text-main) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.wizard-step-4-container .custom-option:hover {
    background: rgba(10, 153, 171, 0.05) !important;
    color: var(--checkout-primary-blue) !important;
}

.wizard-step-4-container .summary-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 32px !important;
}

.wizard-step-4-container .ref-tag {
    background: rgba(10, 153, 171, 0.08) !important;
    color: var(--checkout-primary-blue) !important;
    padding: 6px 14px !important;
    border-radius: 100px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.wizard-step-4-container .tag-included {
    background: rgba(109, 190, 36, 0.12) !important;
    color: var(--checkout-accent) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 1px solid rgba(109, 190, 36, 0.2) !important;
    box-shadow: 0 2px 10px rgba(109, 190, 36, 0.1) !important;
}

.wizard-step-4-container .item-list {
    list-style: none !important;
    padding: 0 !important;
}

.wizard-step-4-container .item {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 24px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05) !important;
}

.wizard-step-4-container .item-img {
    width: 80px !important;
    height: 80px !important;
    background: #fff !important;
    border-radius: var(--checkout-radius-l) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.03) !important;
}

.wizard-step-4-container .item-info {
    flex: 1 !important;
}

.wizard-step-4-container .item-name {
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 4px !important;
    color: var(--checkout-text-main) !important;
}

.wizard-step-4-container .item-desc {
    font-size: 0.9rem !important;
    color: var(--checkout-text-muted) !important;
    margin-bottom: 8px !important;
}

.wizard-step-4-container .item-price {
    font-weight: 700 !important;
    color: var(--checkout-primary-blue) !important;
}

.wizard-step-4-container .total-box {
    background: linear-gradient(135deg, var(--checkout-primary-blue), var(--checkout-primary-dark)) !important;
    padding: 32px !important;
    border-radius: var(--checkout-radius-l) !important;
    color: white !important;
    margin-bottom: 32px !important;
    position: relative !important;
    overflow: hidden !important;
}

.wizard-step-4-container .total-label {
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
}

.wizard-step-4-container .total-amount {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
}

.wizard-step-4-container .payment-methods {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.wizard-step-4-container .payment-option {
    background: white !important;
    padding: 20px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: var(--checkout-transition) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.wizard-step-4-container .payment-option:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.wizard-step-4-container .payment-option.active {
    border-color: var(--checkout-primary-blue) !important;
    background: rgba(10, 153, 171, 0.03) !important;
}

.wizard-step-4-container .radio-indicator {
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #ddd !important;
    border-radius: 50% !important;
    position: relative !important;
}

.wizard-step-4-container .payment-option.active .radio-indicator {
    border-color: var(--checkout-primary-blue) !important;
}

.wizard-step-4-container .payment-option.active .radio-indicator::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 12px !important;
    height: 12px !important;
    background: var(--checkout-primary-blue) !important;
    border-radius: 50% !important;
}

.wizard-step-4-container .mp-badge {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.wizard-step-4-container .pay-btn {
    width: 100% !important;
    background: var(--checkout-primary-yellow) !important;
    color: var(--checkout-text-main) !important;
    border: none !important;
    padding: 20px !important;
    border-radius: 20px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    transition: var(--checkout-transition) !important;
    box-shadow: 0 15px 30px rgba(194, 216, 62, 0.3) !important;
}

.wizard-step-4-container .security-badge {
    margin-top: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    color: var(--checkout-text-muted) !important;
    font-size: 0.85rem !important;
}

.wizard-step-4-container .promo-container {
    margin-top: 32px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-top: 24px !important;
}

.wizard-step-4-container .promo-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--checkout-primary-blue) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

.wizard-step-4-container .promo-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.wizard-step-4-container .promo-content.active {
    max-height: 100px;
    opacity: 1;
    margin-top: 16px;
}

@media (max-width: 850px) {
    .wizard-step-4-container .checkout-v2-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* --- CRITICAL FIXES FOR PAYMENT LOGOS --- */
.wizard-step-4-container #mp-logos img {
    width: auto !important;
    max-width: none !important;
    display: block !important;
    height: auto !important;
    max-height: 20px !important;
    /* Force small height for the row logos */
}

/* Specific heights for the detailed row based on design */
.wizard-step-4-container #mp-logos img[alt="Visa"] {
    max-height: 12px !important;
}

.wizard-step-4-container #mp-logos img[alt="Mastercard"] {
    max-height: 15px !important;
}

.wizard-step-4-container #mp-logos img[alt="Paypal"] {
    max-height: 12px !important;
}

/* Main Method Badge Logos */
.wizard-step-4-container .mp-badge img {
    width: auto !important;
    max-width: none !important;
    max-height: 38px !important;
}

/* Ensure container prevents overflow */
.wizard-step-4-container .checkout-summary-column {
    min-width: 0 !important;
    /* Allow flex/grid children to shrink */
}

.wizard-step-4-container .payment-option {
    overflow: hidden !important;
    /* Contain internal elements */
}