/* ==========================================================
   SABARI CARDS — Premium Wedding Stationery Theme
   Ivory paper · wine red · antique gold · Cormorant + Jost
   ========================================================== */

:root {
    /* Palette */
    --ivory: #FBF7F0;
    --paper: #FFFDF8;
    --sand: #F4ECDF;
    --sand-deep: #EADFCC;
    --line: #E6D9C3;
    --line-soft: rgba(176, 141, 87, 0.22);

    --ink: #1E1513;
    --ink-soft: #4B3E39;
    --muted: #85766E;

    --red: #C1121F;          /* brand red */
    --wine: #7A0F1C;
    --wine-deep: #4A0911;
    --gold: #B08D57;
    --gold-light: #D8BF8F;
    --gold-deep: #8A6A39;
    --whatsapp: #1FAF5A;

    /* Type */
    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* Shape & motion */
    --radius-xs: 2px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --arch: 999px 999px 4px 4px;
    --shadow-soft: 0 1px 2px rgba(74, 9, 17, .04), 0 8px 24px -12px rgba(74, 9, 17, .12);
    --shadow-lift: 0 2px 4px rgba(74, 9, 17, .05), 0 24px 48px -20px rgba(74, 9, 17, .28);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 84px;

    /* Legacy aliases (inline styles in older templates) */
    --primary-red: var(--red);
    --gray: var(--muted);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

a { color: var(--wine); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--red); }

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

::selection { background: var(--wine); color: var(--ivory); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 2000;
    background: var(--ink); color: var(--ivory); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--ivory); }

em { font-style: italic; }

.text-ivory { color: var(--ivory) !important; }
.text-ivory-soft { color: rgba(251, 247, 240, .72); }

