/* =====================================================
   SANTHATHI IVF - FERTILITY CENTRE LANDING PAGE
   Complete standalone CSS
===================================================== */

/* =====================================================
   01. ASTRA FULL WIDTH FIX
===================================================== */

body.page-template-template-ivf-centre #content,
body.page-template-template-ivf-centre .site-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-ivf-centre
#content > .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-ivf-centre #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}


/* =====================================================
   02. GLOBAL DESIGN SYSTEM
===================================================== */

.sivf-page {
    --sivf-purple: #80059e;
    --sivf-dark: #47045c;
    --sivf-pink: #ec4195;
    --sivf-heading: #3e174b;
    --sivf-text: #514657;
    --sivf-border: #e0c9e9;
    --sivf-lavender: #f2e3f8;
    --sivf-white: #ffffff;

    --sivf-gradient: linear-gradient(
        125deg,
        #650580,
        #80059e 55%,
        #a62287
    );

    --sivf-shadow:
        0 15px 40px rgba(91, 5, 112, .12);

    --sivf-serif:
        Georgia, "Times New Roman", serif;

    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: #fff;
    color: var(--sivf-text);
    font-size: 16px;
    line-height: 1.8;
}

.sivf-page *,
.sivf-page *::before,
.sivf-page *::after {
    box-sizing: border-box;
}

.sivf-page h1,
.sivf-page h2,
.sivf-page h3,
.sivf-page h4 {
    font-family: var(--sivf-serif);
    color: var(--sivf-heading);
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    overflow-wrap: break-word;
}

.sivf-page h2 {
    font-size: clamp(30px, 3.3vw, 46px);
    letter-spacing: -.7px;
}

.sivf-page h3 {
    font-size: 24px;
}

.sivf-page p {
    margin: 0 0 16px;
}

.sivf-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sivf-page svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.sivf-page a {
    color: var(--sivf-purple);
    text-decoration: none;
}

.sivf-page a:focus-visible,
.sivf-page summary:focus-visible {
    outline: 3px solid #ec4195;
    outline-offset: 4px;
}

.sivf-page .sivf-container {
    width: calc(100% - 100px);
    max-width: 1320px;
    margin: 0 auto;
}

.sivf-page .sivf-section {
    width: 100%;
    padding: 80px 0;
}

.sivf-page section[id] {
    scroll-margin-top: 110px;
}

.sivf-page .sivf-richtext p:last-child {
    margin-bottom: 0;
}

.sivf-page .sivf-richtext a {
    color: var(--sivf-purple);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.sivf-page .sivf-richtext a:hover {
    color: #b42178;
}

.sivf-page .sivf-heading {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 45px;
}

.sivf-page .sivf-kicker {
    display: block;
    color: #a51b72;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sivf-page .sivf-heading-line {
    width: 65px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #ec4195,
        #80059e
    );
    margin-top: 20px;
}

.sivf-page .sivf-heading .sivf-heading-line {
    margin-left: auto;
    margin-right: auto;
}

.sivf-page .sivf-section-intro {
    max-width: 850px;
    margin: 24px auto 0;
    font-size: 15px;
    line-height: 1.9;
}

.sivf-page .sivf-section-intro p:last-child {
    margin-bottom: 0;
}


/* =====================================================
   03. BUTTONS & ICONS
===================================================== */

.sivf-page .sivf-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 51px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.sivf-page .sivf-btn svg {
    width: 18px;
    height: 18px;
    transition: transform .35s ease;
}

.sivf-page .sivf-btn-primary {
    background: var(--sivf-gradient);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(128,5,158,.18);
}

.sivf-page .sivf-btn-primary:hover {
    background: var(--sivf-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(128,5,158,.24);
}

.sivf-page .sivf-btn-white {
    background: #fff;
    color: #80059e !important;
    border-color: #fff;
}

.sivf-page .sivf-btn-white:hover {
    background: #f8d6e9;
    border-color: #f8d6e9;
    transform: translateY(-3px);
}

.sivf-page .sivf-btn-outline {
    background: transparent;
    border-color: #80059e;
    color: #80059e !important;
}

.sivf-page .sivf-btn-outline:hover {
    background: #80059e;
    color: #fff !important;
}

.sivf-page .sivf-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: left .65s ease;
    pointer-events: none;
}

