/* ============================================================
 *  Global Care — Public marketing styles
 *  Layered on top of app.css. Scoped to body.public.
 * ============================================================ */

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body.public {
    --gc-primary:        #0f766e;
    --gc-primary-dark:   #115e59;
    --gc-primary-deep:   #042f2e;
    --gc-accent:         #f97316;
    --gc-accent-soft:    #fed7aa;
    --gc-gold:           #fbbf24;
    --gc-ink:            #0f172a;
    --gc-ink-soft:       #475569;
    --gc-mist:           #f1f5f9;
    --gc-bg:             #ffffff;
    --gc-border:         #e2e8f0;
    --shadow-sm:         0 1px 2px rgba(15,23,42,.06);
    --shadow-md:         0 6px 20px rgba(15,23,42,.08);
    --shadow-lg:         0 20px 50px rgba(15,23,42,.12);
    --radius-md:         14px;
    --radius-lg:         22px;

    background: var(--gc-bg);
    color: var(--gc-ink);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.public h1, body.public h2, body.public h3 {
    color: var(--gc-ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body.public .container { max-width: 1180px; }

/* ===== HEADER ============================================== */
body.public .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.85rem 0;
}
body.public .site-header .container {
    display: flex; align-items: center; justify-content: space-between;
}
body.public .site-header .brand {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gc-primary) 0%, var(--gc-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}
body.public .site-header nav { display: flex; gap: 0.5rem; align-items: center; }
body.public .site-header nav a {
    color: var(--gc-ink-soft);
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.18s ease;
}
body.public .site-header nav a:hover {
    color: var(--gc-primary-dark);
    background: var(--gc-mist);
}
body.public .site-header nav a:last-child {
    color: #fff;
    background: linear-gradient(135deg, var(--gc-primary) 0%, var(--gc-primary-dark) 100%);
    box-shadow: 0 6px 16px -4px rgba(15, 118, 110, 0.4);
}
body.public .site-header nav a:last-child:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -6px rgba(15, 118, 110, 0.5);
}

/* ===== HERO ================================================ */
body.public .hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 7rem;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(249, 115, 22, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(15, 118, 110, 0.18) 0%, transparent 60%),
        linear-gradient(180deg, #ecfdf5 0%, #ffffff 60%);
}
body.public .hero::before {
    content: '';
    position: absolute;
    top: -160px; right: -160px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
body.public .hero::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

body.public .hero .container { position: relative; z-index: 1; text-align: center; }

body.public .hero .eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.4rem;
    background: rgba(15, 118, 110, 0.08);
    color: var(--gc-primary-dark);
    border: 1px solid rgba(15, 118, 110, 0.15);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
body.public .hero .eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.06); }
}

body.public .hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    margin: 0 0 1.4rem;
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 50%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
}
body.public .hero .lede {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--gc-ink-soft);
    max-width: 680px;
    margin: 0 auto 2.5rem;
}
body.public .hero .cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

body.public .btn-hero {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none; cursor: pointer;
}
body.public .btn-hero.primary {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5);
}
body.public .btn-hero.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -8px rgba(37, 211, 102, 0.6);
}
body.public .btn-hero.ghost {
    background: #fff;
    color: var(--gc-primary-dark);
    border: 1px solid var(--gc-border);
    box-shadow: var(--shadow-sm);
}
body.public .btn-hero.ghost:hover {
    background: var(--gc-mist);
    border-color: var(--gc-primary);
    color: var(--gc-primary-deep);
    transform: translateY(-2px);
}
body.public .btn-hero.dark {
    background: linear-gradient(135deg, var(--gc-primary) 0%, var(--gc-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 12px 30px -8px rgba(15, 118, 110, 0.5);
}
body.public .btn-hero.dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -8px rgba(15, 118, 110, 0.6);
}

/* ===== STATS STRIP ========================================= */
body.public .stats {
    margin-top: -3.5rem;
    position: relative; z-index: 2;
}
body.public .stats-card {
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
body.public .stat { text-align: center; padding: 0.5rem; }
body.public .stat .num {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gc-primary) 0%, var(--gc-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: -0.02em;
}
body.public .stat .lbl {
    display: block;
    margin-top: 0.5rem;
    color: var(--gc-ink-soft);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== SECTION HEADINGS =================================== */
body.public .section { padding: 6rem 0; }
body.public .section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
body.public .section-head .eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--gc-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}
body.public .section-head h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 1rem;
}
body.public .section-head p {
    color: var(--gc-ink-soft);
    font-size: 1.08rem;
    margin: 0;
}

/* ===== HOW IT WORKS ======================================= */
body.public .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}
body.public .step {
    position: relative;
    padding: 2rem 1.6rem 1.8rem;
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}
body.public .step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 118, 110, 0.3);
}
body.public .step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -18px; left: 1.6rem;
    background: linear-gradient(135deg, var(--gc-primary) 0%, var(--gc-primary-dark) 100%);
    color: #fff;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.95rem;
    box-shadow: 0 8px 20px -4px rgba(15, 118, 110, 0.5);
}
body.public .step h3 {
    font-size: 1.15rem;
    margin: 0.6rem 0 0.5rem;
}
body.public .step p { color: var(--gc-ink-soft); margin: 0; font-size: 0.96rem; }

/* ===== FEATURES ============================================ */
body.public .features-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
body.public .feature-card {
    padding: 2rem 1.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafdfc 100%);
    border: 1px solid var(--gc-border);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
