/* =========================================================
   NEYRHYLD MARTIN - STYLES.CSS
   Cosmetología y Estética Integrativa
   ========================================================= */

/* RESET Y VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #b88b6a;
    --color-primary-dark: #8f684f;
    --color-secondary: #d8bfae;
    --color-accent: #c9a227;
    --color-sage: #9aaa8c;
    --color-bg: #fbf7f2;
    --color-bg-soft: #f3e8df;
    --color-white: #ffffff;
    --color-text: #3f352f;
    --color-text-light: #7a6a60;
    --color-border: rgba(184, 139, 106, 0.25);
    --color-whatsapp: #25D366;

    --font-title: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow-soft: 0 12px 30px rgba(63, 53, 47, 0.08);
    --shadow-hover: 0 20px 45px rgba(63, 53, 47, 0.14);

    --radius-md: 18px;
    --radius-lg: 28px;
}

/* BASE */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
}

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

a {
    text-decoration: none;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================================
   BOTONES
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 24px rgba(184, 139, 106, 0.28);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(184, 139, 106, 0.38);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    background: var(--color-white);
    transform: translateY(-3px);
}

.btn-secondary-dark {
    background: transparent;
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary);
}

.btn-secondary-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

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

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(251, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(63, 53, 47, 0.08);
}

.navbar {
    padding: 0.9rem 0;
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 14px rgba(63, 53, 47, 0.12));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.4rem;
}

.nav-menu a {
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--color-text);
    border-radius: 999px;
    transition: 0.3s ease;
}

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

.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1001;
}

.whatsapp-float a {
    width: 64px;
    height: 64px;
    background: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
    font-size: 1.8rem;
    animation: pulse 2.2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.08);
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.48);
}

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

