/* =============================================================
   DESIGN TOKENS
   Dark, warm-ink base with a restrained antique-gold accent.
   Serif (Fraunces) carries headings and numerals; Inter carries
   body copy and interface chrome. Toggling <html class="light-theme">
   swaps to a warm ivory reading of the same palette.
============================================================= */
:root {
    --ink: #0c0b09;
    /* page background */
    --panel: #14120e;
    /* card / raised surface */
    --panel-raised: #1b1812;
    /* hover / nested surface */
    --paper: #f3ecdc;
    /* primary text on dark */
    --stone: #a89b85;
    /* secondary text */
    --stone-dim: #766a58;
    /* tertiary / meta text */
    --gold: #c6a15b;
    /* accent — links, prices, active states */
    --gold-bright: #e2c07f;
    /* accent hover / highlight */
    --gold-deep: #8a6a30;
    /* accent pressed / gradients */
    --on-gold: #17130a;
    /* text sitting on a gold fill */
    --hairline: rgba(198, 161, 91, 0.20);
    --hairline-soft: rgba(243, 236, 220, 0.09);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

    --radius-lg: 6px;
    --radius-md: 4px;
    --radius-full: 999px;
    --max-width: 800px;

    --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

html.light-theme {
    --ink: #faf6ec;
    --panel: #ffffff;
    --panel-raised: #f4eee0;
    --paper: #1d1911;
    --stone: #6c6152;
    --stone-dim: #8f8371;
    --gold: #96742f;
    --gold-bright: #7a5f26;
    --gold-deep: #5f491f;
    --on-gold: #fffaf0;
    --hairline: rgba(122, 95, 38, 0.28);
    --hairline-soft: rgba(29, 25, 17, 0.09);
    --shadow: 0 18px 40px rgba(60, 46, 20, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

html {
    background: var(--ink);
    width: 100%;
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--paper);
    background: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    transition: background-color 0.35s ease, color 0.35s ease;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 22px 120px;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg,
video {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    color: var(--paper);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Reusable section heading: a short gold rule beside a serif title */
.section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.section-head .rule {
    width: 26px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.section-head h2 {
    font-size: 25px;
    font-weight: 600;
}

.section-head .icon {
    color: var(--gold);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.section-head .icon svg {
    width: 18px;
    height: 18px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hairline) 20%, var(--hairline) 80%, transparent);
    margin: 8px 0;
}

/* =============================================================
   TOP NAVIGATION
============================================================= */
.topnav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 26px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 22px;
    font-size: 13px;
    letter-spacing: 0.03em;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--stone);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold-bright);
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    border-color: var(--gold);
    transform: rotate(20deg);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
}

/* =============================================================
   BANNER + PROFILE HEADER
============================================================= */
.banner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 22px 0 8px;
}

.banner-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.banner-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    background: var(--panel);
}

.banner-frame::after {
    /* subtle warm-to-transparent wash so the profile photo reads cleanly against any image */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 11, 9, 0) 45%, rgba(12, 11, 9, 0.55) 100%);
}

html.light-theme .banner-frame::after {
    background: linear-gradient(180deg, rgba(250, 246, 236, 0) 45%, rgba(250, 246, 236, 0.5) 100%);
}

.profile-header {
    max-width: var(--max-width);
    margin: 0 auto 30px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 0 22px;
    position: relative;
    z-index: 2;
}

.profile-pic {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--panel-raised);
    border: 3px solid var(--ink);
    box-shadow: 0 0 0 1px var(--hairline), var(--shadow);
    flex-shrink: 0;
    /* Pulled up over the banner's bottom edge independently of the
       text row below, so the name never gets clipped by the image */
    position: absolute;
    left: 22px;
    top: -30px;
}

.profile-info {
    padding-bottom: 6px;
    margin-left: 114px;
}

.profile-info h1 {
    font-size: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    color: var(--on-gold);
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.verified-badge svg {
    width: 10px;
    height: 10px;
}

.profile-info .title {
    color: var(--stone);
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-top: 4px;
}

/* =============================================================
   ABOUT
============================================================= */
.about {
    padding: 8px 0 34px;
}

.about-text {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.65;
    color: var(--stone);
    max-width: 100%;
}

.about-text em {
    color: var(--paper);
    font-style: normal;
}

/* =============================================================
   SERVICES
============================================================= */
.services {
    padding: 30px 0;
    border-top: 1px solid var(--hairline-soft);
}

.service-tags {
    display: none;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--hairline);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 7px 13px;
    border-radius: var(--radius-full);
}