.sivf-page .sivf-btn:hover::before {
    left: 140%;
}

.sivf-page .sivf-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--sivf-gradient);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(128,5,158,.15);
    transition:
        transform .35s ease,
        background .35s ease;
}

.sivf-page .sivf-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #80059e;
}

.sivf-page .sivf-text-link svg {
    width: 17px;
    height: 17px;
    transition: transform .3s ease;
}

.sivf-page .sivf-text-link:hover svg {
    transform: translateX(4px);
}


/* =====================================================
   04. HERO BANNER
===================================================== */

.sivf-page .sivf-hero {
    position: relative;
    overflow: hidden;
    padding: 25px 0 90px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(236,65,149,.25),
            transparent 36%
        ),
        linear-gradient(
            115deg,
            #47045c,
            #650580 40%,
            #80059e 70%,
            #a62287
        );
    color: #fff;
}

.sivf-page .sivf-hero .sivf-container {
    position: relative;
    z-index: 2;
}

.sivf-page .sivf-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f5d8ee;
}

.sivf-page .sivf-breadcrumb a {
    color: #fff;
}

.sivf-page .sivf-breadcrumb a:hover {
    text-decoration: underline;
}

.sivf-page .sivf-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0,1.15fr)
        minmax(0,.85fr);
    align-items: center;
    gap: 65px;
    min-height: 420px;
}

.sivf-page .sivf-hero-grid.sivf-no-image {
    grid-template-columns: minmax(0,1fr);
    min-height: 0;
}

.sivf-page .sivf-no-image .sivf-hero-content {
    max-width: 900px;
    padding: 20px 0;
}

.sivf-page .sivf-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 40px;
    color: #ffe1f3;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.sivf-page .sivf-hero-label svg {
    width: 18px;
    height: 18px;
    color: #ffc2e5;
}

.sivf-page .sivf-hero h1 {
    color: #fff;
    font-size: clamp(36px,4.1vw,58px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 22px 0;
    text-shadow: 0 4px 20px rgba(35,0,45,.15);
}

.sivf-page .sivf-hero-description {
    color: #fff;
    font-size: 15px;
    line-height: 1.85;
}

.sivf-page .sivf-hero-description a {
    color: #fff;
    text-decoration: underline;
}

.sivf-page .sivf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
}

.sivf-page .sivf-hero .sivf-btn-outline {
    color: #fff !important;
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.06);
}

.sivf-page .sivf-hero .sivf-btn-outline:hover {
    background: #fff;
    color: #80059e !important;
}


/* Hero decorative circles */

.sivf-page .sivf-hero-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sivf-page .sivf-circle-one {
    width: 500px;
    height: 500px;
    right: -220px;
    top: -230px;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow:
        0 0 0 35px rgba(255,255,255,.04),
        0 0 0 70px rgba(255,255,255,.03),
        0 0 0 105px rgba(255,255,255,.02);
}

.sivf-page .sivf-circle-two {
    width: 350px;
    height: 350px;
    bottom: -200px;
    left: -150px;
    background: rgba(236,65,149,.15);
}


/* =====================================================
   05. HERO CLINIC IMAGE
===================================================== */

.sivf-page .sivf-hero-media {
    position: relative;
    padding: 12px 12px 30px;
    min-width: 0;
}

.sivf-page .sivf-image-outline {
    position: absolute;
    inset: 0 0 20px;
    border: 2px solid rgba(255,220,243,.5);
    border-radius: 24px;
    transform: rotate(-4deg);
    transition: transform .6s ease;
    pointer-events: none;
}

.sivf-page .sivf-hero-image {
    position: relative;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,.9);
    border-radius: 20px;
    background: #f1dff7;
    aspect-ratio: 5 / 4;
    box-shadow: 0 22px 50px rgba(35,0,45,.26);
}

.sivf-page .sivf-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.sivf-page .sivf-hero-media:hover
.sivf-hero-image img {
    transform: scale(1.05);
}

