@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #03111f;
    --bg-deep: #020c16;
    --bg-soft: #07192b;
    --panel: #0a1d32;
    --panel-2: #0d223a;
    --panel-3: #102943;
    --gold: #b97c1c;
    --gold-light: #e6b551;
    --gold-pale: #f1cf83;
    --text: #f7f0e6;
    --muted: #aeb8c5;
    --line: rgba(205, 145, 43, 0.48);
    --line-soft: rgba(205, 145, 43, 0.22);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    --radius: 12px;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 76% 16%, rgba(181, 112, 24, 0.08), transparent 28%),
        linear-gradient(180deg, #03111f 0%, #041424 58%, #020c16 100%);
    font: 14px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.icon {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.container {
    width: min(1334px, calc(100% - 72px));
    margin-inline: auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 73px;
    border-bottom: 1px solid rgba(185, 124, 28, 0.28);
    background: rgba(2, 12, 22, 0.97);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1334px, calc(100% - 72px));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    color: var(--gold-light);
    text-decoration: none;
}

.brand-symbol {
    width: 48px;
    height: 54px;
    position: relative;
    flex: 0 0 48px;
    border: 2px solid var(--gold-light);
    border-bottom-width: 3px;
    border-radius: 26px 26px 6px 6px;
    box-shadow: inset 0 0 18px rgba(231, 175, 66, 0.08);
}

.brand-symbol::before {
    content: '';
    position: absolute;
    left: 9px;
    right: 9px;
    top: 24px;
    bottom: 8px;
    border-left: 1px solid rgba(230, 181, 81, 0.72);
    border-right: 1px solid rgba(230, 181, 81, 0.72);
}

.brand-flame {
    position: absolute;
    left: 18px;
    top: 10px;
    width: 10px;
    height: 18px;
    border-radius: 58% 42% 58% 42%;
    transform: rotate(4deg);
    background: linear-gradient(180deg, #fff5c7 0%, #f3bd51 48%, #bd7419 100%);
    box-shadow: 0 0 15px rgba(249, 181, 59, 0.82);
}

.brand-book {
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 6px;
    height: 8px;
    border-top: 1px solid var(--gold-light);
}

.brand-book::before,
.brand-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 50%;
    height: 6px;
    border-bottom: 1px solid var(--gold-light);
}

.brand-book::before {
    left: 0;
    transform: skewY(9deg);
}

.brand-book::after {
    right: 0;
    transform: skewY(-9deg);
}

.brand-copy strong,
.brand-copy small {
    display: block;
    font-family: var(--serif);
    line-height: 0.86;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.brand-copy strong {
    font-size: 28px;
}

.brand-copy small {
    margin-top: 3px;
    font-size: 21px;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-self: stretch;
    align-items: stretch;
    gap: 37px;
}

.main-nav a {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 2px;
    color: #f4e9dd;
    text-decoration: none;
    font: 600 17px/1 var(--serif);
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    transform: scaleX(0);
    background: var(--gold-light);
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--gold-pale);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    padding: 10px 17px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--gold-light);
    background: rgba(4, 18, 32, 0.82);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: rgba(230, 181, 81, 0.82);
}

.btn-gold {
    color: #fff8e9;
    border-color: #d39a35;
    background: linear-gradient(135deg, #966013 0%, #c8871e 52%, #d9a13d 100%);
    box-shadow: inset 0 1px 0 rgba(255, 236, 177, 0.22), 0 10px 28px rgba(161, 93, 13, 0.17);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #a56d19 0%, #d09325 52%, #e4ad46 100%);
    box-shadow: inset 0 1px 0 rgba(255, 236, 177, 0.28), 0 12px 32px rgba(161, 93, 13, 0.23);
}

.header-cta {
    min-width: 218px;
    text-transform: uppercase;
    font: 700 16px/1 var(--serif);
    letter-spacing: 0.02em;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: transparent;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--gold-light);
}


