/* Home-specific styles — disease-first hero */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-hero-bg {
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent);
}

/* Legacy slider shell (kept for any residual markup) */
.home-hero-slide {
    background-color: #064e3b;
    background-image: linear-gradient(to right, #064e3b, #065f46);
}

/* -------------------------------------------------------------------------
   Disease-first hero
   ------------------------------------------------------------------------- */
.saathora-hero {
    color: #f4f7f5;
}

/* Mobile: natural height so stacked search fields are not clipped */
.saathora-hero__stage {
    min-height: 0;
    padding-top: 1.75rem;
    padding-bottom: 1.85rem;
}

@media (min-width: 768px) {
    .saathora-hero__stage {
        min-height: min(52svh, 420px);
        padding-top: 1.75rem;
        padding-bottom: 1.85rem;
    }
}

@media (min-width: 1024px) {
    .saathora-hero__stage {
        min-height: min(48svh, 400px);
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.saathora-hero__media {
    z-index: 0;
}

.saathora-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.06);
    animation: saathora-hero-ken 22s ease-in-out infinite alternate;
}

.saathora-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 40, 30, 0.72) 0%, rgba(6, 48, 36, 0.78) 42%, rgba(10, 36, 28, 0.9) 100%),
        radial-gradient(ellipse 80% 55% at 50% 0%, rgba(16, 185, 129, 0.22), transparent 70%);
}

.saathora-hero__grain {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.saathora-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.saathora-hero__brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.15rem);
    letter-spacing: -0.045em;
    line-height: 0.92;
    color: #ffffff;
    margin: 0;
    opacity: 0;
    animation: saathora-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.saathora-hero__title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: rgba(236, 253, 245, 0.96);
    margin: 0 auto;
    max-width: 28ch;
    opacity: 0;
    animation: saathora-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.saathora-hero__subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(0.85rem, 1.35vw, 0.98rem);
    line-height: 1.4;
    color: rgba(209, 250, 229, 0.86);
    margin: 0.4rem auto 0;
    max-width: 34ch;
    opacity: 0;
    animation: saathora-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.saathora-hero__search {
    position: relative;
    z-index: 30;
    width: 100%;
    opacity: 0;
    animation: saathora-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.saathora-hero__search-row {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0.95rem;
    overflow: visible;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

@media (min-width: 768px) {
    .saathora-hero__search-row {
        flex-direction: row;
        align-items: stretch;
    }
}

.saathora-hero__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 0.95rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .saathora-hero__field {
        padding: 0.65rem 0.9rem;
    }
}

.saathora-hero__field--city {
    border-bottom: 1px solid #e7e5e4;
    padding-right: 0.65rem;
    z-index: 2;
}

@media (min-width: 768px) {
    .saathora-hero__field--city {
        width: 34%;
        border-bottom: 0;
        border-right: 1px solid #e7e5e4;
    }
}

.saathora-hero__city-clear {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #e7e5e4;
    color: #57534e;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.saathora-hero__city-clear:hover {
    background: #d6d3d1;
    color: #1c1917;
}

.saathora-hero__city-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 0.9rem;
    box-shadow: 0 16px 40px rgba(28, 25, 23, 0.16);
    max-height: min(16rem, 50vh);
    overflow-y: auto;
    z-index: 50;
    isolation: isolate;
}

@media (max-width: 767.98px) {
    .saathora-hero__city-panel,
    .saathora-hero__suggest {
        left: 0;
        right: 0;
        max-height: min(14rem, 42vh);
    }
}

.saathora-hero__city-action {
    width: 100%;
    display: block;
    text-align: left;
    padding: 0.65rem 0.95rem;
    border: 0;
    border-bottom: 1px solid #f5f5f4;
    background: #ffffff;
    color: #059669;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.saathora-hero__city-action:hover:not(:disabled) {
    background: #ecfdf5;
}

.saathora-hero__city-action:disabled {
    opacity: 0.55;
    cursor: wait;
}

.saathora-hero__city-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
    padding: 0.55rem 0.95rem;
    border: 0;
    border-bottom: 1px solid #f5f5f4;
    background: #ffffff;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    color: #292524;
    transition: background-color 0.15s ease;
}

.saathora-hero__city-item:last-child {
    border-bottom: 0;
}

.saathora-hero__city-item:hover {
    background: #ecfdf5;
}