/* ---------- Eyebrow, ornament, links ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .75rem;
    font-family: var(--font-body);
    font-size: .74rem; font-weight: 500;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1.1rem;
}
.eyebrow-line { width: 36px; height: 1px; background: var(--gold); }
.eyebrow-center { justify-content: center; width: 100%; }
.eyebrow-gold { color: var(--gold-light); }

.ornament {
    display: flex; align-items: center; justify-content: center; gap: .9rem;
    color: var(--gold); margin: 1.4rem auto 0;
}
.ornament span { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament i { font-size: .55rem; }
.ornament-gold { color: var(--gold-light); }
.ornament-gold span { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.ornament-gold span:last-child { background: linear-gradient(90deg, var(--gold-light), transparent); }
.ornament-gold i { font-size: 1.1rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
    color: var(--wine);
    padding-bottom: .3rem;
    background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
    transition: background-size .35s var(--ease), color .25s;
}
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow-gold { color: var(--gold-light); }
.link-arrow-gold:hover { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn-lux {
    --bg: var(--wine); --fg: var(--ivory); --bd: var(--wine);
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 1.9rem;
    font-family: var(--font-body); font-size: .78rem; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--fg); background: var(--bg);
    border: 1px solid var(--bd); border-radius: var(--radius-xs);
    position: relative; overflow: hidden; isolation: isolate;
    cursor: pointer;
    transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-lux::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--wine-deep);
    transform: scaleX(0); transform-origin: right;
    transition: transform .45s var(--ease);
}
.btn-lux:hover { color: var(--ivory); transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(74, 9, 17, .6); }
.btn-lux:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-lux i { font-size: 1rem; }

.btn-lux-sm { padding: .65rem 1.2rem; font-size: .7rem; letter-spacing: .14em; }
.btn-lux-block { width: 100%; }

.btn-lux-outline { --bg: transparent; --fg: var(--wine); --bd: var(--wine); }
.btn-lux-outline::before { background: var(--wine); }

.btn-lux-gold { --bg: var(--gold); --fg: var(--wine-deep); --bd: var(--gold); }
.btn-lux-gold::before { background: var(--gold-light); }
.btn-lux-gold:hover { color: var(--wine-deep); }

.btn-lux-ghost { --bg: transparent; --fg: var(--ivory); --bd: rgba(251, 247, 240, .35); }
.btn-lux-ghost::before { background: rgba(251, 247, 240, .1); }
.btn-lux-ghost:hover { border-color: var(--gold-light); }

.btn-lux-whatsapp { --bg: var(--whatsapp); --bd: var(--whatsapp); --fg: #fff; }
.btn-lux-whatsapp::before { background: #178a47; }

.icon-btn {
    width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 50%;
    background: transparent; color: var(--ink); font-size: 1rem;
    transition: all .3s var(--ease);
}
.icon-btn:hover { border-color: var(--wine); color: var(--wine); }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--wine-deep);
    color: rgba(251, 247, 240, .78);
    font-size: .76rem; letter-spacing: .04em;
    padding: .5rem 0;
}
.topbar-note { display: inline-flex; gap: .5rem; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-note i { color: var(--gold-light); }
.topbar-links { display: flex; gap: 1.25rem; align-items: center; }
.topbar-links a { color: rgba(251, 247, 240, .82); display: inline-flex; gap: .4rem; align-items: center; }
.topbar-links a:hover { color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(251, 247, 240, .9);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 10px 30px -22px rgba(74, 9, 17, .35); background: rgba(255, 253, 248, .96); }
.site-header .navbar { min-height: var(--header-h); padding: .6rem 0; }

.navbar-brand { display: flex; align-items: center; gap: .85rem; padding: 0; margin: 0; }
.brand-logo { width: auto; max-width: 220px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--wine); letter-spacing: .01em; }
.brand-sub { font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-deep); margin-top: .35rem; }

.site-header .nav-link {
    font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink) !important;
    padding: .6rem 1.1rem !important;
    position: relative;
}
.site-header .nav-link::after {
    content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: .25rem; height: 1px;
    background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease);
}
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--wine) !important; }
.dropdown-toggle::after { display: none; }
.site-header .dropdown-toggle::before {
    content: "\F282"; font-family: bootstrap-icons; font-size: .6rem; position: absolute; right: .1rem; top: 50%; transform: translateY(-50%);
}

.nav-mega {
    border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
    background: var(--paper); box-shadow: var(--shadow-lift);
    padding: 0; margin-top: .6rem !important; min-width: 340px;
}
.nav-mega-inner { padding: 1.25rem; }
.nav-mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1rem; }
.nav-mega .dropdown-item {
    font-family: var(--font-display); font-size: 1.12rem; color: var(--ink);
    padding: .45rem .5rem; border-radius: var(--radius-xs); white-space: normal;
}
.nav-mega .dropdown-item:hover { background: var(--sand); color: var(--wine); }
.nav-mega-all {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line);
    font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
}
.nav-actions { display: flex; align-items: center; gap: .75rem; }

.nav-burger {
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent;
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-burger span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (min-width: 992px) {
    .site-header .dropdown:hover > .dropdown-menu { display: block; }
    .site-header .dropdown > .dropdown-menu { left: 50%; transform: translateX(-50%); }
    .site-header .dropdown > .dropdown-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
}

@media (max-width: 991.98px) {
    :root { --header-h: 70px; }
    .brand-name { font-size: 1.45rem; }
    .navbar-collapse { border-top: 1px solid var(--line); margin-top: .8rem; padding: 1rem 0 1.25rem; }
    .site-header .nav-link { padding: .8rem 0 !important; font-size: .85rem; border-bottom: 1px solid var(--line-soft); }
    .site-header .nav-link::after { display: none; }
    .site-header .dropdown-toggle::before { right: 0; }
    .nav-mega { min-width: 0; box-shadow: none; border: 0; background: transparent; margin: 0 !important; }
    .nav-mega-inner { padding: .5rem 0 0; }
    .nav-actions { margin-top: 1.25rem; }
    .nav-actions .btn-lux { width: 100%; }
}

/* ---------- Search overlay ---------- */
.search-overlay {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(30, 21, 19, .94);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
    padding: 1.5rem;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-overlay-content { width: 100%; max-width: 760px; text-align: center; transform: translateY(16px); transition: transform .45s var(--ease); }
.search-overlay.active .search-overlay-content { transform: none; }
.search-overlay .eyebrow { color: var(--gold-light); }
.search-close {
    position: absolute; top: 1.5rem; right: 1.5rem; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(251, 247, 240, .25); background: transparent; color: var(--ivory); font-size: 1.1rem;
}
.search-close:hover { border-color: var(--gold-light); color: var(--gold-light); }
.search-form-large { display: flex; border-bottom: 1px solid rgba(216, 191, 143, .5); }
.search-input-large {
    flex: 1; background: transparent; border: 0; outline: 0; color: var(--ivory);
    font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.6rem); padding: .6rem 0;
}
.search-input-large::placeholder { color: rgba(251, 247, 240, .35); font-style: italic; }
.search-submit-large { background: transparent; border: 0; color: var(--gold-light); font-size: 1.6rem; padding: 0 .5rem; }
.search-suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.search-suggest a {
    font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251, 247, 240, .7);
    border: 1px solid rgba(251, 247, 240, .18); padding: .4rem .9rem; border-radius: 99px;
}
.search-suggest a:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-tight { padding-top: clamp(3rem, 6vw, 4.5rem); }
.section-sand { background: var(--sand); }
.section-ink { background: var(--wine-deep); color: rgba(251, 247, 240, .75); overflow: hidden; }
.section-ink::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
    background-image: radial-gradient(circle at 1px 1px, var(--gold-light) 1px, transparent 0);
    background-size: 22px 22px;
}
.section-ink .container { position: relative; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; text-align: left; max-width: none; flex-wrap: wrap; }
.section-head-split .section-title { margin: 0; }
.section-title { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 500; margin: 0; }
.section-title em { color: var(--wine); font-weight: 400; }
.section-ink .section-title em { color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem);
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(216, 191, 143, .28), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(193, 18, 31, .06), transparent 60%),
        var(--ivory);
}
.hero-pattern {
    position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23B08D57' stroke-opacity='.18'%3E%3Cpath d='M40 4 L76 40 L40 76 L4 40 Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.hero .container { position: relative; }
.hero-title {
    font-size: clamp(2.7rem, 6vw, 4.9rem); font-weight: 500; line-height: 1.02;
    color: var(--ink); margin-bottom: 1.5rem;
}
.hero-text { font-size: 1.08rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 2.25rem; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust {
    list-style: none; padding: 1.75rem 0 0; margin: 2.5rem 0 0;
    border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; gap: .75rem 2rem;
    font-size: .85rem; color: var(--ink-soft);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust i { color: var(--gold); }

.hero-visual { position: relative; max-width: 500px; margin: 0 auto; padding: 1.5rem 1.5rem 2.5rem; }
.hero-arch {
    position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden;
    background: var(--sand); box-shadow: var(--shadow-lift);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.hero-visual:hover .hero-arch img { transform: scale(1.04); }
.hero-arch-outline {
    position: absolute; inset: 0 3rem 1rem 0; border: 1px solid var(--gold); border-radius: var(--arch);
    transform: translate(-.25rem, 0);
}
.hero-arch-empty {
    height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    color: var(--muted); text-align: center; padding: 2rem; font-size: .85rem;
    background: linear-gradient(160deg, var(--sand), var(--sand-deep));
}
.hero-arch-empty i { font-size: 3.5rem; color: var(--gold); }
.hero-badge-card {
    position: absolute; left: -1rem; bottom: 1rem;
    display: flex; align-items: center; gap: .9rem;
    background: var(--paper); padding: 1rem 1.25rem; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lift); border: 1px solid var(--line-soft);
    animation: float 6s ease-in-out infinite;
}
.hero-badge-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 600; line-height: 1.1; }
.hero-badge-card span { font-size: .78rem; color: var(--muted); }
.hero-badge-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--wine); color: var(--gold-light) !important; font-size: 1.2rem !important; }
.hero-seal {
    position: absolute; right: -.5rem; top: 2.5rem; width: 116px; height: 116px;
    border-radius: 50%; background: var(--wine); color: var(--gold-light);
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lift);
}
.hero-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero-seal text { font-size: 9.5px; letter-spacing: 2.6px; fill: currentColor; font-family: var(--font-body); }
.hero-seal i { font-size: 1.2rem; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 991.98px) {
    .hero-content { text-align: center; }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero .eyebrow { justify-content: center; width: 100%; }
    .hero-seal { width: 92px; height: 92px; right: 0; }
    .hero-badge-card { left: 0; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--wine); color: var(--gold-light); overflow: hidden; padding: 1.1rem 0; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 2.25rem; animation: marquee 40s linear infinite; padding-left: 2.25rem; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--ivory); }
