:root {
    --orange: #e8590c;
    --orange-dark: #c04b06;
    --orange-light: #f28c4c;
    --orange-soft: #ffefe6;
    --bg: #efece6;
    --bg-white: #f7f4ef;
    --text: #1c1b20;
    --text-soft: #8a8580;
    --text-muted: #6b6560;
    --border: #e3ded8;
    --border-light: rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --radius-full: 60px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-h: 76px;
}

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

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5.5rem 0;
}

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
}

.section__desc {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 560px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

/* ===================== BUTTONS ===================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.btn--primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 24px rgba(232, 89, 12, 0.35);
}

.btn--primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(232, 89, 12, 0.45);
}

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

.btn--outline:hover {
    background: var(--text);
    color: var(--bg);
}

.btn--lg {
    padding: 1.1rem 3rem;
    font-size: 1.05rem;
}

.btn__icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

/* ===================== HEADER ===================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(247, 245, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(247, 245, 240, 0.96);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.header__logo {
    display: flex;
    align-items: center;
    line-height: 0;
    transition: transform 0.3s ease;
}

.header__logo:hover {
    transform: scale(1.02);
}

.header__logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.nav__list {
    display: flex;
    gap: 2.25rem;
}

.nav__link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover {
    color: var(--orange);
}

.nav__link:hover::after {
    width: 100%;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.header__toggle:hover {
    background: rgba(0, 0, 0, 0.04);
}

.header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* ===================== HERO ===================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 15% 40%, var(--orange-soft) 0%, transparent 60%),
                radial-gradient(ellipse at 85% 60%, #ffe3d0 0%, transparent 50%);
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    padding-top: 0.5rem;
}

.hero__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    background: rgba(232, 89, 12, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
}

.hero__desc {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 420px;
}

.carousel--hero {
    max-width: 480px;
    width: 100%;
}

.carousel--hero .carousel__viewport {
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
}

.carousel--hero .carousel__btn {
    background: rgba(255, 255, 255, 0.95);
    width: 44px;
    height: 44px;
}

.carousel--hero .carousel__btn--prev {
    left: -22px;
}

.carousel--hero .carousel__btn--next {
    right: -22px;
}

.carousel--hero .carousel__dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    margin-top: 0;
    z-index: 3;
}

.carousel--hero .carousel__dot {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.carousel--hero .carousel__dot--active {
    background: #fff;
    border-color: #fff;
}

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

/* ===================== SERVICIOS ===================== */

.servicios {
    background: var(--bg-white);
}

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

.servicio-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 89, 12, 0.15);
}

.servicio-card--alt {
    background: var(--bg-white);
    border-color: rgba(232, 89, 12, 0.06);
}

.servicio-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    color: var(--orange);
}

.servicio-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.servicio-card__desc {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.servicio-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.servicio-card__features li {
    font-size: 0.9rem;
    color: #5b5652;
    padding-left: 1.5rem;
    position: relative;
}

.servicio-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.servicio-card__cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}

.servicio-card__cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.servicio-card__cta:hover {
    gap: 0.7rem;
}

/* ===================== CTA SECTION ===================== */

.cta-section {
    background: linear-gradient(135deg, #1c1b20 0%, #2d2a30 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(232, 89, 12, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section__container {
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-section__desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn--primary {
    background: var(--orange);
    box-shadow: 0 4px 24px rgba(232, 89, 12, 0.4);
}

.cta-section .btn--primary:hover {
    background: #f06010;
}

/* ===================== CAROUSEL ===================== */

.carousel {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    user-select: none;
}

.carousel__viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 10;
}

.carousel__track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel__slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    background: #f0ece6;
}

.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.carousel__btn:hover {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 16px rgba(232, 89, 12, 0.3);
}

.carousel__btn--prev {
    left: -24px;
}

.carousel__btn--next {
    right: -24px;
}

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4cfc8;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel__dot:hover {
    background: var(--orange);
    opacity: 0.6;
}

