/* ===================================
   FILE: styles.css
   Beauty with USA - Stylesheet
   Shape rule: containers 16px, inputs 10px, buttons + chips full pill.
   =================================== */

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

:root {
    /* Brand (kept from original identity) */
    --rose: #F4C2C2;            /* soft rose - surfaces only, never text */
    --rose-50: #FDF3F3;
    --rose-100: #FBE6E6;
    --rose-ink: #B4436C;        /* accessible rose for text/buttons (5.3:1 on white) */
    --rose-ink-hover: #963457;
    --mauve: #8B7B8B;
    --cream: #FFF8F0;

    /* Neutrals (warm plum family) */
    --ink: #2B2230;
    --ink-soft: #5C4A5C;
    --muted: #6B5F6B;
    --line: #EADFE0;
    --surface: #FFFFFF;
    --page: #FFFCFA;

    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 16px;
    --radius-input: 10px;
    --nav-h: 72px;
    --container: 1200px;
    --shadow-sm: 0 1px 2px rgba(91, 58, 75, 0.06), 0 2px 8px rgba(91, 58, 75, 0.06);
    --shadow-md: 0 12px 32px -12px rgba(91, 58, 75, 0.22);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-padding-top: var(--nav-h);
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    font-family: var(--font);
    color: var(--ink);
    background-color: var(--page);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--rose-ink);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    background-color: rgba(251, 230, 230, 0.92); /* --rose-100, soft pink tint */
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink);
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rose-ink);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
    color: var(--ink);
    background-color: var(--rose-50);
}

.nav-link.active {
    color: var(--rose-ink);
    background-color: var(--rose-100);
}

/* Hamburger (mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100dvh;
    padding: calc(var(--nav-h) + 40px) 24px 64px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(60% 70% at 85% 40%, var(--rose-100) 0%, transparent 70%),
        linear-gradient(180deg, var(--cream) 0%, var(--page) 100%);
    overflow: hidden;
}

.hero-grid {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tagline {
    order: -1;
    display: inline-flex;
    margin-bottom: 20px;
    padding: 6px 14px;
    border-radius: 999px;
    background-color: var(--surface);
    border: 1px solid var(--line);
    color: var(--rose-ink);
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: var(--ink);
    max-width: 12ch;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--muted);
    max-width: 34ch;
    margin-bottom: 36px;
}

.hero-media {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 500px;
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: 24px -24px -24px 24px;
    border-radius: var(--radius);
    background-color: var(--rose);
    opacity: 0.55;
}

.hero-media img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ===== BUTTONS ===== */
.cta-button,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    border: none;
    border-radius: 999px;
    background-color: var(--rose-ink);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(180, 67, 108, 0.55);
    transition: background-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.cta-button:hover,
.submit-button:hover {
    background-color: var(--rose-ink-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(180, 67, 108, 0.6);
}

.cta-button:active,
.submit-button:active {
    transform: translateY(0) scale(0.98);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 104px 0;
}

.section-title {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 14px;
}

.section-description {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 60ch;
    margin-bottom: 48px;
}

/* ===== PRODUCTS SECTION ===== */
.products-section { background-color: var(--page); }

.brands-section {
    margin-bottom: 56px;
    padding: 28px 32px;
    border: 1px solid var(--rose);
    border-radius: var(--radius);
    background-color: var(--rose-100);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px 32px;
    align-items: center;
}

.brands-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-soft);
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brand-badge {
    padding: 8px 18px;
    border-radius: 999px;
    background-color: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.brand-badge:hover {
    background-color: var(--rose-50);
    border-color: var(--rose);
}

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

.product-card {
    display: flex;
    flex-direction: column;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--rose-50);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-info { padding: 22px 24px 26px; }

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 8px;
}

