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

:root {
    --black: #000;
    --white: #fff;
    --dark: #1a1a1a;
    --grey-dark: #333;
    --grey-mid: #666;
    --grey-light: #999;
    --grey-bg: #f5f5f5;
    --grey-border: #e0e0e0;
    --red: #c8102e;
    --red-dark: #a50d24;
    --red-light: #fef2f2;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--grey-dark);
    line-height: 1.6;
    background: var(--white);
}

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--grey-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-circles {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.logo-circles .circle {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid #999;
    background: transparent;
}

/* Top-left circle - largest */
.logo-circles .circle-1 {
    width: 28px;
    height: 28px;
    top: 0;
    left: 2px;
}

/* Bottom-left circle - medium */
.logo-circles .circle-2 {
    width: 20px;
    height: 20px;
    top: 20px;
    left: 0;
}

/* Overlapping circle - smallest, RED */
.logo-circles .circle-3 {
    width: 16px;
    height: 16px;
    top: 14px;
    left: 18px;
    border-color: var(--red);
    border-width: 1.5px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #888;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-align: right;
}

.logo-text span {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    color: #aaa;
    letter-spacing: 0.08em;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-dark);
    transition: color var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--red);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: background var(--transition) !important;
}

.nav-cta:hover {
    background: var(--red-dark) !important;
}

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

.nav-close {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    background: var(--black);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border: 2px solid rgba(200,16,46,0.25);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 40px;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(200,16,46,0.18);
    border-radius: 50%;
}

.hero .hero-circles {
    position: absolute;
    top: 80px;
    right: 160px;
    width: 160px;
    height: 160px;
    border: 2px solid rgba(200,16,46,0.12);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-white {
    background: var(--white);
    color: var(--red);
}

.btn-white:hover {
    background: var(--grey-bg);
}

.btn-black {
    background: var(--red);
    color: var(--white);
}

.btn-black:hover {
    background: var(--red-dark);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: var(--white);
}

.btn-red {
    background: var(--red);
    color: var(--white);
}

.btn-red:hover {
    background: var(--red-dark);
}

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--grey-bg);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--grey-mid);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.6);
}

/* ===== Service Cards ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200,16,46,0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--grey-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--grey-mid);
    line-height: 1.6;
}

/* ===== Features / Why PAC ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-number {
    width: 36px;
    height: 36px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--grey-mid);
}

/* ===== CTA Banner ===== */
.cta-banner {
    text-align: center;
    padding: 4rem 2rem;
}

.cta-banner h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Page Header ===== */
.page-header {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    border: 2px solid rgba(200,16,46,0.2);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -50px;
    right: 0;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(200,16,46,0.12);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Services Detail ===== */
.service-category {
    margin-bottom: 3rem;
}

.service-category:last-child {
    margin-bottom: 0;
}

.service-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--red);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: 6px;
}

.service-list-item .check {
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-list-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.service-list-item p {
    font-size: 0.85rem;
    color: var(--grey-mid);
}

/* ===== About ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--grey-mid);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--grey-mid);
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--grey-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 3rem;
    line-height: 0;
    vertical-align: -0.5em;
    color: var(--red);
    margin-right: 0.25rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--black);
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--grey-light);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--grey-border);
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--grey-dark);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
}

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

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--grey-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-detail h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--grey-mid);
}

.contact-detail a:hover {
    color: var(--black);
}

/* ===== CoP Page ===== */
.cop-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cop-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.cop-text p {
    color: var(--grey-mid);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.cop-visual {
    background: var(--grey-bg);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.cop-steps {
    counter-reset: step;
}

.cop-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    text-align: left;
}

.cop-step:last-child {
    margin-bottom: 0;
}

.cop-step-number {
    width: 48px;
    height: 48px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cop-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.cop-step p {
    font-size: 0.9rem;
    color: var(--grey-mid);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.challenge-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    text-align: center;
}

.challenge-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.challenge-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.challenge-card p {
    font-size: 0.85rem;
    color: var(--grey-mid);
}

/* ===== Case Study Timeline ===== */
.case-study-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.case-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
}

.case-step:last-child .case-step-line {
    display: none;
}

.case-step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.case-step-number {
    width: 40px;
    height: 40px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.case-step-line {
    width: 2px;
    flex: 1;
    background: var(--grey-border);
    min-height: 20px;
}

.case-step-content {
    padding-bottom: 2rem;
}

.case-step:last-child .case-step-content {
    padding-bottom: 0;
}

.case-step-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.case-step-content p {
    font-size: 0.9rem;
    color: var(--grey-mid);
    line-height: 1.7;
}

/* ===== Stats ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.stat p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-brand .logo-circles .circle {
    border-color: rgba(255,255,255,0.35);
}

.footer-brand .logo-circles .circle-3 {
    border-color: var(--red);
}

.footer-brand .logo-text {
    color: rgba(255,255,255,0.8);
}

.footer-brand .logo-text span {
    color: rgba(255,255,255,0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal span {
    color: rgba(255,255,255,0.4);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-nav a {
        font-size: 1.05rem;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        cursor: pointer;
        background: none;
        border: none;
        color: var(--black);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

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

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

    .features-grid,
    .about-intro,
    .cop-intro,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid,
    .challenges-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .services-grid,
    .service-list,
    .testimonials-grid,
    .values-grid,
    .challenges-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }
}