.sivf-page .sivf-hero-media:hover
.sivf-image-outline {
    transform: rotate(3deg);
}

.sivf-page .sivf-image-label {
    position: absolute;
    left: 25px;
    bottom: 6px;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: calc(100% - 50px);
    padding: 13px 22px 13px 13px;
    border-radius: 12px;
    background: #fff;
    color: #80059e;
    box-shadow: 0 10px 30px rgba(35,0,45,.25);
}

.sivf-page .sivf-image-label strong {
    display: block;
    font-family: var(--sivf-serif);
    font-size: 20px;
    font-weight: 400;
}

.sivf-page .sivf-image-label small {
    display: block;
    color: #6d5375;
    font-size: 12px;
}


/* =====================================================
   06. QUICK INFORMATION BAR
===================================================== */

.sivf-page .sivf-quick-wrap {
    position: relative;
    z-index: 5;
    margin-top: -38px;
}

.sivf-page .sivf-quick-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    background: #fff;
    border: 1px solid #e4cbea;
    border-radius: 15px;
    padding: 24px 15px;
    box-shadow: var(--sivf-shadow);
}

.sivf-page .sivf-quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 10px 20px;
    color: var(--sivf-heading);
}

.sivf-page .sivf-quick-item:not(:last-child) {
    border-right: 1px solid #ead8ef;
}

.sivf-page .sivf-quick-item small {
    display: block;
    color: #8e4395;
    font-size: 12px;
    margin-bottom: 4px;
}

.sivf-page .sivf-quick-item strong {
    display: block;
    color: #56036c;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.sivf-page .sivf-quick-item:hover .sivf-icon {
    transform: rotate(-7deg) scale(1.07);
}


/* =====================================================
   07. FERTILITY SERVICE CARDS
===================================================== */

.sivf-page .sivf-services {
    background: #fff;
}

.sivf-page .sivf-services-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 24px;
}

.sivf-page .sivf-service-card {
    position: relative;
    grid-column: span 2;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfc7e9;
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(128,5,158,.06);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

/* Centre the last two cards when there are five */

.sivf-page .sivf-service-card:nth-child(4):nth-last-child(2),
.sivf-page .sivf-service-card:nth-child(5):last-child {
    grid-column: span 3;
}

.sivf-page .sivf-service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 4px;
    background: linear-gradient(
        90deg,
        #ec4195,
        #80059e
    );
    transition: width .45s ease;
}

.sivf-page .sivf-service-card:hover {
    transform: translateY(-7px);
    border-color: #bd8bd0;
    box-shadow: 0 18px 36px rgba(128,5,158,.15);
}

.sivf-page .sivf-service-card:hover::after {
    width: 100%;
}

.sivf-page .sivf-service-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f2e3f8;
}

.sivf-page .sivf-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.sivf-page .sivf-service-card:hover
.sivf-service-image img {
    transform: scale(1.06);
}

.sivf-page .sivf-service-body {
    position: relative;
    padding: 28px 25px 32px;
}

.sivf-page .sivf-card-number {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #a474b0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.sivf-page .sivf-service-body .sivf-icon {
    margin-bottom: 20px;
}

.sivf-page .sivf-service-card:hover .sivf-icon {
    background: #a91983;
    transform: rotate(-8deg) scale(1.08);
}

.sivf-page .sivf-service-body h3 {
    color: #650480;
    font-size: 23px;
    line-height: 1.4;
    margin-bottom: 13px;
}

.sivf-page .sivf-service-body .sivf-richtext {
    font-size: 15px;
    line-height: 1.85;
}


/* =====================================================
   08. DOCTOR PROFILES
===================================================== */

.sivf-page .sivf-doctors {
    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(236,65,149,.1),
            transparent 40%
        ),
        linear-gradient(
            125deg,
            #f0e1f8,
            #fae6f0
        );
}

.sivf-page .sivf-doctors-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px;
}

.sivf-page .sivf-doctor-card {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    overflow: hidden;
    border: 1px solid #dfc5e9;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(128,5,158,.08);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.sivf-page .sivf-doctor-card:hover {
    transform: translateY(-6px);
    border-color: #c795d7;
    box-shadow: var(--sivf-shadow);
}

