* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'OpenSans-Regular', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'sackers';
    src: url(assets/fonts/Sackers-Gothic-Std.woff2) format('woff2'),
         url(assets/fonts/Sackers-Gothic-Std.woff) format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'revans';
    src: url(assets/fonts/Revans-Medium.woff2) format('woff2'),
         url(assets/fonts/Revans-Medium.woff) format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-Regular';
    src: url(assets/fonts/OpenSans-Regular.woff2) format('woff2'),
         url(assets/fonts/OpenSans-Regular.woff) format('woff');
    font-display: swap;
}



.sackers {
    font-family: 'sackers';
    letter-spacing: .13em;
}

.revans {

    font-family: 'revans';
    letter-spacing: .01em;
}

.italica {
    font-family: 'OpenSans-Regular';
    font-style: italic;
    font-size: .81em;
}

.regular {
    font-family: 'OpenSans-Regular';
}

.negrita {
    font-family: 'OpenSans-Regular';
    font-weight: bold;
}

.mayusculas {
    text-transform: uppercase;
}

p {
    padding: .5em 0;
}

a img {
    transition: all .5s ease-out;
}


button.boton-linea {
    background: transparent;
    border: 1px solid black;
    padding: 1em 3em;
    font-family: 'sackers';
    text-transform: uppercase;
    line-height: 3em;
    font-size: .8em;
    transition: all 0.5s ease-out;
}

button.boton-linea:hover {
    background-color: #fbbf9473;
}

body {

    color: #333;
    line-height: 1.6;
}

#topbar {
    background-color: #7f5334;
    color: white;
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    padding: 5px 0;
    overflow: hidden;
}

#topbar img {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

header.header {
    background-color: white;
    padding: 15px 0;
    text-align: center;
    min-height: 190px;
    contain: layout paint;
    transition: all 0.3s ease;
    position: relative;
}

.logo {
    height: 75px;
    width: 213px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

[navegacion] nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

[navegacion] nav ul li {
    padding: 1em 1em 0.5em 1em;
}

[navegacion] nav ul li a {
    text-decoration: none;
    color: #333;
    font-family: 'sackers', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Hamburger Styles (Desktop: Hidden) */
.menu-hamburguesa {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 1001;
}

.menu-hamburguesa .barra {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
}

/* Mobile Navigation Refinements */
@media only screen and (max-width: 767px) {
    .fila-flex {
        flex-direction: column;
    }

    .tercio {
        width: 100%;
        padding: 5px 0;
    }

    .buscar.tercio {
        padding-left: 0;
    }

    header.header {
        min-height: 150px;
        padding: 25px 0;
    }

    header.header.menu-abierto {
        min-height: 480px;
    }

    .menu-hamburguesa {
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
    }

    [navegacion] {
        display: none;
        width: 100%;
        border-top: 1px solid #eee;
        margin-top: 15px;
    }

    header.header.menu-abierto [navegacion] {
        display: block;
    }

    [navegacion] nav ul {
        flex-direction: column;
        padding: 15px 0;
    }

    [navegacion] nav ul li {
        border-bottom: 1px solid #f9f6f2;
        padding: 0.8em 0;
    }
}

#topbar img {
    max-height: 1em;
}


#topbar a {
    color: white;
    font-size: .9rem;
    text-decoration: none;
    font-family: 'OpenSans-Regular';
}

#topbar .centro {
    font-family: 'OpenSans-Regular';
    font-size: 1rem;
    text-decoration: none;
}

.email-protected {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#topbar .email-protected {
    color: #fff;
    font-family: 'OpenSans-Regular';
    font-size: 0.95rem;
}

.footer .email-protected {
    color: black;
    transition: opacity 0.3s;
}

.footer .email-protected:hover {
    opacity: 0.8;
}

.tercio {
    display: inline-block;
    width: 33.33%;
    text-align: center;
}

.columna.redes.tercio {
    font-family: 'OpenSans-Regular';
}

.redes img {
    max-width: 1em;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}


.fila-flex {
    display: inline-flex;
    flex-direction: row;
    width: 100%;
    justify-items: center;
    justify-content: space-around;
    align-items: center;
}

.header {
    background-color: white;
    padding: 15px 0;
}

.header .logo {
    height: 75px;
    width: auto;
}


.buscar {
    font-family: 'sackers';
}

.buscar input#buscar {
    max-width: 15rem;
    line-height: 2em;
}

input#buscar::placeholder {
    padding-left: .4em;
}

input::placeholder {
    top: .2em;
    position: relative;
}

input::placeholder,
textarea::placeholder {
    color: #505050;
}

