/* =====================================================
   HANEI LANDING PAGE - CSS
   Diseño minimalista, cálido y emocional
   Colores desde /dynamic-styles.css (MySQL)
   ===================================================== */

/* ==================== VARIABLES LOCALES ==================== */
:root {
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --section-padding: 120px;
    --section-padding-mobile: 70px;
    --container-max: 1100px;
    --container-padding: 24px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s ease;
    --transition-slow: 0.6s ease;

    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.08);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-color, #4A4543);
    background-color: var(--background-color, #FDFCFA);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==================== TIPOGRAFIA ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-color, #4A4543);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted, #7A7572);
}

/* ==================== CONTENEDOR ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.header.scrolled {
    background: rgba(253, 252, 250, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.header__logo-square {
    height: 44px;
    width: 44px;
    object-fit: contain;
}

.header__logo-horizontal {
    height: 40px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.header.scrolled .header__logo-square {
    height: 36px;
    width: 36px;
}

.header.scrolled .header__logo-horizontal {
    height: 32px;
    max-width: 150px;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-color, #4A4543);
    text-transform: uppercase;
}

.header:not(.scrolled) .header__logo-text {
    color: #fff;
}

/* Navegacion */
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-color, #4A4543);
    transition: var(--transition-normal);
    border-radius: 6px;
}

.header:not(.scrolled) .nav__link {
    color: rgba(255, 255, 255, 0.9);
}

.nav__link:hover {
    color: var(--primary-color, #7C8C6E);
}

.header:not(.scrolled) .nav__link:hover {
    color: #fff;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: var(--primary-color, #7C8C6E);
    transition: var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 24px;
}

.header:not(.scrolled) .nav__link::after {
    background: rgba(255, 255, 255, 0.8);
}

/* Botones header */
.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==================== BOTONES ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 50px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--primary-color, #7C8C6E);
    color: #fff;
    box-shadow: 0 2px 12px rgba(124, 140, 110, 0.25);
}

.btn--primary:hover {
    background: var(--primary-dark, #5E6B52);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 140, 110, 0.35);
}

.btn--outline {
    border: 1.5px solid var(--primary-color, #7C8C6E);
    color: var(--primary-color, #7C8C6E);
    background: transparent;
}

.btn--outline:hover {
    background: var(--primary-color, #7C8C6E);
    color: #fff;
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.25);
}

.btn--whatsapp:hover {
    background: #20BA5C;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 15px 36px;
    font-size: 0.95rem;
}

.header:not(.scrolled) .btn--primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark, #5E6B52);
    box-shadow: none;
}

.header:not(.scrolled) .btn--primary:hover {
    background: #fff;
}

/* Hamburguesa movil */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-color, #4A4543);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.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 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 100px;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(94, 107, 82, 0.7) 0%,
        rgba(74, 69, 67, 0.65) 100%
    );
}

