:root {
    --navy: #042c53;
    --deep: #020f1f;
    --blue: #0c447c;
    --teal: #0f6e56;
    --mint: #52d6ab;
    --ink: #172b40;
    --muted: #526477;
    --line: #dbe4ee;
    --soft: #f3f8fc
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background: white
}

a {
    color: var(--blue);
    text-underline-offset: 4px
}

a:hover {
    text-decoration-thickness: 2px
}

button,
select {
    font: inherit
}

a,
button,
select {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 3px solid #cf8700;
    outline-offset: 5px
}

.container {
    width: min(1180px, 90%);
    margin-inline: auto
}

.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #315879
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    min-height: 86px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    flex-shrink: 0
}

.brand img {
    object-fit: contain;
    border-radius: 6px
}

.brand-small {
    display: block;
    font-size: .6rem;
    letter-spacing: .18em;
    margin-top: 4px
}

#primary-nav {
    display: flex;
    align-items: center;
    gap: 23px
}

#primary-nav a {
    color: #d9e9f9;
    font-size: .87rem;
    text-decoration: none;
    padding: 10px 0
}

#primary-nav a:hover,
#primary-nav a[aria-current] {
    color: white;
    box-shadow: 0 2px var(--mint)
}

.menu-toggle {
    color: white;
    background: transparent;
    border: 1px solid #8caecb;
    border-radius: 8px;
    padding: 7px 15px
}

.skip {
    position: absolute;
    top: -100px;
    left: 20px;
    background: white;
    color: var(--navy);
    padding: 12px;
    z-index: 30
}

.skip:focus {
    top: 10px
}

.hero {
    background: radial-gradient(ellipse at 95% 0, #1254a066, transparent 65%), linear-gradient(125deg, var(--deep), var(--navy) 65%, var(--blue));
    color: white;
    padding: 86px 0 92px;
    position: relative
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .75rem;
    font-weight: 750;
    color: var(--teal);
    margin: 0 0 18px
}

.hero .eyebrow {
    color: #a6d9f1
}

.hero h1 {
    font-size: clamp(2.3rem, 5.7vw, 4.7rem);
    line-height: 1.09;
    letter-spacing: -.045em;
    max-width: 1050px;
    margin: 0 0 26px
}

.hero h1 span {
    color: var(--mint)
}

.intro {
    font-size: 1.16rem;
    color: #c9def2;
    max-width: 710px;
    margin: 0;
    line-height: 1.8
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 100px;
    background: var(--teal);
    color: white;
    font-size: .94rem;
    font-weight: 650;
    padding: 13px 25px;
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1.5;
    transition: background .2s
}

.button:hover {
    background: #095441
}

.hero .button {
    background: #128260
}

.hero .button:hover {
    background: #0d6d50
}

.hero .secondary {
    background: transparent;
    border-color: #819fb7
}

.hero .secondary:hover {
    background: #ffffff12
}

.section {
    padding: 72px 0
}

.soft {
    background: var(--soft)
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    letter-spacing: -.035em;
    line-height: 1.2;
    margin: 0 0 30px;
    color: var(--navy)
}

h3 {
    font-size: 1.18rem;
    line-height: 1.35;
    margin: 0 0 14px;
    color: var(--navy)
}

p {
    margin: 0 0 20px
}

p:last-child {
    margin-bottom: 0
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.card {
    border: 1px solid var(--line);
    background: white;
    border-radius: 20px;
    padding: 29px;
    box-shadow: 0 6px 22px #042c5305;
    min-width: 0
}

.card h3 a {
    text-decoration: none
}

.card h3 a:hover {
    text-decoration: underline
}

.card p {
    color: var(--muted);
    font-size: .95rem
}

.card .eyebrow {
    color: var(--teal)
}

.card-number {
    display: inline-block;
    background: #e1f5ee;
    color: var(--teal);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 20px
}

.text-link {
    font-size: .87rem;
    font-weight: 650
}

.selector-layout,
.two-col {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start
}

.selector-layout label {
    display: block;
    font-weight: 650;
    margin: 24px 0 8px
}

select {
    background: white;
    border: 1px solid #7e96ad;
    padding: 12px 16px;
    color: var(--navy);
    border-radius: 10px;
    width: min(100%, 350px);
    min-height: 48px
}

.selection {
    background: var(--navy);
    color: white;
    border-radius: 20px;
    padding: 30px
}

.selection .eyebrow {
    color: var(--mint)
}

.selection h3 {
    font-size: 1.8rem;
    color: white
}

.selection a {
    color: #b9f5e3
}

.selection p {
    margin-bottom: 12px
}

.prose {
    max-width: 820px
}

.prose h3 {
    margin-top: 30px
}

.features {
    padding-left: 22px;
    margin: 0 0 30px
}

.features li {
    margin-bottom: 18px;
    padding-left: 5px
}

.features li::marker {
    color: var(--teal)
}

.callout {
    background: var(--navy);
    border-radius: 24px;
    color: #d9e9f9;
    padding: 42px;
    display: flex;
    gap: 36px;
    justify-content: space-between;
    align-items: center
}

.callout h2 {
    color: white;
    max-width: 620px;
    margin-bottom: 16px
}

.callout .eyebrow {
    color: var(--mint)
}

.callout .button {
    flex-shrink: 0;
    background: #128260
}

.note {
    font-size: .9rem;
    color: var(--muted);
    margin-top: 26px
}

.article {
    max-width: 820px;
    padding-block: 60px 80px
}

.article section {
    margin-block: 38px
}

.article h2 {
    font-size: 1.6rem;
    margin: 30px 0 16px
}

.meta {
    color: var(--muted);
    font-size: .9rem
}

.legal h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--navy);
    line-height: 1.15
}