.marquee i { font-size: .5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Media placeholder ---------- */
.media-placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, var(--sand), var(--sand-deep)); color: var(--gold); font-size: 2.4rem;
}
.media-placeholder-lg { position: relative; min-height: 460px; font-size: 4rem; border-radius: var(--radius-sm); }

/* ---------- Category card (arch) ---------- */
.category-card { display: block; color: inherit; text-align: center; }
.category-card-arch {
    position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden;
    background: var(--sand);
    outline: 1px solid var(--line-soft); outline-offset: 8px;
    transition: outline-color .4s var(--ease), outline-offset .4s var(--ease);
}
.category-card-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.category-card-arch::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(74, 9, 17, .35));
    opacity: 0; transition: opacity .5s var(--ease);
}
.category-card:hover .category-card-arch { outline-color: var(--gold); outline-offset: 4px; }
.category-card:hover .category-card-arch img { transform: scale(1.06); }
.category-card:hover .category-card-arch::after { opacity: 1; }
.category-card-body { padding: 1.75rem .5rem 0; }
.category-card-index { display: block; font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1rem; margin-bottom: .25rem; }
.category-card-title { font-size: 1.85rem; margin-bottom: .5rem; transition: color .3s; }
.category-card:hover .category-card-title { color: var(--wine); }
.category-card-text { font-size: .92rem; color: var(--muted); max-width: 320px; margin: 0 auto 1rem; }

