/* ============================================================
   Paldam LLC — Company Site
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:        #0f1b2c;
    --navy-mid:    #1a2d44;
    --teal:        #137b74;
    --teal-dark:   #0f5f5a;
    --teal-light:  #dff5f2;
    --surface:     #f6f3ec;
    --white:       #ffffff;
    --text:        #152033;
    --muted:       #667489;
    --border:      #d7e0e6;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 1rem;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* ── Skip link (a11y) ───────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--teal);
    color: var(--white);
    padding: .6rem 1.2rem;
    border-radius: 0 0 8px 0;
    z-index: 200;
    font-weight: 600;
    font-size: .9rem;
}
.skip-link:focus {
    left: 0;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: .9rem 0;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -.02em;
}
.nav-brand-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;
    list-style: none;
}
.nav-links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
    transition: color .15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
    background: var(--teal);
    color: var(--white) !important;
    padding: .45rem 1.1rem;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background .15s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; color: var(--white) !important; }

/* ── Mobile hamburger ───────────────────────────────────── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    margin-left: auto;
    flex-direction: column;
    gap: 4px;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    background:
        radial-gradient(ellipse at 75% 40%, rgba(19,123,116,.12) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 70%, rgba(15,27,44,.06) 0%, transparent 45%),
        var(--surface);
    padding: 6rem 1.5rem 5rem;
    text-align: center;
}
.hero-wordmark {
    display: block;
    height: 56px;
    width: auto;
    margin: 0 auto 2rem;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -.03em;
    max-width: 750px;
    margin: 0 auto 1.25rem;
}
.hero h1 em {
    font-style: normal;
    color: var(--teal);
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: .7rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    transition: all .15s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--teal);
    color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ── Focus states (a11y) ─────────────────────────────────── */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* ── Section shared ──────────────────────────────────────── */
.section {
    padding: 5rem 1.5rem;
}
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.section-alt { background: var(--surface); }

.section-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .6rem;
}
.section-h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-body {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
}

/* ── Products ────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    transition: box-shadow .2s, transform .2s;
    position: relative;
}
.product-card:hover {
    box-shadow: 0 8px 32px rgba(19,123,116,.1);
    transform: translateY(-2px);
}
.product-card-live {
    border-color: var(--teal);
    box-shadow: 0 4px 24px rgba(19,123,116,.1);
}
.product-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .25rem .7rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.badge-live { background: var(--teal-light); color: var(--teal-dark); }
.badge-soon { background: #f1f5f9; color: #94a3b8; }
.product-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 1rem;
    object-fit: contain;
}
.product-icon-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f1f5f9;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.product-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: .35rem;
    letter-spacing: -.02em;
}
.product-desc {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.product-link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--teal);
}
.product-link:hover { color: var(--teal-dark); }
.product-link-arrow::after { content: ' \2192'; }

/* ── About ───────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 1rem;
}
.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}
.about-value {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
}
.about-value-icon {
    width: 36px;
    height: 36px;
    background: var(--teal-light);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.about-value-text strong {
    display: block;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .15rem;
    font-size: .95rem;
}
.about-value-text span {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.55;
}
.about-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.about-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}
.about-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
    margin-bottom: .35rem;
    letter-spacing: -.03em;
}
.about-stat-lbl {
    font-size: .8rem;
    color: var(--muted);
    font-weight: 500;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-card {
    background: var(--navy);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    background-image:
        radial-gradient(ellipse at 80% 20%, rgba(19,123,116,.25) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 80%, rgba(19,123,116,.15) 0%, transparent 50%);
}
.contact-card h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}
.contact-card p {
    color: rgba(255,255,255,.65);
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-size: .975rem;
}
.contact-email {
    display: inline-block;
    background: var(--teal);
    color: var(--white) !important;
    padding: .8rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: background .15s;
}
.contact-email:hover { background: var(--teal-dark) !important; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    background: var(--navy);
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.9);
    font-weight: 700;
    font-size: .95rem;
}
.footer-brand-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.footer-links a {
    color: rgba(255,255,255,.45);
    font-size: .85rem;
    transition: color .15s;
}
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy {
    color: rgba(255,255,255,.3);
    font-size: .8rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem 1.25rem;
        gap: .75rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }
    .nav-links--open {
        display: flex;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: .5rem 0;
        font-size: 1rem;
    }
    .nav-cta {
        text-align: center;
        display: block !important;
        margin-top: .25rem;
    }

    .footer-inner { flex-direction: column; align-items: flex-start; }
}
