:root {
    --teal: #0d8ea9;
    --teal-strong: #0a7186;
    --teal-soft: #dff6fb;
    --deep-teal: #0a7186;
    --ink: #2d3436;
    --ink-soft: #596871;
    --pale-blue: #edf9fc;
    --panel: #f3f7f8;
    --line: #dfe9ec;
    --footer: #087d95;
    --shadow-soft: 0 18px 32px rgba(17, 38, 43, 0.12);
    --shadow-card: 0 12px 24px rgba(18, 39, 48, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.site-header {
    position: relative;
    z-index: 10;
    height: 86px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 12px rgba(20, 38, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 100%;
    max-width: 1440px;
    margin: auto;
    padding: 0 42px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 220px;
    color: var(--teal);
    text-decoration: none;
}

.brand-mark {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy b {
    font-size: 15px;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.brand-copy small {
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.main-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.main-nav a {
    color: rgba(48, 53, 54, 0.9);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.phone-box {
    width: 216px;
    padding-left: 18px;
    border-left: 1px solid #dae1e6;
}

.phone-box div {
    display: flex;
    gap: 5px;
    margin-bottom: 7px;
    justify-content: center;
}

.phone-box span {
    padding: 3px 8px;
    border: 1px solid #9bb1b8;
    border-radius: 14px;
    font-size: 8px;
    font-weight: 500;
    color: #4e595d;
    white-space: nowrap;
}

.phone-box b {
    display: block;
    padding: 8px 10px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(180deg, #0d8ea9 0%, #0a7186 100%);
    font-size: 10px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.menu-btn {
    display: none;
    margin-left: auto;
    border: 0;
    background: none;
    font-size: 26px;
}

.hero-wrap {
    padding: 24px 4% 0;
}

.hero {
    position: relative;
    display: flex;
    min-height: 420px;
    max-width: 1450px;
    margin: auto;
    padding: 52px 420px 44px 76px;
    overflow: visible;
    border-radius: 18px;
    color: #fff;
    background-image: url(/assets/location-specialty/specialist/assets/hero-bg.png);
    background-position: bottom left;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-copy {
    max-width: 780px;
}

.hero-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(2.6rem, 3vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.06em;
    font-weight: 700;
}

.hero-copy p {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255,255,255,0.9);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(180deg, #0d8ea9 0%, #0a7a94 100%);
    box-shadow: 0 8px 18px rgba(13, 142, 169, 0.25);
}

.btn.secondary {
    color: var(--teal);
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.5);
}

.consult-card {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 430px;
    padding: 22px 22px 44px;
    border: 1px solid rgba(18, 91, 104, 0.08);
    border-radius: 16px;
    color: var(--ink);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 26px 52px rgba(10, 39, 47, 0.15);
    backdrop-filter: blur(7px);
}

.consult-card h2 {
    margin: 0 0 10px;
    color: var(--deep-teal);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.04em;
}

.consult-card>p {
    margin: 0 0 16px;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    color: var(--ink-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 14px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    color: #2f3f42;
}

.form-grid input,
.form-grid select {
    width: 100%;
    height: 38px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #e3edf0;
    border-radius: 8px;
    background: #f9fcfd;
    font: inherit;
    font-size: 12px;
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.submit-btn {
    width: 100%;
    margin-top: 18px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(180deg, #0d8ea9 0%, #0a7d97 100%);
    box-shadow: 0 10px 18px rgba(13, 142, 169, 0.24);
    font: 600 12px Poppins, sans-serif;
    letter-spacing: -0.02em;
}

.crumb {
    max-width: 1280px;
    margin: -20px auto 0;
    /* padding-left: 38px; */
    font-size: 14px;
}

.crumb span {
    margin: 0 9px;
    color: #9ca7aa;
}

.crumb b {
    color: var(--teal);
}

.section {
    padding: 70px 5%;
}

.section-title {
    margin: 0;
    color: #3c4145;
    font-size: clamp(3.2rem, 3.4vw, 5.4rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.06em;
    text-align: center;
}

.section-title span,
.teal-only {
    color: var(--teal);
}

.solutions {
    padding-top: 170px;
    padding-bottom: 72px;
}

.road-stage {
    position: relative;
    height: 545px;
    max-width: 100%;
    margin: 26px auto 0;
    padding: 0 10px;
}

.road-stage>svg {
    position: absolute;
    top: 210px;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.road {
    position: absolute;
    inset: 49px 0 auto;
    width: 100%;
    height: 355px;
    overflow: visible;
}

.road-edge {
    fill: none;
    stroke: #087f98;
    stroke-width: 52;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.road-line {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-dasharray: 12 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.solution-card {
    position: absolute;
    z-index: 2;
    width: 300px;
    padding: 18px 18px 16px;
    border: 2px solid rgba(11, 142, 169, 0.35);
    border-radius: 18px;
    background: rgba(240, 250, 253, 0.92);
    text-align: center;
    height: auto;
    box-shadow: 0 12px 24px rgba(12, 98, 112, 0.04);
}

.solution-card h3 {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.solution-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.c1 {
    top: 38px;
    left: 14%;
}

.c2 {
    top: 75px;
    left: 50%;
}

.c3 {
    top: 75px;
    left: 75%;
}

.c4 {
    bottom: -185px;
    left: 8%;
}

.c5 {
    bottom: -170px;
    left: 33%;
}

.c6 {
    bottom: -160px;
    left: 58%;
}

.num {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    color: var(--teal);
    background: #fff;
    box-shadow: 0 1px 8px #0002;
    font-size: 22px;
    font-weight: 600;
}

.n1 {
    top: 132px;
    left: 14%;
}

.n2 {
    top: 238px;
    left: 12%;
}

.n3 {
    top: 120px;
    left: 42%;
}

.n4 {
    top: 330px;
    left: 45%;
}

.n5 {
    top: 140px;
    left: 70%;
}

.n6 {
    top: 240px;
    left: 81%;
}

.why-section {
    padding: 69px 6% 74px;
    margin-top: 100px;
    background: linear-gradient(270deg, #B5DAEC 0%, #FFFFFF 50%, #B5DAEC 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 330px 1fr;
    align-items: center;
    max-width: 1180px;
    margin: 43px auto 0;
    gap: 45px;
}

.why-col {
    display: flex;
    flex-direction: column;
    gap: 63px;
}

.why-col.left {
    text-align: right;
}

.why-col.right {
    text-align: left;
}

.why-col h3,
.center-logo h3 {
    margin: 0 0 5px;
    color: var(--teal);
    font-size: 17px;
}

.why-col p,
.center-logo p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.center-logo {
    text-align: center;
}

.center-logo img {
    display: block;
    width: 245px;
    height: 245px;
    object-fit: contain;
    margin: auto;
    filter: drop-shadow(0 5px 7px #5553);
}

.center-logo h3 {
    margin-top: 3px;
}

.faq {
    padding-top: 73px;
    padding-bottom: 79px;
}

.section-title.plain {
    color: #35393a;
}

.faq-list {
    max-width: 1050px;
    margin: 36px auto 0;
}

.faq-item {
    margin: 0 0 10px;
    border-radius: 10px;
    overflow: hidden;
    background: #e9e9e9;
}

.faq-item button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 15px 18px;
    border: 0;
    color: #383c3e;
    background: transparent;
    font: 600 11px Poppins, sans-serif;
    text-align: left;
    cursor: pointer;
}

.faq-item button span {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 1px solid #b6bdbe;
    border-radius: 50%;
    color: #929b9d;
}

.faq-answer {
    display: none;
    padding: 0 18px 15px;
    font-size: 10px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open button span {
    transform: rotate(45deg);
}

.testimonial {
    padding-top: 0;
    padding-bottom: 72px;
}

.testimonial-card {
    display: grid;
    grid-template-columns: 1fr 245px;
    align-items: center;
    max-width: 960px;
    min-height: 235px;
    margin: 31px auto 0;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(24, 40, 47, 0.08);
}

.testimonial-card>p {
    margin: 0;
    padding: 34px 53px;
    font-size: 15px;
    line-height: 1.7;
    color: #4d565a;
}

.doctor {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 30px 20px;
    background: #fff;
    text-align: center;
}

.doctor img {
    width: 115px;
    height: 115px;
    margin-bottom: 13px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor strong {
    font-size: 10px;
}

.doctor small {
    font-size: 8px;
}

.footer {
    color: #fff;
    background: linear-gradient(180deg, #0a7d96 0%, #086a84 100%);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr .8fr 1.1fr .8fr;
    gap: 46px;
    max-width: 1370px;
    margin: auto;
    padding: 48px 5% 30px;
}

.brand.light {
    min-width: 0;
    color: #fff;
}

.footer p,
.footer a {
    font-size: 9px;
    line-height: 1.55;
}

.footer a {
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
}

.footer h4 {
    margin: 0 0 14px;
    padding-bottom: 7px;
    border-bottom: 2px solid #fff;
    font-size: 11px;
}

.social {
    margin: 17px 0;
    letter-spacing: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 10px 7%;
    border-top: 1px solid #ffffff4d;
    font-size: 8px;
}

.floating-bar {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 5px;
    padding: 7px 15px;
    border-radius: 18px 0 0;
    background: var(--teal);
}

.floating-bar button {
    border: 0;
    color: #fff;
    background: transparent;
    font: 9px Poppins, sans-serif;
}

@media (max-width: 800px) {

    .main-nav,
    .phone-box {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .main-nav.open {
        position: absolute;
        top: 83px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        padding: 24px;
        background: #fff;
        box-shadow: 0 8px 20px #0002;
    }

    .hero {
        display: flex;
        flex-direction: column;
        padding: 40px 35px;
    }

    .consult-card {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 440px;
        margin-top: 35px;
    }

    .road-stage {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: auto;
        gap: 18px;
    }

    .road,
    .road-stage>svg,
    .num {
        display: none;
    }

    .solution-card {
        position: relative;
        inset: auto;
        width: auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-col.left,
    .why-col.right {
        text-align: center;
    }

    .center-logo {
        order: -1;
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 0 20px;
    }

    .brand {
        min-width: 0;
    }

    .hero-wrap {
        padding: 14px 14px 0;
    }

    .hero {
        padding: 31px 22px;
        border-radius: 15px;
    }

    .hero-copy h1 {
        font-size: 27px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .form-grid,
    .road-stage {
        grid-template-columns: 1fr;
    }

    .section,
    .why-section {
        padding-right: 20px;
        padding-left: 20px;
    }

    .section-title {
        font-size: 25px;
    }

    .center-logo img {
        width: 230px;
        height: 230px;
    }

    .footer {
        padding-top: 10px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding-right: 25px;
        padding-left: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .floating-bar {
        width: 100%;
        justify-content: center;
        border-radius: 0;
    }
}

/* FIGMA-SPECIALTY-ROAD-V2
   Match the six-card road layout from the supplied Figma reference on every specialty detail page. */
.solutions{
    width:100vw;
    margin-left:calc(50% - 50vw);
    padding-top:195px;
    padding-bottom:75px;
    overflow:visible;
}
.road-stage{
    position:relative;
    width:100%;
    max-width:none;
    height:690px;
    margin:68px auto 0;
    padding:0;
    overflow:visible;
}
.road-stage>svg{
    position:absolute;
    top:171px;
    left:0;
    width:100%;
    max-width:none;
    height:auto;
    overflow:visible;
}
.solution-card{
    width:300px;
    min-height:118px;
    height:auto;
    padding:17px 20px 15px;
    border:2px solid #9fdced;
    border-radius:18px;
    background:#effaff;
    box-shadow:none;
}
.solution-card h3{
    margin:0 0 7px;
    color:#078aa5;
    font-size:17px;
    line-height:1.15;
    font-weight:700;
}
.solution-card p{
    margin:0;
    color:#53626a;
    font-size:12px;
    line-height:1.45;
}

/* Top row: 1, 3, 5 */
.solution-card.c1{top:0;left:10.7%}
.solution-card.c2{top:0;left:49.9%}
.solution-card.c3{top:0;left:77.1%}

/* Bottom row: 2, 4, 6 */
.solution-card.c4{top:547px;left:4.2%;bottom:auto}
.solution-card.c5{top:547px;left:31.4%;bottom:auto}
.solution-card.c6{top:547px;left:58.6%;bottom:auto}

/* SVG itself contains the numbered circles and connector guides,
   so old absolutely-positioned duplicate number elements are suppressed. */
.road-stage .num{display:none !important}

@media(max-width:1200px){
    .road-stage{
        height:auto;
        min-height:0;
        padding:10px 5% 25px;
        overflow:visible;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:18px;
    }
    .road-stage>svg{display:none}
    .solution-card,
    .solution-card.c1,
    .solution-card.c2,
    .solution-card.c3,
    .solution-card.c4,
    .solution-card.c5,
    .solution-card.c6{
        position:relative;
        top:auto;
        left:auto;
        bottom:auto;
        width:100%;
        min-height:118px;
    }
}
@media(max-width:650px){
    .road-stage{grid-template-columns:1fr}
}