.eyebrow {
    display: inline-block;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* HOME HERO */
.home-hero {
    position: relative;
    min-height: 385px;
    overflow: hidden;
    border-bottom: 1px solid rgba(190, 129, 27, 0.24);
    background:
        linear-gradient(90deg, rgba(2, 12, 22, 1) 0%, rgba(3, 18, 31, 0.97) 34%, rgba(3, 18, 31, 0.56) 67%, rgba(3, 14, 25, 0.04) 100%),
        url('../img/v3/hero_home.jpg') right center / auto 100% no-repeat,
        #041321;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 72% 35%, rgba(255, 175, 46, 0.17), transparent 25%),
        linear-gradient(180deg, transparent 78%, rgba(1, 9, 17, 0.58) 100%);
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1334px, calc(100% - 72px));
    min-height: 385px;
    margin-inline: auto;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: 535px;
    padding: 22px 0 28px 142px;
}

.hero-ornament {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 6px;
    color: var(--gold-light);
}

.hero-ornament::before,
.hero-ornament::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-ornament::after {
    width: 28px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-ornament span {
    font: 700 22px/1 var(--serif);
}

.home-hero h1 {
    margin: 0 0 13px;
    max-width: 470px;
    color: #f3eee9;
    font: 600 66px/0.91 var(--serif);
    letter-spacing: -0.02em;
}

.home-hero h1 span {
    display: block;
    color: var(--gold-light);
}

.home-hero p {
    margin: 0;
    max-width: 420px;
    color: #eee8e2;
    font: 500 16px/1.5 var(--serif);
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.hero-actions .btn {
    min-width: 196px;
    min-height: 46px;
    text-transform: uppercase;
    font-family: var(--serif);
    font-size: 15px;
}

.stats-pill {
    position: relative;
    z-index: 5;
    width: 620px;
    min-height: 66px;
    margin: -33px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid var(--gold);
    border-radius: 40px;
    color: #eee7dc;
    background: #071728;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.stats-pill::before,
.stats-pill::after {
    content: '❦';
    color: rgba(211, 154, 53, 0.3);
    font-size: 26px;
}

.stats-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(230, 181, 81, 0.45);
    border-radius: 50%;
    color: var(--gold-light);
    box-shadow: inset 0 0 16px rgba(222, 156, 45, 0.12);
}

.stats-pill strong {
    color: var(--gold-light);
    font: 600 39px/1 var(--serif);
}

/* SECTIONS */
.home-main {
    width: min(1334px, calc(100% - 72px));
    margin: 0 auto;
    padding: 8px 0 0;
}

.home-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.92fr 1.02fr;
    gap: 22px;
    padding: 12px 0 24px;
}

.home-block-title,
.section-title {
    position: relative;
    margin: 0 0 12px;
    color: #f2ece4;
    font: 600 24px/1.1 var(--serif);
}

.home-block-title::after,
.section-title::after {
    content: '';
    display: block;
    width: 31px;
    height: 2px;
    margin-top: 7px;
    background: var(--gold);
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(13, 34, 57, 0.98), rgba(5, 19, 33, 0.98));
    box-shadow: var(--shadow);
}

.price-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.price-card {
    min-height: 188px;
    padding: 12px 12px 13px;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    overflow: hidden;
}

.price-photo-wrap {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 48% 48%, rgba(244, 163, 45, 0.23), transparent 58%);
}

.price-photo {
    width: 92px;
    height: 146px;
    object-fit: cover;
    object-position: center;
    border-radius: 7px;
    mix-blend-mode: screen;
}

.price-card h3 {
    margin: 0;
    font: 600 22px/1 var(--serif);
}

.price {
    margin: 3px 0 10px;
    color: var(--gold-light);
    font: 700 25px/1 var(--serif);
}

.price-card p {
    margin: 0 0 10px;
    color: #d5d2cd;
    font: 500 12px/1.45 var(--serif);
}

.price-card .btn {
    min-height: 32px;
    padding: 5px 9px;
    font: 700 11px/1 var(--serif);
    text-transform: uppercase;
}

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

.category-card {
    min-height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #f0e6da;
    background: rgba(9, 27, 46, 0.78);
    text-decoration: none;
    font: 600 13px/1 var(--serif);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold-light);
    background: rgba(16, 43, 70, 0.9);
}

