/* ============================================================
   AjmerCity — Rajasthani Modern Business & Royal Theme
   Fast · Responsive · Ultra-Clean · Micro-animations
   Managed by Rohit Chouhan — https://rohitchouhan.com
   ============================================================ */

:root {
    /* Royal palette with modern digital business accents */
    --maroon: #6B1F2A;
    --maroon-deep: #4A131B;
    --maroon-dark: #2F090F;
    --gold: #C9A24B;
    --gold-soft: #E4C77E;
    --gold-light: #F7EEDB;
    --cream: #FBF6EC;
    --cream-2: #F4EAD7;
    --ink: #2A211C;
    --ink-soft: #5C4F45;
    --ink-light: #7E6F64;
    --white: #ffffff;
    --accent-blue: #2563EB;
    --accent-green: #15803D;

    --container: 1200px;
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 18px -6px rgba(74, 19, 27, 0.12);
    --shadow: 0 16px 40px -18px rgba(74, 19, 27, 0.28);
    --shadow-lg: 0 24px 60px -20px rgba(74, 19, 27, 0.38);

    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --top-bar-h: 38px;
    --header-h: 76px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

a {
    color: var(--maroon);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

a:hover {
    color: var(--gold);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--maroon-deep);
    letter-spacing: .2px;
}

code {
    font-family: "SFMono-Regular", Consolas, Menlo, monospace;
    font-size: .9em;
    background: var(--cream-2);
    padding: .15em .45em;
    border-radius: 6px;
    color: var(--maroon);
    border: 1px solid rgba(201, 162, 75, .2);
}

em {
    font-style: normal;
}

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--maroon);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 12px;
    color: #fff;
}

/* ---------- Top Announcement Bar ---------- */
.top-bar {
    background: var(--maroon-dark);
    color: rgba(255, 255, 255, .9);
    font-size: .84rem;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(201, 162, 75, .25);
    position: relative;
    z-index: 102;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.badge-hot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .18rem .55rem;
    border-radius: 999px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.top-bar-text {
    margin: 0;
}

.top-bar-link {
    color: var(--gold-soft);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.top-bar-link:hover {
    color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    padding: .78em 1.6em;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
    letter-spacing: .3px;
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: var(--maroon-dark) !important;
    border-color: var(--gold);
    box-shadow: 0 8px 24px -10px rgba(201, 162, 75, .9);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(201, 162, 75, 1);
    color: var(--maroon-dark) !important;
}

.btn-ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
    border-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    background: #fff;
    color: var(--maroon-deep) !important;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--maroon);
    border-color: var(--maroon);
}

.btn-outline:hover {
    background: var(--maroon);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
    border-color: rgba(255, 255, 255, .6);
}

.btn-outline-light:hover {
    background: var(--gold);
    color: var(--maroon-dark) !important;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(74, 19, 27, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 162, 75, .25);
    transition: background .3s ease, box-shadow .3s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #fff;
    font-family: var(--font-display);
    text-decoration: none;
}

.brand-mark {
    color: var(--gold-soft);
    display: inline-flex;
}

.brand-text {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.brand-text em {
    color: var(--gold-soft);
}

.site-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
    font-size: .92rem;
    position: relative;
    padding: .3em 0;
}

.nav-menu a:hover {
    color: var(--gold-soft);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .25s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-blog-btn {
    background: rgba(201, 162, 75, .2);
    color: var(--gold-soft) !important;
    border: 1px solid var(--gold);
    padding: .45em 1em !important;
    border-radius: 999px;
    font-size: .88rem !important;
    font-weight: 600 !important;
}

.nav-blog-btn::after {
    display: none !important;
}

.nav-blog-btn:hover {
    background: var(--gold);
    color: var(--maroon-dark) !important;
}

.nav-menu .nav-cta {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: var(--maroon-dark) !important;
    padding: .55em 1.3em !important;
    border-radius: 999px;
    font-weight: 600 !important;
    font-size: .9rem !important;
    box-shadow: 0 4px 14px rgba(201, 162, 75, .4);
}

.nav-menu .nav-cta::after {
    display: none !important;
}

.nav-menu .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(201, 162, 75, .6);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .25s;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 90svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 4.5rem 0 3.5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(47, 9, 15, .88) 0%, rgba(74, 19, 27, .65) 50%, rgba(47, 9, 15, .88) 100%),
        radial-gradient(circle at 75% 25%, rgba(201, 162, 75, .32), transparent 60%);
}

