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

:root {
    --color-primary: #c99a7b;
    --color-primary-dark: #8b6247;
    --color-secondary: #f6eee9;
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-muted: #777777;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --radius-large: 1.5rem;
}

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

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

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

/* Header */

.main-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.brand-name {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 1rem;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--color-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-text);
}

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

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background-color: #444;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background-color: #fff;
    color: var(--color-primary-dark);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background-color: #fff;
    color: var(--color-text);
}

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

.header-call {
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Hero */

.hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0.55));
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    padding: 4.5rem 0 3.5rem;
}

.hero-text {
    max-width: 560px;
    color: #fff;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    margin-bottom: 0.75rem;
}

.hero p {
    font-size: 0.98rem;
    max-width: 480px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.3rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-actions .btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: baseline;
    font-size: 0.9rem;
}

.hero-phone-label {
    opacity: 0.9;
}

.hero-phone {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.hero-phone:hover {
    text-decoration: underline;
}

/* Sections */

.section {
    padding: 4rem 0;
}

.section h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    max-width: 560px;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.about {
    background-color: var(--color-secondary);
}

.about-highlight img.shadow-card {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.icon-list {
    list-style: none;
    margin-top: 1.2rem;
}

.icon-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.icon-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
}

/* Services */

.services {
    background-color: #fff;
}

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

.service-card {
    background-color: #fff;
    border-radius: 1.3rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.service-content {
    padding: 1.2rem 1.35rem 1.4rem;
}

.service-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 0.7rem;
}

.service-content ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--color-text);
}

.service-content li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.25rem;
}

.service-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -0.05rem;
    color: var(--color-primary-dark);
}

/* Gallery */

.gallery {
    background-color: var(--color-secondary);
}

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

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: "Ver más";
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.gallery-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Video */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1.2rem;
    box-shadow: var(--shadow-soft);
}

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

/* Social */

.social {
    background-color: #fff;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background-color: var(--color-secondary);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9rem;
}

.social-card:hover {
    background-color: #f0e3d8;
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.social-icon.fb {
    background: #1877f2;
}

.social-icon.ig {
    background: radial-gradient(circle at 30% 30%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.fb-embed-wrapper iframe {
    width: 100%;
    max-width: 380px;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    background-color: #fff;
}

/* Contact */

.contact {
    background-color: var(--color-secondary);
}

.contact-form {
    background-color: #fff;
    padding: 1.4rem 1.5rem;
    border-radius: 1.3rem;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(201, 154, 123, 0.2);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background-color: #fff;
    border-radius: 1.1rem;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.info-card a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.map-wrapper {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 230px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */

.main-footer {
    background-color: #111111;
    color: #f5f5f5;
    padding: 1.2rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
}

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

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
}

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

.footer-subtitle {
    color: #bbbbbb;
    font-size: 0.75rem;
}

.footer-text a {
    color: #f5f5f5;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* WhatsApp float */

.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    z-index: 30;
}

.whatsapp-float span {
    font-size: 1.5rem;
    color: #fff;
}

.whatsapp-float:hover {
    transform: translateY(-1px);
}

/* Lightbox modal */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
    padding: 1.5rem;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
}

/* Responsive */

@media (max-width: 900px) {
    .section-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

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

    .header-content {
        align-items: center;
    }

    .nav-links {
        position: absolute;
        inset: 100% 0 auto 0;
        background-color: #ffffff;
        padding: 0.75rem 1.5rem 1rem;
        flex-direction: column;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .nav-links.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-call {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding-top: 3.2rem;
    }

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

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