.sivf-page .sivf-doctor-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(
        145deg,
        #f4d3e6,
        #e7d3f2
    );
}

.sivf-page .sivf-doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: transform .6s ease;
}

.sivf-page .sivf-doctor-card:hover
.sivf-doctor-image img {
    transform: scale(1.035);
}

.sivf-page .sivf-doctor-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

.sivf-page .sivf-doctor-tag {
    align-self: flex-start;
    display: inline-block;
    padding: 4px 11px;
    margin-bottom: 12px;
    background: #f1e2f8;
    color: #80059e;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
}

.sivf-page .sivf-doctor-content h3 {
    color: #80059e;
    font-size: 29px;
    margin-bottom: 8px;
}

.sivf-page .sivf-doctor-qualification {
    color: #7e408b;
    font-size: 13px;
    font-weight: 600;
}

.sivf-page .sivf-doctor-content .sivf-richtext {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 23px;
}

.sivf-page .sivf-doctor-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.sivf-page .sivf-doctor-actions .sivf-btn {
    min-height: 44px;
    padding: 10px 17px;
    font-size: 13px;
}


/* =====================================================
   09. FERTILITY CARE
===================================================== */

.sivf-page .sivf-care {
    background: #fff;
}

.sivf-page .sivf-care-grid {
    display: grid;
    grid-template-columns:
        minmax(0,.8fr)
        minmax(0,1.2fr);
    align-items: center;
    gap: 75px;
}

.sivf-page .sivf-care-media {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #f4cde4,
        #dfc0ee
    );
    min-height: 280px;
}

.sivf-page .sivf-care-media > img {
    width: 100%;
    height: auto;
    transition: transform .7s ease;
}

.sivf-page .sivf-care-media:hover > img {
    transform: scale(1.04);
}

.sivf-page .sivf-care-art {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.sivf-page .sivf-care-ring {
    position: absolute;
    width: 215px;
    height: 215px;
    border: 1px solid rgba(128,5,158,.2);
    border-radius: 50%;

    box-shadow:
        0 0 0 25px rgba(128,5,158,.04),
        0 0 0 50px rgba(128,5,158,.025);
}

.sivf-page .sivf-care-art-icon {
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    background: var(--sivf-gradient);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(128,5,158,.2);
}

.sivf-page .sivf-care-art-icon svg {
    width: 65px;
    height: 65px;
    stroke-width: 1.2;
}

.sivf-page .sivf-art-sparkle {
    position: absolute;
    top: 15%;
    right: 20%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #fff;
    color: #ec4195;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(128,5,158,.1);
    animation: sivf-float 5s ease-in-out infinite;
}

@keyframes sivf-float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.sivf-page .sivf-care-content .sivf-richtext {
    margin-top: 25px;
    font-size: 15px;
    line-height: 1.95;
}


/* =====================================================
   10. CLINIC CONTACT SECTION
===================================================== */

.sivf-page .sivf-contact {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 0% 90%,
            rgba(236,65,149,.18),
            transparent 40%
        ),
        linear-gradient(
            125deg,
            #47045c,
            #80059e
        );
    color: #fff;
}

.sivf-page .sivf-contact .sivf-heading h2 {
    color: #fff;
}

.sivf-page .sivf-contact .sivf-kicker {
    color: #ffbde3;
}

.sivf-page .sivf-contact .sivf-heading-line {
    background: linear-gradient(
        90deg,
        #ff95cf,
        #fff
    );
}

.sivf-page .sivf-contact-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 35px;
    align-items: stretch;
}

.sivf-page .sivf-contact-info {
    padding: 20px 0;
}

.sivf-page .sivf-contact-info h3 {
    color: #fff;
    font-size: 27px;
    margin-bottom: 27px;
}

.sivf-page .sivf-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.sivf-page .sivf-contact-row .sivf-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: none;
}

.sivf-page .sivf-contact-row strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #ffcce8;
    margin-bottom: 4px;
}

.sivf-page .sivf-contact-row address,
.sivf-page .sivf-contact-row a,
.sivf-page .sivf-contact-row div > span {
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
    font-style: normal;
    margin: 0;
    overflow-wrap: anywhere;
}

