@import url('/fonts/montserrat/montserrat.css');

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

:root {
    --bg-cream: #F5F0E8;
    --bg-cream-dark: #EBE5DC;
    --text-primary: #1A1412;
    --text-secondary: #5C534A;
    --text-muted: #8B7E72;
    --accent-dark: #2C2420;
    --accent-brown: #3A2E2A;
    --border-light: #D4C8BA;
    --gold: #C4A882;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== HEADER ==================== */
.header {
    padding: 24px 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
    line-height: 1;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    text-decoration: none;
}

.logo::after {
    content: '.';
    color: var(--text-primary);
}

.nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav a:not(.nav-cta):hover {
    opacity: 0.6;
}

.nav a:not(.nav-cta)::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: width 0.3s ease;
}

.nav a:not(.nav-cta):hover::before {
    width: 100%;
}

.nav-cta {
    background-color: var(--accent-dark);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--text-primary);
    transform: translateY(-1px);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    padding: 48px 64px 0;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-bg-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 240px;
    font-weight: 700;
    color: var(--bg-cream-dark);
    letter-spacing: 30px;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 28px;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-dark);
    color: #fff;
    padding: 14px 28px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-cta:hover {
    background-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(26, 20, 18, 0.25);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translate(2px, -2px);
}

/* ==================== HERO VISUAL ==================== */
.hero-visual {
    position: relative;
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 520px;
    flex: 1;
}

.hero-stat-left {
    position: absolute;
    left: 0;
    top: 40%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 180px;
    z-index: 3;
}

.hero-stat-left p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.hero-stat-left strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    width: 400px;
    height: 520px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: sepia(50%) hue-rotate(-15deg) saturate(130%) contrast(115%) brightness(0.95);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.tm-img-trigger {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    pointer-events: none;
    z-index: 3;
}

.hero-awards {
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.award-badge {
    width: 56px;
    height: 56px;
    opacity: 0.8;
}

/* ==================== QUOTE SECTION ==================== */
.quote-section {
    padding: 0 64px 48px;
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: var(--bg-cream);
}

.quote-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}

.quote-text strong {
    font-weight: 700;
    color: var(--text-primary);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 48px 64px 80px;
    position: relative;
    z-index: 2;
    background-color: var(--bg-cream);
}

.stats-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 0 40px;
    position: relative;
    flex: 1;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background-color: var(--border-light);
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ==================== SCROLL BADGE ==================== */
.scroll-badge-wrapper {
    position: relative;
    height: 45px;
    background-color: var(--bg-cream);
    z-index: 5;
}

.scroll-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 86px;
    height: 86px;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-badge:hover {
    transform: translate(-50%, 50%) scale(1.1);
}

.scroll-badge svg {
    width: 100%;
    height: 100%;
}

/* ==================== SOBRE NOSOTROS ==================== */
.about-section {
    background-color: var(--text-primary);
    padding: 80px 64px;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    filter: grayscale(20%) brightness(0.85);
}

