/* ============================================
   PHASE WON — Global Styles
   Brand Colors from Phase Won Brand Guide
   ============================================ */

:root {
    --main: #2A6178;
    --secondary: #04D1C1;
    --accent-coral: #FE6A6B;
    --accent-purple: #4A3F72;
    --accent-green: #91CF50;
    --accent-yellow: #FFD601;
    --accent-violet: #5C33F6;
    --accent-slate: #51627A;
    --ink: #1a2a35;
    --ink-light: #3a5060;
    --ink-muted: #6b8090;
    --teal-pale: #d4f5f2;
    --teal-wash: #eefbfa;
    --cream: #fafbfc;
    --white: #ffffff;
    --border: #e2e8ed;
    --border-light: #f0f3f5;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-pad: clamp(4rem, 8vw, 7rem);
    --container-max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--main); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Typography */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--secondary); }
p { margin-bottom: 1rem; color: var(--ink-light); }

.lead-text { font-size: 1.15rem; font-weight: 300; line-height: 1.8; color: var(--ink); margin-bottom: 1.5rem; }

.section-eyebrow {
    font-size: 1.5; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent-coral); margin-bottom: 0.75rem;
}

.text-link { font-weight: 500; color: var(--main); border-bottom: 2px solid var(--teal-pale); transition: border-color 0.2s; }
.text-link:hover { border-color: var(--secondary); }

/* Buttons */
.btn {
    display: inline-block; font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
    padding: 0.85rem 2rem; border-radius: 6px; border: 2px solid transparent;
    cursor: pointer; transition: all 0.25s ease; text-decoration: none;
}
.btn-primary { background: var(--main); color: var(--white); border-color: var(--main); }
.btn-primary:hover { background: #1e4f63; border-color: #1e4f63; color: var(--white); }
.btn-outline { background: transparent; color: var(--main); border-color: var(--main); }
.btn-outline:hover { background: var(--main); color: var(--white); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* Header / Nav */
.site-header {
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px); background: rgba(255,255,255,0.95);
}
.nav-container {
    max-width: var(--container-max); margin: 0 auto;
    padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem);
    display: flex; align-items: center; justify-content: space-between;
}
.logo-img { height: 40px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a {
    font-size: 0.92rem; font-weight: 500; color: var(--ink-muted);
    text-decoration: none; transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--main); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 100%;
    height: 2px; background: var(--secondary); border-radius: 1px;
}

.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* Hero */
.hero {
    position: relative; padding: var(--section-pad) 0;
    padding-top: clamp(5rem, 10vw, 8rem); padding-bottom: clamp(5rem, 10vw, 8rem);
    background: var(--white); overflow: hidden;
}
.hero-content {
    max-width: var(--container-max); margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem); position: relative; z-index: 2;
}
.hero-eyebrow { font-size: 1.0rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-coral); margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.5rem; color: var(--main); }
.hero h1 em { color: var(--secondary); }
.hero-subtitle { font-size: 1.2rem; font-weight: 300; line-height: 1.7; color: var(--ink-light); max-width: 560px; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-accent-shape {
    position: absolute; top: -20%; right: -10%; width: 50%; height: 140%;
    background: linear-gradient(135deg, var(--teal-wash) 0%, transparent 70%);
    border-radius: 50%; z-index: 1; opacity: 0.7;
}
.hero::before {
    content: ''; position: absolute; top: 0; right: 15%; width: 4px; height: 100%;
    background: var(--secondary); transform: rotate(-15deg); transform-origin: top center; opacity: 0.15; z-index: 1;
}

/* Page Hero */
.page-hero {
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
    background: var(--white); border-bottom: 1px solid var(--border-light);
}
.page-hero h1 { color: var(--main); }

/* Services Preview */
.services-preview { padding: var(--section-pad) 0; background: var(--cream); }
.services-preview h2 { margin-bottom: 3rem; max-width: 500px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 10px;
    padding: 2rem; transition: transform 0.25s, box-shadow 0.25s; position: relative;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(42,97,120,0.08); }
.service-card.featured { border-color: var(--secondary); border-width: 2px; }
.service-icon { font-size: 1.5rem; color: var(--secondary); margin-bottom: 1rem; }
.service-card h3 { font-weight: 600; font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--ink); }
.service-card p { font-size: 0.92rem; color: var(--ink-muted); margin-bottom: 1rem; }
.service-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 20px; background: var(--secondary); color: var(--white);
}
.service-tag.coming-soon { background: var(--border); color: var(--ink-muted); }