.sivf-page .sivf-contact-row a:hover {
    text-decoration: underline;
}


/* =====================================================
   11. GOOGLE MAP
===================================================== */

.sivf-page .sivf-map-card {
    min-width: 0;
    min-height: 390px;
    display: flex;
    overflow: hidden;
    background: #fff;
    border-radius: 17px;
    border: 5px solid rgba(255,255,255,.7);
    box-shadow: 0 15px 40px rgba(35,0,45,.2);
}

.sivf-page .sivf-map-card iframe {
    display: block;
    width: 100%;
    min-height: 390px;
    border: 0;
}

.sivf-page .sivf-map-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #f9e3ef,
        #eedff6
    );
    color: #514657;
}

.sivf-page .sivf-map-pin {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    background: var(--sivf-gradient);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 13px rgba(128,5,158,.07);
}

.sivf-page .sivf-map-pin svg {
    width: 37px;
    height: 37px;
}

.sivf-page .sivf-map-fallback h3 {
    color: #650480;
    font-size: 28px;
    margin-bottom: 13px;
}

.sivf-page .sivf-map-fallback p {
    max-width: 400px;
    margin-bottom: 22px;
    font-size: 14px;
}


/* Appointment information panel */

.sivf-page .sivf-appointment-panel {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 32px;
    margin-top: 35px;
    background: #fff;
    color: #514657;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(35,0,45,.14);
}

.sivf-page .sivf-appointment-panel h3 {
    color: #650480;
    font-size: 25px;
    margin-bottom: 15px;
}

.sivf-page .sivf-appointment-panel .sivf-richtext {
    font-size: 14px;
    line-height: 1.85;
}


/* =====================================================
   12. OTHER CLINIC LOCATIONS
===================================================== */

.sivf-page .sivf-locations {
    background: #fff;
}

.sivf-page .sivf-locations-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}

.sivf-page .sivf-location-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dec3e9;
    border-radius: 15px;
    background: linear-gradient(
        125deg,
        #f7eaf9,
        #fceaf3
    );

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.sivf-page .sivf-location-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sivf-shadow);
}

.sivf-page .sivf-location-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.sivf-page .sivf-location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.sivf-page .sivf-location-card:hover
.sivf-location-image img {
    transform: scale(1.05);
}

.sivf-page .sivf-location-body {
    padding: 26px;
}

.sivf-page .sivf-location-body .sivf-icon {
    margin-bottom: 20px;
}

.sivf-page .sivf-location-body h3 {
    color: #650480;
    font-size: 22px;
    line-height: 1.5;
}

.sivf-page .sivf-location-body .sivf-text-link {
    margin-top: 18px;
}


/* =====================================================
   13. FAQ SECTION
===================================================== */

.sivf-page .sivf-faq {
    background: linear-gradient(
        125deg,
        #f1e3f8,
        #fbe9f2
    );
}

.sivf-page .sivf-faq-grid {
    display: grid;
    grid-template-columns:
        minmax(0,.75fr)
        minmax(0,1.25fr);
    align-items: start;
    gap: 65px;
}

.sivf-page .sivf-faq-support {
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 340px;
    margin-top: 30px;
    padding: 18px;
    border: 1px solid #e1c6ea;
    border-radius: 12px;
    background: #fff;
}

.sivf-page .sivf-faq-support small {
    display: block;
    color: #795983;
    font-size: 12px;
}

.sivf-page .sivf-faq-support a {
    display: block;
    color: #650480;
    font-size: 16px;
    font-weight: 600;
}

.sivf-page .sivf-accordion {
    display: grid;
    gap: 13px;
    min-width: 0;
}

.sivf-page .sivf-faq-item {
    background: #fff;
    border: 1px solid #dec3e9;
    border-radius: 12px;
    overflow: hidden;

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.sivf-page .sivf-faq-item:hover {
    border-color: #b979cb;
    box-shadow: 0 6px 20px rgba(128,5,158,.08);
}

.sivf-page .sivf-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 23px;
    list-style: none;
    cursor: pointer;
    color: #650480;
    font-family: var(--sivf-serif);
    font-size: 19px;
    line-height: 1.5;
}

