/* =====================================================================
   Dr. Dutta's Clinic & Diagnostics - home hero, packages, package
   details and about sections. All classes are prefixed (dd-, pk-, pd-,
   ab-) so they never clash with the theme stylesheets.
   ===================================================================== */

:root {
    --dd-maroon: #340606;
    --dd-maroon-2: #561010;
    --dd-gold: #c89b2d;
    --dd-gold-light: #eabc66;
    --dd-cream: #fff8e8;
    --dd-bg: #f7f4f0;
    --dd-card: #ffffff;
    --dd-text: #1f1b1a;
    --dd-muted: #6f6763;
    --dd-line: #ece4dc;
    --dd-ok: #15803d;
    --dd-ok-soft: #e8f6ee;
    --dd-radius: 16px;
    --dd-shadow: 0 10px 30px rgba(52, 6, 6, .07);
    --dd-shadow-lg: 0 20px 45px rgba(52, 6, 6, .14);
}

/* ---------- Shared bits ---------- */
/* The theme indents some headings; reset inside our components */
.dd-pagehead h1, .dd-hero-title, .ab-section h2, .ab-section h3, .ab-cta h2,
.pd-card h2, .pd-related h2, .pk-title, .pk-filters h3 { padding: 0; text-indent: 0; }

.dd-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--dd-gold);
}
.dd-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.dd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; line-height: 1.2;
    text-decoration: none !important; border: 2px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.dd-btn:hover { transform: translateY(-2px); }
