/*
 * 50 Page - About Us Page Override Stylesheet
 * Active page ID: 5890, URL: /about-us/
 */

:root {
    --dmax-separator-gold: #9c854d;
}

/* ── Hero / Page Header Section ── */
.dmax-about-hero {
    background: linear-gradient(135deg, var(--dmax-blue) 0%, var(--dmax-navy) 100%) !important;
    text-align: center;
    /* padding-top: clamp(60px, 8vw, 90px) !important; */
    /* padding-bottom: clamp(60px, 8vw, 90px) !important; */
}

.dmax-about-hero h1 {
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

/* ── Intro Section ── */
.dmax-about-intro {
    background-color: #ffffff;
}

.dmax-about-intro .dmax-media img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(8, 38, 60, 0.08), 0 1px 3px rgba(8, 38, 60, 0.03);
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

@media (pointer: fine) {
    .dmax-about-intro .dmax-media img:hover {
        transform: translateY(-2px);
    }
}

.dmax-about-intro p {
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.6;
    color: var(--dmax-ink);
}

/* ── History & Standards Section ── */
.dmax-about-history {
    background-color: var(--dmax-soft); /* Soft grey/blue background for section differentiation */
}

.dmax-about-history h2 {
    color: var(--global-palette1) !important; /* Brand DentiMax Blue */
    margin-top: 48px !important;
    /* margin-bottom: 20px !important; */
    font-weight: 700 !important;
}

.dmax-about-history h2:first-of-type {
    margin-top: 0;
}

.dmax-about-history p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--dmax-ink);
}

.dmax-about-history p a {
    color: var(--global-palette1);
    font-weight: 600;
}

/* ── Bottom CTA Section ── */
.dmax-about-cta {
    background-color: #20305e;
    border-radius: 0;
    padding-top: clamp(60px, 6vw, 80px);
    padding-bottom: clamp(60px, 6vw, 80px);
}

.dmax-about-cta h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.dmax-about-cta p {
    font-size: clamp(15px, 1.5vw, 17px);
    color: #e1e1e1;
    margin: 0;
}

@media (min-width: 768px) {
    .dmax-about-cta-left {
        border-right: 1px dotted var(--dmax-separator-gold);
        padding-right: 8%;
    }
    .dmax-about-cta-right {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 5%;
    }
}

@media (max-width: 767px) {
    .dmax-about-cta-left {
        border-bottom: 1px dotted var(--dmax-separator-gold);
        padding-bottom: 28px;
        margin-bottom: 28px;
        text-align: center;
    }
    .dmax-about-cta-right {
        text-align: center;
    }
}