.sivf-page .sivf-faq-item summary::marker {
    content: "";
}

.sivf-page
.sivf-faq-item summary::-webkit-details-marker {
    display: none;
}

.sivf-page .sivf-faq-toggle {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f1e2f8;
    color: #80059e;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.sivf-page .sivf-faq-toggle svg {
    width: 17px;
    height: 17px;
}

.sivf-page .sivf-faq-item[open] {
    border-color: #c895d9;
    box-shadow: 0 8px 23px rgba(128,5,158,.07);
}

.sivf-page .sivf-faq-item[open] summary {
    background: linear-gradient(
        115deg,
        #f4e5f9,
        #fce8f2
    );
}

.sivf-page .sivf-faq-item[open] .sivf-faq-toggle {
    transform: rotate(45deg);
    background: #80059e;
    color: #fff;
}

.sivf-page .sivf-faq-answer {
    padding: 20px 23px 23px;
    font-size: 15px;
    line-height: 1.85;
}

.sivf-page .sivf-faq-item[open] .sivf-faq-answer {
    animation: sivf-answer-in .3s ease both;
}

@keyframes sivf-answer-in {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =====================================================
   14. FINAL APPOINTMENT CTA
===================================================== */

.sivf-page .sivf-final-section {
    padding: 65px 0;
    background: #fff;
}

.sivf-page .sivf-final-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;

    background: linear-gradient(
        115deg,
        #47045c,
        #80059e 65%,
        #a62287
    );

    color: #fff;
    box-shadow: var(--sivf-shadow);
}

.sivf-page .sivf-final-cta::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -120px;
    bottom: -190px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);

    box-shadow:
        0 0 0 30px rgba(255,255,255,.04),
        0 0 0 60px rgba(255,255,255,.03);

    pointer-events: none;
}

.sivf-page .sivf-final-cta > * {
    position: relative;
    z-index: 1;
}

.sivf-page .sivf-final-cta .sivf-kicker {
    color: #ffc7e7;
}

.sivf-page .sivf-final-cta h2 {
    color: #fff;
    font-size: clamp(29px,3.1vw,42px);
    margin-bottom: 16px;
}

.sivf-page .sivf-final-cta .sivf-richtext {
    color: #f9e4f5;
    font-size: 15px;
}

.sivf-page .sivf-final-cta .sivf-richtext a {
    color: #fff;
}


/* =====================================================
   15. ENTRANCE ANIMATIONS
   No hidden content before JavaScript loads
===================================================== */

.sivf-page .sivf-reveal {
    opacity: 1;
}

.sivf-page .sivf-reveal.sivf-visible {
    animation: sivf-enter-up .75s
        cubic-bezier(.2,.65,.3,1) both;

    animation-delay: var(--sivf-delay,0ms);
}

.sivf-page
.sivf-reveal[data-sivf-direction="left"].sivf-visible {
    animation-name: sivf-enter-left;
}

.sivf-page
.sivf-reveal[data-sivf-direction="right"].sivf-visible {
    animation-name: sivf-enter-right;
}

