/* ============================================
   Lipman AI Group — Main Stylesheet
   Colors:
     Primary:   #1c2a4a
     Secondary: #4b5563
     Text:      #1F2937
     Accent:    #c6a24f
     Button text: #ffffff
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1F2937;
    background: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    color: #1c2a4a;
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p {
    color: #4b5563;
    line-height: 1.7;
}

.accent-text {
    color: #c6a24f;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8125rem;
    color: #c6a24f;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #1c2a4a;
    color: #ffffff;
    border-color: #1c2a4a;
}

.btn-primary:hover {
    background: #c6a24f;
    border-color: #c6a24f;
}

.btn-accent {
    background: #c6a24f;
    color: #ffffff;
    border-color: #c6a24f;
}

.btn-accent:hover {
    background: #b08f3e;
    border-color: #b08f3e;
}

.btn-outline {
    background: transparent;
    color: #1c2a4a;
    border-color: #1c2a4a;
}

.btn-outline:hover {
    background: transparent;
    color: #c6a24f;
    border-color: #c6a24f;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #1c2a4a;
}

/* ---------- NAVIGATION ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand img {
    height: 44px;
    width: auto;
}

.nav-brand span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1c2a4a;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1c2a4a;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #c6a24f;
    border-radius: 1px;
}

.nav-cta {
    background: #1c2a4a;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #c6a24f;
}

.nav-cta::after {
    display: none !important;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1c2a4a;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
    background: #1c2a4a;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content {
    position: relative;
    flex: 1;
}

.hero-bird {
    flex: 0 0 auto;
    transform: translate(4%, calc(11% - 15px));
}

.hero-bird img {
    max-height: 520px;
    width: auto;
    opacity: 0.9;
}

.hero-content .section-subtitle {
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.25rem;
    margin-bottom: 24px;
    line-height: 1.12;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.1875rem;
    margin-bottom: 40px;
    max-width: 560px;
    color: rgba(255,255,255,0.7);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 72px 0;
    position: relative;
    z-index: 1;
    background: #ffffff;
}

.section-light {
    background: #f9fafb;
}

.section-header {
    text-align: left;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.0625rem;
}

/* Gold underline decoration */
.gold-line {
    width: 60px;
    height: 3px;
    background: #c6a24f;
    border: none;
    margin: 20px 0 0;
    border-radius: 2px;
}

.gold-line-left {
    margin-left: 0;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(28, 42, 74, 0.08);
    border-color: #c6a24f;
    transform: translateY(-2px);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: #1c2a4a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: #c6a24f;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c6a24f;
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.2s ease;
}

.learn-more:hover {
    gap: 10px;
}

/* ---------- TWO-COLUMN LAYOUT ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.two-col-text h2 {
    margin-bottom: 20px;
}

.two-col-text p {
    margin-bottom: 16px;
}

.two-col-text .btn {
    margin-top: 12px;
}

.two-col-visual {
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
    max-width: 90%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.two-col-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two-col-visual .placeholder-text {
    color: #9ca3af;
    font-size: 0.875rem;
    padding: 40px;
    text-align: center;
}

/* ---------- VALUE PROP / INTRO ---------- */
.value-prop {
    text-align: left;
    padding-top: 80px;
    padding-bottom: 80px;
}

.value-prop h2 {
    max-width: none;
    margin: 0 0 16px;
    text-wrap: balance;
}

.value-prop p {
    max-width: 640px;
    font-size: 1.0625rem;
}

/* ---------- FEATURE LIST ---------- */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(198, 162, 79, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: #c6a24f;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-item h4 {
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.875rem;
}

/* ---------- APPROACH / PROCESS STEPS ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.process-step {
    text-align: left;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #1c2a4a;
    color: #c6a24f;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.875rem;
}

/* ---------- TEAM MEMBER CARD ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.team-card {
    text-align: left;
}

.team-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    background: #f3f4f6;
    margin: 0 0 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #9ca3af;
    font-size: 0.8rem;
}

.team-card h3 {
    margin-bottom: 4px;
}

.team-card .role {
    color: #c6a24f;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.875rem;
    max-width: 420px;
}

/* ---------- PRINCIPLES GRID ---------- */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 760px;
}

@media (max-width: 600px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- CONTACT FORM ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 24px;
}

.contact-details {
    margin-top: 32px;
}

.contact-detail-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-detail-item svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    stroke: #c6a24f;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 2px;
}

.contact-detail-item h4 {
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.contact-detail-item p {
    font-size: 0.9375rem;
}

.contact-form {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1c2a4a;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1F2937;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c6a24f;
    box-shadow: 0 0 0 3px rgba(198, 162, 79, 0.12);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
    background: #1c2a4a;
    padding: 80px 0 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(198,162,79,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero h1 {
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    font-size: 1.125rem;
    position: relative;
}

.page-hero .section-subtitle {
    position: relative;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 40px 0 28px;
    font-size: 0.875rem;
    color: #6b7280;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.footer-brand img {
    height: 32px;
    width: auto;
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1c2a4a;
}

.footer-tagline {
    color: #c6a24f;
    font-size: 0.75rem;
    margin-top: 2px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-links h4 {
    color: #1c2a4a;
    font-size: 0.8125rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: #6b7280;
    margin-bottom: 8px;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #1c2a4a;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ---------- UTILITY ---------- */
.text-center { text-align: left; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 60px 0 50px;
        min-height: auto;
    }

    .hero-bird {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 54px 0;
    }

    .page-hero {
        padding: 60px 0 40px;
    }
}
