*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-primary: #d5344a;
    --color-primary-soft: #ffe7eb;
    --color-accent: #a2c66c;
    --color-soft: #f6f2ee;
    --color-bg: #ffffff;
    --color-text: #3b302e;
    --color-muted: #8a7b76;
    --shadow-soft: 0 18px 40px rgba(0,0,0,0.08);
    --radius-lg: 20px;
    --radius-pill: 999px;
    --transition-fast: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 0.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.brand-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.main-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.main-nav a {
    position: relative;
    padding-bottom: 0.15rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: var(--radius-pill);
    padding: 0.7rem 1.4rem;
    border: none;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(213,52,74,0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(213,52,74,0.45);
    background: #c02a3e;
}

.btn-ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.24);
}

.btn-outline {
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-primary);
    padding: 0.55rem 1.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
    color: var(--color-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--color-primary-soft);
}

.btn-light {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 12px 22px rgba(0,0,0,0.12);
}

.btn-full {
    width: 100%;
}

/* Hero */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding-top: 70px;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.03);
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.3) 0, transparent 40%),
                linear-gradient(120deg, rgba(213,52,74,0.8), rgba(29,27,26,0.9));
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4.5rem 1.5rem 3.5rem;
    max-width: 720px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.05rem;
    max-width: 36rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 0.9rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.hero-badge img {
    width: 160px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.72rem;
    color: var(--color-muted);
    margin-bottom: 0.8rem;
}

.eyebrow.light {
    color: #ffe4ea;
}

/* Sections */

.section {
    padding: 4.5rem 0;
}

.section-soft {
    background: var(--color-soft);
}

.section-accent {
    background: linear-gradient(120deg, var(--color-primary), #f47a7d);
    color: #fff;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 1rem;
}

.section p {
    margin: 0 0 0.75rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.8rem;
    align-items: center;
}

.image-stack {
    position: relative;
}

.image-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.image-secondary {
    position: absolute;
    right: 6%;
    bottom: -16%;
    width: 50%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 6px solid #fff;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.pill {
    border-radius: var(--radius-pill);
    background: #fff;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    color: var(--color-muted);
    border: 1px solid rgba(0,0,0,0.04);
}

/* Servicios */

.service-layout p {
    max-width: 32rem;
}

.highlight-box {
    margin-top: 1.8rem;
    padding: 1.4rem 1.5rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
}

.highlight-box h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-muted);
}

.highlight-title {
    font-weight: 600;
}

.highlight-result {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 0.6rem;
}

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

.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

/* Diferencia */

.quote {
    margin-top: 1rem;
    font-style: italic;
    color: var(--color-primary);
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.checklist li {
    position: relative;
    padding-left: 1.45rem;
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
}

.checklist li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-size: 0.6rem;
    color: var(--color-primary);
}

/* CTA inline */

.cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
}

/* Testimonios */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.6rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.3rem 1.4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
}

.testimonial-text {
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* Logos row */

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.9rem;
}

.logo-card {
    background: #fff;
    border-radius: 16px;
    padding: 0.7rem 1.2rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.logo-card img {
    max-height: 90px;
}

.bodas-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Galería */

.gallery-grid {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    border-radius: 16px;
    cursor: pointer;
    object-fit: cover;
    height: 220px;
    width: 100%;
    box-shadow: 0 14px 28px rgba(0,0,0,0.1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* Video */

.section-video .video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
}

/* Social */

.social-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    background: var(--color-primary-soft);
}

/* Contacto */

.section-contact {
    background: radial-gradient(circle at top left, #ffe7eb, #f6f2ee);
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0.8rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.contact-details i {
    color: var(--color-primary);
}

.contact-form {
    background: #fff;
    border-radius: 20px;
    padding: 1.6rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
}

.form-row {
    margin-bottom: 0.8rem;
}

.form-row label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--color-muted);
}

.form-row input,
.form-row textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 0.55rem 0.7rem;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(213,52,74,0.2);
}

.form-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 1.4rem 0;
    background: #fff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.86rem;
    color: var(--color-muted);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand img {
    width: 30px;
    height: 30px;
    border-radius: 999px;
}

/* WhatsApp float */

.whatsapp-float {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    z-index: 50;
    font-size: 1.6rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 52px rgba(0,0,0,0.45);
    background: #1ebe5c;
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Utilities */

@media (max-width: 960px) {
    .main-nav {
        display: none;
    }

    .hero {
        min-height: 80vh;
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .image-secondary {
        position: relative;
        right: auto;
        bottom: auto;
        width: 65%;
        margin: -2.2rem 0 0 auto;
    }

    .cta-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-section {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 640px) {
    .hero-content {
        padding-top: 4rem;
    }

    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form {
        padding: 1.2rem 1.1rem;
    }
}