.buscar.tercio {
    padding-left: 6rem;
    position: relative;
}

img.lupa {
    max-height: 1em;
    position: absolute;
    top: 1.9em;
}

.header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.header nav ul li {
    margin-left: 0;
    padding: 1em 1em 0.5em 1em;
    border-bottom: 1px solid transparent;
}

.header nav ul li:hover {
    border-bottom: 1px solid black;
}


.header nav ul li a,
.contact-btn {
    text-decoration: none;
    color: #333;
    font-family: sackers;
    font-size: .9rem;
}

.contact-btn {
    /* background-color: #333; */
    color: black;
    padding: 15px 25px;
    border-radius: 0;
    border: 1px solid;
    transition: all .5s ease-out;
}

.contact-btn:hover {
    background-color: #fbbf9473;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #f7f5f4;
}

section.hero {
    position: relative;
    height: 1095px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    background-color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media only screen and (max-width: 767px) {
    section.hero {
        height: auto;
        padding-bottom: 2rem;
    }
}

#hero-container {
    background: white;
    max-width: 66%;
    padding: 1.2em 9em;
    position: relative;
    z-index: 1;
}

img.isotipo {
    width: 75px;
    height: auto;
}

.hero h1 {
    color: #333;
    font-weight: normal;
    font-size: 4.4em;
}

.hero p {
    margin-top: 10px;
    font-size: 1.2em;
}

.imgdeco img {
    width: 6em;
}

h2.sackers.mayusculas {
    padding: 1em;
}

#info .texto.italica {
    font-size: 1.1em;
    text-align: left;
}

.texto.italica {
    display: inline-block;
    text-align: justify;
}

.service-categories {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

.service-categories a {
    margin: 10px;
    text-decoration: none;
    color: black;
    font-family: 'sackers';
    font-size: 1.2em;
    transition: all 0.5s ease-out;
}

.service-categories a:hover {
    opacity: .75;
}

.service-categories img {
    border-radius: 100px;
    max-width: 10em;
    height: auto;
    border: 1px solid #f2c28c;
    padding: .3em;
}

#info {
    background-color: #fff3e9;
}


.dos-columnas {
    display: inline-flex;
    align-items: flex-end;
    padding: 3rem 5%;
    justify-content: space-evenly;
}

.rayitas {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.col.col-1 {
    width: 60%;
    padding-right: 5rem;
}

.col.col-2 {
    display: inline-flex;
    align-items: flex-end;
}

.col.col-2 img {
    width: auto;
    max-height: 19rem;
}



/* BODAS - FUNERALES */

.imgdeco.separador-estrella img {
    width: 35%;
}

.imgdeco.separador-logo img {
    width: 17rem;
    padding: 2rem 0;
}

.dos-columnas-servicios {
    display: inline-flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.dos-columnas-servicios .col {
    text-align: left;
    width: -webkit-fill-available;
    padding: 0 7rem;
}

h2.titulo-servicio {
    font-size: 4.5em;
    font-weight: 300;
    letter-spacing: normal;
    text-align: center;
    padding: 0 7rem;
}

.bajada.italica {
    font-size: 1.3em;
}

.texto-servicio.regular {
    font-size: 1em;
}

.tabla-servicios img {
    width: 75px;
    height: auto;
}

.celda-titulo.sackers {
    font-size: 1.5em;
}

.celda-contenido {
    max-width: 85%;
}


.tabla-servicios td {
    padding: .9em;
}

.separador {
    height: 3em;
}

.tres-columnas {
    display: inline-flex;
    justify-content: space-between;
}

.tres-columnas .col {
    display: contents;
}

.tres-columnas img {
    max-width: 28%;
}



/* FORMULARIO */

#contacto {
    background: #e1aa8c;
}

h2.titulo-contacto {
    font-size: 4.5em;
    font-weight: 300;
    letter-spacing: normal;
    padding: 0 7rem;
}

.contacto-container {
    background: white;
    display: inline-flex;
    flex-direction: column;
    width: 82%;
    padding: 4rem;
}

.contacto-bajada.italica {
    font-size: 1em;
    padding: 0 14%;
}

.contacto-columnas {
    display: flex;
    column-gap: 3rem;
    width: 100%;
}

.contacto-columnas input,
.contacto-columnas select {
    flex: 1;
    width: 100%;
}



textarea,
input,
select {
    width: 100%;
    display: block;
    border-left: none;
    border-right: none;
    border-top: none;
    font-size: 1.1em;
    font-family: 'sackers';
    border-bottom: 0.5px solid black;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
}

textarea {
    scrollbar-width: 0;
    height: 43px;
    resize: none;
    max-height: 300px;
}

textarea::-webkit-scrollbar {
    width: 0;
}

#contacto button.boton-linea {
    margin-top: 3rem;
    max-width: 20rem;
}



