/* ==============================
   VARIABLES DE COLOR
============================== */

:root {
    --color-background: #f6f2ec;
    --color-beige: #e8dfd6;

    --color-primary: #6f755f;
    --color-primary-dark: #3e4433;

    --color-accent: #c8a96a;
    --color-accent-dark: #9e8b64;

    --color-text: #3b3b3b;
    --color-text-light: #6b6b6b;
}

/* ==============================
   RESET BASICO
============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==============================
   BODY
============================== */

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;

    color: var(--color-text);
    background-color: var(--color-background);
}
@media (max-width:768px){

section div{
padding: 0 10px
    }}


/* ==============================
   TIPOGRAFIA TITULOS
============================== */

h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    color: var(--color-primary-dark);

    margin-bottom: 20px;
}

/* ==============================
   JERARQUIA TITULOS
============================== */

h1 {
    font-size: 56px;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
    line-height: 1.3;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

/* ==============================
   TEXTO NORMAL
============================== */

p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

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

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

/* ==============================
   IMAGENES
============================== */

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

/* ==============================
   SECCIONES
============================== */

.section {
    padding: 100px 0;
}

/* ==============================
   UTILIDADES BASICAS
============================== */

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

.text-primary {
    color: var(--color-primary);
}

.text-dark {
    color: var(--color-primary-dark);
}

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

.bg-dark {
    background: var(--color-primary-dark);
    color: white;
} /* ==============================
BOTONES BASE
============================== */

.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;

    border-radius: 60px;
    border: none;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;
    text-decoration: none;
}

/* flecha */

.btn-custom img {
    width: 22px;
    transition: transform 0.3s ease;
}

/* hover general */

/* animación flecha */

.btn-custom:hover img {
    filter: brightness(0) invert(1);
    transform: translateX(6px);
}

/* ==============================
BOTON PRINCIPAL
============================== */

.btn-primary-custom {
    background: var(--color-primary);
    color: white;
}
.btn-primary-custom img {
    filter: brightness(0) invert(1);
}

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

/* ==============================
BOTON OUTLINE
============================== */

.btn-outline-custom {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--color-accent-dark);
    color: white;
}

/* =============================
   NAVBAR
============================= */

.navbar-custom {
    background: transparent;
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* links */

.navbar-custom .nav-link {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: var(--color-primary-dark);
    margin-left: 25px;
    position: relative;
}

/* animación subrayado */

.navbar-custom .nav-link::after {
    content: "";
    position: absolute;

    width: 0%;
    height: 2px;

    background: var(--color-accent);

    left: 0;
    bottom: -6px;

    transition: 0.3s;
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}
.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    display: block;
}
.navbar-brand img {
    height: 60px;
    transition: all 0.3s ease;
}

/* cuando scrollea */

.navbar-scroll .navbar-brand img {
    filter: brightness(0) invert(1);
}
/* =============================
NAVBAR MOBILE FIX
============================= */

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        background: white;

        padding: 25px;

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

        border-radius: 0 0 10px 10px;
    }

    .navbar-nav {
        gap: 15px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 18px;
    }
}
/* =============================
   NAVBAR SCROLL
============================= */