.tag svg {
    width: 12px;
    height: 12px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--panel);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
    border-color: var(--hairline);
    background: var(--panel-raised);
    transform: translateY(-1px);
}

@media (max-width: 400px) {
    .service-card {
        gap: 12px;
        padding: 13px 14px;
    }

    .service-icon {
        width: 38px;
        height: 38px;
    }

    .service-icon svg {
        width: 16px;
        height: 16px;
    }

    .service-body h3 {
        font-size: 13.5px;
    }

    .service-body p {
        font-size: 11.5px;
    }

    .service-price {
        font-size: 13px;
    }
}

.service-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel-raised);
    border: 1px solid var(--hairline-soft);
    border-radius: 50%;
    color: var(--gold);
}

.service-icon svg {
    width: 19px;
    height: 19px;
}

.service-body {
    flex: 1;
    min-width: 0;
}

.service-body h3 {
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--paper);
}

.service-body p {
    font-size: 12.5px;
    color: var(--stone);
    margin-top: 5px;
    line-height: 1.55;
}

.service-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    flex-shrink: 0;
}

.service-price {
    font-family: var(--font-display);
    color: var(--gold-bright);
    font-size: 15px;
    font-weight: 600;
}

.chevron {
    color: var(--stone-dim);
    font-size: 16px;
    transition: transform 0.2s ease;
}

.service-card:hover .chevron {
    transform: translateX(3px);
    color: var(--gold);
}

/* =============================================================
   QUICK LINKS (My Designs / Books)
============================================================= */
.quick-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    padding: 8px 0 36px;
}

@media (max-width: 480px) {
    .quick-links {
        flex-direction: column;
    }

    .quick-card {
        max-width: 100%;
    }
}

.quick-card {
    flex: 1;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--paper);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.quick-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.quick-card .icon {
    color: var(--gold);
}

.quick-card .icon svg {
    width: 24px;
    height: 24px;
}

/* =============================================================
   PROJECTS
============================================================= */
.projects {
    padding: 30px 0;
    border-top: 1px solid var(--hairline-soft);
}

.projects.hidden {
    display: none;
}

.tab-scroll {
    overflow-x: auto;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.tab-scroll::-webkit-scrollbar {
    display: none;
}

.tabs {
    display: flex;
    gap: 8px;
    width: max-content;
}

.tab {
    border: 1px solid var(--hairline-soft);
    background: transparent;
    color: var(--stone);
    font-size: 12.5px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.tab:hover {
    border-color: var(--gold);
    color: var(--paper);
}

.tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--on-gold);
}

.project-grid {
    column-count: 3;
    column-gap: 10px;
}

@media (max-width: 700px) {
    .project-grid {
        column-count: 2;
    }
}

@media (max-width: 380px) {
    .project-grid {
        column-count: 1;
    }
}

.project-item {
    break-inside: avoid;
    margin-bottom: 10px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--panel);
    position: relative;
}

.project-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.project-item:hover img {
    transform: scale(1.04);
}

.project-item .cat-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px 7px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--paper);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.project-item:hover .cat-label {
    opacity: 1;
}

.project-item.hidden {
    display: none;
}

/* E-BOOKS section removed */

/* =============================================================
   REVIEWS
============================================================= */
.reviews {
    padding: 30px 0;
    border-top: 1px solid var(--hairline-soft);
}

