:root {
    --green-950: #0f2818;
    --green-800: #1b4332;
    --green-600: #2d6a4f;
    --green-500: #40916c;
    --green-100: #e3efe2;
    --cream: #faf9f4;
    --sand: #f2eee3;
    --card: #ffffff;
    --accent: #c98a5e;
    --accent-soft: #f6e7d8;
    --text: #1d2b23;
    --muted: #5c6c62;
    --line: rgba(27, 67, 50, 0.1);
    --shadow-sm: 0 4px 14px rgba(15, 40, 24, 0.06);
    --shadow-md: 0 14px 34px rgba(15, 40, 24, 0.1);
    --shadow-lg: 0 30px 70px rgba(15, 40, 24, 0.18);
    --radius: 20px;
    --radius-sm: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; image-orientation: from-image; }
a { color: inherit; text-decoration: none; }

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

/* ============ HEADER ============ */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 249, 244, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 0.3rem;
}
.brand-name {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--green-800);
    white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--green-800); background: var(--sand); }
.nav-cta {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: #fff !important;
    font-weight: 600;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============ HERO ============ */
.hero {
    position: relative;
    isolation: isolate;
    min-height: min(82vh, 720px);
    display: flex;
    align-items: center;
    color: #fff;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(10, 32, 21, 0.88) 0%, rgba(27, 67, 50, 0.55) 45%, rgba(27, 67, 50, 0.08) 100%),
        url('../img/Romero_LavandaJunio.jpg') center/cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(0deg, rgba(250, 249, 244, 0.95), transparent);
    z-index: -1;
}
.hero-content { max-width: 700px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f0d9b8;
    margin-bottom: 1.4rem;
}
.eyebrow::before {
    content: "";
    width: 40px;
    height: 1px;
    background: currentColor;
}
.hero h1 {
    font-family: "Fraunces", serif;
    font-size: clamp(2.8rem, 6.5vw, 5.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin-bottom: 1.5rem;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}
.hero h1 span {
    font-style: italic;
    color: #f0d9b8;
}
.hero p {
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    max-width: 560px;
    opacity: 0.95;
    margin-bottom: 2.2rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
    border: 0;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #b9764a);
    color: #2b1a0e;
    box-shadow: 0 10px 26px rgba(201, 138, 94, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(201, 138, 94, 0.45); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-3px); }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    margin-top: 3rem;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong {
    font-family: "Fraunces", serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.hero-stat span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.35rem;
    letter-spacing: 0.04em;
}

/* ============ CATALOG ============ */
.catalog { padding: clamp(2.5rem, 6vw, 5rem) 0 3rem; }
.catalog-head { text-align: center; max-width: 640px; margin: 0 auto 2.25rem; }
.catalog-head .eyebrow { color: var(--accent); justify-content: center; }
.catalog-head .eyebrow::before { display: none; }
.catalog-head h2 {
    font-family: "Fraunces", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--green-800);
    margin-bottom: 0.8rem;
}
.catalog-head p { color: var(--muted); font-size: 1.05rem; }

.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.75rem;
}
.chip {
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--green-500); color: var(--green-800); transform: translateY(-1px); }
.chip.active {
    background: var(--green-800);
    color: #fff;
    border-color: var(--green-800);
    box-shadow: var(--shadow-sm);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: cardIn 0.5s var(--ease) both;
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sand);
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.07); }
.card-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--green-800);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(15, 40, 24, 0.12);
}
.card-body {
    padding: 1.35rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-body h3 {
    font-family: "Fraunces", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-800);
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 0.2rem;
}
.card-sci {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--muted);
    margin-bottom: 0.7rem;
}
.card-body p {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 1.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}
.price small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.ver-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 1.15rem;
    border-radius: 999px;
    background: var(--green-100);
    color: var(--green-800);
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s var(--ease);
    border: 0;
    cursor: pointer;
}
.ver-btn:hover { background: var(--green-800); color: #fff; }
.ver-btn:hover .arrow { transform: translateX(3px); }
.arrow { transition: transform 0.25s var(--ease); }

.grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--muted);
    background: var(--card);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

/* ============ MODAL ============ */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(12, 30, 20, 0.72);
    backdrop-filter: blur(6px);
    z-index: 200;
}
.modal.is-open { display: flex; }
.modal-dialog {
    width: min(920px, 100%);
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 40px 120px rgba(10, 26, 17, 0.4);
    animation: modalIn 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-media {
    position: relative;
    height: clamp(260px, 40vh, 420px);
    overflow: hidden;
    background: var(--sand);
}
.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--green-800);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s var(--ease), background 0.25s ease;
    z-index: 2;
}
.modal-close:hover { transform: rotate(90deg); background: var(--accent); color: #fff; }
.modal-body { padding: 2rem 2.25rem 2.25rem; }
.modal-category {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.modal-title {
    font-family: "Fraunces", serif;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 700;
    color: var(--green-800);
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.modal-sci { font-style: italic; color: var(--muted); margin-top: 0.3rem; font-size: 1rem; }
.modal-price {
    font-family: "Fraunces", serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1rem 0 1.1rem;
}
.modal-desc { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.6rem; }
.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 0.9rem;
}
.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.8rem;
}
.care-tile {
    background: #f6f8f3;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}
.care-tile strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-600);
    margin-bottom: 0.3rem;
}
.care-tile span { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.usos { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.uso-chip {
    padding: 0.45rem 0.95rem;
    background: var(--accent-soft);
    color: #7a4a2a;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}
.contra {
    margin-top: 1.1rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    background: #fdf3f0;
    border: 1px solid #f2d8cf;
    color: #8a3d2c;
    font-size: 0.9rem;
}
.contra strong { display: block; margin-bottom: 0.2rem; }
.modal-cta {
    margin-top: 1.8rem;
    width: 100%;
    padding: 1rem;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.modal-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============ ABOUT ============ */
.about {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: var(--sand);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}
.about img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.about h2 {
    font-family: "Fraunces", serif;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 700;
    color: var(--green-800);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.about p { color: var(--muted); margin-bottom: 1rem; }
.about ul { list-style: none; margin-top: 1.2rem; }
.about li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0;
    color: var(--text);
    font-weight: 600;
    font-size: 0.98rem;
}
.about li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-500);
    flex: 0 0 auto;
}

/* ============ FOOTER ============ */
footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.72);
    padding: 3.5rem 0 2.5rem;
    font-size: 0.95rem;
}
.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-brand img { width: 52px; margin-bottom: 1rem; }
.footer-brand strong {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.footer-brand p { max-width: 320px; }
.footer-col h4 {
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-col a {
    display: block;
    padding: 0.3rem 0;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
}
.footer-col a:hover { color: #f0d9b8; }
.footer-bottom {
    max-width: 1240px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .about-inner { grid-template-columns: 1fr; }
    .about img { min-height: 260px; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .hero { min-height: 64vh; }
    .grid { grid-template-columns: 1fr; }
    .modal-body { padding: 1.5rem; }
    .hero-stats { gap: 1.25rem; }
}
