/* Variables de color - Paleta Sobria y Elegante "Forest & Stone" */
:root {
    --primary-dark: #141f14;
    /* Más oscuro y profundo */
    --primary-light: #f9faf9;
    /* Blanco roto muy sutil */
    --accent-color: #5d7a64;
    /* Verde desaturado, más elegante */
    --accent-light: #a3b8a8;
    /* Versión clara y suave */
    --accent-dark: #2c3e30;
    --accent-gradient: linear-gradient(135deg, #141f14 0%, #2c3e30 100%);
    /* Gradiente más sutil y oscuro */
    --surface-color: #ffffff;
    --surface-alt: #f2f4f2;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --text-white: #ffffff;
    --border-color: #e0e5e0;
    --shadow-subtle: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    /* Sombra muy suave y difusa */
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Transición muy suave "lujo" */
    --transition-fast: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--primary-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}


.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    /* Más margen lateral en pantallas grandes */
}

/* Header minimalista y sofisticado */
.header-rundo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background-color: rgba(255, 255, 255, 0.85);
    /* Un poco más transparente */
    backdrop-filter: blur(12px);
    /* Más blur */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-slow);
}

.header-rundo.scrolled {
    padding: 20px 0;
    box-shadow: var(--shadow-subtle);
}

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

.logo-rundo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition-smooth);
}

.logo-image {
    max-height: 80px;
    /* Increased size */
    width: auto;
    object-fit: contain;
}

.logo-rundo:hover {
    opacity: 0.8;
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* Navegación minimalista */
.nav-rundo ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-rundo a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.nav-rundo a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-rundo a:hover {
    color: var(--accent-color);
}

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

.nav-cta {
    background-color: var(--primary-dark);
    color: var(--text-white) !important;
    padding: 12px 28px !important;
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-cta:hover {
    background-color: var(--accent-color);
    color: var(--text-white) !important;
}

.nav-cta::after {
    display: none;
}

/* Hero section estilo Runda */
.hero-rundo {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 46, 26, 0.92) 0%, rgba(45, 90, 61, 0.85) 50%, rgba(74, 124, 89, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--text-white);
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--accent-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: block;
}

.hero-title {
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--text-white);
}

.hero-title span {
    color: var(--accent-light);
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 50px;
    max-width: 550px;
    line-height: 1.8;
    letter-spacing: 0.2px;
}

.hero-divider {
    width: 80px;
    height: 1px;
    background-color: var(--accent-light);
    margin: 60px 0;
    opacity: 0.5;
}

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

#ctaHero {
    color: var(--text-white);
    border-color: var(--text-white);
}

#ctaHero:hover {
    background-color: var(--text-white);
    color: var(--primary-dark);
}

.trust-elements {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.trust-item i {
    color: var(--accent-light);
    font-size: 18px;
}

/* Elementos decorativos del hero - hojas */
.hero-leaf-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.leaf-icon {
    position: absolute;
    opacity: 0.15;
}

.leaf-icon.leaf-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    animation: floatLeaf1 8s ease-in-out infinite;
}

.leaf-icon.leaf-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 15%;
    animation: floatLeaf2 10s ease-in-out infinite;
}

@keyframes floatLeaf1 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes floatLeaf2 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(15px) rotate(-8deg);
    }
}

/* Overlay para imágenes de servicios */
.service-image {
    position: relative;
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 46, 26, 0.4) 100%);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card-rundo:hover .service-image-overlay {
    opacity: 1;
}

/* Servicios estilo Runda */
.services-rundo {
    padding: 120px 0;
    background-color: var(--primary-light);
}

.section-header {
    margin-bottom: 80px;
    max-width: 800px;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-size: 48px;
    font-weight: 500;
    color: var(--primary-dark);
    max-width: 600px;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 600px;
}

.services-grid-rundo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.service-card-rundo {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card-rundo:hover {
    border-top-color: var(--accent-color);
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card-rundo:hover .service-image img {
    transform: scale(1.05);
}

.service-number {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.service-title-rundo {
    font-size: 28px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.service-description-rundo {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin: 30px 0;
}

.service-features li {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-light);
    border-radius: 50%;
}

.service-cta {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    transition: var(--transition-smooth);
}

.service-cta:hover {
    color: var(--primary-dark);
}

/* Sección "Un espacio para..." */
.space-section {
    padding: 120px 0;
    background-color: var(--primary-light);
    position: relative;
}

.space-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.space-title {
    font-size: 56px;
    font-weight: 500;
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: 40px;
}

.space-title span {
    color: var(--accent-color);
    display: block;
    font-style: italic;
}

.space-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.space-list {
    list-style: none;
    margin-bottom: 50px;
}

.space-list li {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.space-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.space-image-container {
    position: relative;
}

.space-image {
    position: relative;
    overflow: hidden;
}

.space-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.95) 0%, rgba(74, 124, 89, 0.9) 100%);
    color: var(--text-white);
    padding: 12px 24px;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.image-caption i {
    color: var(--accent-light);
    font-size: 16px;
}

/* Galería mejorada */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--green-soft) 100%);
    position: relative;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.gallery-eyebrow i {
    margin-right: 8px;
}

.gallery-title {
    font-size: 42px;
    font-weight: 500;
    color: var(--primary-dark);
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(26, 46, 26, 0.9));
    color: var(--text-white);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-overlay span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

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

/* CTA elegante */
.cta-rundo {
    padding: 120px 0;
    background-color: var(--primary-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-rundo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.cta-title {
    font-size: 56px;
    font-weight: 500;
    color: var(--primary-dark);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Botón de WhatsApp Flotante */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: var(--transition-fast);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn i {
    color: white;
}

/* Formulario overlay */
.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.form-container {
    background-color: var(--primary-light);
    padding: 50px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: formSlideIn 0.3s ease;
}

@keyframes formSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-form {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition-smooth);
}

.close-form:hover {
    color: var(--accent-color);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}

.form-group input[type="checkbox"] {
    width: auto;
}

/* Botones estilo Runda */
.btn-rundo {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 40px;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    background-color: transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-rundo:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-rundo-accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-rundo-accent:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.btn-rundo i {
    margin-right: 10px;
}

/* Footer minimalista */
.footer-rundo {
    padding: 80px 0 40px;
    background-color: var(--primary-light);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.footer-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 30px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
    border-color: var(--accent-color);
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    font-size: 15px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 3px;
    min-width: 16px;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 56px;
    }

    .space-container {
        gap: 60px;
    }

    .space-title {
        font-size: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

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

    .services-grid-rundo {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-rundo {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--primary-light);
        padding: 100px 40px 40px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: var(--shadow-subtle);
    }

    .nav-rundo.active {
        right: 0;
    }

    .nav-rundo ul {
        flex-direction: column;
        gap: 30px;
    }

    .nav-rundo a {
        font-size: 16px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 40px;
    }

    .space-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .space-image img {
        height: 400px;
    }

    .cta-title {
        font-size: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-rundo {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .services-grid-rundo {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-elements {
        flex-direction: column;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .form-container {
        padding: 30px 20px;
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}