/* ============================================
   Integration Resolve, Inc. - Styles
   ============================================ */

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

:root {
    --navy: #1a2744;
    --navy-light: #243352;
    --slate: #3d4f6f;
    --steel: #5a6e8a;
    --accent: #6abf40;
    --accent-light: #a4eb5e;
    --accent-bg: #f2fbe9;
    --text: #2c3e50;
    --text-light: #5a6c7e;
    --text-muted: #8a97a8;
    --bg: #ffffff;
    --bg-off: #f7f8fa;
    --bg-warm: #fafbfd;
    --border: #e2e6ec;
    --border-light: #edf0f5;
    --shadow-sm: 0 1px 3px rgba(26, 39, 68, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 39, 68, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 39, 68, 0.10);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: #5aad35;
    border-color: #5aad35;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--navy);
    color: var(--navy);
    transform: translateY(-1px);
}

.btn-nav {
    padding: 8px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}
.btn-nav:hover {
    background: #5aad35;
    color: #fff;
}

/* --- Header / Nav --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
}
.logo:hover { opacity: 0.85; }
.logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 14px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
    color: var(--navy);
    background: var(--bg-off);
}
.nav-links .btn-nav:hover {
    background: var(--accent-light);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, #f0f4f8 100%);
    border-bottom: 1px solid var(--border-light);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    min-width: 0;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 18px;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero h1 {
    font-family: 'Merriweather', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 24px;
}
.hero h1 strong {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Capabilities --- */
.capabilities {
    padding: 80px 0;
    background: var(--bg);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.capability-card {
    padding: 36px 32px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition), transform var(--transition);
}
.capability-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.capability-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--accent);
}
.capability-icon svg {
    width: 100%;
    height: 100%;
}

.capability-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}
.capability-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* --- Value Proposition --- */
.value-prop {
    padding: 72px 0;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.88);
}
.value-prop-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.value-prop p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.value-prop p:last-child { margin-bottom: 0; }

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-family: 'Merriweather', 'Georgia', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--bg-off);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}
.about-text h3, .about-leadership h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}
.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
}
.industry-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    margin: 16px 0 20px;
}
.industry-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text);
    font-weight: 500;
}
.industry-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
}

.leader-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.leader-profile {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.leader-photo-wrap {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(26,39,68,0.13);
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}
.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.leader-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}
.leader-info p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.65;
}

.credentials {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.credentials h5 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 8px;
    margin-top: 16px;
}
.credentials h5:first-child { margin-top: 0; }
.credentials ul {
    list-style: none;
}
.credentials li {
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}
.credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--bg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-card {
    padding: 32px;
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    background: var(--bg);
}
.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.service-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}
.service-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 18px;
}
.service-icon svg {
    width: 100%;
    height: 100%;
}

/* --- Portfolio --- */
.portfolio {
    padding: 100px 0;
    background: var(--bg-off);
}
.portfolio-list {
    max-width: 820px;
    margin: 0 auto;
}
.portfolio-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}
.portfolio-item:first-child { padding-top: 0; }
.portfolio-item:last-child { border-bottom: none; padding-bottom: 0; }
.portfolio-item-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}
.portfolio-logo {
    flex-shrink: 0;
    width: 88px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 8px;
    overflow: hidden;
}
.portfolio-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.portfolio-logo-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.03em;
}
.portfolio-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0;
}
.portfolio-item p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* --- Careers --- */
.careers {
    padding: 100px 0;
    background: var(--bg);
}
.careers-intro {
    max-width: 720px;
    margin: 0 auto 16px;
    text-align: center;
    font-size: 1.0625rem;
    color: var(--text-light);
}
.careers-intro a {
    font-weight: 500;
}
.careers-note {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--navy);
}

.jobs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}
.job-card {
    background: var(--bg-off);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.job-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}
.job-location {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 12px;
}
.job-card > p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.65;
}
.job-card h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.job-card ul {
    list-style: none;
}
.job-card li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.55;
}
.job-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--bg-off);
}
.contact-wrapper {
    max-width: 540px;
    margin: 0 auto;
}
.contact-card {
    background: var(--bg);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.contact-card p {
    font-size: 1.0625rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}
.contact-email-btn {
    font-size: 1rem;
    padding: 16px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: min(100%, 420px);
    min-width: 0;
    margin: 0 auto;
    white-space: normal;
    overflow-wrap: anywhere;
}

.contact-email-address {
    display: block;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-email-domain {
    display: inline;
}

/* --- Footer --- */
.site-footer {
    background: var(--navy);
    padding: 48px 0 32px;
    color: rgba(255, 255, 255, 0.7);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}
.footer-logo-img {
    height: 32px;
    width: auto;
}
.footer-brand {
    font-size: 1.125rem;
    font-weight: 700;
}
.footer-tagline {
    font-size: 0.8125rem;
    margin-top: 4px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
    .capabilities-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; width: 100%; }
    .nav-links .btn-nav { text-align: center; margin-top: 8px; }

    .hero { padding: 120px 0 72px; }
    .hero h1 { font-size: 1.625rem; }
    .hero-sub { font-size: 1rem; }

    .section-header h2 { font-size: 1.625rem; }
    .section-header { margin-bottom: 40px; }

    .contact-card { padding: 24px 14px; }
    .contact-form { padding: 24px; }
    .contact-email-btn {
        font-size: 0.9rem;
        padding: 12px 14px;
        gap: 4px;
        width: fit-content;
        max-width: calc(100% - 8px);
    }
    .contact-email-address { width: auto; }
    .contact-email-domain { display: block; }
    .job-card { padding: 24px; }
    .industry-list { grid-template-columns: 1fr; }
    .leader-profile { flex-direction: column; align-items: center; }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}
