/* ============================================================
   OCL — O'Carroll Legear Consulting
   Site Stylesheet
   ============================================================ */

:root {
    --ink:          #1a1a2e;
    --slate:        #3a3a5c;
    --muted:        #6b6b8d;
    --accent:       #2d5f4a;
    --accent-light: #3a7a5e;
    --gold:         #c8963c;
    --gold-light:   #e0ac55;
    --warm:         #f8f6f2;
    --white:        #ffffff;
    --rule:         #d4d0c8;
    --nav-height:   68px;
}

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--ink);
    background: var(--warm);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* ---- TYPOGRAPHY ---- */
.label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2.5rem;
    display: block;
}

/* ---- NAVIGATION ---- */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--warm);
    border-bottom: 1px solid var(--rule);
    height: var(--nav-height);
    transition: box-shadow 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 1px 8px rgba(26, 26, 46, 0.08);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

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

.nav-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--slate);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-cta a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--accent);
    text-decoration: none;
    padding: 0.55rem 1.4rem;
    transition: background 0.25s ease;
    white-space: nowrap;
}

.nav-cta a:hover {
    background: var(--accent-light);
}

/* Mobile menu toggle */
.nav-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-direction: column;
    gap: 5px;
}

.nav-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s ease;
}

/* ---- PAGE WRAPPER ---- */
.page-content {
    padding-top: var(--nav-height);
}

/* ---- HERO ---- */
.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 5rem;
    background: var(--warm);
}

.hero-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero-headline {
    font-size: clamp(1.9rem, 4.5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero-rule {
    width: 50px;
    height: 1px;
    background: var(--accent);
    border: none;
    margin: 0 auto 2.5rem;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--slate);
    max-width: 580px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--accent);
    text-decoration: none;
    padding: 0.9rem 2.4rem;
    min-height: 44px;
    transition: background 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-light);
}

.btn-secondary {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: transparent;
    text-decoration: none;
    padding: 0.9rem 2.4rem;
    min-height: 44px;
    border: 1px solid var(--accent);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
}

/* ---- TRUST BAR ---- */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 1.4rem 2rem;
}

.trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ---- SECTIONS ---- */
.section {
    padding: 6rem 2rem;
}

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

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-title {
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.section-dark .section-title { color: var(--warm); }

.section-subtitle {
    font-size: 1rem;
    color: var(--slate);
    max-width: 560px;
    margin: 1.2rem auto 0;
    line-height: 1.7;
}

.section-dark .section-subtitle { color: rgba(248,246,242,0.7); }

/* ---- INTRO BLOCK ---- */
.intro {
    background: var(--white);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.intro-inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

.intro-text {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: var(--slate);
    line-height: 1.85;
}

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

.service-card {
    border-top: 2px solid var(--rule);
    padding-top: 2rem;
    transition: border-color 0.25s ease;
}

.service-card:hover {
    border-color: var(--accent);
}

.service-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.9rem;
    line-height: 1.35;
}

.service-body {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.service-link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.service-link:hover {
    color: var(--accent-light);
    border-color: var(--accent-light);
}

/* ---- PRICING HIGHLIGHT ---- */
.pricing-highlight {
    background: var(--accent);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.pricing-highlight-inner {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-highlight h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pricing-highlight p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-highlight .btn-primary {
    background: var(--white);
    color: var(--accent);
}

.pricing-highlight .btn-primary:hover {
    background: rgba(255,255,255,0.9);
}

/* ---- HOW WE WORK ---- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    counter-reset: process;
}

.process-step {
    counter-increment: process;
    position: relative;
    padding-top: 3rem;
    border-top: 1px solid var(--rule);
}

.process-step::before {
    content: "0" counter(process);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.7rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.7;
}

/* ---- PRICING TIERS ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--rule);
    padding: 2.5rem 2rem;
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(45, 95, 74, 0.08);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: var(--warm);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    white-space: nowrap;
}

.pricing-tier {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.pricing-price {
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.pricing-price sub {
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 0.1em;
}

.pricing-period {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 1.8rem;
}

.pricing-rule {
    height: 1px;
    background: var(--rule);
    border: none;
    margin-bottom: 1.8rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    font-size: 0.88rem;
    color: var(--slate);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(212, 208, 200, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '–';
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.05em;
}

/* ---- TESTIMONIAL ---- */
.testimonial-wrap {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-attr {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---- CTA STRIP ---- */
.cta-strip {
    background: var(--ink);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-strip-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-strip h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--warm);
    margin-bottom: 1rem;
}

.cta-strip p {
    font-size: 1rem;
    color: rgba(248,246,242,0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ---- CONTACT FORM ---- */
.contact-section {
    background: var(--ink);
    padding: 6rem 2rem;
}

.contact-section-inner {
    max-width: 740px;
    margin: 0 auto;
}

.contact-section .label { color: rgba(248,246,242,0.4); }

.contact-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 400;
    color: var(--warm);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-section .section-subtitle {
    color: rgba(248,246,242,0.65);
    margin-bottom: 3rem;
    margin-left: 0;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248,246,242,0.45);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: var(--warm);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-group select option { background: var(--ink); color: var(--warm); }

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 246, 242, 0.3);
}

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

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

.form-status {
    margin-top: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    min-height: 1.2rem;
}

.form-status.ok  { color: #7fc98e; }
.form-status.err { color: #e88080; }

/* ---- FOOTER ---- */
footer {
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248,246,242,0.5);
    margin-bottom: 0.4rem;
}

.footer-tagline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: rgba(248,246,242,0.3);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.footer-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(248,246,242,0.3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: rgba(248,246,242,0.7); }

.footer-infra {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: rgba(248,246,242,0.18);
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-infra a {
    color: rgba(248,246,242,0.18);
    text-decoration: none;
}

.footer-infra a:hover { color: rgba(248,246,242,0.35); }

/* ---- PAGE HERO (interior pages) ---- */
.page-hero {
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 5rem 2rem 4rem;
    text-align: center;
}

.page-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ---- ABOUT SPECIFICS ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.team-member-name {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.team-member-role {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.team-member-bio {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.7;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--rule);
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    color: var(--muted);
}

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

.value-item {
    padding: 2rem;
    background: var(--warm);
    border-left: 3px solid var(--accent);
}

.value-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.value-body {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.7;
}

/* ---- FADE-IN ---- */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.5em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .services-grid     { grid-template-columns: 1fr 1fr; }
    .pricing-grid      { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .process-grid      { grid-template-columns: 1fr 1fr; }
    .team-grid         { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .values-grid       { grid-template-columns: 1fr; }
    .footer-inner      { grid-template-columns: 1fr; }
    .footer-links      { flex-wrap: wrap; gap: 1.2rem; }
}

@media (max-width: 768px) {
    html { font-size: 16px; }

    .nav-links, .nav-cta { display: none; }
    .nav-menu-btn { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: var(--warm);
        border-bottom: 1px solid var(--rule);
        padding: 1.5rem 2rem;
        gap: 1.5rem;
    }

    .nav-links.open + .nav-cta {
        display: block;
        padding: 0 2rem 1.5rem;
        background: var(--warm);
        position: absolute;
        top: calc(var(--nav-height) + 10rem);
        left: 0; right: 0;
    }

    .hero { padding: 4rem 1.5rem 4rem; }

    .section { padding: 4rem 1.5rem; }

    .services-grid  { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .process-grid   { grid-template-columns: 1fr; }
    .form-row       { grid-template-columns: 1fr; }

    .trust-bar-inner { gap: 1.5rem; }

    .page-hero { padding: 4rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { width: 100%; text-align: center; }
}
