/* =========================================================
   MHP CORPORATE REDESIGN (v1.0)
   Loaded after style.css. Keeps MHP corporate teal palette.
   ========================================================= */

:root {
    --mhp-navy: #0B1F2A;
    --mhp-ink: #0F172A;
    --mhp-line: rgba(15, 118, 110, 0.14);
    --header-h: 90px;
}

/* ---------- Header: always solid, clean ---------- */
header.header-solid,
header.header-transparent {
    background-color: #ffffff;
    box-shadow: none;
    border-bottom: 1px solid var(--mhp-line);
}
header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06); }

.nav-menu.nav-corporate { gap: 2.5rem; }
.nav-menu.nav-corporate .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.2px;
    color: var(--mhp-ink);
    padding: 0.5rem 0;
    background: none !important;
}
.nav-menu.nav-corporate .nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.nav-menu.nav-corporate .nav-link:hover,
.nav-menu.nav-corporate .nav-link.active { color: var(--secondary); }
.nav-menu.nav-corporate .nav-link:hover::after,
.nav-menu.nav-corporate .nav-link.active::after { transform: scaleX(1); }

@media (max-width: 1150px) {
    .nav-menu.nav-corporate { gap: 1.25rem; }
    .nav-menu.nav-corporate .nav-link { font-size: 1.1rem; }
}

/* ---------- Shared corporate typography ---------- */
.c-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}
.c-eyebrow::before {
    content: '';
    width: 28px; height: 2px;
    background: currentColor;
}
.c-eyebrow.light { color: #5EEAD4; }

.c-title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--mhp-ink);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
}
.c-lead {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.c-section { padding: 7rem 0; }
.c-section.tint { background: #F6FAFA; }
.c-section-head {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.c-section-head .c-eyebrow::before { display: none; }

.c-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
}
.c-link i, .c-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.c-link:hover i, .c-link:hover svg { transform: translateX(4px); }

.c-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.9rem;
    border-radius: 2px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    border: 1px solid var(--secondary);
    background: var(--secondary);
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.c-btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.c-btn i, .c-btn svg { width: 16px; height: 16px; }
.c-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.c-btn.ghost:hover { background: #fff; color: var(--secondary); border-color: #fff; }
.c-btn.outline { background: transparent; color: var(--secondary); }
.c-btn.outline:hover { background: var(--secondary); color: #fff; }

/* ---------- HERO SLIDER (Home) ---------- */
.c-hero {
    position: relative;
    margin-top: var(--header-h);
    height: calc(100vh - var(--header-h));
    min-height: 560px;
    max-height: 820px;
    overflow: hidden;
    background: var(--mhp-navy);
    color: #fff;
}
.c-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}
.c-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.c-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 7s ease-out;
}
.c-slide.is-active .c-slide-bg { transform: scale(1); }
.c-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 28, 36, 0.88) 0%, rgba(8, 28, 36, 0.62) 38%, rgba(8, 28, 36, 0.15) 70%, rgba(8, 28, 36, 0.05) 100%);
    z-index: 1;
}
.c-slide .container { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.c-slide-content { max-width: 620px; padding-bottom: 4rem; }
.c-slide-content .c-eyebrow { color: #5EEAD4; }
.c-slide-content h1,
.c-slide-content h2 {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}
.c-slide-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 520px;
}
.c-slide-content > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.c-slide.is-active .c-slide-content > * { opacity: 1; transform: none; }
.c-slide.is-active .c-slide-content > *:nth-child(2) { transition-delay: 0.15s; }
.c-slide.is-active .c-slide-content > *:nth-child(3) { transition-delay: 0.3s; }
.c-slide.is-active .c-slide-content > *:nth-child(4) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    .c-slide, .c-slide-bg, .c-slide-content > * { transition: none !important; }
    .c-slide-bg { transform: none !important; }
    .c-hero-tab.is-active::before { animation: none; width: calc(100% - 1.5rem); }
}