.category-card .icon {
    width: 29px;
    height: 29px;
    color: var(--gold-light);
}

.categories-more {
    margin-top: 10px;
    text-align: center;
}

.categories-more .btn {
    min-height: 31px;
    padding-block: 5px;
    font: 700 11px/1 var(--serif);
    text-transform: uppercase;
}

.memorial-home-card {
    min-height: 188px;
    display: grid;
    grid-template-columns: 132px 1fr;
    overflow: hidden;
}

.memorial-home-card figure {
    margin: 0;
    padding: 12px;
    background: rgba(5, 18, 31, 0.45);
}

.memorial-home-card figure img {
    width: 100%;
    height: 100%;
    min-height: 158px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(212, 151, 46, 0.52);
}

.memorial-home-body {
    padding: 17px 18px 15px 5px;
}

.memorial-home-body h3 {
    margin: 0 0 2px;
    font: 600 22px/1.05 var(--serif);
}

.memorial-home-body .dates {
    color: var(--gold-pale);
    font-size: 10px;
}

.memorial-home-body p {
    margin: 9px 0 13px;
    color: #e5ddd3;
    font: 500 12px/1.35 var(--serif);
}

.memorial-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-pale);
    text-decoration: none;
    font: 600 12px/1 var(--serif);
}

.memorial-link .icon {
    width: 17px;
    height: 17px;
}

/* PRAYER BAR */
.prayer-strip {
    position: relative;
    margin: 0 auto 22px;
    padding: 29px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: visible;
    background:
        linear-gradient(90deg, rgba(4, 17, 30, 0.98) 0%, rgba(6, 20, 35, 0.96) 79%, rgba(5, 18, 31, 0.6) 100%),
        url('../img/v3/prayer_hands.jpg') right center / auto 100% no-repeat;
}

.prayer-strip-title {
    position: absolute;
    top: -1px;
    left: 31px;
    padding: 0 10px;
    transform: translateY(-50%);
    color: #f2ece4;
    background: #041321;
    font: 600 22px/1 var(--serif);
}

.prayer-strip-title::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.prayer-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    padding-right: 120px;
}

.prayer-item {
    min-height: 115px;
    padding: 13px 16px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    border: 1px solid rgba(201, 137, 34, 0.52);
    border-radius: 8px;
    background: rgba(10, 30, 50, 0.84);
}

.prayer-item-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(208, 148, 45, 0.55);
    border-radius: 50%;
    color: var(--gold-light);
}

.prayer-item-icon .icon {
    width: 27px;
    height: 27px;
}

.prayer-item h3 {
    margin: 0 0 3px;
    font: 600 18px/1.08 var(--serif);
}

.prayer-item p {
    margin: 0;
    color: #ded9d2;
    font: 500 11px/1.4 var(--serif);
}

.prayer-item-footer {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 5px;
}

.prayer-time {
    color: #9aa5b1;
    font-size: 9px;
}

.pray-button {
    min-height: 26px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--gold-light);
    background: rgba(3, 15, 27, 0.78);
    font: 700 9px/1 var(--serif);
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

.pray-button.is-praying {
    background: rgba(185, 124, 28, 0.2);
}

.prayer-count {
    margin-left: 4px;
    color: var(--gold-pale);
    font-size: 9px;
}

.prayer-strip-action {
    margin-top: 11px;
    text-align: center;
}

.prayer-strip-action .btn {
    min-height: 30px;
    padding: 5px 22px;
    font: 700 10px/1 var(--serif);
    text-transform: uppercase;
}

/* GENERIC PAGE HERO */
.page-hero {
    position: relative;
    min-height: 212px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
    background:
        linear-gradient(90deg, rgba(3, 14, 25, 0.98) 0%, rgba(4, 18, 31, 0.9) 48%, rgba(4, 18, 31, 0.2) 100%),
        url('../img/v3/hero_capela.jpg') right center / auto 100% no-repeat,
        #041321;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 44%, rgba(247, 174, 57, 0.14), transparent 28%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-hero-copy {
    display: flex;
    align-items: center;
    gap: 18px;
}