.reviews-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-outline {
    border: 1px solid var(--hairline);
    background: none;
    color: var(--gold);
    padding: 8px 15px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-outline svg {
    width: 12px;
    height: 12px;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

.rating-summary {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 26px;
}

@media (max-width: 480px) {
    .rating-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .rating-bars {
        width: 100%;
    }
}

.rating-bars {
    flex: 1;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.rating-row .stars {
    font-size: 11px;
    color: var(--gold);
    width: 74px;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.bar-track {
    flex: 1;
    height: 4px;
    background: var(--hairline-soft);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gold);
}

.rating-row .count {
    font-size: 12px;
    color: var(--stone-dim);
    width: 26px;
    text-align: right;
}

.rating-score {
    text-align: center;
    flex-shrink: 0;
}

.rating-score strong {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 600;
    display: block;
    color: var(--paper);
}

.rating-score .stars {
    color: var(--gold);
    font-size: 14px;
    margin: 5px 0;
    letter-spacing: 1px;
}

.rating-score .count-label {
    font-size: 12px;
    color: var(--stone-dim);
}

.review-carousel-wrap {
    position: relative;
}

.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--hairline);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.review-nav svg {
    width: 16px;
    height: 16px;
}

.review-nav:hover {
    border-color: var(--gold);
    background: var(--panel-raised);
}

.review-nav-prev {
    left: -4px;
}

.review-nav-next {
    right: -4px;
}

@media (max-width: 640px) {
    .review-nav {
        width: 30px;
        height: 30px;
    }

    .review-nav-prev {
        left: 2px;
    }

    .review-nav-next {
        right: 2px;
    }
}

.review-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.review-carousel::-webkit-scrollbar {
    display: none;
}

.review-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: reviewScroll 32s linear infinite;
}

.review-carousel:hover .review-track {
    animation-play-state: paused;
}

.review-track.manual {
    animation: none;
}

@keyframes reviewScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.review-card {
    flex: 0 0 260px;
    width: 260px;
    align-self: stretch;
    border: 1px solid var(--hairline-soft);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--panel);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease;
}

.review-card:hover {
    border-color: var(--hairline);
}

.review-card p {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--stone);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.review-time {
    font-size: 11px;
    color: var(--stone-dim);
}

.review-card-stars {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 1px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 9px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--panel-raised);
    border: 1px solid var(--hairline);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--paper);
}

/* =============================================================
   CONTACT
============================================================= */
.contact {
    text-align: center;
    padding: 34px 0 12px;
    color: var(--stone-dim);
    font-size: 13px;
}

.contact a {
    color: var(--gold);
}

/* =============================================================
   STICKY FOOTER CTA
============================================================= */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    gap: 10px;
    padding: 14px 22px;
    background: color-mix(in srgb, var(--ink) 88%, transparent);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--hairline-soft);
    z-index: 999;
    box-sizing: border-box;
}

.btn-gold,
.btn-hairline {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    color: var(--on-gold);
}

.btn-gold:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-hairline {
    background: transparent;
    border-color: var(--hairline);
    color: var(--paper);
}

.btn-hairline:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

@media (max-width: 360px) {
    .sticky-footer {
        padding: 12px 14px;
        gap: 8px;
    }

    .btn-gold,
    .btn-hairline {
        padding: 12px 6px;
        font-size: 12.5px;
        gap: 5px;
    }
}

.modal-back {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: transparent;
    font-size: 15px;
    color: var(--stone);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.modal-back:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.modal-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--panel-raised);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--gold-bright);
    margin-bottom: 20px;
}

.modal-tip .tip-icon {
    flex-shrink: 0;
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: var(--panel-raised);
    border-right: 1px solid var(--hairline);
    color: var(--stone);
    font-size: 14px;
    flex-shrink: 0;
}

.phone-input-group .form-input {
    border: none;
    border-radius: 0;
}

.phone-input-group .form-input:focus {
    outline: none;
}

/* =============================================================
   BOOKING MODAL
============================================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 5, 4, 0.7);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 26px 26px;
    position: relative;
    box-shadow: var(--shadow);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 20px;
    line-height: 1;
    color: var(--stone);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--gold);
}

/* =============================================================
   PROFILE PICTURE LIGHTBOX (tap avatar to zoom)
============================================================= */
#profilePicModal {
    position: fixed;
    inset: 0;
    background: rgba(6, 5, 4, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
}

#profilePicModal.active {
    display: flex;
}

#profilePicLightboxImg {
    display: block;
    width: auto;
    height: auto;
    max-width: min(420px, 85vw);
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--hairline);
}

#closeProfilePicBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#closeProfilePicBtn:hover {
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 480px) {
    #profilePicLightboxImg {
        max-width: 90vw;
    }

    #closeProfilePicBtn {
        top: 14px;
        right: 14px;
    }
}

.modal-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 6px;
}

.modal-subtitle {
    text-align: center;
    font-size: 12.5px;
    color: var(--stone);
    margin-bottom: 24px;
}

.consultation-total {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    margin: 8px 0 16px;
    border-top: 1px solid var(--hairline);
    font-size: 14px;
}

.consultation-total strong {
    color: var(--gold);
    font-size: 17px;
}

.payment-error {
    color: #d97770;
    font-size: 13px;
    margin: 0 0 12px;
}

