/* ===== About section (#about) — Anil Ambulance ===== */
.ah-about {
    --ah-navy: #0b2545;
    --ah-red: #e0182d;
    --ah-red-dark: #b80f21;
    --ah-green: #1fa855;
    --ah-line: #e3e9f1;
    --ah-muted: #5b6878;
    padding: 56px 0;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
}

/* ---------- Photos: main + inset ---------- */
.ah-about-media { position: relative; max-width: 600px; margin: 0 auto; padding: 0 0 56px; }
.ah-about-media::before {
    content: ""; position: absolute; z-index: 0; left: -22px; bottom: 22px; width: 58%; height: 62%;
    border-radius: 28px; background: linear-gradient(135deg, #fdecee, #fff5f6);
}
.ah-about-media::after {
    content: ""; position: absolute; z-index: 0; right: 2%; top: -22px; width: 120px; height: 96px;
    background-image: radial-gradient(rgba(224, 24, 45, .32) 1.7px, transparent 1.7px); background-size: 15px 15px;
}
.ah-about-main { position: relative; z-index: 1; }
.ah-about-main::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 37, 69, .12), transparent 30%, transparent 65%, rgba(11, 37, 69, .35));
}
.ah-about-main {
    width: 88%; aspect-ratio: 4 / 3.6; overflow: hidden; border-radius: 24px;
    box-shadow: 0 30px 60px -28px rgba(11, 37, 69, .45);
}
.ah-about-main img, .ah-about-inset img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ah-about-main:hover img, .ah-about-inset:hover img { transform: scale(1.05); }
.ah-about-inset-wrap { position: absolute; right: 0; bottom: 0; z-index: 2; width: 46%; }
.ah-about-inset {
    position: relative;
    width: 100%; aspect-ratio: 4 / 4.6; overflow: hidden;
    border: 8px solid #fff; border-radius: 22px; background: #fff;
    box-shadow: 0 24px 50px -20px rgba(11, 37, 69, .45);
}
.ah-about-inset img { border-radius: 14px; }

/* rotating "24x7 emergency" seal */
.ah-about-ring {
    position: absolute; z-index: 4; left: -52px; top: -52px; width: 112px; height: 112px;
    display: grid; place-items: center; border-radius: 50%;
    background: var(--ah-navy); color: #fff; text-decoration: none;
    box-shadow: 0 0 0 6px #fff, 0 20px 40px -14px rgba(11, 37, 69, .6);
    transition: transform .3s ease;
}
.ah-about-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: ah-about-spin 16s linear infinite; }
.ah-about-ring text { fill: #fff; font-family: 'Montserrat', sans-serif; font-size: 10.4px; font-weight: 700; letter-spacing: 1.6px; }
.ah-about-ring i {
    position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(180deg, #ef3447, var(--ah-red)); font-size: 19px;
    animation: ah-about-pulse 2s ease-out infinite;
}
.ah-about-ring:hover { transform: scale(1.06); color: #fff; }
.ah-about-ring:focus-visible { outline: 2px solid var(--ah-red); outline-offset: 8px; }
@keyframes ah-about-spin { to { transform: rotate(360deg); } }
@keyframes ah-about-pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 24, 45, .6); } 100% { box-shadow: 0 0 0 14px rgba(224, 24, 45, 0); } }

