:root {
    --red: #b1182b;
    --red-dark: #720d18;
    --yellow: #ffd44a;
    --gold: #d89b18;
    --cream: #fff7e2;
    --paper: #ffffff;
    --ink: #261513;
    --muted: #6d5f58;
    --line: rgba(177, 24, 43, 0.16);
}

* {
    letter-spacing: 0;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 212, 74, 0.28), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(177, 24, 43, 0.12), transparent 26%),
        linear-gradient(180deg, #fffaf0 0%, #fff 52%, #fff7e2 100%);
    font-family: Arial, Helvetica, sans-serif;
}

body.page-home {
    position: relative;
    background-size: 140% 140%;
    animation: homepageAura 18s ease-in-out infinite alternate;
}

@keyframes homepageAura {
    from {
        background-position: 0% 20%, 100% 10%, 50% 0%;
    }
    to {
        background-position: 12% 28%, 86% 18%, 50% 100%;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.42;
    background-image:
        radial-gradient(circle, rgba(177, 24, 43, 0.18) 1px, transparent 1.4px),
        radial-gradient(circle, rgba(216, 155, 24, 0.24) 1px, transparent 1.4px);
    background-size: 92px 92px, 130px 130px;
    background-position: 0 0, 40px 56px;
}

body.page-home::after {
    content: "";
    position: fixed;
    inset: -18%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.5;
    background:
        radial-gradient(circle at 20% 35%, rgba(255, 212, 74, 0.32), transparent 18%),
        radial-gradient(circle at 78% 18%, rgba(177, 24, 43, 0.18), transparent 20%),
        radial-gradient(circle at 70% 78%, rgba(216, 155, 24, 0.18), transparent 16%);
    animation: cosmicFloat 24s ease-in-out infinite alternate;
}

@keyframes cosmicFloat {
    from {
        transform: translate3d(-18px, -10px, 0) scale(1);
    }
    to {
        transform: translate3d(18px, 16px, 0) scale(1.04);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(114, 13, 24, 0.08);
    backdrop-filter: blur(12px);
}

.navbar-brand {
    color: var(--red);
    font-family: "Palatino Linotype", Georgia, cursive;
    font-size: 1.32rem;
    font-weight: 900;
    text-transform: capitalize;
}

.nav-link {
    color: var(--ink);
    font-weight: 700;
}

.nav-link:hover {
    color: var(--red);
}

.btn {
    border-radius: 8px;
    font-weight: 800;
}

.btn-consult {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border: 1px solid var(--red);
    color: #fff;
    box-shadow: 0 10px 22px rgba(177, 24, 43, 0.22);
}

.btn-consult:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: #fff;
}

.btn-outline-red {
    border: 1px solid rgba(177, 24, 43, 0.45);
    color: var(--red);
}

.btn-outline-red:hover {
    background: var(--red);
    color: #fff;
}

.hero-section {
    padding: 5rem 0 3rem;
}

.hero-shell {
    position: relative;
    padding: 3.5rem;
    border: 1px solid rgba(216, 155, 24, 0.32);
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 28%, rgba(255, 212, 74, 0.42), transparent 26%),
        linear-gradient(135deg, #fff4d4 0%, #ffe9df 48%, #fff 100%);
    box-shadow: 0 24px 60px rgba(114, 13, 24, 0.12);
    overflow: hidden;
}

.page-home .hero-shell::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -210px;
    top: -180px;
    border: 1px solid rgba(177, 24, 43, 0.16);
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg, rgba(177, 24, 43, 0.18) 0deg 1deg, transparent 1deg 15deg),
        radial-gradient(circle, transparent 52%, rgba(255, 212, 74, 0.16) 53%, transparent 66%);
    animation: zodiacTurn 60s linear infinite;
}

.page-home .hero-shell::after {
    content: "";
    position: absolute;
    left: -110px;
    bottom: -130px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 212, 74, 0.28), transparent 68%);
    animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes zodiacTurn {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes glowPulse {
    from {
        opacity: 0.45;
        transform: scale(0.96);
    }
    to {
        opacity: 0.9;
        transform: scale(1.08);
    }
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #fff;
}

h1,
h2,
h3 {
    color: var(--red);
    font-family: Georgia, "Times New Roman", cursive;
    font-weight: 900;
}

.hero-section h1 {
    position: relative;
    z-index: 1;
    max-width: 650px;
    font-family: "Palatino Linotype", Georgia, cursive;
    font-size: clamp(2.5rem, 5.8vw, 4.9rem);
    line-height: 0.98;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 1.25rem 0 1.5rem;
    color: var(--muted);
    font-size: 1.2rem;
}

.hero-actions,
.trust-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-row {
    margin-top: 1.4rem;
}

.trust-row span {
    padding: 0.55rem 0.8rem;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--red);
    font-size: 0.86rem;
    font-weight: 800;
}

.portrait-panel {
    position: relative;
    max-width: 500px;
    margin-inline: auto;
    padding: 1rem;
    z-index: 1;
}

.portrait-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(216, 155, 24, 0.42);
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg, rgba(177, 24, 43, 0.22) 0deg 1deg, transparent 1deg 18deg),
        radial-gradient(circle, transparent 58%, rgba(255, 212, 74, 0.18) 59%, transparent 70%);
}

