@charset "UTF-8";

:root {
    /* Colors - Option 1: Mediterráneo Cálido */
    --color-bg: #FAF7F2;
    /* Pearl White Main BG */
    --color-bg-soft: #F0EDE7;
    /* Sand Mist BG for sections */
    --color-bg-surface: #2D3436;
    /* Charcoal (high contrast) */

    --color-text: #2D3436;
    /* Deep Charcoal */
    --color-text-muted: #8E8474;
    /* Warm Taupe */
    --color-text-light: #FAF7F2;
    /* Pearl */

    --color-primary: #BC6629;
    /* Terracotta */
    --color-accent: #BC6629;
    /* Terracotta */
    --color-secondary: #DDA366;
    /* Warm Sand */
    --color-accent-warm: #BC6629;
    /* Terracotta */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout */
    --section-padding: 100px 0;
    --container-max: 1200px;
    --radius: 12px;
    --transition: all 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/*--------------------------------------------------------------
# Typography & Utilities
--------------------------------------------------------------*/
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-padding);
}

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

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

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

.bg-surface {
    background: linear-gradient(45deg, #F9F7F4 40%, #FFFFFF 50%, #F9F7F4 60%);
}

/* Unified Headers */
.section-header,
.why-header,
.services-showcase-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle,
.why-subtitle,
.services-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-subtitle::before,
.why-subtitle::before,
.services-subtitle::before {
    content: '';
    width: 30px;
    height: 1px;
    background-color: var(--color-accent);
}

.section-title,
.why-title,
.services-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.section-description,
.services-showcase-header p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0.5rem auto 4rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.accent {
    color: var(--color-accent);
    font-style: italic;
}

.lead {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 2rem;
}

.rounded-img {
    border-radius: var(--radius);
}

.shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Header removed */


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF7F2 30%, #F3E5D5 75%, #EAD6BF 100%);
}