/* ---------- Design card ---------- */
.design-card { display: block; color: inherit; height: 100%; }
.design-card-media {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    background: var(--paper); border-radius: var(--radius-xs);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.design-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.design-card:hover .design-card-media { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.design-card:hover .design-card-media img { transform: scale(1.05); }
.design-card-code {
    position: absolute; top: .85rem; left: .85rem;
    font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(255, 253, 248, .92); color: var(--wine);
    padding: .3rem .6rem; border-radius: var(--radius-xs);
    backdrop-filter: blur(4px);
}
.design-card-hover {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; justify-content: center; align-items: center; gap: .5rem;
    padding: .9rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
    background: var(--wine); color: var(--ivory);
    transform: translateY(101%); transition: transform .45s var(--ease);
}
.design-card:hover .design-card-hover { transform: none; }
.design-card-body { padding: 1.1rem .15rem 0; }
.design-card-category { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3rem; }
.design-card-title { font-size: 1.32rem; font-weight: 500; margin: 0; transition: color .3s; }
.design-card:hover .design-card-title { color: var(--wine); }

@media (hover: none) {
    .design-card-hover { display: none; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 2.25rem 1.75rem 0; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step::before { content: ""; position: absolute; top: -4px; left: 1.75rem; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.step-num { font-family: var(--font-display); font-style: italic; font-size: 3rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 991.98px) {
    .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
    .step:nth-child(2) { border-right: 0; }
}
@media (max-width: 575.98px) {
    .steps { grid-template-columns: 1fr; border-top: 0; }
    .step { border-right: 0; border-top: 1px solid var(--line); }
}

/* ---------- Features (dark band) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(216, 191, 143, .2); border-left: 1px solid rgba(216, 191, 143, .2); }
.feature { padding: 2rem 1.75rem; border-right: 1px solid rgba(216, 191, 143, .2); border-bottom: 1px solid rgba(216, 191, 143, .2); transition: background .4s var(--ease); }
.feature:hover { background: rgba(216, 191, 143, .06); }
.feature i { font-size: 1.6rem; color: var(--gold-light); display: block; margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.4rem; color: var(--ivory); margin-bottom: .5rem; }
.feature p { font-size: .88rem; margin: 0; color: rgba(251, 247, 240, .62); }
@media (max-width: 767.98px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479.98px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.showcase-item { position: relative; overflow: hidden; border-radius: var(--radius-xs); background: var(--sand); }
.showcase-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.showcase-item:nth-child(4) { grid-row: span 2; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.showcase-item:hover img { transform: scale(1.06); }
.showcase-caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem 1rem;
    font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory);
    background: linear-gradient(180deg, transparent, rgba(30, 21, 19, .75));
    opacity: 0; transform: translateY(10px); transition: all .45s var(--ease);
}
.showcase-item:hover .showcase-caption { opacity: 1; transform: none; }
@media (max-width: 767.98px) {
    .showcase { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .showcase-item:nth-child(4) { grid-row: span 1; }
}

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(4.5rem, 9vw, 7rem); }
.section-sand + .cta, .section + .cta { padding-top: 0; }
.cta-frame {
    position: relative; text-align: center; overflow: hidden;
    background: radial-gradient(600px 300px at 50% 0%, rgba(216, 191, 143, .18), transparent 70%), var(--wine);
    color: rgba(251, 247, 240, .78);
    padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
    border-radius: var(--radius-xs);
}
.cta-frame::before {
    content: ""; position: absolute; inset: 14px; border: 1px solid rgba(216, 191, 143, .4); pointer-events: none;
}
.cta-frame .ornament { margin: 0 auto 1.25rem; }
.cta-frame h2 { color: var(--ivory); font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.cta-frame p { max-width: 560px; margin: 0 auto 2.25rem; font-weight: 300; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; }

/* ---------- Page hero ---------- */
.page-hero {
    position: relative; text-align: center; overflow: hidden;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 6vw, 4rem);
    background: radial-gradient(700px 300px at 50% 0%, rgba(216, 191, 143, .3), transparent 70%), var(--sand);
    border-bottom: 1px solid var(--line);
}
.page-hero-pattern {
    position: absolute; inset: 0; opacity: .6; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23B08D57' stroke-opacity='.14'%3E%3Cpath d='M40 4 L76 40 L40 76 L4 40 Z'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero-title { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 0; }
.page-hero-title em { color: var(--wine); font-weight: 400; }
.page-hero-sub { max-width: 600px; margin: 1.25rem auto 0; color: var(--ink-soft); font-weight: 300; }
.page-hero .eyebrow { margin-bottom: .75rem; }

.crumbs {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem;
    font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
}
.crumbs li { display: inline-flex; align-items: center; gap: .25rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--gold); margin: 0 .35rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--wine); }
.crumbs span[aria-current] { color: var(--wine); }
.crumbs-left { justify-content: flex-start; }

/* ---------- Design detail ---------- */
.detail { padding: 2.25rem 0 clamp(4rem, 8vw, 6rem); }
.detail-gallery { display: flex; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.25rem); }
.detail-thumbs { display: flex; flex-direction: column; gap: .75rem; width: 84px; flex-shrink: 0; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.detail-thumbs::-webkit-scrollbar { display: none; }
.detail-thumb {
    padding: 0; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-xs);
    aspect-ratio: 4 / 5; overflow: hidden; opacity: .6; transition: all .3s var(--ease); flex-shrink: 0;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb:hover { opacity: 1; }
.detail-thumb.active { opacity: 1; border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine); }
.detail-main {
    position: relative; flex: 1; background: var(--paper); border-radius: var(--radius-xs);
    overflow: hidden; box-shadow: var(--shadow-soft); cursor: zoom-in;
}
.detail-main img { width: 100%; max-height: 720px; object-fit: contain; transition: opacity .3s var(--ease), transform .25s ease-out; transform-origin: center; }
.detail-main.zooming img { transform: scale(1.8); }
.detail-zoom {
    position: absolute; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: rgba(255, 253, 248, .92); color: var(--wine); box-shadow: var(--shadow-soft);
}
.detail-zoom:hover { background: var(--wine); color: var(--ivory); }

.detail-info { padding-top: .5rem; }
.detail-category { margin-bottom: .8rem; }
.detail-title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1.25rem; }
.detail-code {
    display: inline-flex; align-items: center; gap: .75rem;
    padding: .55rem .6rem .55rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-xs);
    background: var(--paper); margin-bottom: 1.75rem;
}
.detail-code span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.detail-code strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--wine); font-weight: 600; letter-spacing: .04em; }
.copy-btn {
    width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: transparent; border-radius: 50%; color: var(--ink-soft); font-size: .9rem;
}
.copy-btn:hover { border-color: var(--wine); color: var(--wine); }
.detail-lead { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; color: var(--ink); margin-bottom: 1rem; }
.detail-description { color: var(--ink-soft); font-weight: 300; margin-bottom: 2rem; }
.detail-actions { display: grid; gap: .75rem; padding: 1.75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.detail-perks { list-style: none; padding: 1.5rem 0; margin: 0; display: grid; gap: .9rem; }
.detail-perks li { display: flex; gap: .9rem; align-items: center; font-size: .92rem; }
.detail-perks i { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sand); color: var(--wine); }
.detail-perks strong { color: var(--ink); font-weight: 500; }
.detail-share { display: flex; align-items: center; gap: .6rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.detail-share span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: .5rem; }
.detail-share a {
    width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft);
}
.detail-share a:hover { border-color: var(--wine); color: var(--wine); }