.page-hero-symbol {
    color: var(--gold-light);
}

.page-hero-symbol .icon {
    width: 66px;
    height: 66px;
}

.page-hero h1 {
    margin: 0;
    font: 600 58px/0.95 var(--serif);
}

.page-hero p {
    margin: 8px 0 0;
    color: #ded9d2;
    font: 500 16px/1.4 var(--serif);
}

.hero-counter {
    min-width: 295px;
    padding: 17px 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(6, 22, 39, 0.9);
    box-shadow: var(--shadow);
}

.hero-counter .icon {
    width: 34px;
    height: 34px;
    color: var(--gold-light);
}

.hero-counter strong {
    display: block;
    color: #f4e6cf;
    font: 600 38px/0.95 var(--serif);
}

.hero-counter small {
    display: block;
    margin-top: 4px;
    font: 600 14px/1 var(--serif);
}

/* CAPELA FILTERS */
.capela-shell {
    width: min(1380px, calc(100% - 68px));
    margin-inline: auto;
}

.filter-panel {
    margin: 0 auto 16px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1.45fr 1fr 0.86fr 0.78fr;
    gap: 18px;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(5, 20, 34, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.filter-field label {
    display: block;
    margin-bottom: 5px;
    color: #ddd5ca;
    font: 600 13px/1 var(--serif);
}

.input-wrap {
    position: relative;
}

.input-wrap .icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: #a6b1bd;
    pointer-events: none;
}

.input,
.select,
.textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(205, 145, 43, 0.48);
    border-radius: 8px;
    outline: none;
    color: #f7f0e6;
    background: #041321;
}

.input-wrap .input {
    padding-left: 46px;
}

.input::placeholder,
.textarea::placeholder {
    color: #8693a1;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(220, 155, 46, 0.08);
}

.select option {
    color: #fff;
    background: #071827;
}

.duration-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.duration-tabs a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line-soft);
    color: #e9dfd4;
    background: #071829;
    text-decoration: none;
    font: 600 13px/1 var(--serif);
}

.duration-tabs a:first-child {
    border-radius: 7px 0 0 7px;
}

.duration-tabs a:last-child {
    border-radius: 0 7px 7px 0;
}

.duration-tabs a.is-active {
    color: #fff3da;
    border-color: var(--gold);
    background: linear-gradient(135deg, #705019, #9f6b1a);
}

.duration-tabs .icon {
    width: 17px;
    height: 17px;
}

/* CAPELA CARDS */
.capela-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
    align-items: start;
    padding: 0 0 20px;
}

.candles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.candle-card {
    min-height: 194px;
    display: grid;
    grid-template-columns: 105px 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: inherit;
    background: linear-gradient(145deg, #0b2036, #061421);
    text-decoration: none;
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.22);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.candle-card:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 181, 81, 0.8);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.candle-card-visual {
    position: relative;
    min-height: 194px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 168, 46, 0.2), transparent 42%),
        #061321;
}

.candle-card-visual > img.candle-source {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.candle-user-photo {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 43px;
    height: 43px;
    object-fit: cover;
    border: 2px solid var(--gold-light);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
}

.candle-card-body {
    min-width: 0;
    padding: 15px 13px 10px;
    display: flex;
    flex-direction: column;
}

.candle-card h3 {
    margin: 0 0 10px;
    min-height: 43px;
    color: #f4eee6;
    font: 600 20px/1.05 var(--serif);
}

.candle-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-light);
    font: 600 12px/1 var(--serif);
}

.candle-category .icon {
    width: 19px;
    height: 19px;
}

.candle-author {
    margin-top: 9px;
    overflow: hidden;
    color: #e3ddd6;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 500 12px/1 var(--serif);
}

.candle-meta {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #adb5bf;
    font-size: 9px;
}

.candle-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.candle-meta .icon {
    width: 13px;
    height: 13px;
    color: var(--gold-light);
}