.dd-btn-gold { background: var(--dd-gold-light); color: var(--dd-maroon) !important; box-shadow: 0 10px 22px rgba(200, 155, 45, .35); }
.dd-btn-gold:hover { background: #f2c977; }
.dd-btn-maroon { background: var(--dd-maroon); color: var(--dd-gold-light) !important; }
.dd-btn-maroon:hover { background: var(--dd-maroon-2); box-shadow: 0 10px 22px rgba(52, 6, 6, .25); }
.dd-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.dd-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.dd-btn-outline { background: #fff; color: var(--dd-maroon) !important; border-color: var(--dd-maroon); }
.dd-btn-outline:hover { background: var(--dd-cream); }
.dd-btn-block { width: 100%; }

/* Page header band used by packages / package details */
.dd-pagehead {
    position: relative; overflow: hidden;
    background: radial-gradient(900px 300px at 85% -40%, rgba(234, 188, 102, .28), transparent 70%),
                linear-gradient(135deg, var(--dd-maroon) 0%, var(--dd-maroon-2) 100%);
    color: #fff; padding: 46px 0 54px;
}
.dd-pagehead::after {
    content: ""; position: absolute; right: -80px; bottom: -160px; width: 360px; height: 360px;
    border: 1px solid rgba(234, 188, 102, .22); border-radius: 50%;
}
.dd-crumbs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; }
.dd-crumbs li { color: rgba(255, 255, 255, .65); }
.dd-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.dd-crumbs a { color: var(--dd-gold-light) !important; text-decoration: none !important; }
.dd-pagehead h1 { color: #fff; font-size: 36px; font-weight: 800; margin: 0 0 10px; line-height: 1.2; }
.dd-pagehead p { color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 620px; margin: 0; }
.dd-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.dd-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.dd-trust i { color: var(--dd-gold-light); }

/* =====================================================================
   HOME HERO
   ===================================================================== */
.dd-hero { position: relative; background: var(--dd-maroon); }
.dd-hero .carousel-item { height: 600px; position: relative; }
.dd-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.dd-hero-shade {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(36, 4, 4, .94) 0%, rgba(52, 6, 6, .84) 38%, rgba(52, 6, 6, .25) 68%, rgba(52, 6, 6, 0) 100%);
}
.dd-hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.dd-hero-copy { max-width: 580px; color: #fff; }
.dd-hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    background: rgba(234, 188, 102, .14); border: 1px solid rgba(234, 188, 102, .45);
    color: var(--dd-gold-light); font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.dd-hero h1, .dd-hero h2.dd-hero-title {
    color: #fff; font-size: 52px; line-height: 1.1; font-weight: 800; margin: 20px 0 16px; letter-spacing: -.01em;
}
.dd-hero-title span { color: var(--dd-gold-light); }
.dd-hero-copy p { color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.6; margin: 0 0 30px; }
.dd-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.dd-hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.dd-hero-points div { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.dd-hero-points i {
    width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(234, 188, 102, .16); color: var(--dd-gold-light); font-size: 15px;
}
.dd-hero .carousel-item.active .dd-hero-copy > * { animation: dd-rise .7s ease both; }
.dd-hero .carousel-item.active .dd-hero-copy > *:nth-child(2) { animation-delay: .08s; }
.dd-hero .carousel-item.active .dd-hero-copy > *:nth-child(3) { animation-delay: .16s; }
.dd-hero .carousel-item.active .dd-hero-copy > *:nth-child(4) { animation-delay: .24s; }
.dd-hero .carousel-item.active .dd-hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes dd-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.dd-hero-dots { position: absolute; z-index: 5; bottom: 28px; left: 0; right: 0; }
.dd-hero-dots ol { position: static; list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-start; gap: 8px; }
.dd-hero-dots ol li {
    flex: 0 0 auto; width: 28px; height: 5px; margin: 0; border: 0; border-radius: 5px; opacity: 1; text-indent: 0;
    background: rgba(255, 255, 255, .35); cursor: pointer; transition: all .3s;
}
.dd-hero-dots ol li.active { width: 48px; background: var(--dd-gold-light); }
.dd-hero-nav {
    position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(0, 0, 0, .18); color: #fff; display: flex; align-items: center; justify-content: center;
    transition: background .2s; text-decoration: none !important;
}
.dd-hero-nav:hover { background: var(--dd-gold-light); color: var(--dd-maroon); border-color: var(--dd-gold-light); }
.dd-hero-nav.prev { left: 22px; }
.dd-hero-nav.next { right: 22px; }

@media (max-width: 991px) {
    .dd-hero .carousel-item { height: 540px; }
    .dd-hero h1, .dd-hero h2.dd-hero-title { font-size: 40px; }
    .dd-hero-shade { background: linear-gradient(90deg, rgba(36, 4, 4, .93) 0%, rgba(52, 6, 6, .78) 60%, rgba(52, 6, 6, .45) 100%); }
    .dd-hero-nav { display: none; }
}
@media (max-width: 575px) {
    .dd-hero .carousel-item { height: 560px; }
    .dd-hero-img { object-position: 70% center; }
    .dd-hero-shade { background: linear-gradient(180deg, rgba(36, 4, 4, .72) 0%, rgba(36, 4, 4, .9) 55%, rgba(36, 4, 4, .96) 100%); }
    .dd-hero h1, .dd-hero h2.dd-hero-title { font-size: 31px; margin-top: 16px; }
    .dd-hero-copy p { font-size: 15.5px; margin-bottom: 22px; }
    .dd-hero-ctas .dd-btn { flex: 1 1 100%; }
    .dd-hero-points { gap: 10px 16px; margin-top: 22px; padding-top: 18px; }
    .dd-hero-points div { font-size: 13px; }
    .dd-hero-points i { width: 30px; height: 30px; font-size: 13px; }
}

/* =====================================================================
   PACKAGE CARD
   ===================================================================== */
.pk-card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    background: var(--dd-card); border: 1px solid var(--dd-line); border-radius: var(--dd-radius);
    overflow: hidden; box-shadow: var(--dd-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.pk-card:hover { transform: translateY(-4px); box-shadow: var(--dd-shadow-lg); border-color: #e2cfa4; }
.pk-media { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; background: var(--dd-cream); }
.pk-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pk-card:hover .pk-media img { transform: scale(1.04); }
.pk-media-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px;
    background: radial-gradient(circle at 80% 20%, rgba(234, 188, 102, .35), transparent 55%),
                linear-gradient(135deg, var(--dd-maroon), var(--dd-maroon-2));
    color: var(--dd-gold-light); font-size: 34px;
}
/* Placeholder only shows when there is no image, or the image fails to load */
.pk-media img + .pk-media-fallback { display: none; }
.pk-media.pk-noimg img { display: none; }
.pk-media.pk-noimg .pk-media-fallback { display: flex; }
.pk-media-fallback span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.pk-type {
    position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px;
    background: rgba(255, 255, 255, .95); color: var(--dd-maroon); font-size: 12px; font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}
.pk-ribbon {
    position: absolute; top: 12px; right: 12px; padding: 5px 11px; border-radius: 999px;
    background: var(--dd-ok); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.pk-body { padding: 18px 18px 0; display: flex; flex-direction: column; flex: 1; }
.pk-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.pk-title a { color: var(--dd-text) !important; text-decoration: none !important; }
.pk-title a:hover { color: var(--dd-maroon-2) !important; }
.pk-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pk-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px;
    background: var(--dd-bg); color: var(--dd-muted); font-size: 12.5px; font-weight: 600;
}
.pk-chip i { color: var(--dd-gold); font-size: 11.5px; }
.pk-price { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 14px 0; border-top: 1px dashed var(--dd-line); }
.pk-price strong { font-size: 24px; font-weight: 800; color: var(--dd-maroon); letter-spacing: -.01em; }
.pk-price del { color: #a39a95; font-size: 14.5px; }
.pk-price .pk-save { font-size: 12.5px; font-weight: 700; color: var(--dd-ok); background: var(--dd-ok-soft); padding: 3px 8px; border-radius: 6px; }
.pk-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 0 18px 18px; }
.pk-actions .dd-btn { padding: 11px 12px; font-size: 14px; border-radius: 9px; }

/* =====================================================================
   PACKAGES LISTING
   ===================================================================== */
.pk-page { background: var(--dd-bg); padding: 0 0 70px; }
.pk-tabs-wrap { margin-top: -26px; position: relative; z-index: 3; margin-bottom: 28px; }
.pk-tabs {
    display: flex; gap: 6px; overflow-x: auto; padding: 8px; background: #fff; border-radius: 14px;
    box-shadow: var(--dd-shadow); border: 1px solid var(--dd-line); scrollbar-width: none;
}
.pk-tabs::-webkit-scrollbar { display: none; }
.pk-tab {
    flex: 0 0 auto; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 14px;
    color: var(--dd-muted) !important; text-decoration: none !important; transition: all .15s; white-space: nowrap;
}
.pk-tab:hover { background: var(--dd-cream); color: var(--dd-maroon) !important; }
.pk-tab.active { background: var(--dd-maroon); color: var(--dd-gold-light) !important; box-shadow: 0 6px 14px rgba(52, 6, 6, .2); }

.pk-filters {
    position: sticky; top: 20px; background: #fff; border: 1px solid var(--dd-line); border-radius: var(--dd-radius);
    box-shadow: var(--dd-shadow); padding: 20px;
}
.pk-filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pk-filters-head h3 { font-size: 17px; font-weight: 800; color: var(--dd-maroon); margin: 0; display: flex; align-items: center; gap: 8px; }
.pk-filters-head a { font-size: 13px; font-weight: 600; color: var(--dd-gold) !important; }
.pk-fgroup { padding: 16px 0; border-bottom: 1px solid var(--dd-line); }
.pk-fgroup:last-of-type { border-bottom: 0; }
.pk-fgroup-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--dd-muted); margin-bottom: 10px; }
.pk-options { display: flex; flex-wrap: wrap; gap: 7px; }
.pk-option { margin: 0; cursor: pointer; }
.pk-option input { position: absolute; opacity: 0; pointer-events: none; }
.pk-option span {
    display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--dd-line);
    font-size: 13.5px; font-weight: 600; color: var(--dd-text); background: #fff; transition: all .15s;
}
.pk-option:hover span { border-color: var(--dd-gold); }
.pk-option input:checked + span { background: var(--dd-maroon); border-color: var(--dd-maroon); color: var(--dd-gold-light); }
.pk-option input:focus-visible + span { outline: 2px solid var(--dd-gold); outline-offset: 2px; }

.pk-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px;
}
.pk-count { font-size: 15px; color: var(--dd-muted); margin-right: auto; }
.pk-count strong { color: var(--dd-text); }
.pk-search { position: relative; flex: 1 1 260px; max-width: 360px; }
.pk-search input, .pk-sort {
    width: 100%; height: 46px; border-radius: 11px; border: 1px solid var(--dd-line); background: #fff;
    font-size: 14.5px; color: var(--dd-text); transition: border-color .15s, box-shadow .15s;
}
.pk-search input { padding: 0 44px 0 16px; }
.pk-search button {
    position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border-radius: 8px; border: 0;
    background: var(--dd-maroon); color: var(--dd-gold-light); cursor: pointer;
}
.pk-sort { flex: 0 0 200px; padding: 0 14px; cursor: pointer; }
.pk-search input:focus, .pk-sort:focus { outline: 0; border-color: var(--dd-gold); box-shadow: 0 0 0 3px rgba(200, 155, 45, .18); }