.product-description {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.products-cta {
    margin-top: 56px;
    padding: 36px 40px;
    border-radius: var(--radius);
    background:
        radial-gradient(80% 140% at 100% 0%, rgba(244, 194, 194, 0.35) 0%, transparent 60%),
        var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.products-cta p {
    color: #F6EEF0;
    font-size: 1.15rem;
    font-weight: 600;
    max-width: 44ch;
}

.products-cta .cta-button { flex-shrink: 0; }

/* ===== PRODUCT GALLERY SECTION (original design) ===== */
.gallery-section {
    --secondary-color: #FFF8F0;
    --light-pink: #FFE5E5;
    --white: #FFFFFF;
}

.gallery-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-pink) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(244, 194, 194, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 123, 139, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 229, 229, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-section .container {
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(139, 123, 139, 0.95), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

/* ===== ABOUT SECTION ===== */
.about-section { background-color: var(--page); }

.about-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 16px;
}

.about-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 32px 0 16px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 14px;
    max-width: 62ch;
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.benefits-list li {
    position: relative;
    padding: 14px 16px 14px 48px;
    border-radius: 12px;
    background-color: var(--rose-50);
    color: var(--ink-soft);
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.45;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 999px;
    background-color: var(--rose-ink);
}

.benefits-list li::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 50%;
    width: 5px;
    height: 9px;
    margin-top: -6px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.about-image { position: relative; }

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ===== HOW TO ORDER SECTION ===== */
.order-section { background-color: var(--cream); }

.order-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
    counter-reset: none;
}

.step-card {
    position: relative;
    padding-top: 24px;
    border-top: 2px solid var(--line);
    transition: border-color 0.3s ease;
}

.step-card:hover { border-top-color: var(--rose-ink); }

.step-number {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--rose-ink);
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.step-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 34ch;
}

.order-note {
    margin-top: 56px;
    padding: 18px 24px;
    border-radius: var(--radius);
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--rose-ink);
}

.order-note p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.order-note strong { color: var(--ink); }

/* ===== CONTACT SECTION ===== */
.contact-section { background-color: var(--page); }

.contact-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h3,
.contact-form-container h3 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 20px;
}

.office-locations {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.office-box,
.contact-item {
    padding: 22px 24px;
    border-radius: var(--radius);
    background-color: var(--surface);
    border: 1px solid var(--line);
}

.office-box h4,
.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.office-box p,
.contact-item p {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 4px;
}

.office-box strong { color: var(--ink-soft); font-weight: 600; }

.office-box a,
.contact-item a {
    color: var(--rose-ink);
    font-weight: 700;
    text-decoration: none;
}

.office-box a:hover,
.contact-item a:hover { text-decoration: underline; }

.whatsapp-link { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.whatsapp-link svg { width: 18px; height: 18px; fill: #25D366; flex-shrink: 0; }

.contact-item { background-color: var(--rose-50); border-color: transparent; }

/* Contact form */
.contact-form-container {
    padding: 36px;
    border-radius: var(--radius);
    background-color: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Message and button span the full row */
.form-group:has(textarea),
.contact-form .submit-button { grid-column: 1 / -1; }

.form-group label {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #D9CACD;
    border-radius: var(--radius-input);
    background-color: var(--page);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.form-group input:hover,
.form-group textarea:hover { border-color: var(--mauve); }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose-ink);
    background-color: var(--surface);
    box-shadow: 0 0 0 4px rgba(180, 67, 108, 0.15);
}

.submit-button { width: 100%; margin-top: 6px; }

/* ===== FOOTER ===== */
.footer {
    background-color: var(--ink);
    color: #E9DFE3;
    padding: 72px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h3 {
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-col p {
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: #CDBFC6;
    max-width: 32ch;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a,
.social-links a {
    color: #CDBFC6;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover,
.social-links a:hover { color: var(--rose); }

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #A8979F;
}

/* ===== SCROLL REVEAL (only when JS + motion allowed) ===== */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
        transition-delay: calc(var(--i, 0) * 70ms);
    }
    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

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

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

/* Tablet */
@media (max-width: 1024px) {
    .products-grid,
    .order-steps { grid-template-columns: repeat(2, 1fr); }


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

@media (max-width: 900px) {
    .hero-grid,
    .about-content,
    .contact-content { grid-template-columns: 1fr; }

    .hero-grid { gap: 48px; }

    .hero-media {
        justify-self: start;
        max-width: 420px;
    }

    .about-content { gap: 48px; }

    .about-image { max-width: 480px; }

    .brands-section { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        padding: 12px 16px 20px;
        background-color: var(--page);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .container,
    .nav-container { padding: 0 16px; }

    .hero { padding: calc(var(--nav-h) + 32px) 16px 56px; min-height: auto; }

    .section { padding: 72px 0; }

    .section-description { margin-bottom: 36px; }

    .brands-section { padding: 22px 20px; }

    .products-grid,
    .order-steps { grid-template-columns: 1fr; }

    .order-steps { gap: 32px; }


    .benefits-list { grid-template-columns: 1fr; }

    .products-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .contact-form-container { padding: 24px 20px; }

    .contact-form { grid-template-columns: 1fr; }

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

    .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
    .logo h1 { font-size: 1.05rem; }

    .hero-media::before { inset: 14px -10px -14px 10px; }


}

/* Original gallery responsive rules */
@media (max-width: 968px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-overlay span {
        font-size: 0.9rem;
    }
}