@keyframes sivf-enter-up {

    from {
        opacity: .2;
        translate: 0 24px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes sivf-enter-left {

    from {
        opacity: .2;
        translate: -25px 0;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes sivf-enter-right {

    from {
        opacity: .2;
        translate: 25px 0;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

.sivf-page .sivf-reveal:focus-within {
    opacity: 1 !important;
    animation: none !important;
    translate: none !important;
}


/* =====================================================
   16. MOBILE APPOINTMENT BAR
===================================================== */

.sivf-page .sivf-mobile-bar {
    display: none;
}


/* =====================================================
   17. TABLET RESPONSIVE
===================================================== */

@media (max-width: 1024px) {

    .sivf-page .sivf-container {
        width: calc(100% - 48px);
    }

    .sivf-page .sivf-section {
        padding: 60px 0;
    }

    .sivf-page .sivf-hero-grid {
        gap: 30px;
    }

    .sivf-page .sivf-hero h1 {
        font-size: clamp(32px,4.3vw,45px);
    }

    .sivf-page .sivf-hero-description {
        font-size: 14px;
    }

    .sivf-page .sivf-quick-item {
        padding: 8px 12px;
        gap: 10px;
    }

    .sivf-page .sivf-quick-item strong {
        font-size: 13px;
    }

    .sivf-page .sivf-services-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 18px;
    }

    .sivf-page .sivf-service-card,
    .sivf-page .sivf-service-card:nth-child(4):nth-last-child(2),
    .sivf-page .sivf-service-card:nth-child(5):last-child {
        grid-column: auto;
    }

    .sivf-page .sivf-service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .sivf-page .sivf-care-grid,
    .sivf-page .sivf-faq-grid {
        gap: 35px;
    }

    .sivf-page .sivf-doctor-image {
        height: 260px;
    }

    .sivf-page .sivf-doctor-content {
        padding: 23px;
    }

    .sivf-page .sivf-contact-grid {
        gap: 25px;
    }

    .sivf-page .sivf-appointment-panel,
    .sivf-page .sivf-final-cta {
        padding: 28px;
    }

    .sivf-page .sivf-locations-grid {
        gap: 15px;
    }

    .sivf-page .sivf-location-body {
        padding: 20px;
    }
}


/* =====================================================
   18. MOBILE RESPONSIVE
===================================================== */

@media (max-width: 767px) {

    .sivf-page {
        font-size: 15px;
    }

    .sivf-page .sivf-container {
        width: calc(100% - 36px);
    }

    .sivf-page .sivf-section {
        padding: 45px 0;
    }

    .sivf-page h2 {
        font-size: 30px;
    }

    .sivf-page .sivf-heading {
        margin-bottom: 28px;
    }

    .sivf-page .sivf-kicker {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .sivf-page .sivf-section-intro {
        font-size: 14px;
        margin-top: 18px;
    }

    .sivf-page .sivf-hero {
        padding: 18px 0 60px;
    }

    .sivf-page .sivf-breadcrumb {
        font-size: 11px;
        gap: 8px;
        margin-bottom: 22px;
    }

    .sivf-page .sivf-hero-grid,
    .sivf-page .sivf-care-grid,
    .sivf-page .sivf-faq-grid,
    .sivf-page .sivf-contact-grid,
    .sivf-page .sivf-doctors-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 28px;
        min-height: 0;
    }

    .sivf-page .sivf-hero-content {
        text-align: center;
    }

    .sivf-page .sivf-hero h1 {
        font-size: clamp(32px,8vw,42px);
        letter-spacing: -.6px;
        margin: 17px 0 19px;
    }

    .sivf-page .sivf-hero-label {
        font-size: 9px;
        letter-spacing: 1px;
        padding: 8px 12px;
    }

    .sivf-page .sivf-hero-description {
        text-align: left;
        font-size: 14px;
        line-height: 1.85;
    }

    .sivf-page .sivf-actions {
        justify-content: center;
        gap: 10px;
        margin-top: 22px;
    }

    .sivf-page .sivf-btn {
        min-height: 44px;
        padding: 11px 15px;
        font-size: 12px;
        gap: 7px;
    }

    .sivf-page .sivf-hero-media {
        padding: 10px 10px 25px;
    }

    .sivf-page .sivf-hero-image {
        border-radius: 15px;
    }

    .sivf-page .sivf-image-label {
        left: 16px;
        padding: 10px 15px 10px 10px;
    }

    .sivf-page .sivf-image-label strong {
        font-size: 17px;
    }

    .sivf-page .sivf-image-label small {
        font-size: 10px;
    }

    .sivf-page .sivf-icon {
        width: 43px;
        height: 43px;
        border-radius: 10px;
    }

    .sivf-page .sivf-quick-wrap {
        margin-top: -28px;
    }

    .sivf-page .sivf-quick-grid {
        grid-template-columns: minmax(0,1fr);
        padding: 9px 17px;
    }

    .sivf-page .sivf-quick-item {
        justify-content: flex-start;
        padding: 13px 5px;
    }

    .sivf-page .sivf-quick-item:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #ead8ef;
    }

    .sivf-page .sivf-quick-item strong {
        font-size: 14px;
    }

    .sivf-page .sivf-services-grid,
    .sivf-page .sivf-locations-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 17px;
    }

    .sivf-page .sivf-service-body {
        padding: 23px 20px 27px;
    }

    .sivf-page .sivf-service-body h3 {
        font-size: 22px;
    }

    .sivf-page .sivf-service-body .sivf-richtext {
        font-size: 14px;
    }

    .sivf-page .sivf-doctor-image {
        height: 290px;
    }

    .sivf-page .sivf-doctor-content {
        padding: 23px 20px;
    }

    .sivf-page .sivf-doctor-content h3 {
        font-size: 26px;
    }

    .sivf-page .sivf-care-media {
        min-height: 220px;
    }

    .sivf-page .sivf-care-art {
        min-height: 230px;
    }

    .sivf-page .sivf-care-ring {
        width: 170px;
        height: 170px;
    }

    .sivf-page .sivf-care-art-icon {
        width: 115px;
        height: 115px;
    }

    .sivf-page .sivf-care-art-icon svg {
        width: 50px;
        height: 50px;
    }

    .sivf-page .sivf-care-content .sivf-richtext {
        font-size: 14px;
        margin-top: 20px;
    }

    .sivf-page .sivf-contact-info {
        padding: 0;
    }

    .sivf-page .sivf-contact-info h3 {
        font-size: 24px;
    }

    .sivf-page .sivf-contact-row {
        margin-bottom: 17px;
        padding-bottom: 17px;
    }

    .sivf-page .sivf-contact-row address,
    .sivf-page .sivf-contact-row a,
    .sivf-page .sivf-contact-row div > span {
        font-size: 14px;
    }

    .sivf-page .sivf-map-card,
    .sivf-page .sivf-map-card iframe {
        min-height: 300px;
    }

    .sivf-page .sivf-map-fallback {
        padding: 25px 18px;
    }

    .sivf-page .sivf-appointment-panel {
        grid-template-columns: minmax(0,1fr);
        gap: 23px;
        padding: 23px;
    }

    .sivf-page .sivf-location-body h3 {
        font-size: 22px;
    }

    .sivf-page .sivf-faq-support {
        margin-top: 23px;
    }

    .sivf-page .sivf-faq-item summary {
        font-size: 17px;
        padding: 16px;
        gap: 10px;
    }

    .sivf-page .sivf-faq-answer {
        font-size: 14px;
        padding: 17px;
    }

    .sivf-page .sivf-final-section {
        padding: 35px 0;
    }

    .sivf-page .sivf-final-cta {
        grid-template-columns: minmax(0,1fr);
        gap: 23px;
        padding: 30px 23px;
        text-align: center;
    }

    .sivf-page .sivf-final-cta h2 {
        font-size: 30px;
    }

    .sivf-page
    .sivf-reveal[data-sivf-direction].sivf-visible {
        animation-name: sivf-enter-up;
    }


    /* Sticky mobile appointment buttons */

    .sivf-page .sivf-mobile-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
        padding-bottom: calc(
            10px + env(safe-area-inset-bottom,0px)
        );
        border-top: 2px solid #80059e;
        background: #fff;
        box-shadow: 0 -6px 25px rgba(128,5,158,.12);
    }

    .sivf-page .sivf-mobile-bar .sivf-btn-primary {
        flex: 1;
    }

    .sivf-page .sivf-mobile-bar.sivf-bar-hidden {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    body.page-template-template-ivf-centre {
        padding-bottom: calc(
            70px + env(safe-area-inset-bottom,0px)
        );
    }
}


/* =====================================================
   19. SMALL MOBILE DEVICES
===================================================== */

@media (max-width: 360px) {

    .sivf-page .sivf-container {
        width: calc(100% - 28px);
    }

    .sivf-page .sivf-hero h1 {
        font-size: 30px;
    }

    .sivf-page .sivf-mobile-bar .sivf-btn {
        font-size: 11px;
        padding: 10px;
    }
}


/* =====================================================
   20. REDUCED MOTION ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .sivf-page *,
    .sivf-page *::before,
    .sivf-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .sivf-page .sivf-reveal {
        opacity: 1 !important;
        translate: none !important;
    }
}