.summary {
    background: var(--soft);
    border-left: 4px solid var(--teal);
    padding: 20px;
    margin: 28px 0
}

.contact {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px
}

footer {
    background: var(--deep);
    color: #bed1e3;
    padding: 52px 0 24px
}

footer a {
    color: #d7e8f7;
    font-size: .9rem
}

footer .brand {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 18px
}

footer h2 {
    font-size: .95rem;
    color: white;
    letter-spacing: 0;
    margin-bottom: 18px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px
}

.copyright {
    border-top: 1px solid #254054;
    margin-top: 38px;
    padding-top: 22px;
    font-size: .8rem
}

#quote {
    scroll-margin-top: 110px
}

[hidden] {
    display: none !important
}

@media(min-width:901px) {
    #primary-nav {
        display: flex !important
    }
}

@media(max-width:1000px) {
    #primary-nav {
        gap: 15px
    }

    .cards {
        gap: 16px
    }

    .card {
        padding: 24px
    }
}

@media(max-width:900px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0;
        min-height: 76px;
        padding-block: 14px
    }

    .menu-toggle:not([hidden]) {
        display: block
    }

    #primary-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px 22px;
        padding-top: 16px
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .selector-layout,
    .two-col {
        gap: 28px
    }

    .hero {
        padding: 65px 0
    }

    .callout {
        align-items: flex-start;
        flex-direction: column
    }

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

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }
}

@media(max-width:600px) {

    .cards,
    .selector-layout,
    .two-col,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .hero {
        padding: 50px 0 58px
    }

    .hero h1 {
        font-size: 2.6rem
    }

    .intro {
        font-size: 1.03rem
    }

    .section {
        padding: 48px 0
    }

    .actions {
        flex-direction: column;
        align-items: stretch
    }

    .card {
        padding: 25px
    }

    .callout {
        padding: 28px
    }

    .footer-grid {
        gap: 30px
    }

    .article {
        padding-block: 35px 50px
    }

    .selection {
        padding: 25px
    }

    .brand {
        font-size: 1.3rem
    }

    #primary-nav a {
        padding: 9px 5px
    }

    h2 {
        margin-bottom: 24px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

/* Automated assistants and selectable contact details. */
.contact-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 640px;
    align-items: start
}

.automation-contact .assistant-number {
    margin-top: 20px
}

.contact-number,
.assistant-message {
    -webkit-user-select: text;
    user-select: text
}

.contact-number {
    white-space: nowrap
}

.sms-fallback {
    font-size: .9rem;
    color: var(--muted)
}

.sms-fallback summary {
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px
}

.sms-fallback summary:focus-visible {
    outline: 3px solid #cf8700;
    outline-offset: 5px
}