@media (max-width: 991.98px) {
    .detail-gallery { position: static; flex-direction: column-reverse; }
    .detail-thumbs { flex-direction: row; width: auto; max-height: none; overflow-x: auto; }
    .detail-thumb { width: 70px; }
}
@media (max-width: 479.98px) { .detail-actions-row { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 1200; background: rgba(20, 14, 12, .96);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox-overlay.active { opacity: 1; }
.lightbox-content { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4rem 5rem; }
.lightbox-content img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-close, .lightbox-nav {
    position: absolute; width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(251, 247, 240, .25); background: transparent; color: var(--ivory); font-size: 1.2rem;
    transition: all .3s;
}
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(251, 247, 240, .6); font-size: .8rem; letter-spacing: .2em; }
@media (max-width: 575.98px) { .lightbox-content { padding: 4rem 1rem; } .lightbox-nav { top: auto; bottom: 1rem; transform: none; } }

/* ---------- About ---------- */
.about-visual { position: relative; max-width: 480px; margin: 0 auto; padding-bottom: 3rem; }
.about-arch { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--sand); outline: 1px solid var(--gold); outline-offset: 12px; }
.about-arch img { width: 100%; height: 100%; object-fit: cover; }
.about-quote {
    position: absolute; right: -1rem; bottom: 0; max-width: 260px;
    background: var(--wine); color: var(--ivory); padding: 1.5rem 1.75rem; border-radius: var(--radius-xs);
    box-shadow: var(--shadow-lift);
}
.about-quote i { color: var(--gold-light); font-size: 1.8rem; line-height: 1; }
.about-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.3; margin: .25rem 0 0; }
.prose { margin-top: 1.75rem; font-weight: 300; }
.prose p { margin-bottom: 1.1rem; }
.prose strong { font-weight: 500; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value { background: var(--paper); padding: 2.25rem 1.75rem; text-align: center; border: 1px solid var(--line-soft); border-radius: var(--radius-xs); transition: all .4s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--gold-light); }
.value i { font-size: 1.8rem; color: var(--wine); display: block; margin-bottom: 1rem; }
.value h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.value p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 991.98px) { .values { grid-template-columns: 1fr 1fr; } .about-quote { right: 0; } }
@media (max-width: 479.98px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.4rem 1.5rem; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-xs);
    color: inherit; transition: all .35s var(--ease);
}
a.contact-card:hover { border-color: var(--gold); transform: translateX(4px); color: inherit; }
.contact-card-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--wine); color: var(--gold-light); font-size: 1.1rem; }
.contact-card-label { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .2rem; }
.contact-card-value { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); line-height: 1.35; }
.map-frame { margin-top: 1rem; border-radius: var(--radius-xs); overflow: hidden; border: 1px solid var(--line); }