.package-options {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.package-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 14px;
    text-align: left;
    color: var(--paper);
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.package-option:hover,
.package-option:focus-visible {
    border-color: var(--gold);
    outline: none;
}

.package-option span {
    display: grid;
    gap: 5px;
}

.package-option strong { font-size: 13px; }
.package-option small { color: var(--stone); font-size: 11px; line-height: 1.45; }
.package-option b { color: var(--gold); font-size: 14px; white-space: nowrap; }
.package-option del { color: var(--stone); font-weight: 400; margin-right: 4px; }

.payment-success-box { text-align: center; }
.receipt-download { display: block; text-decoration: none; margin: 18px 0 10px; }
.success-close { width: 100%; }

.modal-section-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--paper);
}

.date-nav {
    position: absolute;
    right: 0;
    display: flex;
    gap: 6px;
}

.date-nav-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: transparent;
    color: var(--stone);
    font-size: 13px;
    cursor: pointer;
}

.date-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.date-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 26px;
}

.date-card {
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-md);
    padding: 12px 6px;
    text-align: center;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s ease;
}

.date-card .dow {
    font-size: 11px;
    color: var(--stone-dim);
    letter-spacing: 0.04em;
}

.date-card .dom {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin: 5px 0;
    color: var(--paper);
}

.date-card .mon {
    font-size: 11px;
    color: var(--stone-dim);
}

.date-card.selected {
    border-color: var(--gold);
    background: var(--hairline-soft);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.time-slot {
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-md);
    padding: 11px 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--paper);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.time-slot.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--on-gold);
}

@media (max-width: 400px) {
    .date-cards,
    .time-slots {
        gap: 6px;
    }

    .date-card {
        padding: 10px 4px;
    }

    .date-card .dom {
        font-size: 18px;
        margin: 3px 0;
    }

    .time-slot {
        padding: 9px 4px;
        font-size: 12px;
    }
}

.modal-continue {
    width: 100%;
    border: none;
    border-radius: var(--radius-full);
    padding: 15px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--stone-dim);
    background: var(--hairline-soft);
    cursor: not-allowed;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-continue.ready {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    color: var(--on-gold);
    cursor: pointer;
}

/* =============================================================
   REVIEW MODAL — form fields + star rating
============================================================= */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: var(--panel-raised);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 11px 13px;
    transition: border-color 0.2s ease;
}

.form-input::placeholder {
    color: var(--stone-dim);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.5;
}

.star-rating {
    display: flex;
    gap: 6px;
    font-size: 26px;
}

.star-input {
    color: var(--hairline);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.1s ease;
}

.star-input:hover {
    transform: scale(1.1);
}