.hero-content {
    max-width: 820px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(201, 162, 75, .22);
    border: 1px solid var(--gold);
    color: var(--gold-soft);
    padding: .35rem .95rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(6px);
}

.chip-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.hero-title {
    font-size: clamp(3.2rem, 9vw, 6.2rem);
    line-height: .98;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}

.hero-title em {
    color: var(--gold-soft);
}

.hero-sub {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    margin: 1.2rem 0 2rem;
    color: rgba(255, 255, 255, .94);
    max-width: 44ch;
    font-weight: 300;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-soft);
}

.stat-label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .78);
}

.hero-note {
    margin-top: 1.4rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .75);
}

.hero-note a {
    color: var(--gold-soft);
    text-decoration: underline;
}

/* ---------- Flash Notification Banner ---------- */
.flash-container {
    margin-top: 2rem;
}

.flash-banner {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: .96rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.flash-icon {
    font-size: 1.3rem;
}

/* ---------- Section Layouts ---------- */
.section {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-alt {
    background: var(--cream-2);
}

.section-header {
    margin-bottom: 2.8rem;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: .8rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: .5rem;
}

.section-title {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
}

.rule-gold {
    width: 68px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: .9rem 0 1.4rem;
    border-radius: 3px;
}

.section-lead {
    max-width: 64ch;
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.6;
}

/* ---------- Services 3-Column Modern Grid ---------- */
.service-cards.modern-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 3rem;
}

@media (max-width: 960px) {
    .service-cards.modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .service-cards.modern-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    border: 1px solid rgba(201, 162, 75, .28);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.service-icon-box {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: var(--gold-soft);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 18px rgba(74, 19, 27, .25);
}

.service-card h3 {
    font-size: 1.45rem;
    margin-bottom: .6rem;
}

.service-feature {
    margin-bottom: .9rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1.2rem;
    display: grid;
    gap: .5rem;
    font-size: .92rem;
    color: var(--ink-soft);
    border-top: 1px dashed rgba(201, 162, 75, .25);
    padding-top: 1rem;
}

.service-list li {
    position: relative;
    padding-left: 1.3rem;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.service-cta {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: #fff;
    border-radius: var(--radius);
    padding: 2.2rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.service-cta-text h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: .3rem;
}

.service-cta-text p {
    color: rgba(255, 255, 255, .85);
    margin: 0;
    font-size: .96rem;
}

/* ---------- Article Publishing Tiers (blog.ajmercity.com) ---------- */
.publishing-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 820px) {
    .publishing-grid {
        grid-template-columns: 1fr;
    }
}

.publishing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1.5px solid rgba(201, 162, 75, .25);
    transition: transform .25s ease, box-shadow .25s ease;
}

.publishing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.publishing-card.paid-tier {
    border-color: var(--gold);
    background: linear-gradient(180deg, #fff, #fdfbf7);
    box-shadow: 0 10px 30px -10px rgba(201, 162, 75, .3);
}

.publishing-tag {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--maroon);
    margin-bottom: .8rem;
}

.publishing-tag.badge-pro {
    display: inline-block;
    background: var(--gold);
    color: var(--maroon-dark);
    padding: .2rem .7rem;
    border-radius: 999px;
    width: fit-content;
}

.publishing-card h3 {
    font-size: 1.65rem;
    margin-bottom: .4rem;
}

.price-label {
    font-size: .95rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.publishing-desc {
    color: var(--ink-soft);
    font-size: .95rem;
    margin-bottom: 1.4rem;
}

.publishing-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    gap: .7rem;
    font-size: .94rem;
    color: var(--ink);
}

.publishing-action {
    margin-top: auto;
}

/* ---------- Latest News & Updates (3-Column Desktop Grid) ---------- */
.news-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.6rem;
}

.news-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 3rem;
}