.hero-split {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-video-side {
    flex: 1.2;
    height: 100vh;
    position: relative;
    padding: 2rem;
    /* Reduced padding for 'fuller' size */
}

.hero-video-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 13px rgba(0, 0, 0, 0.8);
    position: relative;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content-side {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10% 8% 10% 10%;
    color: var(--color-text);
    position: relative;
}

.hero-content-inner {
    max-width: 500px;
}

.hero-logo-alt {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
    line-height: 1;
}

.logo-main {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -2px;
    display: flex;
    align-items: flex-start;
}

.logo-main .dot {
    color: var(--color-accent-warm);
    font-size: 3rem;
    margin-top: -0.5rem;
}

.logo-sub {
    font-size: 1rem;
    letter-spacing: 0.6em;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 0.2rem;
    text-transform: uppercase;
}

.hero-title {
    color: var(--color-text);
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--color-text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

.btn-outline-white:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
    transform: translateY(-2px);
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
}

.scroll-indicator span {
    display: block;
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-text-muted);
    border-radius: 2px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Services showcase inside About (Now unified in headers section) */
.services-showcase {
    margin-top: 6rem;
    padding-top: 5rem;
    border-top: 1px solid rgba(26, 34, 20, 0.08);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.service-icon {
    width: 42px;
    height: 42px;
    color: var(--color-primary);
}

.service-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.service-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.about-image img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

/*--------------------------------------------------------------
# Puestos Section
--------------------------------------------------------------*/
.puestos-section {
    position: relative;
}

.puesto-card {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 8rem;
    background: linear-gradient(45deg, #F9F7F4 40%, #FFFFFF 50%, #F9F7F4 60%);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(26, 34, 20, 0.05);
}

.puesto-card:last-child {
    margin-bottom: 0;
}

.puesto-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    width: 100%;
    align-items: stretch;
    /* Stretch to fill height */
}

.puesto-card.reverse .puesto-top .puesto-media {
    order: 2;
}

.puesto-card.reverse .puesto-top .puesto-content {
    order: 1;
}

/* Video Overlays and Controls */
.video-wrapper {
    position: relative;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 5;
    backdrop-filter: blur(0px);
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 4;
    opacity: 1;
    /* Visible by default */
    visibility: visible;
    transition: all 0.4s ease;
}

.is-playing .featured-image {
    opacity: 0;
    visibility: hidden;
}

.video-overlay.visible {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
}

.is-playing .video-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-btn {
    width: 90px;
    height: 90px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(188, 102, 41, 0.4);
    animation: pulse-border 2s infinite;
}

.play-btn:hover {
    transform: scale(1.15);
    background: var(--color-secondary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.play-btn svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
    margin-left: 4px;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(188, 102, 41, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(188, 102, 41, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(188, 102, 41, 0);
    }
}

.puesto-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 13px rgba(0, 0, 0, 0.8);
    height: 100%;
}

.puesto-video,
.puesto-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.puesto-content {
    color: var(--color-text);
    /* Dark text on light background */
}

.puesto-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.puesto-subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.puesto-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.puesto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
    list-style: none;
}

.puesto-tags li {
    background-color: var(--color-bg-soft);
    color: var(--color-text-muted);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.puesto-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(26, 34, 20, 0.08);
    /* Dark line on light */
    padding-top: 2rem;
}

.gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    position: relative;
}

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

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

.gallery-item::after {
    content: '+';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(188, 102, 41, 0.4);
    /* terracotta accent with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.puesto-actions {
    margin-top: 1rem;
}

.instagram-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instagram-link:hover {
    color: var(--color-primary);
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3.5rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.reason-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--color-primary-dark);
}

.reason-icon svg {
    width: 100%;
    height: 100%;
}

.reason-content h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--color-text);
    font-weight: 500;
}

.reason-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-weight: 300;
}

@media (max-width: 992px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .why-header {
        margin-bottom: 3rem;
    }
}

/*--------------------------------------------------------------
# Contact & Footer
--------------------------------------------------------------*/
.footer {
    position: relative;
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 100px 0 50px;
    overflow: hidden;
    text-align: center;
}

/* Glassmorphism decorative element behind footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(250, 247, 242, 0) 0%, var(--color-bg-soft) 100%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-heading);
}

.footer-contact {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-phone {
    display: inline-block;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--color-accent-warm);
    transform: translateY(-2px);
}

.footer-email {
    display: block;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 4rem;
    transition: var(--transition);
    font-weight: 400;
}

.footer-email:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--color-text);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid rgba(26, 34, 20, 0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(26, 34, 20, 0.05);
    padding-top: 2rem;
}

/*--------------------------------------------------------------
# Animations (AOS replacement)
--------------------------------------------------------------*/
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 992px) {

    .about-grid,
    .puesto-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .puesto-card {
        padding: 2.5rem;
    }

    .puesto-card.reverse .puesto-top .puesto-media {
        order: -1;
    }

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

@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        min-height: unset !important;
        overflow: visible;
    }

    .hero-split {
        flex-direction: column;
        height: auto !important;
        display: flex;
    }

    .hero-video-side {
        flex: none;
        width: 100%;
        height: auto !important;
        aspect-ratio: 1 / 2;
        max-height: 85vh;
        padding: 1.5rem;
        position: relative;
    }

    .hero-content-side {
        flex: none;
        width: 100%;
        height: auto !important;
        padding: 1rem 1rem 3rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-logo-alt {
        align-items: center;
    }

    .logo-main {
        font-size: 3.5rem;
        justify-content: center;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
        /* Removed as it blocks content in tall mobile layout */
    }

    .section-padding {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Navigation toggles removed */

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

    .puesto-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .puesto-card {
        padding: 1.5rem;
        margin-bottom: 5rem;
        gap: 2rem;
    }

    .puesto-top {
        gap: 2rem;
    }

    .puesto-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .puesto-subtitle {
        text-align: center;
        display: block;
        margin-bottom: 1rem;
    }

    .puesto-description {
        text-align: center;
        margin-bottom: 2rem;
    }

    .puesto-media {
        aspect-ratio: 1 / 2;
        width: 100%;
        height: auto;
        max-height: 70vh;
    }

    .footer-phone {
        font-size: 2rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
}