/* ============================================
   YOLANDA MENDOZA ESTILISTAS
   Warm & Friendly — Terracotta + Sand
   ============================================ */

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

:root {
    --terracotta: #C0603C;
    --terracotta-dark: #A84E2E;
    --terracotta-light: #D4845E;
    --sand: #F5E6D3;
    --sand-light: #FDF6EE;
    --sand-dark: #E8D5C0;
    --cream: #FFF9F4;
    --brown: #5C3A21;
    --brown-light: #7A5240;
    --text: #3D2B1F;
    --text-light: #7A6558;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(92, 58, 33, 0.06);
    --shadow-md: 0 8px 30px rgba(92, 58, 33, 0.10);
    --shadow-lg: 0 20px 60px rgba(92, 58, 33, 0.14);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--sand-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
    color: var(--text);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 238, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 96, 60, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(253, 246, 238, 0.96);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--terracotta);
}

.nav-logo-icon {
    font-size: 1.4rem;
    line-height: 1;
}

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

.nav-link {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--terracotta);
    background: rgba(192, 96, 60, 0.08);
}

.nav-cta {
    background: var(--terracotta);
    color: var(--white) !important;
    font-weight: 600;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--terracotta);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--sand-light);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(192, 96, 60, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(212, 132, 94, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 70% 80%, rgba(192, 96, 60, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light), var(--sand-dark));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sand);
    color: var(--terracotta);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terracotta);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

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

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(192, 96, 60, 0.3);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(192, 96, 60, 0.4);
}

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

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

.btn-white {
    background: var(--white);
    color: var(--terracotta);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* HERO IMAGE */
.hero-image-col {
    position: relative;
}

.hero-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-main img {
    width: 100%;
    height: 680px;
    object-fit: cover;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.stat-card--1 {
    top: 40px;
    left: -40px;
    animation-delay: 0s;
}

.stat-card--2 {
    bottom: 80px;
    right: -30px;
    animation-delay: 2s;
}

.stat-card-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* HERO WAVE */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    background: var(--sand);
    color: var(--terracotta);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
}

.section-title em {
    color: var(--terracotta);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* SERVICIOS */
.servicios {
    background: var(--sand-light);
    padding: 100px 0;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.servicio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.servicio-card-img {
    overflow: hidden;
    height: 200px;
}

.servicio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-card:hover .servicio-card-img img {
    transform: scale(1.08);
}

.servicio-card-body {
    padding: 28px;
}

.servicio-icon {
    width: 56px;
    height: 56px;
    background: var(--sand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 16px;
    transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
    background: var(--terracotta);
    color: var(--white);
}

.servicio-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.servicio-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* SOBRE MÍ */
.sobre-mi {
    background: var(--white);
    padding: 100px 0;
    overflow: hidden;
}

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

.sobre-image-group {
    position: relative;
}

.sobre-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobre-image-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.sobre-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.sobre-image-accent img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.sobre-content .section-tag {
    margin-bottom: 16px;
}

.sobre-content .section-title {
    margin-bottom: 24px;
}

.sobre-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

.sobre-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.sobre-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.sobre-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

/* GALERÍA */
.galeria {
    background: var(--sand-light);
    padding: 100px 0;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.galeria-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.galeria-item:hover img {
    transform: scale(1.06);
}

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 43, 31, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay span {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.galeria-item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.galeria-item--large img {
    height: 100%;
}

.galeria-item--wide {
    grid-column: span 7;
}

/* CTA */
.cta-section {
    background: var(--terracotta);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
                      radial-gradient(circle at 70% 30%, rgba(255,255,255,0.04) 0%, transparent 40%);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CONTACTO */
.contacto {
    background: var(--white);
    padding: 100px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--sand-light);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contacto-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contacto-card-icon {
    width: 52px;
    height: 52px;
    background: var(--terracotta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contacto-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--terracotta);
    margin-bottom: 6px;
}

.contacto-card p,
.contacto-card a {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.contacto-card a:hover {
    color: var(--terracotta);
    text-decoration: underline;
}

.contacto-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 8px;
}

.contacto-form-wrap {
    background: var(--sand-light);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}

.contacto-form-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(192, 96, 60, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--sand-dark);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.form-success p {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 500;
}

/* FOOTER */
.footer {
    background: var(--brown);
    color: rgba(255,255,255,0.75);
    padding: 72px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 56px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    font-size: 1.4rem;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-contact p {
    font-size: 0.92rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255,255,255,0.65);
}

.footer-contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

/* SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-col {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-card {
        padding: 40px 32px;
    }

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

    .sobre-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .sobre-image-accent {
        right: -20px;
        bottom: -20px;
    }

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sand-light);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
        justify-content: center;
        margin-top: 12px;
    }

    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .hero-card {
        padding: 32px 24px;
    }

    .hero-image-main img {
        height: 420px;
    }

    .stat-card--1 {
        left: 10px;
        top: 20px;
    }

    .stat-card--2 {
        right: 10px;
        bottom: 40px;
    }

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

    .galeria-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .galeria-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .galeria-item--wide {
        grid-column: span 2;
    }

    .galeria-item {
        height: 220px;
    }

    .galeria-item--large img {
        height: 220px;
    }

    .sobre-image-main img {
        height: 400px;
    }

    .sobre-image-accent {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 16px;
        border: 4px solid var(--white);
    }

    .sobre-features {
        grid-template-columns: 1fr;
    }

    .contacto-form-wrap {
        padding: 28px;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

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

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

    .hero-actions .btn {
        justify-content: center;
    }

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

    .galeria-item--large,
    .galeria-item--wide {
        grid-column: span 1;
    }
}

/* MOBILE OVERLAY */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(61, 43, 31, 0.4);
    z-index: 999;
}

.nav-overlay.show {
    display: block;
}