@media (max-width: 960px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(201, 162, 75, .25);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.news-card-media-link {
    display: block;
}

.news-media {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--cream-2);
    overflow: hidden;
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.news-card:hover .news-media img {
    transform: scale(1.06);
}

.news-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: var(--gold-soft);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(74, 19, 27, .88);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 999px;
    letter-spacing: .5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(201, 162, 75, .4);
}

.news-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--ink-light);
    margin-bottom: .6rem;
}

.news-title {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.news-title a {
    color: var(--maroon-deep);
    transition: color .2s ease;
}

.news-title a:hover {
    color: var(--gold);
}

.news-read-link {
    margin-top: auto;
    font-weight: 600;
    font-size: .88rem;
    color: var(--maroon);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.news-read-link:hover {
    color: var(--gold);
    transform: translateX(3px);
}

.news-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px dashed rgba(201, 162, 75, .3);
    margin-bottom: 2rem;
}

.news-footer-banner {
    background: #fff;
    border: 1px solid rgba(201, 162, 75, .3);
    border-radius: var(--radius);
    padding: 1.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.news-footer-banner p {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
    color: var(--maroon-deep);
}

/* ---------- Featured Network Grid ---------- */
.feature-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(201, 162, 75, .25);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-link {
    display: block;
    color: inherit;
}

.feature-media {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.feature-card:hover .feature-media img {
    transform: scale(1.06);
}

.feature-body {
    padding: 1.3rem 1.4rem 1rem;
}

.feature-domain {
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: .78rem;
    color: var(--gold);
    letter-spacing: .3px;
    margin-bottom: .5rem;
    word-break: break-all;
}

.feature-body h3 {
    font-size: 1.45rem;
    margin-bottom: .5rem;
}

.feature-body p {
    color: var(--ink-soft);
    font-size: .94rem;
}

.feature-attr {
    border-top: 1px solid rgba(201, 162, 75, .2);
    font-size: .76rem;
    color: var(--ink-soft);
    padding: .7rem .9rem;
    background: #fff;
}

/* ---------- Heritage & About ---------- */
.heritage-grid {
    display: grid;
    gap: 2.6rem;
    align-items: center;
}

@media (min-width: 880px) {
    .heritage-grid {
        grid-template-columns: 0.95fr 1.05fr;
    }
}

.heritage-figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid #fff;
}

.heritage-figure img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.prose p {
    margin-bottom: 1.1rem;
    color: var(--ink-soft);
}

.two-col {
    columns: 1;
}

@media (min-width: 760px) {
    .two-col {
        columns: 2;
        column-gap: 2.4rem;
    }
}

.pillars {
    list-style: none;
    padding: 0;
    margin-top: 2.6rem;
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 820px) {
    .pillars {
        grid-template-columns: 1fr;
    }
}

.pillars li {
    background: #fff;
    border: 1px solid rgba(201, 162, 75, .25);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-sm);
}

.pillar-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: .4rem;
}

.pillars h3 {
    font-size: 1.4rem;
    margin-bottom: .4rem;
}

.pillars p {
    color: var(--ink-soft);
    font-size: .95rem;
}

/* ---------- Founder Section ---------- */
.founder-grid {
    display: grid;
    gap: 2.6rem;
    align-items: center;
}

