* {
    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;
}

#booking-form input, #booking-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background-color: transparent;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
}

#booking-form select {
    background-color: white;
    padding-right: 2.5rem;
}

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

.success-message {
    color: green;
}

.error-message {
    color: red;
}