.about-badge {
    display: inline-block;
    background-color: var(--accent-brown);
    color: var(--bg-cream);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 10px 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.about-content {
    color: var(--bg-cream);
}

.about-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.about-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-title strong {
    color: var(--gold);
    font-weight: 700;
}

.about-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.about-stat-item {
    text-align: left;
}

.about-stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== PLACEHOLDER (futuras secciones) ==================== */
.next-section-placeholder {
    height: 120px;
    background-color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.next-section-placeholder p {
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==================== SERVICIOS ==================== */
.services-section {
    background-color: var(--bg-cream);
    padding: 80px 64px;
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.services-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #8B7E72;
    margin-bottom: 16px;
}

.services-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.services-title strong {
    color: var(--accent-brown);
}

.services-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    justify-content: center;
}

.service-card {
    background-color: #fff;
    border: 1px solid var(--bg-cream-dark);
    border-radius: 12px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 20, 18, 0.08);
    border-color: transparent;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

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

.service-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== TESTIMONIOS ==================== */
.testimonios-section {
    background-color: var(--text-primary);
    padding: 80px 64px;
}

.testimonios-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonios-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.testimonios-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.testimonios-title strong {
    color: var(--gold);
}

.testimonios-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    justify-content: center;
}

.testimonio-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 32px 28px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonio-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.testimonio-stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonio-text {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonio-author {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

.testimonio-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.testimonio-role {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ==================== CONTACTO ==================== */
.contacto-section {
    background-color: var(--bg-cream);
    padding: 80px 64px;
}

.contacto-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contacto-header {
    text-align: center;
    margin-bottom: 48px;
}

.contacto-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #8B7E72;
    margin-bottom: 16px;
}

.contacto-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.contacto-title strong {
    color: var(--accent-brown);
}

.contacto-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contacto-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    gap: 24px;
    justify-content: center;
}

.contacto-card {
    background: #fff;
    border: 1px solid var(--bg-cream-dark);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 20, 18, 0.08);
}

.contacto-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

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

.contacto-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contacto-card-data {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.contacto-card-btn {
    display: inline-block;
    background: var(--accent-dark);
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contacto-card-btn:hover {
    background: var(--text-primary);
    transform: translateY(-1px);
}

/* ==================== UBICACIÓN ==================== */
.ubicacion-section {
    background-color: #fff;
    padding: 80px 64px;
    border-top: 1px solid var(--bg-cream-dark);
}

.ubicacion-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.ubicacion-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #8B7E72;
    margin-bottom: 16px;
}

.ubicacion-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.ubicacion-title strong {
    color: var(--accent-brown);
}

.ubicacion-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.ubicacion-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.ubicacion-info {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.ubicacion-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex: 1;
    min-width: 200px;
}

.ubicacion-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

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

.ubicacion-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ubicacion-value {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ubicacion-maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-dark);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ubicacion-maps-btn:hover {
    background: var(--text-primary);
    transform: translateY(-1px);
}

.ubicacion-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--text-primary);
    padding: 60px 64px 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.footer-logo::after {
    content: '.';
    color: var(--gold);
}

.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom span {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .hero-bg-text {
        font-size: 180px;
        letter-spacing: 20px;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 20px 40px;
    }

    .hero-headline {
        font-size: 42px;
    }

    .hero-bg-text {
        font-size: 150px;
        letter-spacing: 15px;
    }

    .hero-stat-left,
    .hero-awards {
        display: none;
    }

    .hero-image-wrapper {
        width: 350px;
        height: 450px;
    }

    .about-container {
        gap: 40px;
    }

    .about-title {
        font-size: 30px;
    }

    .about-stats {
        gap: 28px;
    }

    .services-section {
        padding: 60px 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .ubicacion-content {
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 24px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
        border-top: 1px solid var(--bg-cream-dark);
        margin-top: 12px;
    }

    .nav.nav-open {
        display: flex;
    }

    .nav a {
        font-size: 15px;
        padding: 8px 0;
    }

    .nav-cta {
        align-self: flex-start;
    }

    .hero {
        padding: 32px 24px 0;
    }

    .hero-headline {
        font-size: 28px;
        letter-spacing: 1.5px;
    }

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

    .hero-bg-text {
        font-size: 100px;
        letter-spacing: 10px;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 360px;
    }

    .quote-section {
        padding: 0 24px 36px;
    }

    .quote-text {
        font-size: 18px;
    }

    .stats-section {
        padding: 36px 24px 60px;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        min-width: 120px;
        padding: 0 20px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 32px;
    }

    .about-section {
        padding: 60px 24px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-title {
        font-size: 26px;
    }

    .about-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .services-section {
        padding: 60px 24px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-title {
        font-size: 28px;
    }

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

    .testimonios-section {
        padding: 60px 24px;
    }

    .testimonios-title {
        font-size: 28px;
    }

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

    .contacto-section {
        padding: 60px 24px;
    }

    .contacto-title {
        font-size: 28px;
    }

    .contacto-cards {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 40px 24px 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ubicacion-section {
        padding: 60px 24px;
    }

    .ubicacion-title {
        font-size: 28px;
    }

    .ubicacion-content {
        gap: 24px;
    }

    .ubicacion-info {
        gap: 24px;
    }

    .ubicacion-item {
        min-width: 100%;
    }
}