/* Arrows */
.c-hero-arrows {
    position: absolute;
    right: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
    bottom: 6.5rem;
    z-index: 6;
    display: flex;
    gap: 0.6rem;
}
.c-hero-arrow {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(8, 28, 36, 0.25);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.c-hero-arrow:hover { background: #fff; color: var(--secondary); border-color: #fff; }
.c-hero-arrow i, .c-hero-arrow svg { width: 20px; height: 20px; }
@media (max-width: 768px) {
    .c-hero-arrows { display: none; } /* swipe + numbered dots on mobile */
}

/* Placeholder state (shown only if the slide photo file is missing) */
.c-slide-bg.is-placeholder { background-image: linear-gradient(135deg, #0B3B3A 0%, #0F766E 55%, #14B8A6 100%) !important; }
.c-placeholder-tag {
    display: none;
    position: absolute;
    right: 2rem; top: 2rem;
    z-index: 4;
    padding: 0.4rem 0.8rem;
    border: 1px dashed rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}
.c-slide-bg.is-placeholder ~ .c-placeholder-tag { display: block; }

/* Slider tabs (IHH-style numbered nav) */
.c-hero-nav {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(0deg, rgba(8, 28, 36, 0.55), rgba(8, 28, 36, 0));
}
.c-hero-nav .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.c-hero-tab {
    position: relative;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    padding: 1.4rem 1.5rem 1.6rem 0;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}
.c-hero-tab .num { display: block; font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 0.3rem; }
.c-hero-tab .lbl { font-size: 0.95rem; font-weight: 500; }
.c-hero-tab::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    height: 2px;
    width: 0;
    background: #5EEAD4;
}
.c-hero-tab:hover, .c-hero-tab.is-active { color: #fff; }
.c-hero-tab.is-active::before { animation: c-progress var(--slide-ms, 6500ms) linear forwards; }
.c-hero.is-paused .c-hero-tab.is-active::before { animation-play-state: paused; }
@keyframes c-progress { from { width: 0; } to { width: calc(100% - 1.5rem); } }

@media (max-width: 768px) {
    :root { --header-h: 80px; }
    .c-hero { min-height: 600px; max-height: none; height: 88vh; }
    .c-slide::after { background: linear-gradient(0deg, rgba(8,28,36,0.92) 0%, rgba(8,28,36,0.55) 60%, rgba(8,28,36,0.25) 100%); }
    .c-slide .container { align-items: flex-end; }
    .c-slide-content { padding-bottom: 7rem; }
    .c-hero-tab .lbl { display: none; }
    .c-hero-tab { padding: 1.1rem 0 1.3rem; }
    .c-placeholder-tag { top: 1rem; right: 1rem; }
}

/* ---------- WHO WE ARE ---------- */
.c-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.c-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #E6F2F1;
}
.c-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s ease; }
.c-media:hover img { transform: scale(1.04); }
.c-media.framed::after {
    content: '';
    position: absolute;
    inset: 1.25rem;
    border: 1px solid rgba(255,255,255,0.55);
    pointer-events: none;
}
.c-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2.5rem;
    border-top: 1px solid var(--mhp-line);
}
.c-stat { padding: 1.5rem 1rem 0 0; }
.c-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.1;
}
.c-stat span { font-size: 0.88rem; color: var(--text-light); }

/* ---------- BUSINESS CARDS (Home) ---------- */
.c-biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.c-biz-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    color: #fff;
    background: var(--mhp-navy);
}
.c-biz-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, opacity 0.5s ease; opacity: 0.9; }
.c-biz-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 28, 36, 0.92) 0%, rgba(8, 28, 36, 0.35) 55%, rgba(8, 28, 36, 0.05) 100%);
}
.c-biz-card:hover img { transform: scale(1.06); }
.c-biz-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.25rem; z-index: 2; }
.c-biz-card-body .idx { font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 2px; color: #5EEAD4; }
.c-biz-card-body h3 { color: #fff; font-size: 1.5rem; font-weight: 600; margin: 0.6rem 0 0.75rem; }
.c-biz-card-body p { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.25rem; }
.c-biz-card-body .c-link { color: #fff; }

/* ---------- COMMITMENT ---------- */
.c-commit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--mhp-line);
    border-left: 1px solid var(--mhp-line);
}
.c-commit {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--mhp-line);
    border-bottom: 1px solid var(--mhp-line);
    background: #fff;
    transition: background 0.3s ease;
}
.c-commit:hover { background: #F0FAF9; }
.c-commit i, .c-commit svg { width: 30px; height: 30px; color: var(--primary); stroke-width: 1.5; margin-bottom: 1.5rem; }
.c-commit h3 { font-size: 1.15rem; font-weight: 600; color: var(--mhp-ink); margin-bottom: 0.75rem; }
.c-commit p { font-size: 0.93rem; line-height: 1.7; margin: 0; color: var(--text-light); }

/* ---------- IMPACT BAND ---------- */
.c-impact-band {
    position: relative;
    padding: 8rem 0;
    color: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.c-impact-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.95) 0%, rgba(17, 94, 89, 0.85) 45%, rgba(8, 28, 36, 0.45) 100%);
}
.c-impact-band .container { position: relative; z-index: 1; }
.c-impact-band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.5px; max-width: 640px; margin-bottom: 1.25rem; }
.c-impact-band p { color: rgba(255,255,255,0.85); max-width: 560px; font-size: 1.08rem; line-height: 1.8; margin-bottom: 2.25rem; }