.saathora-hero__city-item-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #f5f5f4;
    color: #78716c;
}

.saathora-hero__city-item-name {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.25;
    color: #1c1917;
}

.saathora-hero__city-item-meta {
    display: block;
    margin-top: 0.08rem;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.2;
    color: #a8a29e;
}

.saathora-hero__city-empty {
    margin: 0;
    padding: 0.75rem 0.95rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: #a8a29e;
}

.saathora-hero__field-icon {
    color: #78716c;
    flex-shrink: 0;
}

.saathora-hero__control {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; /* prevents iOS zoom on focus */
    font-weight: 600;
    color: #1c1917;
    appearance: none;
    -webkit-appearance: none;
}

@media (min-width: 768px) {
    .saathora-hero__control {
        font-size: 0.95rem;
    }
}

.saathora-hero__control::placeholder {
    color: #a8a29e;
    font-weight: 500;
}

.saathora-hero__control:focus {
    outline: none;
    box-shadow: none;
}

.saathora-hero__submit {
    margin: 0.55rem;
    border: 0;
    border-radius: 0.75rem;
    background: #059669;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.85rem 1.15rem;
    min-height: 2.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .saathora-hero__submit {
        margin: 0.45rem;
        font-size: 0.86rem;
        padding: 0.72rem 1.15rem;
        min-height: 0;
    }
}

.saathora-hero__submit:hover {
    background: #047857;
    transform: translateY(-1px);
}

.saathora-hero__submit:active {
    transform: translateY(0);
}

.saathora-hero__suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 0.9rem;
    box-shadow: 0 16px 40px rgba(28, 25, 23, 0.16);
    max-height: 18rem;
    overflow-y: auto;
    z-index: 40;
}

.saathora-hero__suggest-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    padding: 0.8rem 1rem;
    border: 0;
    border-bottom: 1px solid #f5f5f4;
    background: #ffffff;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: #292524;
    transition: background-color 0.15s ease;
}

.saathora-hero__suggest-item:last-child {
    border-bottom: 0;
}

.saathora-hero__suggest-item:hover {
    background: #ecfdf5;
}

.saathora-hero__suggest-type {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
}

.saathora-hero__suggest-type.is-disease {
    background: #ecfdf5;
    color: #047857;
}

.saathora-hero__suggest-type.is-spec {
    background: #f0fdf4;
    color: #166534;
}

.saathora-hero__suggest-type.is-doctor {
    background: #f0f9ff;
    color: #0369a1;
}

.saathora-hero__location-msg {
    margin: 0.55rem auto 0;
    max-width: 40rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.75rem;
    padding: 0.5rem 0.8rem;
    border-radius: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: center;
}

.saathora-hero__location-msg.is-info {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ecfdf5;
}

.saathora-hero__location-msg.is-success {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(167, 243, 208, 0.45);
    color: #ecfdf5;
}

.saathora-hero__location-msg.is-warn {
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(252, 211, 77, 0.45);
    color: #fffbeb;
}

.saathora-hero__location-retry {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.saathora-hero__location-retry:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
}

.saathora-hero__quick {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.45rem;
    margin: 0.95rem auto 0;
    max-width: 100%;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(209, 250, 229, 0.82);
    opacity: 0;
    animation: saathora-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.saathora-hero__quick-label {
    flex-shrink: 0;
    font-weight: 600;
    color: rgba(167, 243, 208, 0.9);
}

.saathora-hero__quick-list {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.2rem 0.15rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .saathora-hero__quick,
    .saathora-hero__quick-list {
        flex-wrap: nowrap;
    }

    .saathora-hero__quick-list {
        white-space: nowrap;
    }
}

.saathora-hero__quick-link {
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(167, 243, 208, 0.45);
    text-underline-offset: 0.2em;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
    white-space: nowrap;
}

.saathora-hero__quick-link:hover {
    color: #a7f3d0;
    text-decoration-color: #a7f3d0;
}

.saathora-hero__quick-sep {
    margin: 0 0.35rem;
    color: rgba(167, 243, 208, 0.45);
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Booking pathway
   ------------------------------------------------------------------------- */
.saathora-path {
    background: #ffffff;
    border-bottom: 1px solid #e7e5e4;
}

.saathora-path__inner {
    width: 100%;
    max-width: 68rem;
    margin: 0 auto;
    padding: 1.75rem 1.15rem 1.9rem;
}

@media (min-width: 640px) {
    .saathora-path__inner {
        padding: 1.65rem 2rem 1.85rem;
    }
}

@media (min-width: 1024px) {
    .saathora-path__inner {
        padding: 1.85rem 3rem 2rem;
    }
}

.saathora-path__intro {
    max-width: 56rem;
    margin: 0 auto 1.25rem;
    text-align: center;
    padding: 0 0.25rem;
}

@media (min-width: 768px) {
    .saathora-path__intro {
        margin-bottom: 1.35rem;
        padding: 0;
    }
}

.saathora-path__title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 2.1vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: #1c1917;
    margin: 0;
    text-align: center;
}

.saathora-path__subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    font-weight: 400;
    line-height: 1.45;
    color: #78716c;
    margin: 0.45rem auto 0;
    max-width: 36ch;
    text-align: center;
    white-space: normal;
}