.star-input.filled {
    color: var(--gold);
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 620px) {
    .review-card {
        flex-basis: 220px;
        width: 220px;
    }

    .banner-img {
        height: 160px;
    }

    .quick-card {
        padding: 20px 16px;
    }

    .rating-score strong {
        font-size: 30px;
    }

    /* Banner full-bleed edge-to-edge on mobile */
    .banner {
        margin-left: -22px;
        margin-right: -22px;
        width: calc(100% + 44px);
        padding: 0;
    }

    .banner-frame {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Push profile block down so the name doesn't get cut by the banner edge */
    .profile-header {
        margin-top: 4px;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    /* Smaller photo on mobile, pulled up a bit less so it doesn't eat into
       the name/title text below it */
    .profile-pic {
        width: 76px;
        height: 76px;
        top: -22px;
        left: 18px;
    }

    .profile-info {
        margin-left: 90px;
        padding-bottom: 2px;
    }

    .profile-info h1 {
        font-size: 18px;
        line-height: 1.25;
    }

    .profile-info .title {
        font-size: 12px;
        line-height: 1.4;
    }

    .profile-meta {
        gap: 10px;
        margin-top: 6px;
    }

    .meta-item {
        font-size: 11px;
    }
}

/* Very narrow phones: stack the photo above the name entirely so long
   titles never get squeezed into a slim right-hand column */
@media (max-width: 380px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-pic {
        position: static;
        width: 72px;
        height: 72px;
        margin-bottom: 8px;
    }

    .profile-info {
        margin-left: 0;
    }
}

@media (max-width: 420px) {
    .modal-box {
        padding: 26px 18px 20px;
    }

    .section-head h2 {
        font-size: 21px;
    }
}

.projects {
    scroll-margin-top: 88px;
}

@media (max-width: 620px) {

    .projects {
        scroll-margin-top: 70px;
    }
}

/* =============================================================
   BRAND / LOGO (topnav) — same content width as the banner below
============================================================= */
.topnav {
    justify-content: flex-start;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 20px 22px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--hairline-soft);
    background: var(--ink);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* Pushes the nav-links + theme-toggle group to the right, right next to
   each other, while the brand stays pinned on the left */
.topnav .nav-links {
    margin-left: auto;
}

@media (max-width: 620px) {
    .topnav {
        padding: 16px 18px;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    height: 64px;
    box-sizing: border-box;
    padding: 4px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: var(--radius-md);
}

.brand-mark svg {
    width: 16px;
    height: 16px;
}

.brand-mark img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Default (dark theme): show the light-colored logo, hide the dark-colored one */
.brand-mark .logo-for-light-theme {
    display: none;
}

/* Light theme: show the dark-colored logo, hide the light-colored one */
html.light-theme .brand-mark .logo-for-dark-theme {
    display: none;
}

html.light-theme .brand-mark .logo-for-light-theme {
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-family: var(--font-display);
}

.brand-text strong {
    font-size: 15px;
    color: var(--paper);
    font-weight: 600;
}

.brand-text small {
    font-family: var(--font-body);
    font-size: 10.5px;
    color: var(--stone-dim);
    letter-spacing: 0.02em;
}

@media (max-width: 560px) {
    .brand-text small {
        display: none;
    }
}

/* =============================================================
   BANNER QUOTE OVERLAY — sits in the upper-left of the banner
   so it never collides with the profile name pulled up below
============================================================= */
.banner-quote {
    position: absolute;
    left: 24px;
    top: 22px;
    bottom: auto;
    z-index: 1;
    max-width: 55%;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 19px;
    line-height: 1.35;
    color: #f3ecdc;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.banner-quote .quote-rule {
    display: block;
    width: 34px;
    height: 1px;
    background: var(--gold-bright);
    margin-top: 10px;
}

@media (max-width: 620px) {
    .banner-quote {
        font-size: 15px;
        max-width: 75%;
        left: 16px;
        top: 16px;
    }
}

@media (max-width: 400px) {
    .banner-quote {
        display: none;
    }
}

/* =============================================================
   PROFILE META ROW + ACTIONS
============================================================= */
.profile-header {
    justify-content: space-between;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--stone);
}

.meta-item svg {
    width: 13px;
    height: 13px;
    color: var(--gold);
    flex-shrink: 0;
}

.profile-actions {
    display: flex;
    gap: 8px;
    padding-bottom: 8px;
    flex-shrink: 0;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: transparent;
    color: var(--stone);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.icon-btn svg {
    width: 15px;
    height: 15px;
}

.icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.icon-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--on-gold);
}

#miniToast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--panel-raised);
    border: 1px solid var(--hairline);
    color: var(--paper);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1000;
    white-space: nowrap;
}

#miniToast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 560px) {
    .profile-actions {
        display: none;
    }
}

/* =============================================================
   ABOUT — stat badges
============================================================= */
.about-body {
    display: block;
}

.stat-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    background: var(--panel);
}

.stat-icon {
    color: var(--gold);
    flex-shrink: 0;
    display: flex;
}

.stat-icon svg {
    width: 18px;
    height: 18px;
}

.stat-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--paper);
    line-height: 1.2;
}

.stat-badge span {
    font-size: 11px;
    color: var(--stone-dim);
}

@media (max-width: 480px) {
    .stat-badges {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   QUICK-CARDS — richer content (title / desc / arrow)
============================================================= */
.quick-card {
    align-items: flex-start;
    text-align: left;
    gap: 6px;
    position: relative;
    padding: 22px 20px 30px;
}

.quick-card .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--panel-raised);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.quick-card-desc {
    font-size: 12px;
    font-weight: 400;
    color: var(--stone);
    line-height: 1.5;
}

.quick-card-arrow {
    position: absolute;
    left: 20px;
    bottom: 14px;
    color: var(--gold);
    font-weight: 700;
    transition: transform 0.2s ease;
}

.quick-card:hover .quick-card-arrow {
    transform: translateX(3px);
}

.quick-card.active {
    border-color: var(--gold);
}

/* =============================================================
   TWO-COLUMN DESKTOP LAYOUT (about+quicklinks / services)
============================================================= */
.profile-grid-side {
    margin-bottom: 0;
}

.profile-grid-side .services {
    border-top: none;
    padding: 0;
}

.view-all-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gold);
    border-top: 1px solid var(--hairline-soft);
    padding-top: 16px;
}

