/* =========================================================================
   Satva Gold — About page redesign
   Scope: .about-page  ·  All DB queries preserved ($about, $ab, $ture).
   ========================================================================= */

:root {
    --abt-gold:      #b58b44;
    --abt-gold-soft: #d4a84b;
    --abt-gold-deep: #8a6932;
    --abt-gold-tint: rgba(212, 168, 75, 0.08);
    --abt-cream:     #faf6ee;
    --abt-cream-2:   #f2ebda;
    --abt-cream-3:   #ebe1cb;
    --abt-ink:       #1c1610;
    --abt-text:      #4a4036;
    --abt-muted:     #837868;
    --abt-line:      rgba(28, 22, 16, 0.08);
    --abt-radius:    20px;
    --abt-radius-sm: 12px;
    --abt-serif:     'Playfair Display', 'Cormorant Garamond', Georgia, serif;
}

.about-page *,
.about-page *::before,
.about-page *::after { box-sizing: border-box; }

.about-page {
    background: linear-gradient(180deg, var(--abt-cream-2) 0%, var(--abt-cream) 25%, #ffffff 100%);
    color: var(--abt-text);
    font-family: 'Mulish', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================================
   Hero
   ========================================================================= */
.about-hero {
    position: relative;
    padding: 70px 0 60px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(900px 380px at 50% 0%, rgba(181, 139, 68, 0.10) 0%, transparent 70%),
        linear-gradient(180deg, var(--abt-cream-2) 0%, var(--abt-cream) 100%);
    border-bottom: 1px solid var(--abt-line);
}

.about-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--abt-gold) 50%, transparent 100%);
}

.about-hero .container {
    max-width: 900px;
    padding: 0 24px;
    margin: 0 auto;
}

.about-hero__eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--abt-gold);
    margin-bottom: 14px;
    padding: 6px 16px;
    background: rgba(181, 139, 68, 0.10);
    border-radius: 999px;
    border: 1px solid rgba(181, 139, 68, 0.20);
}

.about-hero__title {
    margin: 0 0 14px;
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--abt-ink);
    font-family: var(--abt-serif);
    line-height: 1.15;
}

.about-hero__title em {
    font-style: italic;
    color: var(--abt-gold-deep);
    font-weight: 600;
}

.about-hero__sub {
    margin: 0 auto 22px;
    max-width: 640px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--abt-muted);
    line-height: 1.6;
}

.about-hero__crumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--abt-muted);
    font-weight: 500;
}

.about-hero__crumb a {
    color: var(--abt-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.about-hero__crumb a:hover { color: var(--abt-gold); }

.about-hero__crumb-sep {
    color: rgba(28, 22, 16, 0.25);
    font-size: 10px;
}

.about-hero__crumb .current {
    color: var(--abt-gold);
    font-weight: 700;
}

@media (max-width: 600px) {
    .about-hero { padding: 44px 0 36px; }
}

/* =========================================================================
   Intro section (image left + text right)
   ========================================================================= */
.about-intro {
    padding: 80px 0;
}

.about-intro .container {
    max-width: 1280px;
    padding: 0 24px;
    margin: 0 auto;
}

.about-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-intro { padding: 48px 0; }
    .about-intro__grid { grid-template-columns: 1fr; gap: 36px; }
}

.about-intro__media {
    position: relative;
    border-radius: var(--abt-radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(28, 22, 16, 0.10), 0 8px 24px rgba(28, 22, 16, 0.05);
    aspect-ratio: 4 / 5;
    background: var(--abt-cream);
}

.about-intro__media::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: 60px;
    bottom: 60px;
    border: 2px solid rgba(181, 139, 68, 0.30);
    border-radius: var(--abt-radius);
    pointer-events: none;
    z-index: 0;
}

.about-intro__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .about-intro__media { aspect-ratio: 4 / 3; }
    .about-intro__media::before { top: -10px; left: -10px; right: 30px; bottom: 30px; }
}

.about-intro__body {
    position: relative;
}

.about-intro__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--abt-gold-deep);
    margin-bottom: 14px;
}

.about-intro__title {
    margin: 0 0 22px;
    font-family: var(--abt-serif);
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--abt-ink);
    letter-spacing: -0.3px;
}

.about-intro__title em {
    font-style: italic;
    color: var(--abt-gold-deep);
    font-weight: 600;
}

/* Rich text rendered from DB ($about['des']) */
.about-intro__text {
    color: var(--abt-text);
    font-size: 15.5px;
    line-height: 1.8;
}

.about-intro__text p {
    margin: 0 0 16px !important;
    color: var(--abt-text) !important;
    font-size: 15.5px !important;
}