input,
select {
    margin: 20px;
    color: black;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-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%23000000%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 1rem center;
    background-size: .65em auto;
    padding-right: 4rem;
}

input::placeholder {
    font-family: 'sackers';
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    background: #e9a89036;
    color: black;
}

#info,
#bodas,
#funerales,
#citas,
#contacto {
    padding: 40px 20px;
    text-align: center;
}

button {
    background-color: #f3c3a6;
    color: #333;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

button:disabled {
    opacity: .2;
    cursor: default;
    background-color: transparent !important;
}

.alerta {
    background-color: #c90900;
    color: white;
}

.alerta::placeholder {
    color: white;
}

.enlace-recarga {
    text-decoration: none;
    color: #814833;
    font-weight: 600;
}

.contact form {
    display: flex;
    flex-direction: column;
    /* max-width: 600px; */
    margin: 20px 4rem;
}

form #ceremoniaslaicaswebsite {
    display: none;
}

.contact form input,
.contact form textarea {
    padding: 10px;
    margin: 5px 0;
    border-radius: 0;
    width: 100%;
    margin-top: 2rem;
}

.logo-circular {
    display: flex;
    position: relative;
    top: 9rem;
    justify-content: center;
    margin-top: -6rem;
}

.logo-circular img {
    width: 15rem;
}

/* Ajuste específico para el blog - logo mitad sobre franja, mitad sobre footer */
.blog-footer-logo {
    margin-top: -7.5rem !important;
    top: 0 !important;
    position: relative;
    z-index: 10;
}

footer {
    background-color: white;
    padding: 10rem 3rem 3rem 3rem;
}

/* Padding reducido para footer del blog */
body:has(.blog-article) footer,
body:has(.blog-grid) footer {
    padding-top: 3rem;
}

.cinco-columnas {
    display: inline-flex;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 2em;
}

.footer-titulo.sackers {
    font-size: 1.2em;
    margin-bottom: .3em;
}

.patrocinadores-logos {
    display: inline-flex;
    align-items: center;
}

.patrocinadores-logos img {
    max-width: 10rem;
}

footer.footer li {
    list-style: none;
    border-bottom: 1px solid transparent;
}

footer.footer li:hover {
    border-bottom: 1px solid black;
}

.matrimonio-logo img {
    max-width: 18rem;
}

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

.lituania-logo img {
    max-height: 7rem;
}

#copyright {
    text-align: center;
}

#to-top {
    text-align: right;
    position: relative;
    top: -1rem;
}

#to-top img {
    width: 3rem;
}

footer a {
    text-decoration: none;
    color: black;
}

#bloque-respuesta {
    display: inline-flex;
    justify-content: center;
}

p.mensaje-ok {
    display: block;
    background-color: #e9a8905c;
    margin: 1em;
    border: 1px solid #e9a89096;
    padding: 1em 3em;
}

@media only screen and (max-width: 1199px) {

    .cinco-columnas {
        display: inline-flex;
        justify-content: space-evenly;
        width: 100%;
        margin-bottom: 2em;
        flex-direction: column;
    }

    .cinco-columnas .col {
        padding: 2em 0;
        text-align: center;
    }

}