/* ---------- PAGE HERO (inner pages) ---------- */
.c-page-hero {
    position: relative;
    margin-top: var(--header-h);
    padding: 7rem 0 6rem;
    background: var(--mhp-navy);
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
.c-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 28, 36, 0.92) 0%, rgba(15, 118, 110, 0.7) 60%, rgba(15, 118, 110, 0.35) 100%);
}
.c-page-hero .container { position: relative; z-index: 1; }
.c-page-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -1px; max-width: 760px; margin-bottom: 1.25rem; }
.c-page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; line-height: 1.8; max-width: 620px; margin: 0; }
.c-breadcrumb { font-size: 0.82rem; letter-spacing: 1px; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }
.c-breadcrumb a { color: rgba(255,255,255,0.85); }
.c-breadcrumb a:hover { color: #fff; }

/* ---------- OUR BUSINESSES: alternating rows ---------- */
.c-division { padding: 6rem 0; border-bottom: 1px solid var(--mhp-line); }
.c-division.reverse { background: #F6FAFA; }
.c-division .c-split { gap: 5.5rem; }
.c-division.reverse .c-media { order: 2; }
.c-division-num {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1;
    color: rgba(13, 148, 136, 0.14);
    margin-bottom: 0.5rem;
}
.c-division-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 48px;
    margin-bottom: 1.5rem;
}
.c-division-logo img { max-height: 48px; max-width: 170px; width: auto; object-fit: contain; }
.c-division-logo .brand-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    padding-left: 1rem;
    border-left: 1px solid var(--mhp-line);
}
.c-division-logo .brand-text:first-child { padding-left: 0; border-left: none; }
.c-checklist { list-style: none; margin: 1.75rem 0 2.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1.5rem; }
.c-checklist li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-secondary); }
.c-checklist li i, .c-checklist li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.c-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- OUR IMPACT ---------- */
.c-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.c-pillars.c-pillars-2 { grid-template-columns: repeat(2, 1fr); }
.c-page-hero p.c-page-subtitle { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; color: #5EEAD4; margin-bottom: 1rem; }
.c-pillar { background: #fff; border: 1px solid var(--mhp-line); overflow: hidden; display: flex; flex-direction: column; }
.c-pillar .c-media { aspect-ratio: 16 / 10; }
.c-pillar-body { padding: 2rem; }
.c-pillar-body h3 { font-size: 1.2rem; font-weight: 600; color: var(--mhp-ink); margin-bottom: 0.75rem; }
.c-pillar-body p { font-size: 0.95rem; line-height: 1.7; color: var(--text-light); margin: 0; }

.c-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.c-activity { background: #fff; border: 1px solid var(--mhp-line); }
.c-activity .c-media { aspect-ratio: 4 / 3; }
.c-activity-body { padding: 1.5rem 1.75rem 1.75rem; }
.c-activity-meta { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); margin-bottom: 0.5rem; font-weight: 600; }
.c-activity-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--mhp-ink); margin-bottom: 0.5rem; }
.c-activity-body p { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* Clearly marked photo placeholder */
.c-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
    background: repeating-linear-gradient(45deg, #EEF6F5, #EEF6F5 12px, #E4F0EF 12px, #E4F0EF 24px);
    border: 2px dashed rgba(13, 148, 136, 0.35);
    color: var(--secondary);
    font-size: 0.85rem; font-weight: 600; text-align: center; padding: 1rem;
}
.c-ph i, .c-ph svg { width: 32px; height: 32px; opacity: 0.6; }

.c-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--mhp-ink);
}
.c-quote em { font-style: normal; color: var(--primary); }

