@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Mukta+Malar:wght@300;400;500;600;700&family=Noto+Serif+Tamil:wght@500;600;700&display=swap');

:root {
    --maroon: #710109;
    --maroon-2: #710109;
    --maroon-3: #710109;
    --gold: #d69400;
    --gold-2: #d69400;
    --gold-3: #f3e1b6;
    --cream: #fbf5e9;
    --cream-2: #f5ead7;
    --paper: #fffdf8;
    --ink: #2f1c13;
    --ink-2: #4c3427;
    --muted: #806f64;
    --line: #e5d8c3;
    --green: #1d7a4d;
    --green-2: #25d366;
    --red: #a52a2a;
    --shadow-sm: 0 4px 16px rgba(62, 26, 15, .07);
    --shadow: 0 16px 44px rgba(62, 26, 15, .12);
    --radius: 16px;
    --radius-sm: 10px;
    --serif: 'Cormorant Garamond', 'Noto Serif Tamil', Georgia, serif;
    --tamil: 'Noto Serif Tamil', 'Mukta Malar', serif;
    --sans: 'Mukta Malar', 'Segoe UI', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background-color: var(--cream);
    background-image: radial-gradient(circle at 12% 18%, rgba(199, 154, 59, .08) 0 2px, transparent 3px), radial-gradient(circle at 88% 72%, rgba(124, 29, 29, .05) 0 2px, transparent 3px);
    background-size: 90px 90px, 120px 120px;
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--maroon-2);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--gold);
}

h1, h2, h3, h4, h5 {
    margin: 0 0 .4em;
    line-height: 1.18;
    font-family: var(--serif);
    font-weight: 600;
    color: var(--maroon);
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin-top: 0;
}

.container {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mt-3 { margin-top: 30px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }

.topbar {
    background: linear-gradient(90deg, var(--maroon-3), var(--maroon), var(--maroon-3));
    color: var(--gold-3);
    border-bottom: 1px solid rgba(229, 199, 125, .45);
    font-size: .86rem;
    letter-spacing: .02em;
    overflow: hidden;
    position: relative;
    z-index: 60;
}

.topbar-inner {
    display: flex;
    align-items: center;
    min-height: 38px;
    overflow: hidden;
}

.marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 22px;
    white-space: nowrap;
}

.marquee-group span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.marquee-group .dot {
    width: 5px;
    height: 5px;
    background: var(--gold-2);
    border-radius: 50%;
    display: inline-block;
}

.marquee-group strong {
    color: #fff;
    font-weight: 600;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.site-header {
    background: rgba(255, 253, 248, .97);
    position: relative;
    z-index: 50;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--maroon);
    min-width: 0;
}

.brand:hover {
    color: var(--maroon);
}

.brand-logo {
    width: 250px;
    height: 80px;
    flex: 0 0 66px;
    filter: drop-shadow(0 5px 12px rgba(92, 16, 16, .16));
}

.brand-text {
    min-width: 0;
}

.brand-name {
    display: block;
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.05;
}

.brand-tamil {
    display: block;
    font-family: var(--tamil);
    font-size: .92rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: .04em;
    margin-top: 3px;
}

.brand-sub {
    display: block;
    font-size: .68rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-note {
    text-align: right;
    line-height: 1.25;
}

.header-note small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.header-note b {
    color: var(--maroon);
    font-size: 1rem;
    font-weight: 600;
}

.wa-header {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: #eaf8ef;
    border: 1px solid #bde8cd;
    border-radius: 999px;
    padding: 8px 16px 8px 9px;
    color: #155a35;
    box-shadow: 0 5px 15px rgba(21, 90, 53, .08);
}

.wa-header:hover {
    background: #dcf5e5;
    color: #10482a;
    transform: translateY(-1px);
}

.wa-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green-2);
    color: #fff;
    border-radius: 50%;
    flex: 0 0 38px;
    box-shadow: 0 3px 8px rgba(37, 211, 102, .3);
}

.wa-icon svg {
    width: 22px;
    height: 22px;
}

.wa-label {
    line-height: 1.15;
}

.wa-label small {
    display: block;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #4e8466;
}

.wa-label b {
    font-size: 1.08rem;
    letter-spacing: .03em;
    font-weight: 700;
}

.main-nav {
    background: linear-gradient(90deg, var(--maroon-3), var(--maroon), var(--maroon-2), var(--maroon), var(--maroon-3));
    position: sticky;
    top: 0;
    z-index: 55;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 7px 25px rgba(59, 8, 8, .18);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 52px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 17px;
    color: #f6e7c4;
    font-size: .83rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.nav-links a.is-active::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background: var(--gold-2);
    border-radius: 3px 3px 0 0;
}

