@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700&family=Source+Serif+4:wght@300;400;500;600&display=swap');

:root {
    --bg: #f6f4ef;
    --surface: #ffffff;
    --surface-2: #f0ebe3;
    --ink: #1f2933;
    --muted: #5f6b76;
    --accent: #d97c1f;
    --accent-2: #0f6e6b;
    --border: #e6ded2;
    --surface-glass: rgba(255, 255, 255, 0.82);
    --line: rgba(255, 255, 255, 0.55);
    --radius-xl: 30px;
    --shadow: 0 20px 50px rgba(31, 41, 51, 0.12);
    --shadow-soft: 0 10px 30px rgba(31, 41, 51, 0.08);
    --transition-smooth: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

body {
    font-family: 'Source Serif 4', serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #ffffff 0%, #faf8f2 38%, var(--bg) 68%, #ede6db 100%);
    color: var(--ink);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
    isolation: isolate;
}

html { scroll-behavior: smooth; }

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.95;
}

body::before {
    width: 340px;
    height: 340px;
    top: 90px;
    left: -140px;
    background: radial-gradient(circle, rgba(217, 124, 31, 0.2), transparent 68%);
    animation: floatDrift 18s ease-in-out infinite;
}

body::after {
    width: 380px;
    height: 380px;
    right: -150px;
    bottom: 40px;
    background: radial-gradient(circle, rgba(15, 110, 107, 0.16), transparent 70%);
    animation: floatDrift 22s ease-in-out infinite reverse;
}

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

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--ink);
}

p { margin: 0 0 16px; color: var(--muted); }

/* Hero */
header.hero {
    position: relative;
    color: #fff;
    min-height: 54vh;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, rgba(10, 66, 79, 0.92), rgba(31, 41, 51, 0.78)),
                radial-gradient(circle at top left, rgba(217, 124, 31, 0.33), transparent 36%),
                url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    overflow: hidden;
}

header.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 82%);
    opacity: 0.35;
}

header.hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -70px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(217, 124, 31, 0.5), transparent 70%);
    opacity: 0.85;
    animation: floatDrift 14s ease-in-out infinite;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 82px 20px 42px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

.eyebrow {
    font-family: 'Sora', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-inner h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    margin: 0;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.hero-text {
    font-size: 0.94rem;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-actions .btn { min-width: 210px; }

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 2px;
    width: 100%;
    text-align: left;
}

.highlight {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 13px 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 16px 38px rgba(7, 14, 22, 0.16);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), background var(--transition-smooth);
}

.highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.18), transparent 56%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.highlight h4 { color: #fff; margin-bottom: 6px; font-size: 1rem; }
.highlight p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }

.highlight:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.32);
}

.highlight:hover::before { opacity: 1; }

.hero-inner .eyebrow,
.hero-inner h1,
.hero-text,
.hero-actions,
.hero-highlights {
    opacity: 0;
    animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-inner .eyebrow { animation-delay: 0.1s; }
.hero-inner h1 { animation-delay: 0.22s; }
.hero-text { animation-delay: 0.34s; }
.hero-actions { animation-delay: 0.46s; }
.hero-highlights { animation-delay: 0.58s; }

/* Navbar */
.navbar {
    background: rgba(31, 41, 51, 0.94);
    padding: 16px 24px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.16);
}

.navbar.scrolled {
    background: rgba(18, 25, 33, 0.98);
    box-shadow: 0 18px 42px rgba(12, 18, 24, 0.18);
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
    text-transform: none;
    padding: 0;
    border: none;
    background: none;
}

.nav-menu {
    margin-left: auto;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.navbar a {
    color: #f8fafc;
    font-family: 'Sora', sans-serif;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth), color var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.navbar a:hover, .navbar a.active {
    background: rgba(217, 124, 31, 0.18);
    border-color: rgba(217, 124, 31, 0.5);
    transform: translateY(-1px);
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.45);
    transform-origin: center;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.navbar a:hover::after,
.navbar a:focus-visible::after {
    opacity: 0.72;
    transform: scaleX(1);
}

.nav-brand::after { display: none; }

.nav-brand:hover,
.nav-brand:focus-visible {
    background: none;
    border-color: transparent;
}

.hamburger {
    display: none;
    list-style: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger span + span { margin-top: 5px; }

.nav-menu.open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-menu.open .hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-menu.open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Sections */
section {
    padding: 72px 20px;
    max-width: 1100px;
    margin: 0 auto;
    scroll-margin-top: 110px;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 50px 32px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.section-alt:hover,
#products:hover { box-shadow: var(--shadow); }

.section-alt::before,
#products::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.55), transparent 58%);
    pointer-events: none;
}

.section-alt > *,
#products > * {
    position: relative;
    z-index: 1;
}

.section-header { max-width: 760px; margin-bottom: 28px; }
.section-header p { max-width: 640px; font-size: 1.02rem; }
h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
h2::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--accent), rgba(15, 110, 107, 0.78));
    border-radius: 999px;
}
h2.no-rule::after { display: none; }
h3 {
    font-size: 0.95rem;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
}