/* Custom white/blue premium button styling for dark CTA */
.dmax-about-cta .dmax-cta-button-wrap .kb-button {
    background-color: #ffffff;
    color: #105493;
    border: 2px solid #ffffff;
    /* border-radius: 4px; */
    font-weight: 700;
    /* font-size: 16px; */
    padding: 12px 28px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.dmax-about-cta .dmax-cta-button-wrap .kb-button:hover,
.dmax-about-cta .dmax-cta-button-wrap .kb-button:focus {
    background-color: #eef7fb;
    color: #105493;
    border-color: #eef7fb;
}

/* ══════════════════════════════════════════════════════════════════
   Aug-2026 production redesign (#dmx-about dark landing) — ported
   2026-10-01 for issue #44. Re-scoped #dmx-about → .dmax-about (root
   class on the outer full-bleed kadence/rowlayout). Section paddings
   live in rowlayout attrs; .dmx-wrap/.dmx-btn/:has() hacks dropped
   (Kadence handles full-bleed + buttons). Old design rules above are
   kept for rollback only (nothing in the new markup uses dmax-about-*
   class names any more; the retained CTA band is styled by
   11-bottom-cta.css). New rows intentionally use dmx-* names so the
   old hero/intro rules cannot repaint them.
   ══════════════════════════════════════════════════════════════════ */

.dmax-about {
    --c-black:#000000; --c-mid:#040C14; --c-navy:#0E2133;
    --c-surface:#0A1927; --c-surface2:#0C1E30;
    --c-white:#FFFFFF; --c-muted:#A9BCCC; --c-muted2:#7C93A6;
    --c-cyan:#64BAE1; --c-blue:#29528D; --c-blue-h:#33629F;
    --c-violet:#272A63;
    --c-line:rgba(255,255,255,.08); --c-line-c:rgba(100,186,225,.16);
    background:linear-gradient(135deg,var(--c-black) 0%,var(--c-mid) 42%,var(--c-navy) 100%);
    color:var(--c-white);
    font-family:'Lato',system-ui,'Segoe UI',Roboto,sans-serif;
    font-size:18px; line-height:1.62;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
}
.dmax-about *,.dmax-about *::before,.dmax-about *::after{box-sizing:border-box}
.dmax-about p,.dmax-about h1,.dmax-about h2,.dmax-about h3,.dmax-about h4,
.dmax-about div,.dmax-about span,.dmax-about ul,.dmax-about li,.dmax-about section,.dmax-about article{margin:0;padding:0}
.dmax-about ul{list-style:none}
.dmax-about a{color:inherit;text-decoration:none;border:0}
.dmax-about h1,.dmax-about h2,.dmax-about h3,.dmax-about h4{
    font-family:'Lato',sans-serif;font-weight:900;color:var(--c-white);
    letter-spacing:-.02em;line-height:1.02;text-transform:none;
}

/* eyebrow (advancedheading span) */
.dmax-about .dmx-eyebrow{display:block;font-weight:700;font-size:clamp(17px,1.5vw,22px);
    color:var(--c-cyan);letter-spacing:0;margin-bottom:18px;line-height:1.3}

/* alt-section tint (rowlayout carries the class) */
.dmax-about .dmx-sec-alt{background:rgba(255,255,255,.02);border-top:1px solid var(--c-line);border-bottom:1px solid var(--c-line)}

/* section heads + grids (inside wp:html blocks) */
.dmax-about .dmx-head{max-width:66ch;margin-bottom:52px}
.dmax-about .dmx-head.center{margin-left:auto;margin-right:auto;text-align:center}
.dmax-about .dmx-head h2{font-size:clamp(32px,3.9vw,52px)}
.dmax-about .dmx-head p{margin-top:18px;color:var(--c-white);font-size:19px;line-height:1.55}

/* hero (native blocks: adv-heading H1, paragraph, kadence image) */
.dmax-about .dmx-hero h1{font-size:clamp(42px,4.6vw,64px);margin-bottom:26px;max-width:18ch}
.dmax-about .dmx-hero p.dmx-hero-lead{font-size:clamp(18px,1.5vw,22px);color:var(--c-white);max-width:52ch;line-height:1.55}
.dmax-about figure.dmax-hero-visual{aspect-ratio:4/3;border-radius:24px;border:1px solid var(--c-line-c);
    background:
        radial-gradient(380px 260px at 70% 20%,rgba(100,186,225,.18),transparent 60%),
        linear-gradient(160deg,var(--c-surface2),var(--c-surface));
    display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin:0}
.dmax-about figure.dmax-hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}

/* intro (native blocks) */
.dmax-about .dmx-intro .kt-inside-inner-col{max-width:900px}
.dmax-about .dmx-intro h2{font-size:clamp(30px,3.6vw,46px);margin-bottom:22px}
.dmax-about .dmx-intro p{font-size:20px;color:var(--c-white);line-height:1.6}