/* Hero sin imagen de fondo: fondo cálido */
.hero--no-image {
    background: linear-gradient(
        160deg,
        var(--primary-light, #F5F0EB) 0%,
        var(--background-color, #FDFCFA) 50%,
        var(--secondary-color, #D4C5B2) 100%
    );
}

.hero--no-image .hero__content {
    color: var(--text-color, #4A4543);
}

.hero__content {
    position: relative;
    max-width: 700px;
    color: #fff;
}

.hero__brand {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
    animation: haneiReveal 1s ease forwards;
    opacity: 0;
}

.hero--no-image .hero__brand {
    color: var(--primary-dark, #5E6B52);
}

.hero__moment {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    opacity: 0;
    animation: haneiReveal 1s ease 0.3s forwards;
}

.hero--no-image .hero__moment {
    color: var(--primary-color, #7C8C6E);
}

.hero__tagline {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 48px;
    line-height: 1.8;
    opacity: 0;
    animation: haneiReveal 1s ease 0.5s forwards;
}

.hero--no-image .hero__tagline {
    color: var(--text-muted, #7A7572);
}

.hero__cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: haneiReveal 1s ease 0.7s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: inherit;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    animation: haneiBounce 3s infinite 2s;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
}

/* ==================== SECCIONES ==================== */
.section {
    padding: var(--section-padding) 0;
}

.section--soft {
    background: var(--primary-light, #F5F0EB);
}

.section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
}

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color, #7C8C6E);
    margin-bottom: 16px;
}

.section__title {
    margin-bottom: 16px;
}

.section__description {
    font-size: 1.05rem;
    color: var(--text-muted, #7A7572);
}

.section__divider {
    width: 40px;
    height: 1.5px;
    background: var(--primary-color, #7C8C6E);
    margin: 20px auto 0;
    opacity: 0.5;
}

/* ==================== SOBRE MI ==================== */
.about {
    overflow: hidden;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 16px;
}

.about__image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1.5px solid var(--primary-color, #7C8C6E);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

.about__content {
    padding: 20px 0;
}

.about__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color, #7C8C6E);
    margin-bottom: 16px;
}

.about__name {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 4px;
}

.about__role {
    font-size: 0.9rem;
    color: var(--primary-color, #7C8C6E);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.about__bio {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted, #7A7572);
    margin-bottom: 40px;
}

.about__bio p {
    margin-bottom: 16px;
}

/* Pilares */
.about__pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about__pillar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--primary-light, #F5F0EB);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.about__pillar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about__pillar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color, #FDFCFA);
    color: var(--primary-color, #7C8C6E);
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.about__pillar-text h4 {
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
    margin-bottom: 2px;
    color: var(--text-color, #4A4543);
}

.about__pillar-text p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted, #7A7572);
}

/* Placeholder profesional (sin foto) */
.about__placeholder {
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light, #F5F0EB), var(--secondary-color, #D4C5B2));
    border-radius: 16px;
}

.about__placeholder i {
    font-size: 5rem;
    color: var(--primary-color, #7C8C6E);
    opacity: 0.3;
}

/* ==================== SERVICIOS ==================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color, #E8DFD3);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card__image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light, #F5F0EB), var(--secondary-color, #D4C5B2));
}

.service-card__placeholder i {
    font-size: 2.5rem;
    color: var(--primary-color, #7C8C6E);
    opacity: 0.4;
}

.service-card__body {
    padding: 22px;
}

.service-card__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color, #7C8C6E);
    margin-bottom: 6px;
}

.service-card__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color, #4A4543);
}

.service-card__desc {
    font-size: 0.88rem;
    color: var(--text-muted, #7A7572);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-color, #E8DFD3);
}

.service-card__price {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color, #7C8C6E);
}

.service-card__duration {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--text-muted, #7A7572);
}

.service-card__duration i {
    color: var(--primary-color, #7C8C6E);
    font-size: 0.85rem;
}

/* ==================== CONTACTO ==================== */
.contact {
    text-align: center;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact__item {
    padding: 28px 20px;
    background: var(--primary-light, #F5F0EB);
    border-radius: 14px;
    transition: var(--transition-normal);
}

.contact__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.contact__item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color, #FDFCFA);
    color: var(--primary-color, #7C8C6E);
    border-radius: 12px;
    font-size: 1.1rem;
    margin: 0 auto 14px;
}

.contact__item h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color, #4A4543);
    margin-bottom: 6px;
}

.contact__item p,
.contact__item a {
    font-size: 0.9rem;
    color: var(--text-muted, #7A7572);
}

.contact__item a:hover {
    color: var(--primary-color, #7C8C6E);
}

.contact__cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==================== FRASE DESTACADA ==================== */
.quote-section {
    padding: 80px 24px;
    text-align: center;
    background: var(--primary-light, #F5F0EB);
}

.quote-section__text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--primary-dark, #5E6B52);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--text-color, #4A4543);
    color: rgba(255, 255, 255, 0.75);
    padding: 50px 0 24px;
}

.footer__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer__section {
    text-align: center;
}

.footer__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer__title i {
    color: var(--primary-color, #7C8C6E);
    font-size: 0.85rem;
}

.footer__horario p,
.footer__contacto p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer__contacto a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition-fast);
}

.footer__contacto a:hover {
    color: #fff;
}

.footer__social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.footer__social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition-normal);
}

.footer__social a:hover {
    background: var(--primary-color, #7C8C6E);
    transform: translateY(-2px);
}

.footer__bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
    display: flex;
    gap: 20px;
}

.footer__legal a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.footer__legal a:hover {
    color: #fff;
}

/* ==================== WHATSAPP FLOTANTE ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all var(--transition-normal);
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.whatsapp-float__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: all var(--transition-normal);
    animation: haneiPulse 3s infinite;
}

.whatsapp-float__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-float__close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--text-color, #4A4543);
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-float__close {
    opacity: 1;
}

/* ==================== MODAL LEGAL ==================== */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.legal-modal.active {
    opacity: 1;
    visibility: visible;
    overscroll-behavior: contain;
}

.legal-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.legal-modal__content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    border-radius: 14px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.legal-modal.active .legal-modal__content {
    transform: translateY(0);
}

.legal-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--primary-color, #7C8C6E);
    color: #fff;
}

.legal-modal__header h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0;
    color: #fff;
}

.legal-modal__close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.legal-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.legal-modal__body {
    padding: 24px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    line-height: 1.7;
    color: var(--text-color, #4A4543);
}

.legal-modal__body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-dark, #5E6B52);
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color, #E8DFD3);
}

.legal-modal__body h3:first-child {
    margin-top: 0;
}

.legal-modal__body p {
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.legal-modal__body ul {
    margin: 10px 0;
    padding-left: 20px;
}

.legal-modal__body li {
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.legal-modal__body .legal-fecha {
    margin-top: 28px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color, #E8DFD3);
    color: var(--text-muted, #7A7572);
    font-size: 0.82rem;
}

/* ==================== ANIMACIONES ==================== */
@keyframes haneiReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes haneiBounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-8px) translateX(-50%); }
}

@keyframes haneiPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.3); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.from-left {
    transform: translateX(-40px);
}

.animate-on-scroll.from-left.animated {
    transform: translateX(0);
}

.animate-on-scroll.from-right {
    transform: translateX(40px);
}

.animate-on-scroll.from-right.animated {
    transform: translateX(0);
}

/* Stagger animation */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-animation.animated > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.animated > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.animated > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.animated > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation.animated > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation.animated > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-animation.animated > * {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image-wrap {
        order: -1;
    }

    .about__image-wrap img,
    .about__placeholder {
        height: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }

    .header {
        z-index: 9000;
    }

    .nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: var(--background-color, #FDFCFA) !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
        z-index: 9998 !important;
        overflow-y: auto;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        display: flex !important;
    }

    .nav__toggle {
        display: flex !important;
        position: fixed !important;
        top: 15px;
        right: 15px;
        z-index: 9999 !important;
        background: var(--background-color, #FDFCFA) !important;
        padding: 10px !important;
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .nav__toggle span {
        background: var(--text-color, #4A4543) !important;
    }

    .nav__menu {
        flex-direction: column;
        gap: 16px;
    }

    .nav__link {
        font-size: 1.1rem;
        color: var(--text-color, #4A4543) !important;
    }

    .header__actions {
        flex-direction: column;
        width: 80%;
        max-width: 280px;
    }

    .header__actions .btn {
        width: 100%;
    }

    .header__logo-horizontal {
        height: 32px;
        max-width: 140px;
    }

    /* Hero movil */
    .hero {
        min-height: auto;
        padding: 140px 20px 80px;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .hero__cta .btn {
        width: 100%;
        max-width: 260px;
    }

    .hero__scroll {
        display: none;
    }

    /* About movil */
    .about__pillars {
        grid-template-columns: 1fr;
    }

    /* Servicios movil */
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Contacto movil */
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__cta {
        flex-direction: column;
        align-items: center;
    }

    .contact__cta .btn {
        width: 100%;
        max-width: 260px;
    }

    /* Footer movil */
    .footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Legal movil */
    .legal-modal__content {
        width: 95%;
        max-height: 90vh;
    }

    /* WhatsApp movil */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float__btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero__brand {
        font-size: 2.8rem;
    }

    .about__image-wrap img,
    .about__placeholder {
        height: 300px;
    }

    .footer__main {
        grid-template-columns: 1fr;
    }

    .quote-section__text {
        font-size: 1.2rem;
    }
}

/* ==================== UTILIDADES ==================== */
.text-center { text-align: center; }
.hide-mobile { display: inline; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
}