@media (min-width: 768px) {
    .saathora-path__subtitle {
        max-width: none;
        white-space: nowrap;
    }
}

.saathora-path__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    align-items: start;
}

@media (min-width: 768px) {
    .saathora-path__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .saathora-path__steps {
        gap: 1.15rem 2rem;
    }
}

.saathora-path__step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    width: 100%;
    margin: 0;
}

.saathora-path__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #065f46;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    margin: 0;
    flex-shrink: 0;
}

.saathora-path__body {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.saathora-path__step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: #1c1917;
    margin: 0.15rem 0 0.3rem;
    text-align: left;
}

.saathora-path__step-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #78716c;
    margin: 0;
    max-width: none;
    text-align: left;
}

/* -------------------------------------------------------------------------
   Disease cards
   ------------------------------------------------------------------------- */
.saathora-disease-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e7e5e4;
    border-radius: 1.15rem;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.saathora-disease-card:hover {
    border-color: #6ee7b7;
    box-shadow: 0 14px 32px rgba(5, 150, 105, 0.14);
    transform: translateY(-3px);
}

.saathora-disease-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 0.85rem 0.35rem;
    box-sizing: border-box;
}

.saathora-disease-card__img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.saathora-disease-card__img--cover {
    object-fit: cover;
}

.saathora-disease-card__media:has(.saathora-disease-card__img--cover) {
    padding: 0;
}

.saathora-hospital-card__media {
    border-radius: 0;
    aspect-ratio: 16 / 10;
}

.saathora-disease-card:hover .saathora-disease-card__img {
    transform: scale(1.02);
}

.saathora-disease-card__fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ecfdf5, #f0fdf4);
    border-radius: 0.75rem;
    color: #047857;
    font-size: 2.5rem;
}

.saathora-disease-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 1rem 1.1rem 1.15rem;
}

.saathora-disease-card__title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: #1c1917;
    transition: color 0.15s ease;
}

.saathora-disease-card:hover .saathora-disease-card__title {
    color: #047857;
}

.saathora-disease-card__spec {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    color: #78716c;
}

.saathora-disease-card__spec-label {
    font-weight: 600;
    color: #059669;
}

.saathora-disease-card__spec-label::after {
    content: ': ';
    color: #059669;
}

.saathora-disease-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.55rem 0.95rem;
    border-radius: 0.7rem;
    background: #059669;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.15s ease;
}

.saathora-disease-card:hover .saathora-disease-card__cta {
    background: #047857;
}

/* -------------------------------------------------------------------------
   Shared section buttons
   ------------------------------------------------------------------------- */
.saathora-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    background: #059669;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.saathora-btn:hover {
    background: #047857;
    color: #ffffff;
}

.saathora-btn--outline {
    background: #ffffff;
    color: #059669;
    border-color: #059669;
}

.saathora-btn--outline:hover {
    background: #ecfdf5;
    color: #047857;
    border-color: #047857;
}

.saathora-btn--sm {
    padding: 0.55rem 0.95rem;
    font-size: 0.75rem;
}

.saathora-btn--block {
    width: 100%;
}

.saathora-disease-card__cta {
    /* keep disease CTA aligned to shared primary */
    background: #059669;
}

@keyframes saathora-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes saathora-hero-ken {
    from {
        transform: scale(1.06) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.12) translate3d(-1.5%, -1%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .saathora-hero__img,
    .saathora-hero__brand,
    .saathora-hero__title,
    .saathora-hero__subtitle,
    .saathora-hero__search,
    .saathora-hero__quick {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