.candle-meta .remaining {
    padding-left: 18px;
    color: var(--gold-light);
}

.featured-memory {
    position: sticky;
    top: 93px;
    padding: 16px;
    border: 1px solid #c78924;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(180deg, #0b2036, #071726);
    box-shadow: 0 0 0 4px rgba(185, 124, 28, 0.08), 0 0 27px rgba(212, 146, 36, 0.17), var(--shadow);
}

.featured-memory .featured-kicker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--gold-light);
    font: 700 12px/1 var(--serif);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.featured-memory .featured-kicker .icon {
    width: 19px;
    height: 19px;
}

.featured-memory figure {
    margin: 14px 0 13px;
}

.featured-memory figure img {
    width: 100%;
    aspect-ratio: 1.22 / 1;
    object-fit: cover;
    border: 1px solid rgba(220, 159, 52, 0.46);
    border-radius: 8px;
}

.featured-memory h3 {
    margin: 0;
    font: 600 25px/1.05 var(--serif);
}

.featured-memory p {
    margin: 8px 0;
    color: #ded6cc;
    font: 500 12px/1.42 var(--serif);
}

.featured-memory .family {
    color: #f1e8dc;
    font: 600 13px/1 var(--serif);
}

.featured-memory .meta-row {
    margin-top: 14px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9eabb6;
    font-size: 9px;
}

.pagination-row {
    margin: 2px 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pagination-row a,
.pagination-row span {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(193, 133, 35, 0.32);
    border-radius: 5px;
    color: #d9d2ca;
    background: rgba(5, 18, 31, 0.7);
    text-decoration: none;
}

.pagination-row a.is-active {
    color: white;
    border-color: var(--gold);
    background: linear-gradient(145deg, #996518, #be8225);
}

.load-more {
    min-width: 335px;
    margin-left: 30px;
    text-transform: uppercase;
    font: 700 15px/1 var(--serif);
}

/* FORMS */
.form-page {
    padding: 30px 0 55px;
}

.form-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 0.75fr;
    gap: 24px;
}

.form-card,
.preview-card {
    padding: 26px;
}

.form-card h2,
.preview-card h2,
.preview-card h3 {
    margin: 0 0 15px;
    font-family: var(--serif);
}

.form-card h2 {
    font-size: 31px;
}

.field {
    margin-bottom: 15px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    color: #ded7cf;
    font-size: 12px;
}

.help {
    margin-top: 5px;
    color: #8f9eac;
    font-size: 11px;
}

.radio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.choice {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 19, 33, 0.9);
}

.choice input {
    accent-color: var(--gold);
}

.preview-card {
    position: sticky;
    top: 100px;
    height: fit-content;
    text-align: center;
}

.preview-card .preview-photo {
    width: 118px;
    height: 118px;
    margin: 12px auto;
    object-fit: cover;
    border: 3px solid var(--gold);
    border-radius: 50%;
}

.preview-candle-image {
    width: 112px;
    height: 178px;
    margin: 10px auto;
    object-fit: cover;
    border-radius: 8px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 24px;
    padding: 32px 0 60px;
}

.qr {
    width: 270px;
    max-width: 100%;
    margin: 16px auto;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
}

.qr img {
    width: 100%;
}

.codebox {
    margin: 14px 0;
    padding: 12px;
    word-break: break-all;
    border: 1px dashed var(--gold);
    border-radius: 7px;
    color: #dfe6ed;
    background: #041321;
    font-size: 11px;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(230, 181, 81, 0.08);
}

/* VELA / MEMORIA / ORACOES */
.content-section {
    padding: 30px 0 55px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 22px;
}

.vela-detail {
    padding: 30px;
    text-align: center;
}

.vela-detail-photo {
    width: 156px;
    height: 156px;
    margin: 0 auto 14px;
    object-fit: cover;
    border: 3px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 26px rgba(205, 145, 43, 0.16);
}

.vela-detail h2 {
    margin: 10px 0;
    font: 600 34px/1 var(--serif);
}