@media only screen and (max-width: 767px) {


    .fila-flex {
        display: inline-flex;
        flex-direction: column;
        width: 100%;
        justify-items: center;
        justify-content: space-around;
        align-items: center;
    }

    .tercio {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .buscar.tercio {
        padding-left: initial;
        position: relative;
        width: auto;
    }


    img.lupa {
        max-height: 0.9em;
        position: absolute;
        top: 2em;
        right: 1.5em;
    }

    .contacto.tercio {
        margin: 2em;
    }

    .header nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .header nav ul li {
        margin-left: 0;
        padding: .3em;
    }



    section.hero {
        height: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-direction: column;
        background-color: white;
    }

    #hero-container {
        background: #ffffffdb;
        max-width: 95%; /* Un poco más ancho para dar espacio */
        padding: 1.5em 1em; /* Menos padding lateral, más vertical */
        margin-top: 7em;
    }

    .hero h1 {
        color: #333;
        font-weight: normal;
        font-size: 1.8em; /* Reducido de 3em */
        line-height: 1.2;
    }

    .service-categories {
        display: inline-flex;
        justify-content: space-between;
        width: 100%;
        flex-direction: column;
    }


    .dos-columnas {
        display: inline-flex;
        align-items: center;
        padding: 3rem 5%;
        justify-content: space-evenly;
        flex-direction: column;
    }


    .col.col-1 {
        width: 100%;
        padding-right: initial;
    }

    .col.col-2 img {
        width: auto;
        max-height: 14rem;
        max-width: 100%;
    }


    h2.titulo-servicio {
        font-size: 1.6em; /* Reducido de 3rem */
        line-height: 1.1;
        margin-bottom: 1.5rem;
        font-weight: 300;
        letter-spacing: normal;
        text-align: center;
        padding: initial;
    }

    .dos-columnas-servicios {
        display: inline-flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        flex-direction: column;
    }

    .dos-columnas-servicios .col {
        text-align: left;
        width: -webkit-fill-available;
        padding: 0 2rem;
    }

    .dos-columnas-servicios .col {
        text-align: left;
        width: -webkit-fill-available;
        padding: 1rem 2rem;
    }

    .col.col-tabla {
        width: fit-content;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
        display: block;
    }

    .celda-titulo.sackers {
        margin-top: 1em;
        font-size: 1.1rem;
    }

    table.tabla-servicios {
        max-width: min-content;
    }

    .tabla-servicios td {
        padding: .3rem;
    }

    .celda-contenido {
        max-width: initial;
    }

    .tres-columnas {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
    }

    .tres-columnas img {
        max-width: initial;
        padding: 1em;
        width: 75%;
    }


    h2.titulo-contacto {
        font-size: 1.6em; /* Reducido de 3rem */
        line-height: 1.1;
        margin-bottom: 2rem;
        font-weight: 300;
        letter-spacing: normal;
        padding: initial;
    }

    .contact form {
        margin: 20px 2.5rem;
    }

    .contacto-container {
        background: white;
        display: inline-flex;
        flex-direction: column;
        width: initial;
        padding: 1rem;
    }

    .contacto-columnas {
        display: inline-flex;
        column-gap: 3rem;
        flex-direction: column;
    }

   

}

/* Booking Section Styles */
.booking-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

/* Override: make booking form inputs match the global design system
   (bottom-border only, sackers font, no box border) */
#booking-form input,
#booking-form select,
#booking-form .flatpickr-input {
    /* Inherit global: border-bottom only, sackers font */
    border: none;
    border-bottom: 0.5px solid black;
    background-color: transparent;
    font-family: 'sackers';
    font-size: 1.1em;
    padding: 10px;
    padding-right: 36px; /* room for icons */
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
    color: black;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Placeholder style: matches global sackers placeholder */
#booking-form input::placeholder,
#booking-form .flatpickr-input::placeholder {
    font-family: 'sackers';
    color: #505050;
}

/* Labels above date/time pickers: same look as placeholders */
#booking-form .booking-field-label {
    display: block;
    font-family: 'sackers';
    font-size: 1.1em;
    color: #505050;
    text-align: left;
    padding: 10px 0 0 0;
    margin-top: 20px;
    border-bottom: 0.5px solid black;
    padding-bottom: 10px;
    cursor: pointer;
}

/* The select keeps its custom dropdown arrow */
#booking-form select {
    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%23000000%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 1rem center;
    background-size: .65em auto;
    padding-right: 2.5rem;
    background-color: transparent;
}

/* Focus state matches global */
#booking-form input:focus,
#booking-form select:focus,
#booking-form .flatpickr-input:focus {
    outline: none;
    background: #e9a89036;
}

/* Date input wrapper: icon sits inside the bottom-border line */
.booking-date-wrapper {
    position: relative;
}

.booking-date-wrapper .flatpickr-input,
.booking-date-wrapper input {
    width: 100%;
}

.booking-date-icon {
    position: absolute;
    right: 2px;
    bottom: 12px; /* aligns with the bottom border area */
    color: #888;
    pointer-events: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.booking-date-wrapper:focus-within .booking-date-icon {
    color: #c8a882;
}

/* Hide native date picker chrome */
.booking-date-wrapper .flatpickr-input::-webkit-calendar-picker-indicator {
    display: none;
}

#booking-message {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

.success-message { color: green; }
.error-message   { color: red; }

/* GEO Comparison Table Styling */
.seccion-comparativa {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 20px;
    text-align: center;
}

.titulo-comparativa {
    font-size: 2.2em;
    font-weight: 300;
    color: #8B4513;
    margin-bottom: 2rem;
}

.tabla-comparativa-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e1aa8c;
    background: white;
    margin-bottom: 2rem;
}

