/* ==========================================
   KORUS CONSULTING - styles.css
   Clean, professional B2B consulting site
   Font: Inter | Accent: #0891B2 (teal)
   ========================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1E293B;
    background: #FFFFFF;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0891B2; text-decoration: none; transition: color 0.2s; }
a:hover { color: #0E7490; }
ul { list-style: none; }

.skip-to-content {
    position: absolute; left: -999px; top: -999px;
    z-index: 100; padding: 8px 16px; background: #0891B2; color: white; border-radius: 4px;
}
.skip-to-content:focus { left: 16px; top: 16px; }

/* ---------- LAYOUT ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 8px;
    font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.25s;
    border: none; text-align: center;
}
.btn-primary {
    background: #0891B2; color: white;
}
.btn-primary:hover {
    background: #0E7490; color: white;
    box-shadow: 0 4px 16px rgba(8,145,178,0.3); transform: translateY(-1px);
}
.btn-secondary {
    background: transparent; color: #0891B2; border: 2px solid #0891B2;
}
.btn-secondary:hover {
    background: #0891B2; color: white;
}
.btn-full { width: 100%; }

/* ---------- HEADER / NAV ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0; transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links li a {
    color: #475569; font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
    position: relative;
}
.nav-links li a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: #0891B2; transition: width 0.25s;
}
.nav-links li a:hover { color: #0891B2; }
.nav-links li a:hover::after { width: 100%; }
.nav-cta {
    background: #0891B2; color: white !important; padding: 10px 24px; border-radius: 8px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #0E7490; color: white !important; }

/* Mobile menu */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger-line {
    display: block; width: 24px; height: 2px; background: #1E293B;
    margin: 5px 0; transition: all 0.3s;
}