.nav-links .nav-cta a {
    background: var(--gold);
    color: var(--maroon-3);
    font-weight: 700;
    margin-left: 8px;
    border-radius: 7px;
    min-height: 36px;
    margin-block: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
}

.nav-links .nav-cta a:hover {
    background: var(--gold-2);
    color: var(--maroon-3);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    border: 1px solid rgba(243, 225, 182, .45);
    background: transparent;
    border-radius: 8px;
    color: var(--gold-3);
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--gold-3);
    border-radius: 2px;
}

.header-nav-toggle {
    border-color: var(--maroon);
    background: var(--maroon);
}

.header-nav-toggle:hover {
    border-color: var(--maroon);
    background: var(--maroon-2);
}

.header-nav-toggle span {
    background: var(--gold-3);
}

.page-main {
    min-height: 45vh;
}

.hero {
    position: relative;
    background-color: var(--maroon-3);
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: top center;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 50px;
    align-items: center;
    padding: 70px 0 82px;
    min-height: 850px;
}

.hero-copy {
    text-align: center;
    padding: 10px 22px;
    max-width: 780px;
    margin-inline: auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--gold-3);
    font-size: .76rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 17px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: var(--tamil);
    font-size: clamp(2.4rem, 4.8vw, 4.4rem);
    line-height: 1.08;
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 0 5px 30px rgba(0, 0, 0, .38);
    font-weight: 700;
}

.hero-title-en {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    color: var(--gold-2);
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.12;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.03rem;
    color: #f7ead2;
    max-width: 650px;
    margin: 0 auto 12px;
}

.hero-sub {
    display: inline-block;
    font-family: var(--tamil);
    color: var(--gold-3);
    font-size: 1rem;
    border-top: 1px solid rgba(229, 199, 125, .35);
    border-bottom: 1px solid rgba(229, 199, 125, .35);
    padding: 7px 18px;
    margin-bottom: 25px;
}

.hero-actions {
    display: flex;
    margin-top: 20px;

    gap: 13px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 25px;
    color: #f3e6cd;
    font-size: .84rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-meta svg {
    width: 16px;
    height: 16px;
    color: var(--gold-2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 24px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    text-align: center;
    transition: all .2s ease;
    line-height: 1.2;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 3px solid rgba(199, 154, 59, .4);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(180deg, var(--maroon-2), var(--maroon));
    color: #fff;
    box-shadow: 0 7px 20px rgba(92, 16, 16, .22);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #8b2424, #6b1414);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(180deg, #e2bd64, var(--gold));
    color: var(--maroon-3);
    box-shadow: 0 7px 22px rgba(199, 154, 59, .3);
}

.btn-gold:hover {
    background: linear-gradient(180deg, #edcd80, #d1a648);
    color: var(--maroon-3);
}

.btn-outline {
    border-color: var(--maroon-2);
    color: var(--maroon-2);
    background: transparent;
}

.btn-outline:hover {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .65);
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--maroon);
    border-color: #fff;
}

.btn-whatsapp {
    background: var(--green-2);
    color: #0b3b20;
    box-shadow: 0 7px 20px rgba(37, 211, 102, .25);
}

.btn-whatsapp:hover {
    background: #1fc45d;
    color: #072e18;
}

.btn-danger {
    background: #a92c2c;
    color: #fff;
}

.btn-danger:hover {
    background: #8d2020;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink-2);
}

.btn-ghost:hover {
    background: var(--cream-2);
    color: var(--maroon);
}

.btn-sm {
    min-height: 36px;
    padding: 7px 14px;
    font-size: .78rem;
    border-radius: 7px;
}

.btn-block {
    width: 100%;
}

.quick-search {
    background: rgba(255, 253, 247, .97);
    border-radius: 18px;
    border: 1px solid rgba(229, 199, 125, .65);
    box-shadow: 0 25px 70px rgba(30, 4, 4, .35);
    padding: 26px 24px 24px;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

.quick-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
}

.quick-search::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    right: -45px;
    top: -50px;
    border: 1px solid rgba(199, 154, 59, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 14px rgba(199, 154, 59, .05), 0 0 0 28px rgba(199, 154, 59, .04);
    pointer-events: none;
}

.quick-search-head {
    text-align: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.quick-search-head small {
    font-size: .66rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.quick-search-head h2 {
    font-size: 1.85rem;
    margin: 2px 0 0;
}

.quick-search-head p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .84rem;
}

.qs-form {
    position: relative;
    z-index: 1;
}

.form-field {
    margin-bottom: 12px;
}

.form-field label,
.form-field .field-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 5px;
    letter-spacing: .02em;
}

.form-field label .req {
    color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea,
.input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dccbac;
    border-radius: 8px;
    background: #fffdfa;
    padding: 9px 12px;
    font-family: var(--sans);
    font-size: .91rem;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}

.form-field textarea {
    min-height: 92px;
    resize: vertical;
}

.form-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--maroon-2) 50%), linear-gradient(135deg, var(--maroon-2) 50%, transparent 50%);
    background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(199, 154, 59, .15);
}