table.tabla-comparativa {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.tabla-comparativa th {
    background-color: #fff3e9;
    color: #8B4513;
    font-family: 'sackers';
    font-weight: normal;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    padding: 1.2rem 1rem;
    border-bottom: 2px solid #e1aa8c;
}

.tabla-comparativa td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #f2c28c;
    color: #333;
    line-height: 1.5;
    font-family: 'OpenSans-Regular', sans-serif;
}

.tabla-comparativa tr:last-child td {
    border-bottom: none;
}

.tabla-comparativa .col-highlight {
    background-color: #fffaf6;
    font-weight: 600;
}

.tabla-comparativa th.col-highlight {
    background-color: #fcece0;
}

@media only screen and (max-width: 767px) {
    table.tabla-comparativa {
        min-width: 750px;
    }
    .tabla-comparativa th, .tabla-comparativa td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    .titulo-comparativa {
        font-size: 1.6em;
    }
}

/* Visibility Helpers */
.desktop-only {
    display: block;
}
.mobile-only {
    display: none;
}

@media only screen and (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}

/* Mobile Tarjetas Styling */
.comparativa-tarjetas-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
    padding: 0 10px;
}

.tarjeta-comparativa {
    background-color: white;
    border: 1px solid #f2c28c;
    border-radius: 4px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-comparativa:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tarjeta-comparativa.destaque {
    border: 2px solid #e1aa8c;
    background-color: #fffaf6;
    box-shadow: 0 4px 15px rgba(225, 170, 140, 0.15);
    margin-top: 10px; /* space for the absolute tag */
}

.tarjeta-tag {
    position: absolute;
    top: -12px;
    left: 1.5rem;
    background-color: #e1aa8c;
    color: white;
    font-family: 'sackers', sans-serif;
    font-size: 0.7em;
    text-transform: uppercase;
    padding: 4px 12px;
    letter-spacing: 0.05em;
    border-radius: 20px;
    font-weight: bold;
}

.tarjeta-titulo {
    font-size: 1.25rem;
    color: #8B4513;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.tarjeta-titulo span {
    font-family: 'OpenSans-Regular', sans-serif;
    font-size: 0.9rem;
    color: #666;
    display: inline-block;
    margin-top: 2px;
}

.tarjeta-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tarjeta-lista li {
    border-bottom: 1px solid #f9f6f2;
    padding-bottom: 0.75rem;
}

.tarjeta-lista li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tarjeta-lista strong {
    display: block;
    font-size: 0.85rem;
    color: #8B4513;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.tarjeta-lista p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Ajustes de adaptabilidad móvil para el topbar y la cabecera */
@media only screen and (max-width: 767px) {
    #topbar {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 8px 15px !important;
        min-height: 40px !important;
    }
    
    #topbar .columna {
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
    }
    
    #topbar .columna.centro {
        display: none !important;
    }
    
    #topbar .columna.redes {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    /* Ocultar enlaces de Instagram, Facebook y sus separadores en el topbar de móviles */
    #topbar .columna.redes .social-link,
    #topbar .columna.redes .social-sep {
        display: none !important;
    }

    /* Ocultar texto del email y dejar solo el icono en móviles */
    #topbar .email-text {
        display: none !important;
    }

    /* Ocultar texto "WhatsApp" y dejar solo el icono en móviles */
    #topbar .whatsapp-topbar span {
        display: none !important;
    }

    /* Ajustar tamaño de iconos y quitar márgenes innecesarios */
    #topbar .email-protected img {
        width: 18px !important;
        height: 18px !important;
    }
    #topbar .whatsapp-topbar svg {
        width: 18px !important;
        height: 18px !important;
        margin-right: 0 !important;
    }

    /* Área táctil cómoda (Tap Target) para móvil */
    #topbar .email-protected,
    #topbar .whatsapp-topbar {
        padding: 6px 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 36px;
        min-height: 36px;
    }

    /* Reducir margen derecho del selector de idioma */
    .lang-selector {
        margin-right: 5px !important;
    }
}

/* Language Switcher Styling */
.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'OpenSans-Regular', sans-serif;
    font-size: 0.85em;
    color: inherit;
    margin-right: 15px;
}
.lang-link {
    color: inherit;
    text-decoration: none;
    padding: 2px 4px;
    transition: all 0.3s ease;
    opacity: 0.6;
}
.lang-link:hover {
    opacity: 1;
    color: #e1aa8c !important;
}
.lang-link.active {
    opacity: 1;
    border-bottom: 2px solid #e1aa8c;
    font-family: 'OpenSans-Bold', sans-serif;
}

@media only screen and (max-width: 767px) {
    .lang-selector {
        margin-right: 5px !important;
        font-size: 0.8em !important;
    }
}

/* Hide Google Translate top banner and widgets */
.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}
body {
    top: 0 !important;
}