/* trust bar */
.dmax-about .dmx-trust{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.dmax-about .dmx-trust-item{background:rgba(255,255,255,.035);border:1px solid var(--c-line);
    border-radius:16px;padding:28px 22px;text-align:center;display:flex;flex-direction:column;gap:10px}
.dmax-about .dmx-trust-item .big{font-weight:900;font-size:34px;color:var(--c-white);letter-spacing:-.03em;line-height:1}
.dmax-about .dmx-trust-item .big.cy{color:var(--c-cyan)}
.dmax-about .dmx-trust-item .cap{font-size:13.5px;color:var(--c-muted);line-height:1.4}

/* story + timeline */
.dmax-about .dmx-story{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:start}
.dmax-about .dmx-story p{color:var(--c-white);font-size:17px;line-height:1.7;margin-bottom:20px}
.dmax-about .dmx-story p b{color:var(--c-white);font-weight:700}
.dmax-about .dmx-timeline{border-left:2px solid var(--c-line-c);padding-left:30px;display:flex;flex-direction:column;gap:30px;margin-top:6px}
.dmax-about .dmx-tl{position:relative}
.dmax-about .dmx-tl::before{content:"";position:absolute;left:-38px;top:4px;width:14px;height:14px;
    border-radius:50%;background:var(--c-cyan);box-shadow:0 0 0 5px rgba(100,186,225,.15)}
.dmax-about .dmx-tl .yr{font-weight:900;font-size:22px;color:var(--c-cyan);margin-bottom:4px}
.dmax-about .dmx-tl .txt{font-size:15.5px;color:var(--c-muted);line-height:1.5}

/* values cards */
.dmax-about .dmx-values{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.dmax-about .dmx-vcard{background:var(--c-surface);border:1px solid var(--c-line);border-radius:20px;padding:38px 34px}
.dmax-about .dmx-vcard:hover{border-color:rgba(100,186,225,.4)}
.dmax-about .dmx-vicon{width:56px;height:56px;border-radius:14px;background:rgba(100,186,225,.12);
    border:1px solid rgba(100,186,225,.3);display:flex;align-items:center;justify-content:center;margin-bottom:22px}
.dmax-about .dmx-vicon svg{width:28px;height:28px;stroke:var(--c-cyan);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dmax-about .dmx-vcard h3{font-size:21px;margin-bottom:12px;line-height:1.2}
.dmax-about .dmx-vcard p{color:var(--c-white);font-size:16px;line-height:1.62}

/* product cards */
.dmax-about .dmx-prod{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.dmax-about .dmx-prod.one{grid-template-columns:1fr;margin-top:26px}
.dmax-about .dmx-pcard{background:var(--c-surface);border:1px solid var(--c-line);border-radius:22px;padding:44px 42px}
.dmax-about .dmx-pcard .kick{font-weight:700;font-size:14px;color:var(--c-cyan);letter-spacing:.04em;text-transform:uppercase;margin-bottom:12px}
.dmax-about .dmx-pcard h3{font-size:26px;margin-bottom:16px;line-height:1.12}
.dmax-about .dmx-pcard > p{color:var(--c-white);font-size:16.5px;line-height:1.65;margin-bottom:22px}
.dmax-about .dmx-pcard .lead-in{font-weight:700;color:var(--c-white);font-size:14px;margin-bottom:14px;letter-spacing:.02em}
.dmax-about .dmx-feat-list li{position:relative;padding-left:30px;color:var(--c-white);font-size:15.5px;line-height:1.55;margin-bottom:14px}
.dmax-about .dmx-feat-list li::before{content:"";position:absolute;left:0;top:7px;width:16px;height:16px;
    border-radius:50%;background:rgba(100,186,225,.15);border:1px solid var(--c-cyan)}
.dmax-about .dmx-feat-list li::after{content:"";position:absolute;left:5px;top:11px;width:6px;height:6px;border-radius:50%;background:var(--c-cyan)}
.dmax-about .dmx-feat-list.cols2{columns:2;column-gap:40px}
.dmax-about .dmx-pcard .foot-note{margin-top:22px;padding-top:20px;border-top:1px solid var(--c-line);
    font-size:14.5px;color:var(--c-muted2);font-style:italic}

/* testimonials */
.dmax-about .dmx-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.dmax-about .dmx-quote{background:rgba(255,255,255,.03);border:1px solid var(--c-line);border-radius:18px;padding:34px 32px;display:flex;flex-direction:column}
.dmax-about .dmx-quote .mark{font-family:Georgia,serif;font-size:60px;line-height:.5;color:var(--c-cyan);opacity:.5;margin-bottom:18px;height:26px}
.dmax-about .dmx-quote p{color:var(--c-white);font-size:17px;line-height:1.6;flex:1}
.dmax-about .dmx-quote .who{margin-top:22px;padding-top:18px;border-top:1px solid var(--c-line)}
.dmax-about .dmx-quote .who .n{font-weight:700;font-size:15px;color:var(--c-white)}
.dmax-about .dmx-quote .who .r{font-size:13.5px;color:var(--c-muted2);margin-top:3px}

/* recognition strip */
.dmax-about .dmx-recog{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.dmax-about .dmx-recog a{background:rgba(255,255,255,.03);border:1px solid var(--c-line);border-radius:14px;
    padding:24px 20px;display:flex;flex-direction:column;gap:10px;transition:border-color .18s,transform .18s}
.dmax-about .dmx-recog a:hover{border-color:rgba(100,186,225,.4);transform:translateY(-3px)}
.dmax-about .dmx-recog .src{font-weight:900;font-size:15px;color:var(--c-white);line-height:1.25}
.dmax-about .dmx-recog .desc{font-size:13px;color:var(--c-muted);line-height:1.45;flex:1}
.dmax-about .dmx-recog .go{font-weight:700;font-size:12.5px;color:var(--c-cyan)}

/* responsive */
@media (max-width:980px){
    .dmax-about .dmx-trust{grid-template-columns:repeat(2,1fr)}
    .dmax-about .dmx-story{grid-template-columns:1fr;gap:44px}
    .dmax-about .dmx-values{grid-template-columns:repeat(2,1fr)}
    .dmax-about .dmx-prod{grid-template-columns:1fr}
    .dmax-about .dmx-quotes{grid-template-columns:1fr}
    .dmax-about .dmx-recog{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
    .dmax-about{font-size:16px}
    .dmax-about .dmx-head{margin-bottom:36px}
    .dmax-about .dmx-trust{grid-template-columns:1fr 1fr;gap:14px}
    .dmax-about .dmx-values{grid-template-columns:1fr}
    .dmax-about .dmx-recog{grid-template-columns:1fr}
    .dmax-about .dmx-pcard{padding:32px 26px}
    .dmax-about .dmx-feat-list.cols2{columns:1}  /* dev addition: prod keeps 2 cols at 640px, too cramped at 390px */
}