.carousel__dot--active {
    background: var(--orange);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .carousel__viewport {
        aspect-ratio: 4 / 3;
        border-radius: var(--radius);
    }
    .carousel__btn {
        width: 40px;
        height: 40px;
    }
    .carousel__btn--prev {
        left: 8px;
    }
    .carousel__btn--next {
        right: 8px;
    }
}

/* ===================== SOBRE MI ===================== */

.sobre-mi {
    background: linear-gradient(135deg, #1c1b20 0%, #2d2a30 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sobre-mi::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 50%, rgba(232, 89, 12, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.sobre-mi__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sobre-mi .section__title {
    color: #fff;
}

.sobre-mi .section__title::after {
    left: 0;
    transform: none;
}

.sobre-mi .section__desc {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0;
}

.sobre-mi__text {
    margin: 1.5rem 0;
}

.sobre-mi__text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.02rem;
}

.sobre-mi__text strong {
    color: var(--orange);
}

.sobre-mi__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--orange);
}

.stat__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sobre-mi__visual {
    display: flex;
    justify-content: center;
}

.sobre-mi__image {
    width: 320px;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(145deg, var(--orange), var(--orange-dark));
    position: relative;
}

.sobre-mi__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================== MAPA ===================== */

.mapa-section {
    background: var(--bg);
    padding: 5rem 0;
}

.mapa__wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===================== CONTACTO ===================== */

.contacto {
    background: linear-gradient(135deg, #1c1b20 0%, #2d2a30 100%);
    position: relative;
    overflow: hidden;
}

.contacto::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(232, 89, 12, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.contacto .section__title {
    color: #fff;
}

.contacto .section__desc {
    color: rgba(255, 255, 255, 0.7);
}

.contacto__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contacto__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.form__input {
    padding: 0.9rem 1rem;
    font-family: var(--font);
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    outline: none;
    color: #fff;
}

.form__input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(232, 89, 12, 0.15);
}

.form__input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

.form__btn {
    align-self: flex-start;
}

.contacto__info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.contacto__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contacto__item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
    line-height: 1;
}

.contacto__item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.contacto__item a,
.contacto__item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.contacto__item a:hover {
    color: var(--orange);
}

.contacto__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(232, 89, 12, 0.3);
}

/* ===================== REDES ===================== */

.redes {
    background: var(--bg-white);
}

.redes__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.redes__featured {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.redes__embed {
    width: 100%;
    max-width: 400px;
}

.redes__embed .instagram-media {
    margin: 0 !important;
    min-width: auto !important;
    width: 100% !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
}

.redes__cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.redes__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--text);
}

.redes__card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.redes__card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.redes__card--instagram .redes__card-icon {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    color: #fff;
}

.redes__card--tiktok .redes__card-icon {
    background: #000;
    color: #fff;
}

.redes__card--spotify .redes__card-icon {
    background: #1db954;
    color: #fff;
}

.redes__card--facebook .redes__card-icon {
    background: #1877f2;
    color: #fff;
}

.redes__card--linkedin .redes__card-icon {
    background: #0a66c2;
    color: #fff;
}