@media (min-width: 860px) {
    .founder-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.founder-photo {
    margin: 0;
    text-align: center;
}

.founder-photo img {
    width: min(320px, 80%);
    margin-inline: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 4px solid #fff;
}

.founder-photo figcaption {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-top: .9rem;
}

.founder-meta {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0;
    display: grid;
    gap: .6rem;
}

.founder-meta li {
    background: var(--cream-2);
    border-left: 3px solid var(--gold);
    padding: .6rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: .95rem;
}

.founder-meta li span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .68rem;
    color: var(--ink-soft);
    font-weight: 600;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-grid figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-grid figure:hover img {
    transform: scale(1.05);
}

.gallery-grid figcaption {
    padding: .7rem .9rem;
    font-size: .76rem;
    color: var(--ink-soft);
    background: #fff;
    border-top: 1px solid rgba(201, 162, 75, .2);
}

/* ---------- FAQ Section ---------- */
.faq-list {
    margin-top: 1.5rem;
    display: grid;
    gap: .9rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(201, 162, 75, .25);
    border-radius: var(--radius-sm);
    padding: 0 1.4rem;
    transition: box-shadow .2s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--gold);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 0;
    font-weight: 600;
    color: var(--maroon-deep);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: bold;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    padding: 0 0 1.2rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ---------- Contact Section & Form ---------- */
.contact-grid {
    display: grid;
    gap: 2.8rem;
    align-items: start;
}

@media (min-width: 880px) {
    .contact-grid {
        grid-template-columns: 1fr 1.15fr;
    }
}

.contact-card {
    background: #fff;
    border: 1px solid rgba(201, 162, 75, .25);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.4rem;
    margin: 1.4rem 0;
}

.contact-email-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink-light);
    margin-bottom: .2rem;
}

.contact-email {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin-top: 1.2rem;
    display: grid;
    gap: .8rem;
}

.contact-points li {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--ink-soft);
    font-size: .96rem;
}

.contact-points li span {
    color: var(--gold);
    font-size: .8rem;
}

.contact-form {
    background: #fff;
    border: 1px solid rgba(201, 162, 75, .3);
    border-radius: var(--radius);
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-sm);
}

.field {
    margin-bottom: 1.2rem;
}

.field label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: var(--ink);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: .98rem;
    color: var(--ink);
    padding: .85em 1.1em;
    border: 1.5px solid #e3d6bf;
    border-radius: var(--radius-sm);
    background: var(--cream);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 75, .25);
    background: #fff;
}

.field textarea {
    resize: vertical;
}

.field .error {
    display: block;
    color: #b3261e;
    font-size: .82rem;
    margin-top: .3rem;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
    border-color: #b3261e;
}

.form-status {
    margin-top: .9rem;
    font-size: .95rem;
    font-weight: 500;
}

.form-status.err {
    color: #b3261e;
}

.form-fineprint {
    font-size: .8rem;
    color: var(--ink-light);
    margin-top: 1rem;
    text-align: center;
}

/* ---------- Legal Pages Banner & Styling ---------- */
.page-banner {
    background: linear-gradient(180deg, var(--maroon-dark), var(--maroon));
    color: #fff;
    padding: 4rem 0 3.5rem;
    border-bottom: 1px solid rgba(201, 162, 75, .25);
}

.page-banner-inner {
    max-width: 860px;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    color: #fff;
    margin-bottom: .8rem;
}

.page-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .9);
    max-width: 58ch;
    margin-bottom: .8rem;
}

.page-date {
    font-size: .84rem;
    color: var(--gold-soft);
    font-weight: 500;
}

.legal-content-wrapper {
    max-width: 860px;
}

.legal-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 3rem 2.6rem;
    border: 1px solid rgba(201, 162, 75, .25);
    box-shadow: var(--shadow-sm);
}