.pk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pk-empty {
    grid-column: 1 / -1; text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--dd-radius);
    border: 1px dashed #d9c9b4;
}
.pk-empty i { font-size: 40px; color: var(--dd-gold); margin-bottom: 14px; }
.pk-empty h3 { font-size: 20px; font-weight: 700; color: var(--dd-maroon); }
.pk-empty p { color: var(--dd-muted); }
.pk-filter-toggle { display: none; }
.pk-pagination { margin-top: 32px; display: flex; justify-content: center; }
.pk-pagination .page-link { color: var(--dd-maroon); border-color: var(--dd-line); }
.pk-pagination .page-item.active .page-link { background: var(--dd-maroon); border-color: var(--dd-maroon); color: var(--dd-gold-light); }

@media (max-width: 1199px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
    .pk-filters { position: static; margin-bottom: 22px; display: none; }
    .pk-filters.open { display: block; }
    .pk-filter-toggle { display: inline-flex; }
}
@media (max-width: 575px) {
    .pk-grid { grid-template-columns: 1fr; }
    .dd-pagehead { padding: 34px 0 46px; }
    .dd-pagehead h1 { font-size: 27px; }
    .pk-sort { flex: 1 1 100%; }
    .pk-search { max-width: none; }
}

/* =====================================================================
   PACKAGE DETAILS
   ===================================================================== */