.portrait-frame {
    position: relative;
    max-width: 390px;
    margin: 2rem auto;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid rgba(216, 155, 24, 0.38);
    box-shadow: 0 18px 44px rgba(114, 13, 24, 0.16);
}

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

.credential-card {
    position: relative;
    width: min(100%, 360px);
    margin: -1rem auto 0;
    padding: 1rem;
    background: #fff;
    border-left: 5px solid var(--yellow);
    box-shadow: 0 12px 28px rgba(114, 13, 24, 0.13);
}

.credential-card strong,
.credential-card span {
    display: block;
}

.credential-card span {
    color: var(--muted);
}

.quick-strip {
    padding: 1rem 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.quick-grid a {
    min-height: 76px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--yellow);
    color: var(--red);
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(114, 13, 24, 0.06);
}

.quick-grid a:hover {
    background: var(--red);
    color: #fff;
}

.section-pad {
    padding: 4.5rem 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-head h2,
.block-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-head a {
    color: var(--red);
    font-weight: 900;
    text-decoration: none;
}

.service-card,
.quote-card,
.blog-row,
.blog-card,
.contact-card,
.contact-side,
.award-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(114, 13, 24, 0.08);
    overflow: hidden;
}

.service-card {
    height: 100%;
    border-top: 4px solid var(--yellow);
}

.service-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--cream);
}

.service-body {
    padding: 1.25rem;
}

.service-body span,
.blog-row span,
.blog-card span {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.62rem;
    background: #fff1c2;
    color: var(--red);
    font-size: 0.73rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-body h3,
.blog-row h3,
.blog-card h3 {
    font-size: 1.22rem;
}

.service-body p,
.blog-row p,
.blog-card p,
.quote-card,
.contact-side p,
.footer p,
.large-copy {
    color: var(--muted);
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.service-meta strong {
    color: var(--red);
    font-size: 1.1rem;
}

.consult-band {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--red), #4f1015);
    color: #fff;
}

.consult-band h2,
.consult-band p {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stats-grid div {
    min-height: 110px;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: #fff;
    color: var(--red);
}

.stats-grid strong,
.stats-grid span {
    display: block;
    text-align: center;
}

.stats-grid strong {
    font-size: 1.7rem;
}

.stats-grid span {
    color: var(--muted);
    font-weight: 800;
}

.quote-card,
.blog-row,
.blog-card,
.contact-card,
.contact-side {
    padding: 1.35rem;
}

.quote-card + .quote-card,
.blog-row + .blog-row {
    margin-top: 1rem;
}

.quote-card strong {
    display: block;
    margin-top: 0.75rem;
    color: var(--red);
}

.page-hero {
    padding: 5rem 0 2rem;
}

.page-hero .container {
    padding: 3rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff4d4, #fff);
    border: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 850px;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1;
}

.horizontal-card {
    display: grid;
    grid-template-columns: 42% 1fr;
}

.horizontal-card img {
    height: 100%;
}

.about-photo {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(114, 13, 24, 0.12);
}

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

.about-content {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    border-left: 6px solid var(--yellow);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(114, 13, 24, 0.08);
}

.about-content p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.about-content strong {
    color: var(--red);
}

.about-highlights {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.about-highlights div {
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--yellow);
    box-shadow: 0 10px 24px rgba(114, 13, 24, 0.06);
}

.about-highlights strong,
.about-highlights span {
    display: block;
}

.about-highlights strong {
    color: var(--red);
    font-size: 1.1rem;
}

.about-highlights span {
    color: var(--muted);
    margin-top: 0.2rem;
}

.award-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.blog-card {
    height: 100%;
}

.blog-card a {
    color: var(--red);
    font-weight: 900;
    text-decoration: none;
}

.content-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 92px;
}

.sidebar-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--yellow);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(114, 13, 24, 0.08);
}

.sidebar-card h3 {
    font-size: 1.2rem;
}

.sidebar-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-card li + li {
    margin-top: 0.55rem;
}

.sidebar-card a {
    color: var(--red);
    font-weight: 800;
    text-decoration: none;
}

.sidebar-card blockquote {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.sidebar-card blockquote:last-child {
    margin-bottom: 0;
}

.sidebar-card blockquote strong {
    display: block;
    margin-top: 0.45rem;
    color: var(--red);
}

.cta-card {
    background: linear-gradient(135deg, #fff4d4, #fff);
}

.contact-card label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 800;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    padding: 0.82rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contact-side {
    height: 100%;
    background: var(--red);
}

.contact-side h2,
.contact-side p {
    color: #fff !important;
}

.footer {
    padding: 3rem 0 1.25rem;
    background: linear-gradient(135deg, var(--red), #4f1015);
    color: #fff;
}

.footer h2,
.footer p {
    color: #fff;
}

.footer h2 {
    font-family: "Palatino Linotype", Georgia, cursive;
}

.footer h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer li + li {
    margin-top: 0.45rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
}

.footer a:hover {
    color: var(--yellow);
}

.footer-contact p {
    margin-bottom: 0.45rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 991.98px) {
    .hero-shell,
    .page-hero .container {
        padding: 2rem;
    }

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

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .content-sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 2rem;
    }

    .hero-shell,
    .page-hero .container {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .quick-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-pad {
        padding: 3rem 0;
    }
}