.vela-detail blockquote {
    max-width: 720px;
    margin: 18px auto;
    color: #ddd7cf;
    font: 500 18px/1.55 var(--serif);
}

.memory-grid,
.prayers-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.memory-card,
.prayer-page-card {
    overflow: hidden;
}

.memory-card img {
    width: 100%;
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
}

.memory-card-body,
.prayer-page-card {
    padding: 19px;
}

.memory-card h3,
.prayer-page-card h3 {
    margin: 0 0 7px;
    font: 600 25px/1.05 var(--serif);
}

/* ADMIN */
.admin-shell {
    width: min(1280px, calc(100% - 64px));
    margin: 32px auto 60px;
}

.admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.admin-heading h1 {
    margin: 0;
    font: 600 42px/1 var(--serif);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.admin-stat {
    padding: 18px;
}

.admin-stat strong {
    display: block;
    margin-top: 5px;
    color: var(--gold-light);
    font: 600 30px/1 var(--serif);
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #061625;
}

.table th,
.table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    white-space: nowrap;
}

.table th {
    color: var(--gold-light);
    background: #081c2e;
    font-family: var(--serif);
    font-size: 15px;
}

/* FLASH */
.flash {
    position: relative;
    z-index: 20;
    width: min(1180px, calc(100% - 40px));
    margin: 14px auto;
    padding: 12px 15px;
    border-radius: 8px;
}

.flash-error {
    color: #ffd8da;
    background: #3a171b;
}

.flash-success {
    color: #d8ffe6;
    background: #123522;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 34px;
    text-align: center;
}

.empty-state h3 {
    margin: 0 0 7px;
    font: 600 27px/1 var(--serif);
}

/* FOOTER */
.site-footer {
    border-top: 1px solid rgba(201, 137, 34, 0.24);
    background: #020e19;
}

.footer-inner {
    width: min(1334px, calc(100% - 72px));
    min-height: 88px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr 1.55fr;
    gap: 30px;
    align-items: center;
}

.footer-brand {
    min-width: 0;
}

.footer-brand .brand-symbol {
    width: 39px;
    height: 44px;
    flex-basis: 39px;
}

.footer-brand .brand-flame {
    left: 14px;
    top: 8px;
}

.footer-brand .brand-copy strong {
    font-size: 23px;
}

.footer-brand .brand-copy small {
    font-size: 17px;
}

.footer-description {
    margin: 0;
    color: #8c98a5;
    font-size: 11px;
}

.footer-verse {
    margin: 0;
    color: var(--gold-light);
    text-align: center;
    font: italic 600 17px/1.1 var(--serif);
}