.ah-about-badge {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
    padding: 12px 20px 12px 12px; border-radius: 16px; background: #fff;
    box-shadow: 0 20px 40px -16px rgba(11, 37, 69, .4);
}
.ah-about-badge i {
    flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    font-size: 19px;
}
.ah-about-badge span { display: flex; flex-direction: column; color: var(--ah-muted); font-size: 13px; font-weight: 500; line-height: 1.35; }
.ah-about-badge strong { display: flex; align-items: center; gap: 6px; color: var(--ah-navy); font-size: 16px; font-weight: 700; }
.ah-about-badge em { font-style: normal; color: #ffb400; font-size: 12px; letter-spacing: 1px; }
.ah-about-badge--place { left: 6%; bottom: 20px; }
.ah-about-badge--place i { background: linear-gradient(180deg, #ef3447, var(--ah-red)); color: #fff; }
.ah-about-badge--rating { left: 20px; top: 20px; padding: 8px 14px 8px 8px; gap: 10px; }
.ah-about-badge--rating i { width: 36px; height: 36px; background: #f1f4f8; color: #4285f4; font-size: 16px; }
.ah-about-badge--rating strong { font-size: 14px; }
.ah-about-badge--rating span { font-size: 11.5px; }

/* ---------- Copy ---------- */
.ah-about-eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    color: var(--ah-red); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ah-about-eyebrow::before { content: ""; width: 42px; height: 3px; border-radius: 3px; background: var(--ah-red); }
.ah-about-title {
    margin: 16px 0 0; color: var(--ah-navy);
    font-size: clamp(28px, 3vw, 42px); font-weight: 800; line-height: 1.18; letter-spacing: -.02em;
}
.ah-about-title span { display: block; width: fit-content; position: relative; isolation: isolate; color: var(--ah-red); }
.ah-about-title span::after {
    content: ""; position: absolute; left: 0; right: 4px; bottom: -.16em; height: .24em; z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 70 3, 170 1, 297 6' fill='none' stroke='%23ffb3bb' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.ah-about-lead { margin: 0; padding: 18px 0 26px; color: var(--ah-muted); font-size: 16.5px; line-height: 1.75; }

.ah-about-points {
    list-style: none; margin: 0 !important; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px;
}
.ah-about-points li { transition: transform .2s ease; }
.ah-about-points li:hover { transform: translateX(3px); }
.ah-about-points li:hover i { background: var(--ah-red); color: #fff; }
.ah-about-points li { display: flex; align-items: center; gap: 14px; color: var(--ah-navy); font-size: 15px; font-weight: 600; line-height: 1.35; }
.ah-about-points i {
    flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
    background: #fdecee; color: var(--ah-red); font-size: 17px;
    transition: background .2s ease, color .2s ease;
}

/* 3 steps */
.ah-about-steps {
    list-style: none; margin: 28px 0 0 !important; padding: 22px 24px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    border: 1px solid var(--ah-line); border-radius: 18px; background: #fff;
    box-shadow: 0 18px 40px -28px rgba(11, 37, 69, .45);
}
.ah-about-steps li { position: relative; display: flex; flex-direction: column; }
.ah-about-steps b {
    position: relative; z-index: 1; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%;
    display: grid; place-items: center; background: linear-gradient(180deg, #ef3447, var(--ah-red)); color: #fff;
    font-size: 15px; font-weight: 800; box-shadow: 0 0 0 5px #fdecee;
}
.ah-about-steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 18px; left: 50px; right: -8px;
    border-top: 2px dashed #f3b5bc;
}
.ah-about-steps li:hover b { transform: scale(1.1); }
.ah-about-steps b { transition: transform .2s ease; }
.ah-about-steps strong { color: var(--ah-navy); font-size: 15px; font-weight: 700; }
.ah-about-steps span { margin-top: 3px; color: var(--ah-muted); font-size: 13px; line-height: 1.4; }

/* ---------- CTA ---------- */
.ah-about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.ah-about-book {
    height: 58px; padding: 0 28px; border: 0; border-radius: 12px;
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(180deg, #ef3447, var(--ah-red) 70%); color: #fff;
    font-family: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 28px -14px rgba(224, 24, 45, .9);
    transition: transform .2s ease, background .2s ease;
}
.ah-about-book i { font-size: 18px; transition: transform .2s ease; }
.ah-about-book:hover { background: linear-gradient(180deg, var(--ah-red), var(--ah-red-dark)); transform: translateY(-2px); }
.ah-about-book:hover i { transform: translateX(4px); }
.ah-about-call { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.ah-about-call i {
    flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: #fdecee; color: var(--ah-red); font-size: 19px;
    transition: background .2s ease, color .2s ease;
    animation: ah-about-ring 3s ease-in-out infinite;
}
.ah-about-call span { display: flex; flex-direction: column; color: var(--ah-muted); font-size: 14px; font-weight: 500; line-height: 1.3; }
.ah-about-call strong { color: var(--ah-navy); font-size: 21px; font-weight: 800; letter-spacing: .01em; }
.ah-about-call:hover i { background: var(--ah-red); color: #fff; }
.ah-about-call:hover strong { color: var(--ah-red); }
.ah-about-book:focus-visible, .ah-about-call:focus-visible { outline: 2px solid var(--ah-navy); outline-offset: 3px; border-radius: 12px; }
.ah-about-book:active { transform: scale(.98); }
@keyframes ah-about-ring {
    0%, 80%, 100% { transform: rotate(0); }
    84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); }
}

/* ---------- Scroll reveal (progressive) ---------- */
@supports (animation-timeline: view()) {
    .ah-about-media, .ah-about .col-lg-6 > :not(.ah-about-media) {
        animation: ah-about-rise linear both;
        animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
    @keyframes ah-about-rise { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ah-about { padding: 48px 0; }
    .ah-about-media { max-width: 520px; }
    .ah-about .row { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 575.98px) {
    .ah-about { padding: 40px 0; }
    .ah-about-media { padding-bottom: 40px; }
    .ah-about-main { width: 90%; border-radius: 18px; }
    .ah-about-inset-wrap { width: 48%; }
    .ah-about-inset { border-width: 6px; border-radius: 18px; }
    .ah-about-inset img { border-radius: 12px; }
    .ah-about-badge--place { left: 0; bottom: 8px; padding: 8px 12px 8px 8px; gap: 9px; }
    .ah-about-badge--place i { width: 34px; height: 34px; font-size: 15px; }
    .ah-about-badge strong { font-size: 14px; }
    .ah-about-badge span { font-size: 11.5px; }
    .ah-about-badge--rating { left: 12px; top: 12px; }
    .ah-about-ring { width: 84px; height: 84px; left: -30px; top: -34px; box-shadow: 0 0 0 4px #fff, 0 14px 30px -12px rgba(11, 37, 69, .6); }
    .ah-about-ring i { width: 36px; height: 36px; font-size: 15px; }
    .ah-about-ring text { font-size: 10.6px; letter-spacing: 1.2px; }
    .ah-about-eyebrow { font-size: 12px; gap: 10px; }
    .ah-about-eyebrow::before { width: 30px; }
    .ah-about-lead { font-size: 15.5px; }
    .ah-about-points { grid-template-columns: 1fr; gap: 12px; }
    .ah-about-points li { font-size: 14.5px; }
    .ah-about-steps { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
    .ah-about-steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
    .ah-about-steps b { grid-row: span 2; margin: 0; }
    .ah-about-steps li:not(:last-child)::after { top: 42px; bottom: -14px; left: 17px; right: auto; border-top: 0; border-left: 2px dashed #f3b5bc; }
    .ah-about-cta { flex-direction: column; align-items: stretch; }
    .ah-about-book { justify-content: center; }
    .ah-about-call { justify-content: center; }
    .ah-about-title { font-size: min(30px, 6.1vw); line-height: 1.22; }
    .ah-about-title span { white-space: nowrap; margin-top: 2px; }
    .ah-about-book { height: 54px; white-space: nowrap; }
    .ah-about-call {
        padding: 10px 14px; border: 1px solid var(--ah-line); border-radius: 14px; background: #fff;
        box-shadow: 0 8px 20px -16px rgba(11, 37, 69, .5);
    }
    .ah-about-call i { width: 44px; height: 44px; font-size: 17px; }
    .ah-about-call span { font-size: 13px; }
    .ah-about-call strong { font-size: 19px; white-space: nowrap; }
    .ah-about-media::before { left: -10px; }
    .ah-about-media::after { top: -14px; width: 80px; height: 66px; }
}
@media (prefers-reduced-motion: reduce) {
    .ah-about svg, .ah-about *, .ah-about-media, .ah-about .col-lg-6 > * { animation: none !important; transition: none !important; }
}