body.public .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gc-primary) 0%, var(--gc-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
body.public .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
body.public .feature-card:hover::before { transform: scaleX(1); }
body.public .feature-card .icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(249, 115, 22, 0.12) 100%);
    margin-bottom: 1.3rem;
    font-size: 1.6rem;
}
body.public .feature-card h3 {
    font-size: 1.18rem;
    margin: 0 0 0.5rem;
}
body.public .feature-card p {
    color: var(--gc-ink-soft);
    margin: 0;
    font-size: 0.96rem;
}

/* ===== SPECIALTIES ========================================= */
body.public .specialties-section {
    background:
        radial-gradient(ellipse at 100% 50%, rgba(15, 118, 110, 0.06) 0%, transparent 50%),
        var(--gc-mist);
}
body.public .spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
body.public .spec-card {
    padding: 1.4rem 1.2rem;
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.22s ease;
    cursor: default;
}
body.public .spec-card:hover {
    transform: translateY(-3px);
    border-color: var(--gc-primary);
    box-shadow: var(--shadow-md);
}
body.public .spec-card .ico {
    font-size: 1.9rem;
    margin-bottom: 0.7rem;
    line-height: 1;
}
body.public .spec-card .name {
    display: block;
    font-weight: 700;
    color: var(--gc-ink);
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}
body.public .spec-card .desc {
    display: block;
    color: var(--gc-ink-soft);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* ===== TESTIMONIALS ======================================= */
body.public .testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
body.public .quote-card {
    padding: 2rem 1.8rem;
    background: #fff;
    border: 1px solid var(--gc-border);
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-sm);
}
body.public .quote-card::before {
    content: '"';
    position: absolute;
    top: -10px; left: 1.4rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--gc-accent);
    font-family: Georgia, serif;
    opacity: 0.3;
}
body.public .quote-card .stars { color: var(--gc-gold); margin-bottom: 0.8rem; font-size: 0.95rem; letter-spacing: 0.1em; }
body.public .quote-card .quote { color: var(--gc-ink); margin: 0 0 1.4rem; font-size: 1rem; }
body.public .quote-card .who {
    display: flex; align-items: center; gap: 0.8rem;
    border-top: 1px solid var(--gc-border);
    padding-top: 1rem;
}
body.public .quote-card .who .avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gc-primary) 0%, var(--gc-accent) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
body.public .quote-card .who .name { font-weight: 700; font-size: 0.92rem; }
body.public .quote-card .who .meta { color: var(--gc-ink-soft); font-size: 0.82rem; }

/* ===== ENQUIRY SECTION ==================================== */
body.public .enquire-section {
    padding: 6rem 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(15, 118, 110, 0.10) 0%, transparent 55%),
        linear-gradient(180deg, #fafdfc 0%, #ffffff 100%);
}
body.public .enquire-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
}
body.public .enquire-side h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin: 0 0 1rem;
}
body.public .enquire-side p { color: var(--gc-ink-soft); margin: 0 0 1.8rem; font-size: 1.05rem; }
body.public .enquire-side ul {
    list-style: none; padding: 0; margin: 0 0 1.8rem;
}
body.public .enquire-side li {
    display: flex; align-items: flex-start; gap: 0.7rem;
    padding: 0.55rem 0;
    color: var(--gc-ink);
    font-weight: 500;
}
body.public .enquire-side li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--gc-primary);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    margin-top: 0.18rem;
}
body.public .enquire-side .wa-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--gc-primary-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}
body.public .enquire-side .wa-link:hover { color: var(--gc-primary); }

body.public .form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.2rem;
    border: 1px solid var(--gc-border);
}
body.public .form-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.4rem;
}
body.public .form-card .sub {
    color: var(--gc-ink-soft);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}
body.public .form-card label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--gc-ink);
    font-size: 0.92rem;
}
body.public .form-card input,
body.public .form-card select,
body.public .form-card textarea {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--gc-border);
    border-radius: 10px;
    font-size: 0.96rem;
    font-family: inherit;
    color: var(--gc-ink);
    background: #fff;
    transition: all 0.18s ease;
}
body.public .form-card input:focus,
body.public .form-card select:focus,
body.public .form-card textarea:focus {
    outline: none;
    border-color: var(--gc-primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
body.public .form-card button {
    width: 100%;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, var(--gc-accent) 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px -6px rgba(249, 115, 22, 0.5);
    margin-top: 0.4rem;
}
body.public .form-card button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -8px rgba(249, 115, 22, 0.6);
}
body.public .form-card .alert.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.94rem;
}

/* ===== CTA STRIP ========================================== */
body.public .cta-strip {
    margin: 0 1.25rem 3rem;
    padding: 3.5rem 2.5rem;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(249, 115, 22, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, var(--gc-primary-deep) 0%, var(--gc-primary-dark) 60%, var(--gc-primary) 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-lg);
}
body.public .cta-strip h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 0.7rem;
}
body.public .cta-strip p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.8rem;
    font-size: 1.05rem;
}
body.public .cta-strip .ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ===== FOOTER ============================================= */
body.public .site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--gc-border);
    background: #fafdfc;
    color: var(--gc-ink-soft);
}
body.public .site-footer small { color: var(--gc-ink-soft); }

/* ===== RESPONSIVE ========================================= */
@media (max-width: 880px) {
    body.public .hero { padding: 4rem 0 5rem; }
    body.public .stats-card { grid-template-columns: repeat(2, 1fr); }
    body.public .steps,
    body.public .features-modern,
    body.public .testimonials { grid-template-columns: 1fr; }
    body.public .enquire-grid { grid-template-columns: 1fr; gap: 2rem; }
    body.public .section { padding: 4rem 0; }
    body.public .cta-strip { padding: 2.5rem 1.5rem; }
}
