:root {
    --bg: #f6f0e7;
    --bg-soft: #fbf8f3;
    --panel: #fffdf9;
    --panel-2: #f1e5d7;
    --text: #241b15;
    --muted: #6f6257;
    --line: rgba(36, 27, 21, 0.12);
    --accent: #8b5e3c;
    --accent-2: #c59262;
    --dark: #16110d;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow: 0 18px 50px rgba(56, 35, 18, 0.08);
    --shadow-hover: 0 25px 60px rgba(56, 35, 18, 0.15);
    --max: 1240px;
    --ease-brk: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8f3ed 0%, #f5eee4 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
}

.section {
    padding: 84px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
    color: var(--accent);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* --- NAV & HEADER --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 243, 237, .92);
    backdrop-filter: blur(12px);
    border-top: 3px solid var(--accent);
    border-bottom: 1px solid rgba(36, 27, 21, .08);
    transition: background 0.3s ease;
}

.nav-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    position: relative;
    z-index: 60;
}

.logo strong {
    font-size: 1.02rem;
    letter-spacing: .18em;
    line-height: 1;
}

.logo span {
    color: var(--muted);
    font-size: .82rem;
}

.menu {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.menu a {
    position: relative;
    padding: 12px 24px;
    border-radius: 999px;
    background-color: transparent;
    transition: all 0.3s var(--ease-brk);
}

.menu a:hover {
    color: #fff;
    background-color: var(--dark);
    /* Pena (pick) form shape on hover */
    border-radius: 24px 24px 60% 60%;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 60;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    position: relative;
    z-index: 60;
}

.mobile-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--dark);
    margin: 4px auto;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease-brk);
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-primary {
    background: var(--dark);
    color: #fff;
}

.btn-primary:hover {
    background: #2a2018;
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border-color: var(--line);
}

.btn-secondary:hover {
    background: rgba(0,0,0,0.03);
    border-color: var(--muted);
}

/* --- HERO --- */
.hero {
    padding: 56px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: center;
}

.hero-copy h1,
.section-head h2,
.cta-panel h3,
.review-card h4 {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -.03em;
}

.hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: .95;
    max-width: 10ch;
    font-weight: 700;
}

.hero-copy p {
    margin: 0 0 28px;
    max-width: 58ch;
    color: var(--muted);
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.mini-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mini-cats span {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--line);
    font-size: .86rem;
    color: #5d5147;
    transition: all 0.3s;
}

.mini-cats span:hover {
    background: #fff;
    border-color: var(--muted);
    transform: translateY(-1px);
}

.hero-visual {
    min-width: 0;
}

.hero-main,
.catalog-card,
.feature-card,
.review-card,
.cta-panel {
    border-radius: var(--radius-xl);
    background: var(--panel);
    border: 1px solid rgba(36, 27, 21, .08);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.4s var(--ease-brk);
}

.hero-main {
    position: relative;
    min-height: 620px;
}

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

.hero-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 250, 244, .92);
    backdrop-filter: blur(8px);
    max-width: 300px;
    border: 1px solid rgba(36, 27, 21, .08);
    animation: float 6s ease-in-out infinite;
}

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

.hero-badge strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.hero-badge span {
    color: var(--muted);
    font-size: .92rem;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.section-head h2 {
    margin: 10px 0 0;
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    line-height: .98;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 56ch;
}

/* --- CATALOG --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.catalog-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.img-wrapper {
    overflow: hidden;
}

.catalog-card img {
    height: 270px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-brk);
}

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

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

.catalog-body {
    padding: 24px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--panel);
    position: relative;
    z-index: 2;
}

.catalog-body h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.catalog-card:hover h3 {
    color: var(--accent);
}

.catalog-body p {
    margin: 0;
    color: var(--muted);
    font-size: .93rem;
}

.card-arrow {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s var(--ease-brk);
}

.catalog-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- FEATURES --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
}

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

.feature-no {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    background: url('images/logo.png') no-repeat center center;
    background-size: contain;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 24px;
    transition: all 0.4s var(--ease-brk);
}

.feature-card:hover .feature-no {
    transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

/* --- REVIEWS --- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.review-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--line);
}

.stars {
    color: #d4a373;
    margin-bottom: 16px;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    color: var(--muted);
    margin: 0 0 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}

.review-author span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* --- CTA --- */
.cta-panel {
    padding: 56px;
    background: linear-gradient(135deg, #241912 0%, #16110d 100%);
    color: #fff7ef;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 94, 60, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-panel h3 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3.5vw, 3.6rem);
    line-height: .96;
    position: relative;
}

.cta-panel p {
    margin: 0 0 32px;
    color: rgba(255, 247, 239, .76);
    max-width: 50ch;
    position: relative;
    font-size: 1.1rem;
}

.cta-actions {
    position: relative;
    display: flex;
    gap: 16px;
}

.btn-white {
    background: #fff;
    color: var(--dark);
}

.btn-white:hover {
    background: #f1ebd7;
}

/* --- FOOTER --- */
.footer {
    padding: 60px 0 40px;
    background: var(--panel);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--muted);
    margin: 16px 0 0;
    max-width: 28ch;
}

.footer-col h4 {
    font-size: 1rem;
    margin: 0 0 20px;
    color: var(--dark);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--muted);
    transition: color 0.3s;
}

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

.newsletter-form {
    display: flex;
    margin-top: 16px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px 0 0 999px;
    background: #f6f0e7;
    font-family: inherit;
    outline: none;
}

.newsletter-form button {
    padding: 12px 24px;
    border: none;
    background: var(--dark);
    color: #fff;
    border-radius: 0 999px 999px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--accent);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(36, 27, 21, .08);
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

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

/* --- SCROLL ANIMATIONS --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-brk);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

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

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

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

    .hero-copy h1 {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 64px 0;
    }

    .nav-inner {
        min-height: 68px;
    }

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #f8f3ed;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        font-size: 1.5rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.4s var(--ease-brk);
        z-index: 55;
    }
    
    .nav.nav-open .menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-toggle {
        display: block;
    }
    
    .nav.nav-open .mobile-toggle span:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg);
    }
    .nav.nav-open .mobile-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav.nav-open .mobile-toggle span:nth-child(3) {
        transform: translateY(-5.5px) rotate(-45deg);
    }

    .nav-inner > .btn {
        display: none;
    }

    .hero {
        padding: 36px 0 18px;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 11vw, 3.8rem);
        line-height: 1;
    }

    .hero-main {
        min-height: 380px;
    }

    .hero-main img {
        min-height: 380px;
    }

    .hero-badge {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-grid,
    .feature-grid,
    .review-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .catalog-card img {
        height: 280px;
    }

    .cta-panel {
        padding: 40px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