.about-intro__text h1,
.about-intro__text h2,
.about-intro__text h3 {
    color: var(--abt-ink);
    font-family: var(--abt-serif);
    font-weight: 700;
    margin: 24px 0 12px;
    line-height: 1.25;
}

.about-intro__text h2 { font-size: 24px; }
.about-intro__text h3 { font-size: 20px; color: var(--abt-gold-deep); }

.about-intro__cta {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px !important;
    background: linear-gradient(135deg, var(--abt-gold) 0%, var(--abt-gold-deep) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--abt-radius-sm) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 24px rgba(181, 139, 68, 0.28);
}

.about-intro__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(181, 139, 68, 0.38);
    color: #ffffff !important;
}

.about-intro__cta i {
    font-size: 11px;
    transition: transform 0.18s ease;
}

.about-intro__cta:hover i { transform: translateX(3px); }

/* =========================================================================
   Story / Mission / Vision — editorial numbered blocks
   ========================================================================= */
.about-story {
    padding: 0 0 90px;
}

.about-story .container {
    max-width: 1100px;
    padding: 0 24px;
    margin: 0 auto;
}

.about-story__head {
    text-align: center;
    margin-bottom: 56px;
}

.about-story__head .eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--abt-gold-deep);
    margin-bottom: 12px;
}

.about-story__head h2 {
    margin: 0;
    font-family: var(--abt-serif);
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 700;
    color: var(--abt-ink);
    line-height: 1.2;
}

.about-story__head h2 em {
    font-style: italic;
    color: var(--abt-gold-deep);
    font-weight: 600;
}

.about-story__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.about-story__block {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--abt-line);
    border-radius: var(--abt-radius);
    padding: 40px 44px 36px;
    box-shadow: 0 12px 28px rgba(28, 22, 16, 0.04);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    overflow: hidden;
}

.about-story__block:hover {
    transform: translateY(-3px);
    border-color: rgba(181, 139, 68, 0.30);
    box-shadow: 0 20px 40px rgba(28, 22, 16, 0.08), 0 0 0 1px rgba(181, 139, 68, 0.12);
}

.about-story__block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--abt-gold-deep) 0%, var(--abt-gold) 100%);
    border-radius: 0 0 4px 0;
}

.about-story__num {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--abt-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 44px;
    line-height: 1;
    color: var(--abt-gold);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.about-story__num small {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--abt-muted);
    transform: translateY(-6px);
    font-family: 'Mulish', sans-serif;
    font-style: normal;
}

.about-story__block h3 {
    margin: 0 0 14px;
    font-family: var(--abt-serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--abt-ink);
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.about-story__block h3 em {
    font-style: italic;
    color: var(--abt-gold-deep);
    font-weight: 600;
}

.about-story__block p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--abt-text);
}

.about-story__block p + p { margin-top: 14px; }

@media (max-width: 768px) {
    .about-story__block { padding: 28px 24px 26px; }
    .about-story__num { font-size: 36px; }
    .about-story__block h3 { font-size: 22px; }
    .about-story__block p { font-size: 15px; }
}

/* =========================================================================
   Feature cards (BIS Hallmark + features loop)
   ========================================================================= */
.about-features {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--abt-cream) 100%);
    border-top: 1px solid var(--abt-line);
    border-bottom: 1px solid var(--abt-line);
}

.about-features .container {
    max-width: 1280px;
    padding: 0 24px;
    margin: 0 auto;
}

.about-features__head {
    text-align: center;
    margin-bottom: 48px;
}

.about-features__head .eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--abt-gold-deep);
    margin-bottom: 12px;
}

.about-features__head h2 {
    margin: 0;
    font-family: var(--abt-serif);
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    color: var(--abt-ink);
    line-height: 1.2;
}

.about-features__head h2 em {
    font-style: italic;
    color: var(--abt-gold-deep);
    font-weight: 600;
}

.about-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.about-features__card {
    background: #ffffff;
    border: 1px solid var(--abt-line);
    border-radius: var(--abt-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(28, 22, 16, 0.04);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    position: relative;
    overflow: hidden;
}

.about-features__card:hover {
    transform: translateY(-4px);
    border-color: rgba(181, 139, 68, 0.35);
    box-shadow: 0 20px 40px rgba(28, 22, 16, 0.10), 0 0 0 1px rgba(181, 139, 68, 0.15);
}

.about-features__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(181, 139, 68, 0.16) 0%, rgba(181, 139, 68, 0.04) 100%);
    border: 1px solid rgba(181, 139, 68, 0.30);
    color: var(--abt-gold-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.about-features__icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.about-features__card:hover .about-features__icon {
    background: linear-gradient(135deg, var(--abt-gold) 0%, var(--abt-gold-deep) 100%);
    color: #fff;
    border-color: var(--abt-gold);
}

.about-features__card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--abt-ink);
    letter-spacing: 0.2px;
}