#products {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 54px 32px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.info-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 235, 227, 0.9));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(15, 110, 107, 0.82));
}

.info-card h4 { margin-bottom: 6px; }
.info-card p { margin: 0; }

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(15, 110, 107, 0.24);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.product-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 241, 0.96));
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    position: relative;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(15, 110, 107, 0.9), rgba(217, 124, 31, 0.92));
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(217, 124, 31, 0.22);
}

.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.65s ease, filter 0.65s ease;
}

.product-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.02);
}

.product-info { padding: 20px 20px 24px; }
.product-info h4 { margin-bottom: 10px; }
.price {
    display: inline-block;
    background: rgba(217, 124, 31, 0.12);
    color: #9a4f00;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    box-shadow: inset 0 0 0 1px rgba(217, 124, 31, 0.1);
}

/* Form Styles */
.form-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 241, 0.94));
    padding: 36px;
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: cardRise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.form-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(15, 110, 107, 0.88));
}

label {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    color: var(--ink);
}

input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    font-family: 'Source Serif 4', serif;
    font-size: 1rem;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(15, 110, 107, 0.6);
    box-shadow: 0 0 0 4px rgba(15, 110, 107, 0.08);
    transform: translateY(-1px);
}

input:hover, textarea:hover, select:hover {
    border-color: rgba(15, 110, 107, 0.28);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent);
    color: white;
    padding: 12px 26px;
    text-decoration: none;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.26), transparent 72%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.btn:hover { background: #c56e17; transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(130%); }
.btn.block { width: 100%; }
.btn.primary { background: var(--accent); }
.btn.ghost {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn.whatsapp { background: #25D366; }
.btn.whatsapp:hover { background: #1ebe5d; }

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.buttons .btn { flex: 1 1 220px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(15, 110, 107, 0.18);
    outline-offset: 3px;
}

footer {
    background: linear-gradient(135deg, #111820, #1d2b35);
    color: #f3f4f6;
    text-align: center;
    padding: 24px 16px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(217, 124, 31, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(15, 110, 107, 0.18), transparent 32%);
    pointer-events: none;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 1;
}

.reveal-target {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(8px);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.72s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

.reveal-target.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatDrift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -20px, 0) scale(1.06); }
}

@media (min-width: 992px) {
    header.hero { min-height: 48vh; }
    .hero-inner {
        padding: 78px 20px 30px;
        gap: 18px;
    }
    .hero-text { max-width: 500px; }
    .hero-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 0;
    }
    .highlight {
        padding: 11px 13px;
        min-height: 100%;
    }
    .highlight h4 {
        font-size: 0.92rem;
        margin-bottom: 4px;
    }
    .highlight p {
        font-size: 0.84rem;
        line-height: 1.55;
    }
}

@media (max-width: 768px) {
    body::before,
    body::after {
        width: 240px;
        height: 240px;
    }
    .hero-inner {
        padding: 76px 18px 34px;
        gap: 16px;
    }
    .hero-actions { width: 100%; }
    .hero-actions .btn { width: 100%; }
    .navbar { padding: 14px 18px; }
    .nav-menu { margin-left: 0; }
    .hamburger {
        display: flex;
        flex-direction: column;
    }
    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        min-width: min(290px, calc(100vw - 36px));
        padding: 14px;
        background: rgba(31, 41, 51, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        box-shadow: var(--shadow);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-14px) scale(0.98);
        transform-origin: top right;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
    }
    .nav-menu.open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition-delay: 0s;
    }
    .nav-menu.open .nav-links a {
        width: 100%;
        border-radius: 12px;
    }
    section { padding: 54px 18px; }
    .section-alt,
    #products {
        padding: 38px 22px;
        border-radius: 24px;
    }
    .form-box { padding: 30px 24px; }
    .buttons .btn { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    header.hero::after,
    .hero-inner .eyebrow,
    .hero-inner h1,
    .hero-text,
    .hero-actions,
    .hero-highlights,
    .form-box { animation: none; }
    .hamburger span,
    .nav-links,
    .btn,
    .btn::after,
    .product-card,
    .product-card img,
    .info-card,
    input,
    textarea,
    select,
    .highlight,
    .navbar a,
    .reveal-target { transition: none; }
    .reveal-target {
        opacity: 1;
        transform: none;
        filter: none;
    }
    .hero-inner .eyebrow,
    .hero-inner h1,
    .hero-text,
    .hero-actions,
    .hero-highlights { opacity: 1; }
}