.form-field small.help,
.help-text {
    display: block;
    color: var(--muted);
    font-size: .74rem;
    margin-top: 4px;
}

.qs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 10px;
}

.qs-form .btn {
    width: 100%;
    margin-top: 4px;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--muted);
    font-size: .72rem;
}

.secure-note svg {
    width: 13px;
    height: 13px;
    color: var(--green);
}

.section {
    padding: 78px 0;
    position: relative;
}

.section-tight {
    padding: 52px 0;
}

.section-cream {
    background: linear-gradient(180deg, rgba(245, 234, 215, .5), rgba(251, 245, 233, .9));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-white {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .7rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 9px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.section-head-center {
    display: block;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-head-center .eyebrow {
    justify-content: center;
}

.section-head-center .eyebrow::before,
.section-head-center .eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    margin: 0;
    font-weight: 600;
}

.section-title-tamil {
    font-family: var(--tamil);
    font-size: 1.12rem;
    color: var(--gold);
    margin-top: 4px;
    font-weight: 500;
}

.section-desc {
    color: var(--muted);
    max-width: 680px;
    margin-top: 10px;
}

.section-head-center .section-desc {
    margin-inline: auto;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--maroon-2);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    white-space: nowrap;
}

.view-all:hover {
    color: var(--gold);
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gold);
    margin: 14px auto 0;
}

.ornament::before,
.ornament::after {
    content: '';
    width: 55px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament span {
    width: 7px;
    height: 7px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    display: inline-block;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}

.about-copy p {
    color: var(--ink-2);
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    display: grid;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255, 253, 248, .7);
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 14px 16px;
    box-shadow: 0 4px 12px rgba(62, 26, 15, .03);
}

.feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-3), #fff7e5);
    color: var(--maroon-2);
    border: 1px solid rgba(199, 154, 59, .35);
}

.feature-icon svg {
    width: 19px;
    height: 19px;
}

.feature-item h3 {
    font-family: var(--tamil);
    font-size: 1.02rem;
    margin: 0 0 2px;
    color: var(--maroon);
}

.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.45;
}

.about-media {
    position: relative;
    padding: 16px;
}

.about-frame {
    position: relative;
    border-radius: 180px 180px 20px 20px;
    overflow: hidden;
    border: 1px solid rgba(199, 154, 59, .55);
    box-shadow: var(--shadow);
    background: var(--cream-2);
}

.about-frame img {
    width: 100%;
    height: auto;
}

.about-media::before,
.about-media::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(199, 154, 59, .5);
    border-radius: 190px 190px 24px 24px;
    inset: 0;
    pointer-events: none;
}

.about-media::after {
    inset: 28px -14px -14px 28px;
    border-color: rgba(124, 29, 29, .16);
    z-index: -1;
}

.about-badge {
    position: absolute;
    right: 0;
    bottom: 14px;
    background: var(--maroon);
    color: var(--gold-3);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(59, 8, 8, .28);
}

.about-badge b {
    display: block;
    font-family: var(--serif);
    font-size: 1.7rem;
    color: #fff;
    line-height: 1;
}