.footer-verse small {
    display: block;
    margin-top: 4px;
    color: #8e99a6;
    font: 500 9px/1 var(--sans);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.footer-links a {
    color: #b7bec7;
    text-decoration: none;
    font: 500 10px/1 var(--serif);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    min-height: 48px;
    padding: 0 max(36px, calc((100% - 1334px) / 2));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #637181;
    font-size: 9px;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
    .header-inner,
    .home-hero-inner,
    .home-main,
    .footer-inner,
    .container {
        width: min(100% - 38px, 1100px);
    }

    .main-nav {
        gap: 22px;
    }

    .main-nav a {
        font-size: 15px;
    }

    .header-cta {
        min-width: 185px;
    }

    .hero-copy {
        padding-left: 70px;
    }

    .home-grid {
        grid-template-columns: 1.15fr 0.9fr;
    }

    .home-grid > :last-child {
        grid-column: 1 / -1;
    }

    .memorial-home-card {
        grid-template-columns: 200px 1fr;
    }

    .candles-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .capela-content {
        grid-template-columns: minmax(0, 1fr) 230px;
    }

    .filter-panel {
        grid-template-columns: 1.25fr 1fr 0.9fr 0.75fr;
    }
}

@media (max-width: 920px) {
    .site-header {
        height: 68px;
    }

    .brand {
        min-width: 0;
    }

    .brand-symbol {
        width: 41px;
        height: 47px;
        flex-basis: 41px;
    }

    .brand-flame {
        left: 15px;
        top: 8px;
    }

    .brand-copy strong {
        font-size: 23px;
    }

    .brand-copy small {
        font-size: 18px;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        position: fixed;
        left: 18px;
        right: 18px;
        top: 74px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #041321;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: grid;
    }

    .main-nav a {
        min-height: 42px;
        padding: 0 10px;
    }

    .main-nav a::after {
        display: none;
    }

    .header-cta {
        min-width: auto;
    }

    .header-cta span {
        display: none;
    }

    .home-hero,
    .home-hero-inner {
        min-height: 450px;
    }

    .home-hero {
        background:
            linear-gradient(90deg, rgba(2, 12, 22, 0.99), rgba(3, 18, 31, 0.84) 62%, rgba(3, 18, 31, 0.38)),
            url('../img/v3/hero_home.jpg') right center / auto 100% no-repeat,
            #041321;
    }

    .hero-copy {
        width: 70%;
        padding-left: 20px;
    }

    .home-hero h1 {
        font-size: 56px;
    }

    .stats-pill {
        width: min(560px, calc(100% - 38px));
    }

    .home-grid {
        grid-template-columns: 1fr;
    }

    .home-grid > :last-child {
        grid-column: auto;
    }

    .prayer-list {
        grid-template-columns: 1fr;
        padding-right: 90px;
    }

    .filter-panel {
        grid-template-columns: 1fr 1fr;
    }

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

    .featured-memory {
        position: static;
        width: min(420px, 100%);
        margin: 0 auto;
    }

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

    .page-hero h1 {
        font-size: 46px;
    }

    .hero-counter {
        min-width: 250px;
    }

    .memory-grid,
    .prayers-page-grid,
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-wrap,
    .checkout-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .preview-card {
        position: static;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        padding: 22px 0;
    }

    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-bottom {
        gap: 30px;
        padding: 15px 20px;
    }
}

@media (max-width: 620px) {
    .header-inner,
    .home-hero-inner,
    .home-main,
    .footer-inner,
    .container,
    .capela-shell,
    .admin-shell {
        width: calc(100% - 28px);
    }

    .home-hero,
    .home-hero-inner {
        min-height: 515px;
    }

    .home-hero {
        background:
            linear-gradient(180deg, rgba(2, 12, 22, 0.58), rgba(2, 12, 22, 0.96) 65%),
            url('../img/v3/hero_home.jpg') 67% top / auto 58% no-repeat,
            #041321;
    }

    .hero-copy {
        width: 100%;
        padding: 200px 0 25px;
        text-align: center;
    }

    .hero-ornament {
        justify-content: center;
    }

    .home-hero h1 {
        margin-inline: auto;
        font-size: 47px;
    }

    .home-hero p {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }

    .stats-pill {
        min-height: 58px;
        gap: 8px;
        padding-inline: 10px;
    }

    .stats-pill::before,
    .stats-pill::after {
        display: none;
    }

    .stats-pill strong {
        font-size: 31px;
    }

    .price-cards,
    .categories-grid,
    .radio-row,
    .filter-panel,
    .candles-grid,
    .memory-grid,
    .prayers-page-grid,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: 172px;
    }

    .memorial-home-card {
        grid-template-columns: 1fr;
    }

    .memorial-home-card figure img {
        height: 200px;
    }

    .prayer-strip {
        background: #061421;
    }

    .prayer-list {
        padding-right: 0;
    }

    .page-hero {
        min-height: 260px;
        background:
            linear-gradient(90deg, rgba(3, 14, 25, 0.96), rgba(4, 18, 31, 0.68)),
            url('../img/v3/hero_capela.jpg') 70% center / auto 100% no-repeat,
            #041321;
    }

    .page-hero-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
    }

    .page-hero-symbol {
        display: none;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .hero-counter {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .filter-panel {
        gap: 12px;
    }

    .candle-card {
        grid-template-columns: 105px 1fr;
    }

    .pagination-row {
        flex-wrap: wrap;
    }

    .load-more {
        min-width: 0;
        width: 100%;
        margin: 8px 0 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}