.about-features__card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--abt-muted);
    line-height: 1.55;
}

@media (max-width: 600px) {
    .about-features { padding: 50px 0; }
    .about-features__head { margin-bottom: 32px; }
}

/* =========================================================================
   Closing section (image right + text left) — uses $ab
   ========================================================================= */
.about-closing {
    padding: 90px 0;
}

.about-closing .container {
    max-width: 1280px;
    padding: 0 24px;
    margin: 0 auto;
}

.about-closing__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-closing { padding: 56px 0; }
    .about-closing__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    /* On mobile, image first then text */
    .about-closing__media { order: 1; }
    .about-closing__body { order: 2; }
}

.about-closing__media {
    position: relative;
    border-radius: var(--abt-radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(28, 22, 16, 0.10), 0 8px 24px rgba(28, 22, 16, 0.05);
    aspect-ratio: 4 / 5;
    background: var(--abt-cream);
}

.about-closing__media::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    left: 60px;
    bottom: 60px;
    border: 2px solid rgba(181, 139, 68, 0.30);
    border-radius: var(--abt-radius);
    pointer-events: none;
    z-index: 0;
}

.about-closing__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .about-closing__media { aspect-ratio: 4 / 3; }
    .about-closing__media::before { top: -10px; right: -10px; left: 30px; bottom: 30px; }
}

.about-closing__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--abt-gold-deep);
    margin-bottom: 14px;
}

.about-closing__title {
    margin: 0 0 22px;
    font-family: var(--abt-serif);
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--abt-ink);
}

.about-closing__title em {
    font-style: italic;
    color: var(--abt-gold-deep);
    font-weight: 600;
}

.about-closing__text {
    color: var(--abt-text);
    font-size: 15.5px;
    line-height: 1.8;
}

.about-closing__text p {
    margin: 0 0 16px !important;
    color: var(--abt-text) !important;
    font-size: 15.5px !important;
}

.about-closing__text h1,
.about-closing__text h2,
.about-closing__text h3 {
    color: var(--abt-ink);
    font-family: var(--abt-serif);
    font-weight: 700;
    margin: 24px 0 12px;
    line-height: 1.25;
}

.about-closing__text strong { color: var(--abt-ink); font-weight: 700; }

.about-closing__text ul,
.about-intro__text ul {
    list-style: none;
    margin: 0 0 18px;
    padding-left: 0;
}

.about-closing__text ul li,
.about-intro__text ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
}

.about-closing__text ul li::before,
.about-intro__text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, var(--abt-gold) 0%, var(--abt-gold-deep) 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(181, 139, 68, 0.15);
}

/* Skill bars (legacy .skill-progress markup might come from $ab) */
.about-closing__text .skill-progress {
    margin: 16px 0;
}

/* =========================================================================
   FULL LEGACY CONFLICT OVERRIDE BLOCK — about page
   Defeats rules from main.css, custom.css, custom-new.css that may target
   classes appearing in our markup OR in admin-entered HTML ($about/$ab des).
   ========================================================================= */

/* main.css → body, p { color: #afafaf; font-size: 1.5rem } */
.about-page p,
.about-page .about-intro__text p,
.about-page .about-closing__text p,
.about-page .about-story__block p,
.about-page .about-features__card p {
    color: var(--abt-text);
    font-size: 15.5px;
    line-height: 1.7;
}

/* main.css → h1,h2,h3,h4,h5,h6 { color: #fff; font-weight: 500 } */
.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page h5,
.about-page h6 {
    color: var(--abt-ink) !important;
    font-weight: 700 !important;
}

.about-page .about-intro__title,
.about-page .about-closing__title,
.about-page .about-hero__title,
.about-page .about-story__head h2,
.about-page .about-story__block h3,
.about-page .about-features__head h2,
.about-page .about-features__card h3 {
    color: var(--abt-ink) !important;
}

.about-page .about-intro__title em,
.about-page .about-closing__title em,
.about-page .about-hero__title em,
.about-page .about-story__head h2 em,
.about-page .about-story__block h3 em,
.about-page .about-features__head h2 em {
    color: var(--abt-gold-deep) !important;
    font-style: italic !important;
    font-weight: 600 !important;
}

/* custom.css → .ttnoneall p { text-transform: none !important; font-size: 16px } */
.about-page .ttnoneall p,
.about-page .about-intro__text.ttnoneall p,
.about-page .about-closing__text.ttnoneall p {
    text-transform: none !important;
    font-size: 15.5px !important;
    color: var(--abt-text) !important;
    line-height: 1.8 !important;
    margin: 0 0 16px !important;
}