.pd-page { background: var(--dd-bg); padding: 0 0 70px; }
.pd-head-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: rgba(234, 188, 102, .16); border: 1px solid rgba(234, 188, 102, .4); color: var(--dd-gold-light);
    font-size: 12.5px; font-weight: 700;
}
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: -30px; position: relative; z-index: 3; }
.pd-card {
    background: #fff; border: 1px solid var(--dd-line); border-radius: var(--dd-radius);
    box-shadow: var(--dd-shadow); padding: 26px 28px; margin-bottom: 22px;
}
.pd-card h2 { font-size: 20px; font-weight: 800; color: var(--dd-maroon); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.pd-card h2 i {
    width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--dd-cream); color: var(--dd-gold); font-size: 15px;
}
.pd-cover { border-radius: 12px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 16 / 6; background: var(--dd-cream); }
.pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.pd-desc { color: #3d3633; font-size: 15.5px; line-height: 1.75; }
.pd-desc p:last-child { margin-bottom: 0; }

.pd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.pd-fact { background: var(--dd-bg); border-radius: 12px; padding: 14px; }
.pd-fact i { color: var(--dd-gold); font-size: 18px; margin-bottom: 8px; display: block; }
.pd-fact small { display: block; color: var(--dd-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pd-fact strong { display: block; color: var(--dd-text); font-size: 15px; margin-top: 2px; }

.pd-prep { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-prep li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: #3d3633; }
.pd-prep li i { color: var(--dd-ok); margin-top: 4px; }
.pd-prep li.pd-warn i { color: #b45309; }

.pd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.pd-step { position: relative; text-align: center; padding: 6px 6px 0; }
.pd-step-num {
    width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    background: var(--dd-maroon); color: var(--dd-gold-light); font-size: 20px; box-shadow: 0 8px 18px rgba(52, 6, 6, .2);
}
.pd-step strong { display: block; font-size: 15px; color: var(--dd-text); margin-bottom: 4px; }
.pd-step span { font-size: 13.5px; color: var(--dd-muted); line-height: 1.5; }

.pd-faq-item { border: 1px solid var(--dd-line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.pd-faq-q {
    width: 100%; text-align: left; background: none; border: 0; padding: 16px 18px; font-size: 15px; font-weight: 700;
    color: var(--dd-text); display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer;
}
.pd-faq-q i { color: var(--dd-gold); transition: transform .25s; }
.pd-faq-item.open .pd-faq-q { color: var(--dd-maroon); }
.pd-faq-item.open .pd-faq-q i { transform: rotate(45deg); }
.pd-faq-a { display: none; padding: 0 18px 16px; color: var(--dd-muted); font-size: 14.5px; line-height: 1.7; }
.pd-faq-item.open .pd-faq-a { display: block; }

.pd-buy { position: sticky; top: 20px; }
.pd-buy-card { background: #fff; border-radius: var(--dd-radius); border: 1px solid var(--dd-line); box-shadow: var(--dd-shadow-lg); overflow: hidden; }
.pd-buy-top { padding: 24px 24px 20px; border-bottom: 1px dashed var(--dd-line); }
.pd-buy-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--dd-muted); }
.pd-buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 6px 0 6px; }
.pd-buy-price strong { font-size: 38px; font-weight: 800; color: var(--dd-maroon); letter-spacing: -.02em; }
.pd-buy-price del { font-size: 17px; color: #a39a95; }
.pd-buy-save { display: inline-block; font-size: 13px; font-weight: 700; color: var(--dd-ok); background: var(--dd-ok-soft); padding: 4px 10px; border-radius: 6px; }
.pd-buy-body { padding: 20px 24px 24px; }
.pd-buy-body .dd-btn + .dd-btn { margin-top: 10px; }
.pd-buy-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.pd-buy-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #3d3633; }
.pd-buy-list i { color: var(--dd-gold); width: 18px; text-align: center; }
.pd-secure { text-align: center; font-size: 12.5px; color: var(--dd-muted); padding: 12px; background: var(--dd-bg); }
.pd-secure i { color: var(--dd-ok); }

.pd-related { margin-top: 30px; }
.pd-related-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.pd-related-head h2 { font-size: 26px; font-weight: 800; color: var(--dd-maroon); margin: 6px 0 0; }

@media (max-width: 991px) {
    .pd-layout { grid-template-columns: 1fr; }
    .pd-buy { position: static; order: -1; }
    .pd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 575px) {
    .pd-card { padding: 20px 18px; }
    .pd-related-head { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.ab-section { padding: 90px 0; background: #fff; position: relative; overflow: hidden; }
.ab-section.ab-tint { background: var(--dd-bg); }
.ab-intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.ab-visual { position: relative; padding: 0 0 34px 34px; }
.ab-visual::before {
    content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 78%;
    border-radius: 24px; background: linear-gradient(135deg, var(--dd-gold-light), var(--dd-gold)); opacity: .9;
}
.ab-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--dd-shadow-lg); aspect-ratio: 4 / 3.4; }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-years {
    position: absolute; right: -18px; top: 28px; background: var(--dd-maroon); color: #fff; border-radius: 18px;
    padding: 18px 22px; box-shadow: var(--dd-shadow-lg); text-align: center; min-width: 140px;
}
.ab-years strong { display: block; font-size: 38px; line-height: 1; font-weight: 800; color: var(--dd-gold-light); }
.ab-years span { display: block; font-size: 13px; font-weight: 600; margin-top: 6px; color: rgba(255, 255, 255, .85); }
.ab-nabl {
    position: absolute; left: 6px; bottom: 6px; display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--dd-shadow-lg);
}
.ab-nabl img { width: 52px; height: 52px; object-fit: contain; }
.ab-nabl strong { display: block; font-size: 14.5px; color: var(--dd-maroon); }
.ab-nabl span { display: block; font-size: 12.5px; color: var(--dd-muted); }

.ab-copy h2 { font-size: 40px; font-weight: 800; color: var(--dd-maroon); line-height: 1.15; margin: 12px 0 6px; }
.ab-copy .ab-sub { font-size: 16px; font-weight: 600; color: var(--dd-gold); margin-bottom: 18px; }
.ab-copy .ab-lead { font-size: 16.5px; line-height: 1.8; color: #3d3633; }
.ab-copy .ab-lead p:last-child { margin-bottom: 0; }
.ab-checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.ab-checks li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--dd-text); line-height: 1.45; }
.ab-checks i {
    flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--dd-ok-soft); color: var(--dd-ok); font-size: 11px; margin-top: 1px;
}
.ab-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.ab-stats { background: linear-gradient(135deg, var(--dd-maroon), var(--dd-maroon-2)); padding: 46px 0; }
.ab-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ab-stat { display: flex; align-items: center; gap: 16px; color: #fff; }
.ab-stat i {
    flex: 0 0 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(234, 188, 102, .14); color: var(--dd-gold-light); font-size: 22px;
}
.ab-stat strong { display: block; font-size: 24px; font-weight: 800; color: var(--dd-gold-light); line-height: 1.1; }
.ab-stat span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .8); margin-top: 3px; }

.ab-founder {
    display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #fff; border-radius: 24px;
    overflow: hidden; box-shadow: var(--dd-shadow-lg); border: 1px solid var(--dd-line);
}
.ab-founder-side {
    background: radial-gradient(circle at 30% 20%, rgba(234, 188, 102, .3), transparent 60%),
                linear-gradient(160deg, var(--dd-maroon), var(--dd-maroon-2));
    color: #fff; padding: 40px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ab-avatar {
    width: 132px; height: 132px; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--dd-gold-light), var(--dd-gold));
    margin-bottom: 18px;
}
.ab-avatar > * {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--dd-maroon);
    display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; color: var(--dd-gold-light);
    border: 4px solid var(--dd-maroon);
}
.ab-founder-side h3 { color: #fff; font-size: 21px; font-weight: 800; margin: 0 0 4px; }
.ab-founder-side span { color: var(--dd-gold-light); font-size: 14px; font-weight: 600; }
.ab-founder-side .ab-sign { max-width: 160px; margin-top: 16px; filter: invert(1) brightness(2); opacity: .9; }
.ab-founder-msg { padding: 44px 48px; position: relative; }
.ab-founder-msg .ab-quote { position: absolute; right: 36px; top: 26px; font-size: 64px; color: var(--dd-cream); }
.ab-founder-msg h2 { font-size: 30px; font-weight: 800; color: var(--dd-maroon); margin: 10px 0 18px; }
.ab-founder-msg .ab-msg { font-size: 16.5px; line-height: 1.85; color: #3d3633; position: relative; }
.ab-founder-msg .ab-msg p:last-child { margin-bottom: 0; }

.ab-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.ab-head h2 { font-size: 34px; font-weight: 800; color: var(--dd-maroon); margin: 10px 0 10px; }
.ab-head p { color: var(--dd-muted); font-size: 16px; margin: 0; }
.ab-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ab-service {
    background: #fff; border-radius: var(--dd-radius); overflow: hidden; border: 1px solid var(--dd-line);
    box-shadow: var(--dd-shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.ab-service:hover { transform: translateY(-4px); box-shadow: var(--dd-shadow-lg); }
.ab-service-img { aspect-ratio: 16 / 10; overflow: hidden; }
.ab-service-img img { width: 100%; height: 100%; object-fit: cover; }
.ab-service-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ab-service-body h3 { font-size: 18px; font-weight: 800; color: var(--dd-maroon); margin: 0 0 8px; }
.ab-service-body p { font-size: 14.5px; color: var(--dd-muted); line-height: 1.65; margin: 0 0 14px; }
.ab-service-body a { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--dd-gold) !important; text-decoration: none !important; }

.ab-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
    background: radial-gradient(700px 240px at 90% 0%, rgba(234, 188, 102, .3), transparent 70%),
                linear-gradient(135deg, var(--dd-maroon), var(--dd-maroon-2));
    border-radius: 24px; padding: 40px 44px; color: #fff;
}
.ab-cta h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.ab-cta p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 16px; }
.ab-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Compact version used on the home page */
.ab-home .ab-founder-strip {
    display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 16px;
    background: var(--dd-bg); border-left: 4px solid var(--dd-gold); margin-bottom: 26px;
}
.ab-home .ab-founder-strip .ab-avatar { width: 64px; height: 64px; padding: 3px; margin: 0; flex: 0 0 64px; }
.ab-home .ab-founder-strip .ab-avatar > * { font-size: 20px; border-width: 2px; }
.ab-home .ab-founder-strip strong { display: block; font-size: 16px; color: var(--dd-maroon); }
.ab-home .ab-founder-strip span { display: block; font-size: 13.5px; color: var(--dd-muted); }
.ab-home .ab-founder-strip p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: #3d3633; font-style: italic; }

@media (max-width: 991px) {
    .ab-section { padding: 64px 0; }
    .ab-intro { grid-template-columns: 1fr; gap: 48px; }
    .ab-visual { max-width: 560px; }
    .ab-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
    .ab-founder { grid-template-columns: 1fr; }
    .ab-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .ab-section { padding: 48px 0; }
    .ab-copy h2 { font-size: 30px; }
    .ab-checks { grid-template-columns: 1fr; }
    .ab-years { right: 8px; top: 12px; padding: 12px 16px; min-width: 0; }
    .ab-years strong { font-size: 28px; }
    .ab-visual { padding: 0 0 24px 18px; }
    .ab-stats-grid { grid-template-columns: 1fr; }
    .ab-founder-msg { padding: 30px 22px; }
    .ab-founder-msg h2 { font-size: 24px; }
    .ab-services { grid-template-columns: 1fr; }
    .ab-cta { padding: 30px 22px; }
    .ab-head h2 { font-size: 27px; }
    .ab-ctas .dd-btn, .ab-cta-actions .dd-btn { flex: 1 1 100%; }
}