.about-badge small {
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cta-band {
    background: linear-gradient(115deg, var(--maroon-3), var(--maroon), #8a2720);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 10% 50%, rgba(229, 199, 125, .16) 0 2px, transparent 3px), radial-gradient(circle at 90% 20%, rgba(229, 199, 125, .1) 0 2px, transparent 3px);
    background-size: 46px 46px, 70px 70px;
    opacity: .8;
}

.cta-band::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(229, 199, 125, .18);
    border-radius: 50%;
    left: -100px;
    top: -130px;
    box-shadow: 0 0 0 28px rgba(229, 199, 125, .03), 0 0 0 58px rgba(229, 199, 125, .025);
}

.cta-inner {
    position: relative;
    z-index: 1;
    padding: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.cta-inner h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 6px;
}

.cta-inner p {
    color: #efdfc2;
    margin: 0;
    max-width: 720px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.profiles-section {
    padding: 66px 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.profiles-section.alt {
    background: linear-gradient(180deg, #fdfaf3, var(--cream));
    border-bottom: 1px solid var(--line);
}

.gender-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.gender-head-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gender-emblem {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-3), #fff9ed);
    border: 1px solid rgba(199, 154, 59, .45);
    color: var(--maroon);
    flex: 0 0 46px;
}

.gender-emblem svg {
    width: 23px;
    height: 23px;
}

.gender-head h2 {
    font-size: 2rem;
    margin: 0;
    line-height: 1.1;
}

.gender-head small {
    display: block;
    color: var(--gold);
    font-family: var(--tamil);
    font-size: .92rem;
    margin-top: 2px;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.profile-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(62, 26, 15, .16);
    border-color: rgba(199, 154, 59, .6);
}

.profile-card-media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 4.8;
    overflow: hidden;
    background: linear-gradient(160deg, var(--cream-2), #e9dcc4);
}

.profile-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.profile-card:hover .profile-card-media img {
    transform: scale(1.04);
}

.profile-gender {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(59, 8, 8, .82);
    color: var(--gold-3);
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 3px 9px;
    border: 1px solid rgba(229, 199, 125, .45);
}

.profile-verified {
    position: absolute;
    right: 9px;
    bottom: 9px;
    background: rgba(255, 253, 248, .92);
    color: var(--green);
    font-size: .63rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.profile-verified::before {
    content: '✓';
    margin-right: 3px;
    font-weight: 700;
}

.profile-card-body {
    padding: 13px 13px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.profile-card-body h3 {
    font-family: var(--serif);
    font-size: 1.28rem;
    line-height: 1.15;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-card-body h3 a {
    color: var(--maroon);
}

.profile-meta {
    color: var(--gold);
    font-size: .74rem;
    font-weight: 600;
    margin: 0 0 5px;
    letter-spacing: .02em;
}

.profile-job {
    color: var(--ink-2);
    font-size: .82rem;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-location {
    color: var(--muted);
    font-size: .75rem;
    margin: 0 0 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.profile-tags span {
    display: inline-block;
    background: var(--cream-2);
    color: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 7px;
    font-size: .63rem;
    white-space: nowrap;
}

.profile-card-body .btn {
    margin-top: auto;
}

.section-foot {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.empty-state {
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 46px 26px;
    text-align: center;
    color: var(--muted);
}

.empty-state h3 {
    color: var(--maroon);
    font-size: 1.6rem;
}

.empty-state .btn {
    margin-top: 10px;
}

.site-footer {
    background: linear-gradient(180deg, #4a0b0b, #2c0505);
    color: #e7d5b2;
    position: relative;
    border-top: 4px solid var(--gold);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 20%, rgba(229, 199, 125, .08) 0 2px, transparent 3px), radial-gradient(circle at 80% 60%, rgba(229, 199, 125, .06) 0 2px, transparent 3px);
    background-size: 60px 60px, 90px 90px;
    pointer-events: none;
}

.footer-main {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
    gap: 42px;
    padding: 54px 0 38px;
}

.footer-brand .brand-name {
    color: #fff;
    font-size: 1.55rem;
}

.footer-brand .brand-tamil {
    color: var(--gold-2);
}

.footer-brand .brand-logo {
    width: 250px;
    height: 80px;
    flex-basis: 56px;
}

.footer-brand .brand-sub {
    color: #b99b73;
}

.footer-about {
    color: #d0bc9e;
    font-size: .88rem;
    margin-top: 16px;
    max-width: 340px;
}

.footer-title {
    color: #fff;
    font-family: var(--serif);
    font-size: 1.25rem;
    letter-spacing: .03em;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 9px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #d8c4a5;
    font-size: .88rem;
}

.footer-links a:hover {
    color: var(--gold-2);
    padding-left: 3px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 11px;
    font-size: .87rem;
    color: #d8c4a5;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 3px;
    color: var(--gold-2);
}

.footer-contact a {
    color: #e7d5b2;
    word-break: break-word;
}

.footer-contact a:hover {
    color: var(--gold-2);
}

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(229, 199, 125, .2);
    padding: 16px 0;
    font-size: .77rem;
    color: #b99b73;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #d8c4a5;
}

.floating-wa {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(5, 45, 25, .35);
    transition: transform .2s ease, background .2s ease;
}

.floating-wa svg {
    width: 31px;
    height: 31px;
}

.floating-wa:hover {
    background: #1ebe5b;
    color: #fff;
    transform: translateY(-3px);
}

.flash-stack {
    position: relative;
    z-index: 40;
    padding-top: 18px;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    font-size: .9rem;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.flash-success { background: #e8f7ee; color: #17603a; border-color: #bfe7ce; }
.flash-error { background: #fcecec; color: #8d2020; border-color: #f1c6c6; }
.flash-warning { background: #fff6df; color: #79580d; border-color: #efdfb5; }
.flash-info { background: #eef5fb; color: #1e5478; border-color: #c6dfef; }

.flash-close {
    background: transparent;
    border: 0;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: .6;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-active { background: #e4f7eb; color: #17603a; border: 1px solid #b8e6c9; }
.status-inactive { background: #f2eded; color: #764343; border: 1px solid #ddc9c9; }
.status-draft { background: #f4efe2; color: #7b642a; border: 1px solid #e4d5ac; }
.status-pending-payment { background: #fff2df; color: #8a5610; border: 1px solid #f0d4a8; }
.status-pending-verification { background: #eaf2fb; color: #215b87; border: 1px solid #c5dcf0; }

.page-banner {
    background: linear-gradient(115deg, var(--maroon-3), var(--maroon), #81211b);
    color: #fff;
    padding: 44px 0 42px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 12% 20%, rgba(229, 199, 125, .13) 0 2px, transparent 3px);
    background-size: 44px 44px;
    opacity: .8;
}

.page-banner::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(229, 199, 125, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(229, 199, 125, .03), 0 0 0 60px rgba(229, 199, 125, .02);
}

.page-banner-inner {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: .75rem;
    letter-spacing: .08em;
    color: #d9c19c;
    margin-bottom: 8px;
}

.breadcrumb a {
    color: var(--gold-2);
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 3.7vw, 3.1rem);
    margin: 0;
}

.page-banner p {
    color: #e8d6b8;
    margin: 7px 0 0;
    max-width: 750px;
}

.auth-section {
    padding: 64px 0;
}

.auth-card {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    max-width: 980px;
    margin: 0 auto;
    background: var(--paper);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.auth-visual {
    background: linear-gradient(150deg, var(--maroon-3), var(--maroon-2));
    color: #fff;
    padding: 44px 38px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/');
    background-size: cover;
    background-position: center;
    opacity: .18;
}

.auth-visual::after {
    content: '';
    position: absolute;
    left: -80px;
    bottom: -110px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(229, 199, 125, .25);
    border-radius: 50%;
    box-shadow: 0 0 0 25px rgba(229, 199, 125, .03), 0 0 0 50px rgba(229, 199, 125, .02);
}

.auth-visual-inner {
    position: relative;
    z-index: 1;
}

.auth-visual img {
    width: 250px;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .2));
}

.auth-visual h2 {
    color: #fff;
    font-size: 2.05rem;
    margin-bottom: 10px;
}

.auth-visual p {
    color: #ecd9b9;
    font-size: .92rem;
}
    
.auth-points {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 9px;
    color: #f2e3c8;
    font-size: .85rem;
}

.auth-points li::before {
    content: '◆';
    color: var(--gold-2);
    font-size: .55rem;
    margin-right: 8px;
    vertical-align: middle;
}

.auth-form {
    padding: 40px 42px;
}

.auth-form h2 {
    font-size: 2rem;
    margin-bottom: 4px;
}

.auth-form .lead {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 22px;
}

.auth-switch {
    margin-top: 18px;
    text-align: center;
    font-size: .86rem;
    color: var(--muted);
}

.auth-switch a {
    font-weight: 600;
    color: var(--maroon-2);
    border-bottom: 1px solid var(--gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 60px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: var(--maroon-2);
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
    padding: 5px;
}

.checkbox-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .84rem;
    color: var(--ink-2);
    margin: 8px 0 16px;
}

.checkbox-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 3px;
    accent-color: var(--maroon);
}

.checkbox-row a {
    color: var(--maroon-2);
    text-decoration: underline;
}

.notice-panel {
    background: #fff8e8;
    border: 1px solid #ecd9a9;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: .88rem;
    color: #624b19;
}

.notice-panel p:last-child {
    margin-bottom: 0;
}

.notice-panel strong {
    color: var(--maroon);
}

.filters-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px 22px 18px;
    margin-top: -36px;
    position: relative;
    z-index: 3;
}

.filters-panel h2 {
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.filter-grid .form-field {
    margin-bottom: 0;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.filter-actions .btn {
    width: 100%;
    min-width: 100px;
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 22px;
    flex-wrap: wrap;
}

.results-head h2 {
    font-size: 1.9rem;
    margin: 0;
}

.results-count {
    color: var(--muted);
    font-size: .88rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.search-page {
    padding-bottom: 70px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink-2);
    font-size: .84rem;
}

.pagination a:hover {
    border-color: var(--gold);
    color: var(--maroon);
}

.pagination .current {
    background: var(--maroon);
    color: #fff;
    border-color: var(--maroon);
}

.profile-view-section {
    padding: 42px 0 70px;
}

.profile-hero {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.profile-hero-top {
    background: linear-gradient(110deg, var(--maroon-3), var(--maroon-2));
    height: 105px;
    position: relative;
    border-bottom: 3px solid var(--gold);
}

.profile-hero-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 40%, rgba(229, 199, 125, .14) 0 2px, transparent 3px);
    background-size: 40px 40px;
}

.profile-hero-main {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 28px;
    padding: 0 30px 30px;
    align-items: start;
    margin-top: -76px;
    position: relative;
}

.profile-photo {
    width: 220px;
    aspect-ratio: 4 / 4.9;
    border-radius: 14px;
    overflow: hidden;
    border: 4px solid var(--paper);
    box-shadow: 0 12px 28px rgba(62, 26, 15, .2);
    background: var(--cream-2);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-summary {
    padding-top: 86px;
}

.profile-summary h1 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    margin-bottom: 4px;
}

.profile-summary .profile-code {
    font-size: .74rem;
    color: var(--gold);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
}

.profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 13px 0;
    color: var(--ink-2);
    font-size: .9rem;
}

.profile-facts span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-facts svg {
    width: 15px;
    height: 15px;
    color: var(--gold);
}

.profile-hero-actions {
    padding-top: 88px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 190px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 24px;
}

.detail-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px 26px;
}

.detail-panel.full {
    grid-column: 1 / -1;
}

.detail-panel h2 {
    font-size: 1.55rem;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.detail-panel h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 62px;
    height: 2px;
    background: var(--gold);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 22px;
}

.detail-item {
    border-bottom: 1px dotted #e7dcc9;
    padding-bottom: 8px;
}

.detail-item.full {
    grid-column: 1 / -1;
}

.detail-label {
    display: block;
    font-size: .7rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.detail-value {
    color: var(--ink);
    font-size: .91rem;
    word-break: break-word;
}

.detail-value.muted {
    color: var(--muted);
}

.horoscope-thumb {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    max-width: 380px;
    margin-top: 6px;
    background: #fff;
}

.horoscope-thumb img {
    width: 100%;
}

.partner-panel {
    background: linear-gradient(180deg, #fffdf8, #fdf7eb);
}

.dashboard-section {
    padding: 40px 0 70px;
}

.dash-hero {
    background: linear-gradient(115deg, var(--maroon-3), var(--maroon-2));
    border-radius: var(--radius);
    color: #fff;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 4px solid var(--gold);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dash-hero::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -80px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(229, 199, 125, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(229, 199, 125, .03), 0 0 0 48px rgba(229, 199, 125, .02);
}

.dash-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.dash-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 3px solid var(--gold-2);
    overflow: hidden;
    background: var(--cream-2);
    flex: 0 0 82px;
}

.dash-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-info h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 3px;
}

.dash-info p {
    margin: 0;
    color: #e9d5b3;
    font-size: .84rem;
}

.dash-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 7px;
    flex-wrap: wrap;
}

.dash-meta .status-badge {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.dash-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.dash-actions .btn-outline-light:hover {
    background: var(--gold-2);
    border-color: var(--gold-2);
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 22px;
    margin-top: 24px;
    align-items: start;
}

.dash-side {
    display: grid;
    gap: 18px;
}

.side-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
}

.side-card h2 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.side-card p {
    font-size: .88rem;
    color: var(--muted);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.progress-track {
    height: 8px;
    background: var(--cream-2);
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 0 6px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    border-radius: 999px;
}

.payment-section {
    padding: 44px 0 70px;
}

.payment-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.payment-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 26px 28px;
}

.payment-card h2 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.payment-card .lead {
    color: var(--muted);
    font-size: .9rem;
}

.qr-box {
    background: #fff;
    border: 1px dashed var(--gold);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    width: min(300px, 100%);
    margin: 16px auto;
}

.qr-box img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    border-radius: 6px;
}

.qr-box strong {
    display: block;
    color: var(--maroon);
    font-size: .86rem;
    margin-top: 4px;
}

.upi-id {
    display: inline-block;
    background: var(--cream-2);
    border: 1px dashed var(--gold);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: .95rem;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: .02em;
    word-break: break-all;
}

.amount-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(110deg, var(--maroon-3), var(--maroon-2));
    color: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0;
    border: 1px solid rgba(229, 199, 125, .5);
}

.amount-box span {
    color: #e7d3b1;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.amount-box b {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--gold-2);
    line-height: 1;
}

.payment-steps {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.payment-steps li {
    display: flex;
    gap: 10px;
    font-size: .84rem;
    color: var(--ink-2);
}

.step-number {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-3);
    border: 1px solid var(--gold);
    color: var(--maroon);
    font-weight: 700;
    font-size: .72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    border-top: 1px solid var(--line);
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #f0e7d7;
    font-size: .87rem;
}

.summary-list span {
    color: var(--muted);
}

.summary-list b {
    color: var(--ink);
    text-align: right;
    font-weight: 600;
}

.form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.profile-form {
    padding: 0;
}

.form-section {
    padding: 28px 30px 22px;
    border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
    border-bottom: 0;
}

.form-section-head {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
}

.section-number {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon-2), var(--maroon));
    color: var(--gold-2);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
}

.form-section-head h2 {
    font-size: 1.55rem;
    margin: 0;
}

.form-section-head p {
    margin: 2px 0 0;
    font-size: .8rem;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
}

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.relationship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.relationship-item {
    background: #fdf9f0;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 10px 12px;
}

.relationship-item > span {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 6px;
}

.rel-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.rel-inputs label {
    font-size: .64rem;
    font-weight: 500;
    color: var(--muted);
    display: block;
    margin-bottom: 2px;
}

.rel-inputs input {
    min-height: 36px;
    padding: 5px 8px;
    font-size: .82rem;
}

.form-footer-bar {
    background: linear-gradient(180deg, #fdf8ee, #f7eddc);
    border-top: 1px solid var(--line);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: sticky;
    bottom: 0;
    z-index: 20;
    border-radius: 0 0 var(--radius) var(--radius);
}

.form-footer-bar .save-status {
    color: var(--muted);
    font-size: .8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-footer-bar .save-status.is-saving {
    color: var(--gold);
}

.form-footer-bar .save-status.is-saved {
    color: var(--green);
}

.form-footer-bar .save-status.is-error {
    color: var(--red);
}

.form-footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.upload-box {
    border: 1px dashed #d4bd91;
    border-radius: 11px;
    background: #fffdf7;
    padding: 14px;
}

.upload-box label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 7px;
}

.upload-box input[type="file"] {
    width: 100%;
    font-size: .8rem;
    color: var(--muted);
}

.upload-preview {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    max-width: 150px;
    border: 1px solid var(--line);
}

.upload-preview img {
    width: 100%;
}

.form-note {
    font-size: .78rem;
    color: var(--muted);
    margin-top: 5px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 26px;
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
}

.contact-item .feature-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}

.contact-item h3 {
    font-family: var(--sans);
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 2px;
}

.contact-item p,
.contact-item a {
    margin: 0;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 500;
    word-break: break-word;
}

.timings-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
    font-size: .88rem;
    color: var(--ink-2);
}

.timings-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dotted #e7dcc9;
    padding-bottom: 5px;
}

.print-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.print-sheet {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 40px;
}

.print-sheet h1 {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 2px;
}

.print-sheet .print-sub {
    text-align: center;
    color: var(--muted);
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.print-form-section {
    margin-bottom: 22px;
}

.print-form-section h2 {
    font-size: 1.15rem;
    font-family: var(--sans);
    color: var(--maroon);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
}

.print-line {
    display: flex;
    gap: 10px;
    font-size: .78rem;
    padding: 5px 0;
    border-bottom: 1px dotted #d9ccb7;
    min-height: 30px;
}

.print-line span:first-child {
    flex: 0 0 42%;
    color: var(--ink-2);
    font-weight: 500;
}

.print-line span:last-child {
    flex: 1;
    color: var(--muted);
}

.terms-content h2 {
    font-size: 1.5rem;
    margin-top: 24px;
}

.terms-content p,
.terms-content li {
    color: var(--ink-2);
    font-size: .93rem;
}




@media (max-width: 1160px) {
    .profiles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-main { gap: 30px; }
    .filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hero-inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; }
    .profile-hero-main { grid-template-columns: 190px 1fr auto; }
    .profile-photo { width: 190px; }
}

@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 54px 0 74px; min-height: auto; }
    .hero-copy { padding: 0; }
    .quick-search { max-width: 560px; margin: 0 auto; width: 100%; }
    .about-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-media { max-width: 520px; margin: 0 auto; order: -1; }
    .cta-inner { flex-direction: column; text-align: center; align-items: center; }
    .cta-inner p { margin-inline: auto; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .dash-grid { grid-template-columns: 1fr; }
    .dash-side { grid-template-columns: 1fr 1fr; }
    .payment-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-panel.full { grid-column: auto; }
    .auth-card { grid-template-columns: 1fr; max-width: 620px; }
    .auth-visual { padding: 30px 32px; }
    .auth-visual h2 { font-size: 1.7rem; }
    .auth-points { grid-template-columns: 1fr 1fr; display: grid; }
    .profile-hero-main { grid-template-columns: 170px 1fr; }
    .profile-photo { width: 170px; }
    .profile-hero-actions { grid-column: 1 / -1; padding-top: 0; flex-direction: row; min-width: 0; }
    .profile-summary { padding-top: 82px; }
    .relationship-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nav-inner { justify-content: center; min-height: 0; }
    .header-contact .wa-header { display: none; }
    .header-nav-toggle { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--maroon-3);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 14px 16px;
        box-shadow: 0 16px 30px rgba(0, 0, 0, .28);
        border-bottom: 2px solid var(--gold);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { min-height: 44px; padding: 0 12px; border-radius: 6px; }
    .nav-links a.is-active::after { display: none; }
    .nav-links .nav-cta a { margin-left: 0; margin-block: 6px; }
    .header-note { display: none; }
    .brand-logo { width: 270px; height: 80px; flex-basis: 56px; }
    .brand-name { font-size: 1.45rem; }
    .brand-sub { display: none; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1220px); }
    .section { padding: 56px 0; }
    .hero-inner { padding-top: 44px; }
    .hero-title { font-size: 2.4rem; }
    .hero-title-en { font-size: 1.6rem; }
    .hero-meta { gap: 12px; }
    .qs-grid { grid-template-columns: 1fr; }
    .profiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 26px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .gender-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .profile-hero-main { grid-template-columns: 1fr; padding: 0 20px 24px; margin-top: -55px; gap: 16px; }
    .profile-photo { width: 150px; }
    .profile-summary { padding-top: 0; }
    .profile-hero-actions { flex-direction: column; }
    .profile-hero-top { height: 85px; }
    .form-section { padding: 22px 18px 16px; }
    .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: auto; }
    .form-footer-bar { flex-direction: column; align-items: stretch; padding: 16px 18px; }
    .form-footer-actions { justify-content: stretch; }
    .form-footer-actions .btn { flex: 1; }
    .relationship-grid { grid-template-columns: 1fr; }
    .upload-grid { grid-template-columns: 1fr; }
    .filter-grid { grid-template-columns: 1fr 1fr; }
    .filters-panel { margin-top: -24px; padding: 18px; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-panel { padding: 20px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .auth-form { padding: 30px 24px; }
    .auth-visual { padding: 26px 24px; }
    .auth-points { grid-template-columns: 1fr; }
    .dash-hero { flex-direction: column; align-items: flex-start; }
    .dash-actions { width: 100%; }
    .dash-actions .btn { flex: 1; }
    .dash-side { grid-template-columns: 1fr; }
    .print-sheet { padding: 22px 16px; }
    .print-line { flex-direction: column; gap: 2px; }
    .print-line span:first-child { flex-basis: auto; }
    .marquee-group { gap: 14px; padding-right: 14px; }
    .topbar { font-size: .78rem; }
    .header-inner { padding: 11px 0; }
    .brand-logo { width: 270px; height: 80px; flex-basis: 48px; }
    .brand-name { font-size: 1.24rem; }
    .brand-tamil { font-size: .8rem; }
    .wa-header { padding: 6px 12px 6px 7px; }
    .wa-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .wa-label b { font-size: .98rem; }
    .wa-label small { display: none; }
    .cta-actions { justify-content: center; }
    .dash-profile { align-items: flex-start; }
    .dash-avatar { width: 62px; height: 62px; flex-basis: 62px; }
    .dash-info h1 { font-size: 1.6rem; }
}

@media (max-width: 520px) {
    .profiles-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
    .filter-grid { grid-template-columns: 1fr; }
    .form-grid-3 { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .hero-meta { flex-direction: column; gap: 6px; }
    .brand-name { font-size: 1.08rem; }
    .brand-tamil { font-size: .72rem; }
    .brand-logo { width: 270px; height: 70px; flex-basis: 42px; }
    .quick-search { padding: 22px 17px 18px; }
    .page-banner { padding: 32px 0; }
    .footer-brand .brand-name { font-size: 1.3rem; }
    .btn { padding: 10px 17px; font-size: .84rem; }
    .form-footer-actions { flex-direction: column; }
    .floating-wa { width: 50px; height: 50px; right: 14px; bottom: 16px; }
    .floating-wa svg { width: 27px; height: 27px; }
}

@media print {
    .topbar, .site-header, .main-nav, .site-footer, .flash-stack, .print-toolbar, .no-print, .dash-actions, .filters-panel, .pagination, .floating-wa {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000;
        font-size: 11px;
    }
    .container { width: 100%; max-width: none; }
    .page-banner { background: #fff !important; color: #000 !important; border: 0; padding: 0 0 12px; }
    .page-banner h1 { color: #000; font-size: 24px; }
    .page-banner p, .breadcrumb { color: #333 !important; }
    .section, .profile-view-section, .dashboard-section, .payment-section, .auth-section { padding: 0 !important; }
    .print-sheet, .detail-panel, .profile-hero, .form-card, .payment-card, .side-card, .dash-hero {
        box-shadow: none !important;
        border: 0 !important;
        background: #fff !important;
        color: #000 !important;
        padding: 0 !important;
    }
    .profile-photo { border: 1px solid #ccc; }
    .detail-panel { break-inside: avoid; margin-bottom: 14px; }
    .detail-panel h2 { color: #000; border-bottom: 1px solid #999; }
    .detail-panel h2::after { display: none; }
    .detail-label { color: #555; }
    .detail-value { color: #000; }
    a { color: #000 !important; text-decoration: none; }
    .print-sheet { border: 0; }
}