.navbar-scroll {
    background: var(--color-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* color links cuando scrollea */

.navbar-scroll .nav-link {
    color: white;
}

.navbar-scroll .nav-link::after {
    background: white;
}

/* =============================
HERO FULL SCREEN
============================= */

.hero {
    min-height: calc(100vh);
    display: flex;
    align-items: center;

    padding-top: 120px;
    padding-bottom: 60px;
}

/* estructura */

.hero .row {
    width: 100%;
    align-items: center;
}

/* =============================
TEXTO HERO
============================= */

.hero-text h1 {
    font-size: 58px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 480px;
    margin-bottom: 35px;
}

/* botones */

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* frase */

.hero-frase {
    font-size: 15px;
    color: var(--color-primary);
    font-style: italic;
}

/* =============================
IMAGEN HERO
============================= */

.hero-image {
    text-align: right;
}

.hero-image img {
    max-width: 820px;
    width: 100%;
}

/* =============================
RESPONSIVE
============================= */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

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

    .hero-text h1 {
        font-size: 36px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* imagen */

    .hero-image {
        text-align: center;
        margin-top: 0px;
    }

    .hero-image img {
        max-width: 100%;
    }
    .hero-text p {
        display: none;
    }
}
/* ==============================
SECCION FRASE EMOCIONAL
============================== */
.section-emotional {
    padding: 60px 0;
    background: var(--color-accent-dark);
}

.emotional-text {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.4;
    color: white;
    max-width: 800px;
    margin: auto;
}

.emotional-text span {
    font-style: italic;
    opacity: 0.9;
}
/* ==============================
SECCION PASOS
============================== */

.section-steps {
    padding: 60px 0;
    background-color: var(--color-background);
}

.step-card {
    position: relative;

    padding: 20px 40px;
    border-radius: 30px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    overflow: hidden;

    transition: all 0.3s ease;
}

/* borde degradado */

.step-card::before {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: 30px;
    padding: 1px;

    /* degradado */

    background: linear-gradient(180deg, rgba(158, 139, 100, 0.8), rgba(158, 139, 100, 0.2), rgba(158, 139, 100, 0));

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}
/* hover sutil */

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* número */

.step-number {
    font-family: "Playfair Display", serif;
    font-size: 60px;

    color: var(--color-primary-dark);

    margin-bottom: 20px;
}

/* texto */

.step-card p {
}
/* ==============================
FUNCIONALIDADES
============================== */

.section-features {
    padding: 60px 0;
    background: var(--color-primary);
    color: white;
}

.section-features h2 {
    color: white;
}

.features-grid {
    align-items: flex-start;
}

/* item */

.feature-item {
    padding: 20px;
    text-align: center;
}

/* iconos */

.feature-item img {
    height: 42px;
    margin: 0 auto 15px auto;
    display: block;

    /* vuelve el svg blanco */

    filter: brightness(0) invert(1);
}

/* titulo */

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}

/* texto */

.feature-item p {
    font-size: 15px;
    color: white;
    opacity: 0.85;
    max-width: 230px;
    margin: 0 auto;
}
/* ==============================
modelos
============================== */

.event-card {
    position: sticky;
    top: 120px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 40px;

    border-radius: 30px;

    background: var(--color-background);

    margin-bottom: 40px;

    overflow: hidden;

    transition: 0.3s;
}

/* borde degradado */

.event-card::before {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: 30px;
    padding: 1px;

    background: linear-gradient(180deg, rgba(158, 139, 100, 0.8), rgba(158, 139, 100, 0.2), rgba(158, 139, 100, 0));

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

/* contenedor imagen */

.event-images {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 420px;
}

/* imagen principal */

.img-main {
    width: 520px;
    height: 260px;

    object-fit: cover;

    border-radius: 224px;

    border: 1px solid rgba(158, 139, 100, 0.25);

    transition: 0.4s;
}
.event-images img {
    padding: 15px
}
.img-main{
mask-image: linear-gradient(to bottom, black 60%, transparent);
}
/* hover elegante */

.event-card:hover .img-main {
    transform: scale(1.03);
}
.section-header h2 {
    font-size: 42px;
    margin-bottom: 10px;
}
/* ==============================
EVENT CARD MOBILE
============================== */

@media (max-width:768px){

.event-card{
flex-direction:column;
padding:25px;
gap:20px;
}

/* imagen arriba */

.event-images{
order:-1;
width:100%;
    min-width: auto
}

/* imagen horizontal */

.img-main{
width:100%;
height:130px;

object-fit:cover;

border-radius:18px;
}
.event-images img {
    padding: 0
}
/* ocultamos segunda imagen */

.img-small{
display:none;
}

/* botón ancho */

.event-content .btn-custom{
margin-top:20px;
width:100%;
justify-content:center;
}

}
/* ==============================
SAVE THE DATE
============================== */

.section-save-date {
    padding: 60px 0;
    background: white;
}

.save-date-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;  border-radius:12px;
}

/* Mobile */

@media (max-width: 768px) {
    .save-date-img {
        height: 100px;
    }
}
/* ==============================
FAQ
============================== */

.section-faq {
    padding: 60px 0;
}

/* titulo */

.faq-title {
    margin-bottom: 30px;
}

/* item */

.faq-item {
    margin-bottom: 18px;
    position: relative;
}

/* pregunta */

.faq-question {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 6px 20px;

    border-radius: 20px;

    border: 1px solid rgba(158, 139, 100, 0.35);

    background: white;

    font-family: "Playfair Display", serif;
    font-size: 18px;

    cursor: pointer;

    transition: all 0.3s ease;
}

/* hover */

.faq-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* icono */

.faq-icon {
    font-size: 22px;
    transition: 0.3s;
}

/* respuesta */

.faq-answer {
    max-height: 0;
    overflow: hidden;

    transition: max-height 0.35s ease;

    padding: 0 10px;
}

.faq-answer p {
    margin: 20px;
    color: var(--color-text);
}

/* estado activo */

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question {
    background: #faf9f6;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/*  cierre */
.section-cta {
    padding: 80px 0;
    background: var(--color-primary);
    color: white;
    background-color: var(--color-accent-dark);
}

.section-cta h2 {
    margin-bottom: 15px;
    color: white;
}

.section-cta p {
    max-width: 500px;
    margin: 0 auto 30px auto;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
} 

.faq-img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    object-position: center;  border-radius:12px;
}

@media (max-width: 768px) {
    .faq-img {
        height: 200px;
        margin-bottom: 15px
    }
}
/* /* ==============================
FOOTER
============================== */

.footer {
    padding: 40px 0;
    background: #1f1f1f;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* izquierda */

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 75px;
    filter: brightness(0) invert(1);
}

.footer-text {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
    color: white;
}

/* redes */

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social img {
    height: 22px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.footer-social a:hover img {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* mobile */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
    }
}