.legal-card h2 {
    font-size: 1.65rem;
    margin: 2.2rem 0 .8rem;
    color: var(--maroon);
    border-bottom: 1px solid rgba(201, 162, 75, .2);
    padding-bottom: .4rem;
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card p,
.legal-card li {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: .9rem;
}

.legal-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

/* ---------- Auto Popup Modal (blog.ajmercity.com) ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 6, 8, 0.78);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    padding: 2.6rem 2.2rem 2.2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, .5);
    border: 1px solid rgba(201, 162, 75, .35);
    transform: scale(0.92);
    transition: transform .3s ease;
}

.modal-backdrop.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: var(--cream);
    border: 1px solid rgba(201, 162, 75, .25);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
    color: var(--ink-soft);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s ease;
}

.modal-close:hover {
    background: var(--maroon);
    color: #fff;
}

.modal-badge {
    margin-bottom: 1rem;
}

.modal-badge span {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: var(--gold-soft);
    font-size: .72rem;
    font-weight: 700;
    padding: .28rem .8rem;
    border-radius: 999px;
    letter-spacing: .8px;
}

.modal-icon-wrap {
    color: var(--gold);
    display: inline-flex;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: .8rem;
}

.modal-text {
    color: var(--ink-soft);
    font-size: .98rem;
    margin-bottom: 1.4rem;
    line-height: 1.5;
}

.modal-perks {
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    margin-bottom: 1.6rem;
    text-align: left;
    display: grid;
    gap: .6rem;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    color: var(--ink);
    font-weight: 500;
}

.perk-icon {
    color: #16a34a;
    font-weight: bold;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.modal-cta {
    font-size: 1.02rem;
    padding: .85em;
}

.modal-sub-cta {
    font-size: .92rem;
    padding: .7em;
}

.modal-dismiss {
    background: none;
    border: none;
    color: var(--ink-light);
    font-size: .84rem;
    margin-top: 1rem;
    cursor: pointer;
    text-decoration: underline;
}

.modal-dismiss:hover {
    color: var(--maroon);
}

/* ---------- Modern Footer ---------- */
.site-footer {
    background: var(--maroon-dark);
    color: rgba(255, 255, 255, .84);
    padding-top: 3.5rem;
    border-top: 2px solid var(--gold);
}

.footer-inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
    padding-bottom: 3rem;
}

.footer-brand .brand-text {
    color: #fff;
    font-size: 1.7rem;
}

.footer-brand .brand-text em {
    color: var(--gold-soft);
}

.footer-desc {
    margin-top: .8rem;
    font-size: .92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
}

.footer-contact-box {
    margin-top: 1.2rem;
}

.footer-contact-title {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-soft);
    margin-bottom: .2rem;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin-top: 1.2rem;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.footer-social a {
    color: rgba(255, 255, 255, .85);
    font-size: .84rem;
    border: 1px solid rgba(201, 162, 75, .35);
    padding: .35rem .85rem;
    border-radius: 999px;
    transition: all .2s ease;
}

.footer-social a:hover {
    color: var(--maroon-dark);
    background: var(--gold-soft);
    border-color: var(--gold-soft);
}

.email-link {
    color: var(--gold-soft);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.email-link:hover {
    color: #fff;
}

.footer-nav h4,
.footer-meta h4 {
    color: var(--gold-soft);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .82rem;
    margin-bottom: 1.1rem;
}

.footer-nav ul,
.footer-meta ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .55rem;
}

.footer-nav a,
.footer-meta a {
    color: rgba(255, 255, 255, .8);
    font-size: .92rem;
    transition: color .2s ease;
}

.footer-nav a:hover,
.footer-meta a:hover {
    color: var(--gold-soft);
}

.footer-highlight-link {
    color: var(--gold-soft) !important;
    font-weight: 600;
}

.managed-tag {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .88rem;
}

.managed-tag a {
    color: var(--gold-soft);
}

.copyright {
    margin-top: .4rem;
    font-size: .8rem;
    opacity: .7;
}

.footer-base {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.2rem 0;
    background: rgba(0, 0, 0, .2);
}

.footer-base-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-base p {
    font-size: .8rem;
    opacity: .7;
    margin: 0;
}

.secure-badge {
    font-size: .78rem;
    color: var(--gold-soft);
}

/* ---------- Reveal on Scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s cubic-bezier(0.16, 1, 0.3, 1), transform .65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 960px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        inset: calc(var(--header-h) + var(--top-bar-h)) 0 auto 0;
        flex-direction: column;
        align-items: flex-start;
        gap: .2rem;
        background: rgba(74, 19, 27, .98);
        backdrop-filter: blur(14px);
        padding: 1.2rem 1.4rem 1.8rem;
        box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
        transform: translateY(-130%);
        transition: transform .3s ease;
        border-bottom: 2px solid var(--gold);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: .75rem 0;
        color: rgba(255, 255, 255, .9) !important;
        width: 100%;
        border-bottom: 1px solid rgba(201, 162, 75, .2);
    }

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

    .nav-blog-btn {
        margin-top: .6rem;
        text-align: center;
    }

    .nav-cta {
        margin-top: .4rem;
        padding: .75rem 1.5em !important;
        text-align: center;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 580px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .news-footer-banner,
    .service-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