/* custom.css → .ttnone { text-transform: none !important; font-size: 16px } */
.about-page .ttnone {
    text-transform: none !important;
    font-size: 15.5px !important;
}

/* main.css → .breadcrumb-area / .breadcrumb / .breadcrumb li padding & bg
   We use .about-hero instead, but if legacy markup is mixed in, reset. */
.about-page .breadcrumb-area {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.about-page .breadcrumb-area::before,
.about-page .breadcrumb-area::after {
    display: none !important;
    content: none !important;
}

.about-page .breadcrumb {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.about-page .breadcrumb li {
    color: var(--abt-muted) !important;
}

.about-page .breadcrumb li a {
    color: var(--abt-text) !important;
    font-size: 13px !important;
}

/* main.css → .about-area / .fact-area / .skill-area padding/bg from legacy
   Our markup uses .about-intro / .about-features / .about-closing instead. */
.about-page .about-area,
.about-page .fact-area,
.about-page .fact-area.ind,
.about-page .skill-area,
.about-page .satva-contents,
.about-page .main-content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* main.css → .fact-area .row [class^="col"]:nth-child(odd/even) .fact { bg }
   custom.css → .fact-area.ind .fact { background: #3333; } etc.
   Kill these in case admin HTML uses them. */
.about-page .fact,
.about-page .fact-area .fact,
.about-page .fact-area.ind .fact,
.about-page .fact-area .row [class^="col"]:nth-child(odd) .fact,
.about-page .fact-area .row [class^="col"]:nth-child(even) .fact,
.about-page .fact-area.ind .row [class^="col"]:nth-child(odd) .fact,
.about-page .fact-area.ind .row [class^="col"]:nth-child(even) .fact {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.about-page .fact__icon,
.about-page .fact-area.ind .fact__icon {
    background: transparent !important;
    color: var(--abt-gold-deep) !important;
}

.about-page .fact__icon img,
.about-page .fact-area.ind .fact__icon img {
    width: auto;
    height: auto;
}

.about-page .fact__content h3,
.about-page .fact-area.ind h3,
.about-page .fact-area.ind span {
    color: var(--abt-ink) !important;
}

.about-page .fact-area.ind p,
.about-page .fact__content p {
    color: var(--abt-muted) !important;
}

/* main.css → .skill-progress { padding: 8rem 0 } / .skill-progress__title { color: #fff; absolute }
   If admin content uses .skill-progress markup inside $ab['des'], neutralize it. */
.about-page .skill-progress,
.about-page .skill-progress__single,
.about-closing__text .skill-progress {
    padding: 0 !important;
    margin: 16px 0 !important;
    background: transparent !important;
}

.about-page .skill-progress__title,
.about-page .skill-progress .progress-bar span {
    color: var(--abt-ink) !important;
    position: relative !important;
    text-align: left !important;
    margin: 0 !important;
    left: auto !important;
    top: auto !important;
    text-transform: none !important;
    font-size: 14px !important;
}

.about-page .skill-progress .progress {
    background: var(--abt-cream-2) !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    height: 8px !important;
}

.about-page .skill-progress .progress-bar {
    background: linear-gradient(90deg, var(--abt-gold-deep) 0%, var(--abt-gold) 100%) !important;
    border-radius: 999px !important;
}

/* main.css → .btn-style-1:hover, .btn-style-2:hover, .btn-style-3:hover { color: #fff !important }
   This is fine for our gold CTA which already stays white on hover. */

/* main.css → a:hover { text-decoration: none } — fine for us */

/* custom.css → .section-title h2 { background-color: transparent } — harmless */

/* Bootstrap-grid legacy: ensure .row negative margins and .col-* padding
   don't conflict with our CSS grids */
.about-page .container-fluid.p-0 {
    padding: 0 !important;
}

/* Reset `.row.no-gutters` and any forced grid widths from legacy */
.about-page .row.no-gutters {
    margin: 0 !important;
}

.about-page .row.no-gutters > [class^="col"] {
    padding: 0 !important;
}

/* DB-rendered images inside admin HTML — fluid + rounded */
.about-page .about-intro__text img,
.about-page .about-closing__text img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--abt-radius-sm);
    margin: 12px 0;
}

/* DB-rendered links inside admin HTML — gold */
.about-page .about-intro__text a,
.about-page .about-closing__text a {
    color: var(--abt-gold-deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(181, 139, 68, 0.30);
    transition: color 0.15s ease, border-color 0.15s ease;
    font-weight: 600;
}

.about-page .about-intro__text a:hover,
.about-page .about-closing__text a:hover {
    color: var(--abt-gold);
    border-color: var(--abt-gold);
}