.redes__card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.redes__card-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.redes__card-handle {
    font-size: 0.82rem;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.redes__card-action {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.redes__card--instagram .redes__card-action {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    color: #fff;
}

.redes__card--tiktok .redes__card-action {
    background: #000;
    color: #fff;
}

.redes__card--spotify .redes__card-action {
    background: #1db954;
    color: #fff;
}

.redes__card--facebook .redes__card-action {
    background: #1877f2;
    color: #fff;
}

.redes__card--linkedin .redes__card-action {
    background: #0a66c2;
    color: #fff;
}

.redes__card:hover .redes__card-action {
    transform: scale(1.05);
}

.redes__spotify-embed {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #282828;
    box-shadow: var(--shadow-sm);
}

.redes__spotify-embed iframe {
    display: block;
    border: none;
}

/* ===================== FOOTER ===================== */

.footer {
    background: #1c1b20;
    color: #9e9890;
    padding: 2.5rem 0;
}

.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__brand {
    line-height: 0;
}

.footer__logo {
    height: 36px;
    width: auto;
    opacity: 0.8;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__links a {
    font-size: 0.88rem;
    color: #9e9890;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--orange);
}

.footer__copy p {
    font-size: 0.82rem;
}

/* ===================== WHATSAPP FLOAT ===================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ===================== BACK TO TOP ===================== */

.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--text);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

/* ===================== POPUP ===================== */

.popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(232, 89, 12, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 340px;
}

.popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.popup__text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.popup__link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.popup__link:hover {
    color: var(--orange-dark);
}

.popup__close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.popup__close:hover {
    background: var(--orange);
    color: #fff;
}

/* ===================== ANIMATIONS ===================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.8rem;
    }

    .servicios__grid {
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        min-height: auto;
    }

    .carousel--hero {
        max-width: 360px;
    }

    .carousel--hero .carousel__viewport {
        aspect-ratio: 3 / 4;
    }

    .servicios__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .sobre-mi__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sobre-mi__visual {
        order: -1;
    }

    .sobre-mi__image {
        width: 240px;
        height: 280px;
    }

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

    .redes__embed {
        max-width: 360px;
    }

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

    .cta-section__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .header__logo-img {
        height: 40px;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0 2.5rem;
    }

    .hero__container {
        gap: 1.5rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__desc {
        font-size: 1rem;
    }

    .hero__visual {
        min-height: auto;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: rgba(247, 245, 240, 0.98);
        backdrop-filter: blur(12px);
        padding: 2rem;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid var(--border-light);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .header__toggle {
        display: flex;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section__header {
        margin-bottom: 2.5rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .section__desc {
        font-size: 1rem;
    }

    .carousel--hero {
        max-width: 300px;
    }

    .carousel--hero .carousel__viewport {
        aspect-ratio: 3 / 4;
        border-radius: var(--radius);
    }

    .carousel--hero .carousel__btn {
        width: 36px;
        height: 36px;
    }

    .carousel--hero .carousel__btn--prev {
        left: 6px;
    }

    .carousel--hero .carousel__btn--next {
        right: 6px;
    }

    .sobre-mi__stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .sobre-mi__image {
        width: 200px;
        height: 240px;
    }

    .cta-section {
        padding: 3.5rem 0;
    }

    .cta-section__title {
        font-size: 1.75rem;
    }

    .cta-section__desc {
        font-size: 1rem;
    }

    .redes__embed {
        max-width: 320px;
    }

    .redes__card {
        padding: 1rem 1.25rem;
    }

    .redes__card-icon {
        width: 40px;
        height: 40px;
    }

    .redes__card-action {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .form__btn {
        align-self: stretch;
    }

    .footer__container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .back-to-top {
        width: 36px;
        height: 36px;
        bottom: 16px;
        left: 16px;
    }
}

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

    .hero__title {
        font-size: 1.65rem;
        letter-spacing: -0.5px;
    }

    .hero__tag {
        font-size: 0.7rem;
    }

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

    .btn {
        width: 100%;
    }

    .servicio-card {
        padding: 1.75rem 1.25rem;
    }

    .servicio-card__title {
        font-size: 1.2rem;
    }

    .cta-section__title {
        font-size: 1.35rem;
    }

    .redes__grid {
        gap: 2rem;
    }

    .redes__embed {
        max-width: 280px;
    }

    .redes__card {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .redes__card-body {
        flex: 1 1 calc(100% - 56px);
    }

    .redes__card-action {
        margin-left: auto;
    }

    .mapa-section {
        padding: 3rem 0;
    }

    .contacto__info {
        padding: 1.25rem;
    }

    .btn--lg {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}