.view-all-link:hover {
    color: var(--gold-bright);
}

@media (min-width: 900px) {
    :root {
        --max-width: 1060px;
    }

    .profile-grid {
        display: grid;
        grid-template-columns: 1.25fr 1fr;
        gap: 26px;
        align-items: start;
    }

    .profile-grid-side {
        background: var(--panel);
        border: 1px solid var(--hairline);
        border-radius: var(--radius-lg);
        padding: 26px;
        position: sticky;
        top: 96px;
        max-height: calc(100vh - 120px);
        display: flex;
        flex-direction: column;
    }

    .profile-grid-side .services {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .profile-grid-side .services .section-head,
    .profile-grid-side .services .service-tags {
        flex-shrink: 0;
    }

    /* Scroll the call list only, so this card's height stays level
       with the About column instead of running on past it */
    .profile-grid-side .service-list {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding-right: 6px;
        margin-right: -6px;
        scrollbar-width: thin;
        scrollbar-color: var(--hairline) transparent;
    }

    .profile-grid-side .service-list::-webkit-scrollbar {
        width: 5px;
    }

    .profile-grid-side .service-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .profile-grid-side .service-list::-webkit-scrollbar-thumb {
        background: var(--hairline);
        border-radius: 4px;
    }

    .profile-grid-side .service-list::-webkit-scrollbar-thumb:hover {
        background: var(--gold);
    }

    .profile-grid-side .view-all-link {
        flex-shrink: 0;
    }
}

/* =============================================================
   TRUST BAR (bottom of reviews)
============================================================= */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding: 18px 20px;
    background: var(--panel);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--radius-md);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--paper);
}

.trust-item svg {
    width: 17px;
    height: 17px;
    color: var(--gold);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .trust-bar {
        justify-content: flex-start;
        gap: 14px 18px;
        padding: 16px 18px;
    }

    .trust-item {
        flex: 1 1 42%;
        font-size: 12px;
    }
}
/* =============================================================
   CONTACT SECTION — "Get in Touch" 2x4 badge grid
============================================================= */
.contact-grid {
    /* Single column on phones: in a 2-column layout the address column
       was only ~140px wide, so long words ("Vivekanand", "Maharashtra")
       had no room and wrapped one-per-line (even mid-word), stretching
       that card to 10+ lines while Call/Email stayed 2 lines tall.
       Full width lets the address wrap normally in ~3 lines, so all
       four cards land close in height to begin with. */
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact-grid .stat-badge {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 20px 18px;
    border-radius: var(--radius-lg);
    height: 100%;
    /* A shared floor makes all four cards match even though their
       content lengths differ slightly (address still runs a bit
       longer than Call/Email). stretch + center keep every card's
       content sitting the same way inside that shared height. */
    min-height: 172px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.contact-grid .stat-badge:hover {
    border-color: var(--gold);
    background: var(--panel-raised);
    transform: translateY(-2px);
}

.contact-grid .stat-badge > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    flex: 1;
}

.contact-grid .stat-badge span {
    order: -1;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-grid .stat-badge strong {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: break-word;
}

.contact-grid .stat-badge strong a:hover {
    color: var(--gold);
}

/* Every icon in this section — including the social buttons —
   shares the same gold-ring badge so the row reads as one system */
.contact-grid .stat-icon,
.contact-grid .social-icons .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hairline);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-grid .stat-icon svg {
    width: 17px;
    height: 17px;
}

.contact-grid .social-icons {
    display: flex;
    gap: 8px;
}

.contact-grid .social-icons .icon-btn {
    width: 34px;
    height: 34px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-grid .social-icons .icon-btn svg {
    width: 14px;
    height: 14px;
}

.contact-grid .social-icons .icon-btn:hover {
    background: var(--gold);
    color: var(--on-gold);
    transform: translateY(-2px);
}

/* The share icon is a real button, not just a label glyph like the
   phone/email/address icons — give it its own interactive state */
.contact-grid button.stat-icon {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-grid button.stat-icon:hover,
.contact-grid button.stat-icon:focus-visible {
    background: var(--gold);
    color: var(--on-gold);
    transform: translateY(-2px);
}