/* About Teaser */
.about-teaser { padding: var(--section-pad) 0; background: var(--white); }
.about-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-teaser-text h2 { margin-bottom: 1.5rem; }
.about-teaser-text p { max-width: 480px; margin-bottom: 1.5rem; }
.visual-block { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card { background: var(--teal-wash); border: 1px solid var(--teal-pale); border-radius: 10px; padding: 1.75rem 1.25rem; text-align: center; }
.stat-card:last-child { grid-column: 1 / -1; }
.stat-number { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--secondary); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.82rem; font-weight: 400; color: var(--ink-muted); }

/* About Page */
.about-main { padding: var(--section-pad) 0; }
.about-layout { display: grid; grid-template-columns: 300px 1fr; gap: 4rem; align-items: start; }
.about-photo-area { position: sticky; top: 6rem; }
.about-photo {
    width: 100%; border-radius: 10px; object-fit: cover;
}
.about-content h2 { margin-bottom: 1.25rem; color: var(--main); }
.about-content h3 { margin-top: 2.5rem; margin-bottom: 1.25rem; color: var(--main); }
.about-content p { max-width: 640px; }

.beliefs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1rem; }
.belief-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; border-top: 3px solid var(--secondary); }
.belief-marker { display: inline-block; font-size: 1.4rem; font-weight: 700; color: var(--secondary); margin-bottom: 0.5rem; line-height: 1; }
.belief-card p { font-size: 0.92rem; margin-bottom: 0; }

.journey-steps { margin: 1.5rem 0 2rem; border-left: 3px solid var(--teal-pale); padding-left: 1.75rem; }
.journey-step { position: relative; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light); }
.journey-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.journey-step::before {
    content: ''; position: absolute; left: calc(-1.75rem - 6px); top: 6px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--teal-pale); border: 2px solid var(--secondary);
}
.step-final::before { background: var(--secondary); width: 12px; height: 12px; left: calc(-1.75rem - 7px); }
.step-label { display: inline-block; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--main); margin-bottom: 0.25rem; }
.journey-step p { font-size: 0.95rem; font-style: italic; color: var(--ink-muted); margin-bottom: 0; }

.credentials-list { list-style: none; margin-top: 0.5rem; }
.credentials-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; font-size: 0.95rem; color: var(--ink-light); }
.credentials-list li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }

/* Contact Page */
.contact-main { padding: var(--section-pad) 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-intro .lead-text { max-width: 420px; }
.contact-details { margin-top: 2.5rem; }
.contact-detail { margin-bottom: 1.25rem; }
.contact-detail-label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.25rem; }
.contact-detail a, .contact-detail span { font-size: 1rem; color: var(--ink); }

.contact-form-area { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 0.4rem; }
.optional { font-weight: 300; color: var(--ink-muted); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; font-family: var(--font-body); font-size: 0.95rem; font-weight: 300;
    padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 6px;
    background: var(--cream); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px var(--teal-pale); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--ink-muted); text-align: center; margin-top: 0.75rem; margin-bottom: 0; }

.newsletter-section { padding: clamp(3rem, 5vw, 4rem) 0; background: var(--white); }
.newsletter-box { background: var(--teal-wash); border: 1px solid var(--teal-pale); border-radius: 12px; padding: 2.5rem; text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-box h3 { margin-bottom: 0.5rem; color: var(--main); }
.newsletter-box p { font-size: 0.92rem; margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 420px; margin: 0 auto; }
.newsletter-form input { flex: 1; font-family: var(--font-body); font-size: 0.92rem; font-weight: 300; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 6px; background: var(--white); }
.newsletter-form input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px var(--teal-pale); }

/* CTA Section */
.cta-section { padding: var(--section-pad) 0; background: var(--main); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -20%; right: 30%; width: 4px; height: 140%; background: var(--secondary); transform: rotate(-15deg); opacity: 0.2; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 2rem; }
.cta-section .btn-primary { background: var(--secondary); border-color: var(--secondary); color: var(--white); }
.cta-section .btn-primary:hover { background: #03b8aa; border-color: #03b8aa; }

/* Footer */
.site-footer { padding: 3rem 0 2rem; background: var(--main); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand .footer-logo-img { height: 30px; width: auto; margin-bottom: 0.25rem; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-bottom: 0; margin-top: 0.25rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--white); }
.footer-copy p { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-bottom: 0; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-content, .page-hero .container { animation: fadeInUp 0.8s ease-out; }
.service-card { animation: fadeInUp 0.6s ease-out both; }
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 900px) {
    .about-teaser-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-photo-area { position: static; max-width: 280px; }
    .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .beliefs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); flex-direction: column;
        padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem); gap: 1rem;
        border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .nav-links.open { display: flex; }
    .mobile-toggle { display: flex; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { text-align: center; }
    .newsletter-form { flex-direction: column; }
}