.hero {
    min-height: 100vh;
    background:
        linear-gradient(rgba(63, 53, 47, 0.48), rgba(63, 53, 47, 0.48)),
        url("assets/amor_propio.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 92px;
}

.hero-overlay {
    width: 100%;
}

.hero-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    color: var(--color-white);
    background: rgba(63, 53, 47, 0.22);
    backdrop-filter: blur(4px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-kicker,
.section-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-primary-dark);
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.hero-kicker {
    color: #fff3eb;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.18rem;
    max-width: 700px;
    margin: 0 auto 2.2rem;
    color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

section {
    scroll-margin-top: 95px;
}

.section-header {
    max-width: 820px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-header h2,
.gift-card-text h2,
.sobre-mi-text h2,
.contacto h2 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-header p,
.gift-card-text p,
.sobre-mi-text p {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

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

.servicios {
    padding: 100px 0;
    background: var(--color-bg);
}

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

.servicio-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.servicio-img {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

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

.servicio-card:nth-child(4) .servicio-img img {
    object-position: center top;
}

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

.servicio-content {
    padding: 2rem 1.5rem;
}

.servicio-card i {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
    margin-top: -3.4rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-soft);
}

.servicio-card h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

.servicio-card p {
    color: var(--color-text-light);
    font-size: 0.94rem;
    margin-bottom: 1rem;
}

.card-link {
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.card-link:hover {
    border-color: var(--color-primary-dark);
}

/* =========================================================
   MÉTODO INTEGRATIVO
   ========================================================= */

.metodo {
    padding: 100px 0;
    background: var(--color-white);
}

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

.metodo-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #fffaf6 0%, #f3e8df 100%);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.metodo-card span {
    font-family: var(--font-title);
    font-size: 2.1rem;
    color: var(--color-secondary);
    font-weight: 700;
}

.metodo-card h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    color: var(--color-text);
    margin: 0.5rem 0 0.8rem;
}

.metodo-card p {
    color: var(--color-text-light);
    font-size: 0.94rem;
}

/* =========================================================
   GIFT CARD
   ========================================================= */

.gift-card {
    padding: 100px 0;
    background:
        radial-gradient(circle at top right, rgba(201, 162, 39, 0.12), transparent 35%),
        var(--color-bg-soft);
}

.gift-card-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.gift-card-text {
    max-width: 650px;
}

.gift-list {
    list-style: none;
    margin: 1.8rem 0 2rem;
}

.gift-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.gift-list i {
    color: var(--color-accent);
}

.gift-card-box {
    min-height: 360px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(251, 247, 242, 0.82)),
        linear-gradient(135deg, #d8bfae, #b88b6a);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.gift-card-box::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(201, 162, 39, 0.16);
    border-radius: 50%;
    top: -60px;
    right: -50px;
}

.gift-card-box i {
    font-size: 3.3rem;
    color: var(--color-accent);
    z-index: 1;
}

.gift-card-box h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-primary-dark);
    z-index: 1;
}

.gift-card-box p {
    color: var(--color-text-light);
    z-index: 1;
}

/* =========================================================
   SOBRE MÍ
   ========================================================= */

.sobre-mi {
    padding: 100px 0;
    background: var(--color-white);
}

.sobre-mi-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

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

.image-placeholder {
    width: 100%;
    max-width: 390px;
    min-height: 480px;
    border-radius: 34px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
        linear-gradient(135deg, #f3e8df, #d8bfae);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    text-align: center;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.image-placeholder p {
    color: var(--color-primary-dark);
    font-weight: 500;
}

.sobre-mi-text h3 {
    color: var(--color-primary-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.sobre-mi-text p {
    margin-bottom: 1.2rem;
}

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

.contacto {
    padding: 100px 0;
    background: var(--color-bg);
}

.contacto-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.contacto-info,
.contacto-form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
}

.contacto-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1.8rem;
}

.contacto-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.contacto-item a {
    color: var(--color-primary-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contacto-item a:hover {
    color: var(--color-primary);
}

.contacto-item i {
    width: 44px;
    height: 44px;
    background: var(--color-bg-soft);
    color: var(--color-primary-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-item strong {
    display: block;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

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

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fffaf6;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(184, 139, 106, 0.12);
}

.contacto-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contacto-form button {
    width: 100%;
}

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

.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.footer a {
    color: #f3d7bd;
    font-weight: 600;
}

.footer a:hover {
    color: var(--color-white);
}

/* =========================================================
   ANIMACIONES
   ========================================================= */

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

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

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

@media (max-width: 1024px) {

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

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 0.86rem;
    }
}

@media (max-width: 768px) {

    .hero {
        background-position: center;
    }

    .container,
    .hero-container,
    .nav-container {
        padding: 0 1rem;
    }

    .navbar {
        padding: 0.7rem 0;
    }

    .logo-img {
        height: 52px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .brand-subtitle {
        font-size: 0.62rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(251, 247, 242, 0.98);
        backdrop-filter: blur(12px);
        padding: 2rem 0;
        box-shadow: 0 14px 28px rgba(63, 53, 47, 0.1);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .hero {
        min-height: 92vh;
        padding-top: 78px;
    }

    .hero-container {
        min-height: calc(92vh - 78px);
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-description {
        font-size: 1.02rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .servicios,
    .metodo,
    .gift-card,
    .sobre-mi,
    .contacto {
        padding: 70px 0;
    }

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

    .servicios-grid,
    .metodo-grid,
    .gift-card-content,
    .sobre-mi-content,
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gift-card-box {
        min-height: 280px;
    }

    .image-placeholder {
        min-height: 360px;
    }

    .whatsapp-float {
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-float a {
        width: 58px;
        height: 58px;
        font-size: 1.55rem;
    }
}


@media (max-width: 480px) {

    .hero-content {
        padding: 2rem 1.3rem;
    }

    .logo-img {
        height: 46px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        display: none;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-kicker,
    .section-kicker {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    .section-header h2,
    .gift-card-text h2,
    .sobre-mi-text h2,
    .contacto h2 {
        font-size: 2rem;
    }

    .servicio-card,
    .metodo-card,
    .contacto-info,
    .contacto-form {
        padding: 2rem 1.3rem;
    }

    .servicio-img {
        height: 190px;
    }

    .contacto-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer {
        padding: 1.7rem 1rem;
    }
}

/* =========================================================
   FORMULARIO / ESTADO DE ENVÍO
   ========================================================= */

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#submitBtn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

#submitBtn:disabled i {
    animation: spin 1s linear infinite;
}