.sms-fallback p {
    margin-top: 14px
}

.assistant-message {
    padding: 14px;
    background: var(--soft);
    border-radius: 10px
}

@media(max-width:600px) {
    .contact-options {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .automation-contact .button {
        width: 100%
    }
}

.automation-contact label {
    display: block;
    font-weight: 650;
    margin: 0 0 8px
}

.automation-contact select {
    margin-bottom: 24px
}

#country-recommendation {
    margin-top: 24px
}

/* India social links: visible labels and keyboard-accessible icons. */
.social-heading {
    font-weight: 700;
    margin-top: 24px !important;
    color: var(--navy) !important
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 650;
    min-height: 44px
}

.social-links a:hover {
    background: var(--soft)
}

.social-links svg {
    fill: currentColor;
    flex-shrink: 0
}

/* Clinic workflow: readable steps on mobile, with an optional detailed visual. */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    counter-reset: workflow;
    margin: 32px 0
}

.workflow-steps li {
    counter-increment: workflow;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px
}

.workflow-steps li::before {
    content: counter(workflow);
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    font-weight: 700;
    margin-bottom: 16px
}

.workflow-steps p {
    font-size: .95rem;
    color: var(--muted)
}

.workflow-visual {
    margin: 24px 0 30px
}

.workflow-visual summary {
    cursor: pointer;
    font-weight: 650;
    color: var(--navy);
    padding: 14px 0
}

.workflow-visual summary:focus-visible {
    outline: 3px solid #cf8700;
    outline-offset: 5px
}

.workflow-visual img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 20px auto;
    border: 1px solid var(--line);
    border-radius: 20px
}

@media(max-width:900px) {
    .workflow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:600px) {
    .workflow-steps {
        grid-template-columns: 1fr
    }
}

/* Brand colours stay on the icons; link labels remain readable. */
.social-links a[href*="facebook.com"] svg {
    color: #1877f2;
    fill: #1877f2
}

.social-links a[href*="linkedin.com"] svg {
    color: #0a66c2;
    fill: #0a66c2
}

.social-links a[href*="instagram.com"] svg {
    color: #d62976
}

.social-links a[href*="wa.me"] svg,
.social-links a[href*="whatsapp.com"] svg {
    color: #25d366;
    fill: #25d366
}

/* Homepage: business introduction beside a readable sample conversation. */
.home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 60px;
    align-items: center
}

.home-hero-copy h1 {
    font-size: clamp(2.4rem, 4.5vw, 4.1rem);
    max-width: 700px
}

.hero-chat {
    width: 100%;
    max-width: 400px;
    justify-self: end;
    border: 8px solid #16283a;
    border-radius: 30px;
    overflow: hidden;
    background: #efeae2;
    box-shadow: 0 24px 60px #0004;
    color: #172b40
}

.hero-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #075e54;
    color: white;
    padding: 16px
}

.hero-chat-header strong {
    display: block;
    font-size: 1rem
}

.hero-chat-header span:not(.hero-chat-avatar) {
    display: block;
    font-size: .72rem;
    color: #d3f2e6
}

.hero-chat-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #128c7e;
    font-weight: 800;
    color: white
}

.hero-chat-body {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 16px;
    font-size: .78rem;
    line-height: 1.5
}

.hero-chat-message {
    align-self: flex-start;
    max-width: 94%;
    background: white;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px #0001
}

.hero-chat-message.sent {
    align-self: flex-end;
    background: #d9fdd3
}

.hero-chat-message ul {
    list-style: none;
    padding: 0;
    margin: 6px 0 0
}

.hero-chat-message li {
    padding: 4px 0;
    border-top: 1px solid #e5ece8
}

.hero-chat-choice {
    color: #075e54;
    text-align: center;
    font-weight: 700;
    border-top: 1px solid #e5ece8;
    margin-top: 8px;
    padding-top: 7px
}

.hero-chat-caption {
    background: white;
    margin: 0;
    padding: 10px 12px;
    text-align: center;
    font-size: .7rem;
    color: #526477
}

@media(max-width:900px) {
    .home-hero-layout {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .hero-chat {
        justify-self: center
    }

    .home-hero-copy h1 {
        font-size: clamp(2.6rem, 6vw, 4.1rem)
    }
}