/* ---------- CORPORATE FOOTER ---------- */
footer.c-footer {
    background: var(--mhp-navy);
    padding: 5.5rem 0 0;
    border-top: 3px solid var(--primary);
}
.c-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1.2fr;
    gap: 4rem;
    padding-bottom: 4rem;
}
.c-footer-brand img { height: 72px; width: 72px; margin-bottom: 1.5rem; border-radius: 50%; display: block; }
.c-footer-brand p.c-footer-tagline { color: #fff; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500; margin-bottom: 0.75rem; }
.c-footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.c-footer-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); transition: all 0.3s ease; }
.c-footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.c-footer-social svg { width: 18px; height: 18px; }
.c-footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.8; max-width: 420px; }
footer.c-footer h3 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
footer.c-footer h3::after { display: none; }
.c-footer-links { list-style: none; display: grid; gap: 0.8rem; }
.c-footer-links a, .c-footer-contact a { color: rgba(255,255,255,0.75); font-size: 0.95rem; transition: color 0.3s ease; }
.c-footer-links a:hover, .c-footer-contact a:hover { color: #5EEAD4; }
.c-footer-contact { list-style: none; display: grid; gap: 1rem; }
.c-footer-contact li { display: flex; gap: 0.85rem; color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.6; }
.c-footer-contact i, .c-footer-contact svg { width: 18px; height: 18px; color: #5EEAD4; flex-shrink: 0; margin-top: 3px; }
.c-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.c-footer-bottom p { margin: 0; color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.c-footer-bottom nav { display: flex; gap: 1.75rem; }
.c-footer-bottom a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.c-footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .c-split, .c-division .c-split { grid-template-columns: 1fr; gap: 3rem; }
    .c-division.reverse .c-media { order: 0; }
    .c-biz-grid, .c-pillars, .c-gallery { grid-template-columns: 1fr 1fr; }
    .c-commit-grid { grid-template-columns: 1fr 1fr; }
    .c-footer-grid { grid-template-columns: 1fr 1fr; }
    .c-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .c-section, .c-division { padding: 4.5rem 0; }
    .c-biz-grid, .c-pillars, .c-pillars.c-pillars-2, .c-gallery, .c-commit-grid, .c-footer-grid { grid-template-columns: 1fr; }
    .c-biz-card { aspect-ratio: 4 / 3.6; }
    .c-checklist { grid-template-columns: 1fr; }
    .c-stats { grid-template-columns: repeat(3, 1fr); }
    .c-stat strong { font-size: 1.7rem; }
    .c-page-hero { padding: 5rem 0 4.5rem; }
    .c-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   HERO — CARD STYLE (v1.2)
   Rounded inset banner: angled teal panel with text on the left,
   photo on the right, arrows + dots underneath.
   ========================================================= */
.c-hero.c-hero--card {
    height: auto; min-height: 0; max-height: none;
    overflow: visible;
    background: #fff;
    color: var(--mhp-ink);
    padding: 2rem 0 1.5rem;
}
.c-hero--card .container { display: block; height: auto; }
.c-hero-stage {
    position: relative;
    height: clamp(420px, 38vw, 560px);
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
}
.c-hero--card .c-slide { position: absolute; inset: 0; }
.c-hero--card .c-slide::after { display: none; }
.c-slide-photo {
    position: absolute;
    top: 0; bottom: 0; right: 0;
    left: 36%;
    border-radius: 28px;
    overflow: hidden;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 38.5% 100%);
    background: #E6F4F2;
}
.c-hero--card .c-slide-bg { position: absolute; inset: 0; }
.c-slide-panel {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 58%;
    z-index: 2;
    border-radius: 28px;
    background: linear-gradient(135deg, #0F766E 0%, #0D9488 60%, #14B8A6 100%);
    clip-path: polygon(0 0, 72% 0, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
}
.c-hero--card .c-slide-content {
    max-width: 66%;
    padding: 2.5rem 0 2.5rem clamp(1.75rem, 4vw, 3.5rem);
}
.c-hero--card .c-slide-content .c-eyebrow { color: #CCFBF1; }
.c-hero--card .c-slide-content h1,
.c-hero--card .c-slide-content h2 {
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 1.1rem;
}
.c-hero--card .c-slide-content p {
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    color: rgba(255,255,255,0.9);
}
.c-hero--card .c-placeholder-tag { right: 1.5rem; top: 1.5rem; color: var(--secondary); border-color: var(--secondary); }

/* Controls under the banner */
.c-hero-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem clamp(1rem, 6vw, 4rem) 0;
}
.c-hero--card .c-hero-arrow {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--secondary, #0F766E);
    color: #fff;
}
.c-hero--card .c-hero-arrow:hover { background: var(--primary, #14B8A6); color: #fff; }
.c-hero-dots { display: flex; align-items: center; gap: 0.6rem; }
.c-hero--card .c-hero-tab {
    width: 8px; height: 8px;
    padding: 0;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.25);
    transition: width 0.35s ease, background 0.35s ease;
}
.c-hero--card .c-hero-tab::before { display: none; }
.c-hero--card .c-hero-tab.is-active { width: 48px; background: var(--secondary, #0F766E); }

@media (max-width: 768px) {
    .c-hero.c-hero--card { height: auto; padding: 1rem 0 1rem; }
    .c-hero-stage { height: auto; min-height: 620px; border-radius: 20px; }
    .c-slide-photo { left: 0; right: 0; top: 0; bottom: auto; height: 240px; clip-path: none; border-radius: 20px 20px 0 0; }
    .c-slide-panel {
        top: 240px; width: 100%;
        clip-path: none; border-radius: 0 0 20px 20px;
        align-items: flex-start;
    }
    .c-hero--card .c-slide-content { max-width: 100%; padding: 1.75rem 1.5rem; }
    .c-hero--card .c-slide-content h1,
    .c-hero--card .c-slide-content h2 { font-size: 1.9rem; }
    .c-hero-controls { padding: 1rem 0 0; }
    .c-hero--card .c-hero-arrow { width: 44px; height: 44px; display: inline-flex; }
}

/* ---------- HERO: layered background + subject (v1.3) ---------- */
.c-hero--card .c-slide-bg {
    transform: scale(1.12) translateX(2%);
    transition: transform 8s cubic-bezier(.2,.6,.3,1);
}
.c-hero--card .c-slide.is-active .c-slide-bg { transform: scale(1) translateX(0); }
.c-slide-subject {
    position: absolute;
    left: 30%; right: 0; top: 0; bottom: 0;
    width: 70%; height: 100%;
    object-fit: contain;
    object-position: right bottom;
    z-index: 3;
    opacity: 0;
    transform: translateX(8%) scale(1.03);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}
.c-hero--card .c-slide.is-active .c-slide-subject {
    opacity: 1;
    transform: none;
    transition: opacity 1s ease 0.35s, transform 1.2s cubic-bezier(.16,.84,.3,1) 0.35s;
}
.c-slide-subject.is-wide { left: 39%; width: 61%; }
@media (max-width: 768px) {
    .c-slide-subject, .c-slide-subject.is-wide { left: 0; width: 100%; height: 240px; bottom: auto; object-position: center bottom; }
}
@media (prefers-reduced-motion: reduce) {
    .c-slide-subject { transition: none !important; transform: none !important; }
}

/* ---------- HERO: wider banner (v1.6) ---------- */
.c-hero.c-hero--card > .container {
    max-width: 1760px;
    width: 100%;
    padding-left: clamp(1rem, 2.5vw, 2.5rem);
    padding-right: clamp(1rem, 2.5vw, 2.5rem);
}
.c-hero--card .c-hero-stage { height: clamp(440px, 36vw, 640px); }
@media (max-width: 768px) {
    .c-hero--card .c-hero-stage { height: auto; }
}

/* ---------- HERO: full-bleed edge to edge (v1.7) ---------- */
.c-hero.c-hero--card { padding-top: 0; }
.c-hero.c-hero--card > .container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.c-hero--card .c-hero-stage,
.c-hero--card .c-slide-photo,
.c-hero--card .c-slide-panel { border-radius: 0; }
.c-hero--card .c-slide-content {
    max-width: 64%;
    padding-left: clamp(1.5rem, 9vw, 11rem);
}
@media (max-width: 768px) {
    .c-hero.c-hero--card { padding-top: 0; }
    .c-hero-controls { padding: 1rem 1rem 0; }
    .c-hero--card .c-slide-content { max-width: 100%; padding-left: 1.5rem; }
}

/* ---------- Floating contact buttons: MHP teal palette (v1.8) ---------- */
.speed-dial-btn.whatsapp-dial { background-color: #14B8A6; box-shadow: 0 4px 15px rgba(20, 184, 166, 0.35); }
.speed-dial-btn.whatsapp-dial:hover { box-shadow: 0 6px 20px rgba(20, 184, 166, 0.45); }
.speed-dial-btn.phone-dial { background-color: #0D9488; box-shadow: 0 4px 15px rgba(13, 148, 136, 0.35); }
.speed-dial-btn.phone-dial:hover { box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45); }
.speed-dial-toggle { background-color: #0F766E; box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35); }
.speed-dial-container.active .speed-dial-toggle { background-color: #134E4A; box-shadow: 0 6px 20px rgba(19, 78, 74, 0.4); }
/* keep the slider's right arrow clear of the floating button */
@media (min-width: 769px) {
    .c-hero--card .c-hero-controls { padding-right: 7rem; }
}