/* ---------- HERO ---------- */
.hero {
    padding: 120px 0 80px; background: linear-gradient(135deg, #F8FAFC 0%, #F0FDFA 100%);
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-headline {
    font-size: 2.75rem; font-weight: 800; line-height: 1.15; color: #0F172A;
    letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero-subheadline {
    font-size: 1.1rem; color: #475569; line-height: 1.8; margin-bottom: 32px;
}
.hero-image img { border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

/* Hero image placeholder when image is missing */
.hero-image img[src="hero-team-3.jpg"] {
    min-height: 360px; object-fit: cover;
    background: linear-gradient(135deg, #0891B2 0%, #06B6D4 50%, #22D3EE 100%);
}

/* ---------- SECTIONS ---------- */
.section { padding: 80px 0; }
.section-headline {
    font-size: 2rem; font-weight: 800; color: #0F172A; text-align: center;
    margin-bottom: 48px; letter-spacing: -0.02em;
}

/* ---------- CARDS ---------- */
.card-grid { display: grid; gap: 24px; }
.three-col { grid-template-columns: repeat(3, 1fr); }
.card {
    background: white; border: 1px solid #E2E8F0; border-radius: 12px;
    padding: 32px; transition: all 0.3s;
}
.card:hover { border-color: #CBD5E1; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }

/* ---------- PROBLEM SECTION ---------- */
.problem-section { background: #FFFFFF; }
.problem-card .card-icon { margin-bottom: 16px; }
.problem-card h3 { font-size: 1.15rem; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.problem-card p { font-size: 0.95rem; color: #64748B; line-height: 1.7; }

/* ---------- SERVICES ---------- */
.services-section { background: #F8FAFC; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { text-align: center; }
.service-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: #64748B; }

/* ---------- OPERATIONS ---------- */
.operations-section { background: #0F172A; color: white; padding: 80px 0; }
.operations-section .section-headline { color: white; text-align: left; }
.operations-intro { font-size: 1.1rem; color: #94A3B8; margin-bottom: 32px; max-width: 640px; }
.operations-list { display: flex; flex-direction: column; gap: 16px; }
.operations-list li {
    display: flex; align-items: center; gap: 12px;
    font-size: 1rem; color: #E2E8F0;
}
.check-icon { flex-shrink: 0; }
.check-icon path { stroke: #22D3EE; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { background: #FFFFFF; }
.testimonial-card { position: relative; padding-top: 40px; }
.quote-mark {
    position: absolute; top: 16px; left: 24px;
    font-size: 4rem; line-height: 1; color: #0891B2; opacity: 0.2; font-family: Georgia, serif;
}
.testimonial-card blockquote {
    font-size: 0.95rem; color: #475569; line-height: 1.8; font-style: italic; margin-bottom: 16px;
}
.testimonial-card cite {
    font-size: 0.85rem; font-weight: 600; color: #0891B2; font-style: normal;
}

/* ---------- HOW WE WORK ---------- */
.how-section { background: #F8FAFC; }
.steps-container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step {
    text-align: center; padding: 32px; flex: 1; min-width: 200px;
}
.step-number {
    width: 56px; height: 56px; border-radius: 50%; background: #0891B2; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; margin: 0 auto 16px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: #64748B; }
.step-connector { display: flex; align-items: center; }
.step-connector svg path { stroke: #CBD5E1; }

/* ---------- ABOUT ---------- */
.about-section { background: #FFFFFF; }
.founder-block {
    display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start;
    margin-bottom: 64px;
}
.founder-photo img { border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.founder-photo img[src="team-jordannah-korus.jpg"] {
    min-height: 360px; object-fit: cover;
    background: linear-gradient(135deg, #475569, #64748B);
}
.founder-bio h3 { font-size: 1.3rem; font-weight: 700; color: #0F172A; margin-bottom: 16px; }
.founder-bio p { font-size: 0.95rem; color: #475569; margin-bottom: 12px; }

.team-headline { font-size: 1.2rem; font-weight: 700; color: #0F172A; text-align: center; margin-bottom: 8px; }
.team-intro { text-align: center; color: #64748B; margin-bottom: 32px; }
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card {
    text-align: center; font-size: 0.9rem; font-weight: 600; color: #334155;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.team-card-icon { margin-bottom: 4px; }
.team-closing { text-align: center; color: #64748B; margin-top: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- CONTACT ---------- */
.contact-section { background: #F8FAFC; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-grid.contact-centered { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
.contact-form { background: white; border: 1px solid #E2E8F0; border-radius: 12px; padding: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #334155; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid #E2E8F0; border-radius: 8px;
    font-family: inherit; font-size: 0.95rem; color: #1E293B; transition: border-color 0.2s;
    background: #F8FAFC;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #0891B2; background: white; }
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.85rem; color: #64748B; margin-top: 12px; text-align: center; }

.contact-info-block {
    background: #0F172A; color: white; border-radius: 12px; padding: 40px;
}
.contact-info-block h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.contact-info-block p { color: #94A3B8; margin-bottom: 24px; line-height: 1.7; }

/* ---------- FOOTER ---------- */
.site-footer { background: #0F172A; color: #94A3B8; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.footer-logo-img { height: 32px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 0.9rem; color: #64748B; }
.footer-links h4,
.footer-social h4 { font-size: 0.85rem; font-weight: 600; color: white; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #94A3B8; font-size: 0.9rem; }
.footer-links a:hover { color: #22D3EE; }
.social-link { color: #94A3B8; transition: color 0.2s; }
.social-link:hover { color: #22D3EE; }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 24px; text-align: center; font-size: 0.8rem; }

/* ---------- ANIMATIONS ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-headline { font-size: 2.25rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; z-index: 60; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: white; box-shadow: -4px 0 24px rgba(0,0,0,0.1);
        transition: right 0.3s ease; padding: 80px 32px 32px; z-index: 55;
    }
    .main-nav.open { right: 0; }
    .nav-links { flex-direction: column; gap: 24px; }
    .nav-cta { text-align: center; display: block; }

    .hero { padding: 100px 0 60px; }
    .hero-content { grid-template-columns: 1fr; gap: 32px; }
    .hero-headline { font-size: 2rem; }

    .three-col { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }

    .founder-block { grid-template-columns: 1fr; }
    .founder-photo { max-width: 300px; }

    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .steps-container { flex-direction: column; }
    .step-connector { transform: rotate(90deg); }

    .section { padding: 60px 0; }
    .section-headline { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 1.6rem; }
    .team-grid { grid-template-columns: 1fr; }
    .card { padding: 24px; }
}
