/*
 * Public landing page. Custom markup by design: Metronic's landing template
 * has no pattern for a photographic hero with an overlaid stat strip, and
 * CLAUDE.md 3.3 permits custom structure where the theme does not fit.
 *
 * --ddhc-accent is the programme accent (Settings), injected inline by the
 * page, so a recoloured programme recolours the landing too.
 */
.ddhc-landing { --ink: #0f2a2e; --soft: #f4f8f7; scroll-behavior: smooth; }
.ddhc-landing h1, .ddhc-landing h2, .ddhc-landing h3 { letter-spacing: -.01em; }

/* ---- Nav ---- */
.ddhc-nav { position: absolute; inset: 0 0 auto 0; z-index: 5; padding: 1.25rem 0; }
.ddhc-brand { color: #fff; font-weight: 700; font-size: 1.35rem; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.ddhc-brand .mark { width: 2.1rem; height: 2.1rem; border-radius: .6rem; background: #fff; color: var(--ddhc-accent); display: grid; place-items: center; font-weight: 800; font-size: 1rem; }

/* ---- Hero ---- */
.ddhc-hero { position: relative; min-height: 640px; color: #fff; display: flex; align-items: center; overflow: hidden; background: var(--ddhc-accent); }
.ddhc-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
/* Left-weighted scrim: the photo's calm wall sits under the copy, the faces stay clear. */
.ddhc-hero::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6, 36, 40, .94) 0%, rgba(6, 36, 40, .82) 28%, rgba(6, 36, 40, .35) 55%, rgba(6, 36, 40, 0) 75%),
                linear-gradient(0deg, rgba(6, 36, 40, .55) 0%, rgba(6, 36, 40, 0) 35%); }
.ddhc-hero .container { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 8rem; }
.ddhc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.08; font-weight: 800; max-width: 14ch; margin-bottom: 1.25rem; color: #fff; }
.ddhc-hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34rem; opacity: .9; line-height: 1.55; }
.ddhc-cta { display: inline-flex; align-items: center; gap: .6rem; background: #fff; color: var(--ink); font-weight: 700; padding: 1rem 2rem; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .15s ease, box-shadow .15s ease; }
.ddhc-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); color: var(--ink); }
.ddhc-price { margin-top: 1rem; opacity: .85; font-size: .95rem; }

/* ---- Stat strip overlapping the hero ---- */
.ddhc-stats { position: relative; z-index: 3; margin-top: -4.5rem; }
.ddhc-stats .strip { background: #fff; border-radius: 1.25rem; box-shadow: 0 20px 50px rgba(15, 42, 46, .14); display: grid; grid-template-columns: repeat(3, 1fr); }
.ddhc-stats .cell { padding: 1.75rem 1rem; text-align: center; }
.ddhc-stats .cell + .cell { border-left: 1px solid #e6eeec; }
.ddhc-stats .num { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--ddhc-accent); line-height: 1.1; }
.ddhc-stats .label { color: #5b6f73; font-weight: 600; font-size: .95rem; }

/* ---- Sections ---- */
.ddhc-section { padding: 5.5rem 0; }
.ddhc-section.tint { background: var(--soft); }
.ddhc-eyebrow { color: var(--ddhc-accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.ddhc-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--ink); }

/* Benefit cards with a photograph */
.ddhc-benefit { background: #fff; border-radius: 1.25rem; overflow: hidden; height: 100%; box-shadow: 0 6px 24px rgba(15, 42, 46, .08); transition: transform .2s ease, box-shadow .2s ease; }
.ddhc-benefit:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 42, 46, .14); }
.ddhc-benefit img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.ddhc-benefit .body { padding: 1.5rem 1.6rem 1.8rem; }
.ddhc-benefit h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.ddhc-benefit p { color: #53676b; margin: 0; line-height: 1.6; }

/* Steps */
.ddhc-step { text-align: left; position: relative; padding-top: 1rem; }
.ddhc-step .n { width: 3rem; height: 3rem; border-radius: 50%; background: var(--ddhc-accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 1rem; }
.ddhc-step h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.ddhc-step p { color: #53676b; line-height: 1.6; }

/* Coverage band over the village photograph */
.ddhc-band { position: relative; color: #fff; overflow: hidden; background: #0b3b3f; }
.ddhc-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ddhc-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 36, 40, .9), rgba(6, 36, 40, .55) 60%, rgba(6, 36, 40, .25)); }
.ddhc-band .container { position: relative; z-index: 2; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.ddhc-band .big { font-size: clamp(3rem, 9vw, 6rem); font-weight: 800; line-height: 1; }

/* Hospitals */
.ddhc-hospital-photo { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 12px 36px rgba(15, 42, 46, .16); }
.ddhc-hospital { background: #fff; border: 1px solid #e3ecea; border-radius: .9rem; padding: 1rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.ddhc-hospital .name { font-weight: 700; color: var(--ink); }
.ddhc-hospital .where { color: #6b7d80; font-size: .85rem; }
.ddhc-badge { background: #e3f6ee; color: #107a52; font-weight: 700; font-size: .8rem; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }

/* Footer */
.ddhc-footer { background: #0b1f22; color: #fff; padding: 2.25rem 0; }
.ddhc-footer a { color: #fff; opacity: .8; text-decoration: none; }
.ddhc-footer a:hover { opacity: 1; }

@media (max-width: 767.98px) {
    .ddhc-hero { min-height: 560px; }
    .ddhc-hero > img { object-position: 70% 40%; }
    .ddhc-hero::after { background: linear-gradient(180deg, rgba(6, 36, 40, .82) 0%, rgba(6, 36, 40, .72) 55%, rgba(6, 36, 40, .5) 100%); }
    .ddhc-stats .strip { grid-template-columns: 1fr; }
    .ddhc-stats .cell + .cell { border-left: 0; border-top: 1px solid #e6eeec; }
    .ddhc-section { padding: 3.5rem 0; }
}