.form-card { background: var(--paper); border: 1px solid var(--line-soft); padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-xs); box-shadow: var(--shadow-soft); }
.form-card-title { font-size: 2.1rem; margin-bottom: .25rem; }
.form-card-sub { font-size: .85rem; color: var(--muted); margin-bottom: 2rem; }
.field { display: block; width: 100%; margin: 0; }
.field > span { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; font-weight: 500; }
.field input, .field textarea, .field select {
    width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    padding: .55rem 0; outline: 0; transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--wine); box-shadow: 0 1px 0 var(--wine); }
.field input::placeholder, .field textarea::placeholder { color: #B7A99E; }
.form-note { font-size: .88rem; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius-xs); margin-bottom: 1.5rem; font-size: .93rem; }
.notice i { font-size: 1.1rem; }
.notice-success { background: #EEF6EE; color: #22502C; border: 1px solid #CFE4D1; }
.notice-error { background: #FBEDEC; color: #7A1A14; border: 1px solid #F0CFCB; }

/* ---------- Search, chips, empty, 404 ---------- */
.search-inline { display: flex; max-width: 640px; margin: 0 auto; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-xs); transition: border-color .3s; }
.search-inline:focus-within { border-color: var(--wine); }
.search-inline input { flex: 1; border: 0; background: transparent; padding: 1rem 1.25rem; font-size: 1rem; outline: 0; color: var(--ink); min-width: 0; }
.search-inline button { border: 0; background: var(--wine); color: var(--ivory); padding: 0 1.4rem; font-size: 1.05rem; }
.search-inline button:hover { background: var(--wine-deep); }
.search-inline-lg input { padding: 1.2rem 1.5rem; font-size: 1.1rem; }
.results-count { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chip { padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 99px; font-size: .85rem; color: var(--ink-soft); background: var(--paper); }
.chip:hover { border-color: var(--wine); color: var(--wine); }

.empty-state { text-align: center; padding: 4rem 1rem; max-width: 560px; margin: 0 auto; }
.empty-state > i { font-size: 3rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.empty-state h2 { font-size: 2rem; margin-bottom: .5rem; }
.empty-state p { color: var(--muted); }

.not-found { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.not-found-code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin: 0; font-weight: 500; }
.not-found h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: .5rem; }
.not-found-text { color: var(--muted); max-width: 480px; margin: 1.5rem auto 2rem; }

/* ---------- Pagination ---------- */
.pagination { gap: .4rem; }
.pagination .page-link {
    border: 1px solid var(--line); border-radius: 50% !important; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center; padding: 0;
    color: var(--ink-soft); background: var(--paper); font-size: .9rem;
}
.pagination .page-link:hover { border-color: var(--wine); color: var(--wine); background: var(--paper); }
.pagination .page-item.active .page-link { background: var(--wine); border-color: var(--wine); color: var(--ivory); }
.pagination .page-link:focus { box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { background: #1A1110; color: rgba(251, 247, 240, .62); position: relative; padding-top: 4.5rem; font-size: .93rem; }
.footer-ornament { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 1rem; color: var(--gold); }
.footer-ornament span { width: 80px; height: 1px; background: var(--gold); opacity: .5; }
.footer-ornament i { width: 48px; height: 48px; border-radius: 50%; background: #1A1110; border: 1px solid rgba(176, 141, 87, .5); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.footer-top { padding-bottom: 3.5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }
.footer-brand .brand-name { color: var(--ivory); }
.footer-brand .brand-sub { color: var(--gold-light); }
.footer-desc { max-width: 340px; font-weight: 300; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(251, 247, 240, .16); display: flex; align-items: center; justify-content: center; color: rgba(251, 247, 240, .75); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(176, 141, 87, .1); }
.footer-heading { font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.4rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a, .footer-contact a { color: rgba(251, 247, 240, .7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .9rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(251, 247, 240, .08); padding: 1.4rem 0; font-size: .8rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(251, 247, 240, .55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- WhatsApp float + toast ---------- */
.whatsapp-float {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1040;
    width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.65rem;
    box-shadow: 0 12px 28px -8px rgba(31, 175, 90, .6);
    transition: transform .35s var(--ease);
}
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: pulse 2.4s ease-out infinite; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

.toast-lux {
    position: fixed; left: 50%; bottom: 2rem; z-index: 1300; transform: translate(-50%, 20px);
    background: var(--ink); color: var(--ivory); padding: .75rem 1.25rem; border-radius: var(--radius-xs);
    font-size: .85rem; opacity: 0; transition: all .35s var(--ease); pointer-events: none;
}
.toast-lux.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
    .topbar-note { display: none; }
    .topbar .container { justify-content: center !important; }
    .btn-lux { padding: .9rem 1.4rem; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.45rem; right: 1rem; bottom: 1rem; }
}
