/* ========================================
   Cenla Work Ready Network — Styles
   Charcoal + Coral | Clean Minimalist
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    background-color: #FAFAF9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: #1F2937;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #F97316;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: #1F2937;
}

.section-sub {
    font-size: 1.0625rem;
    color: #6B7280;
    max-width: 560px;
    line-height: 1.75;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: #F97316;
    color: #FFFFFF;
    border: 1.5px solid #F97316;
}

.btn--primary:hover {
    background-color: #EA6C0A;
    border-color: #EA6C0A;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.08);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background-color: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.125rem;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.nav__logo svg {
    color: #F97316;
}

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

.nav__link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #F97316;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #FFFFFF;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #F97316;
    transition: color 0.3s ease;
}

.nav__cta:hover {
    color: #FF8C42;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(24, 24, 27, 0.88) 0%,
        rgba(31, 41, 55, 0.82) 50%,
        rgba(55, 65, 81, 0.72) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-top: 80px;
}

.hero__eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #F97316;
    margin-bottom: 24px;
}

.hero__headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 300;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 680px;
}

.hero__sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
}

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

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* --- Intro --- */
.intro {
    padding: 120px 0;
    background-color: #FAFAF9;
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 28px;
    color: #1F2937;
}

.intro__body {
    color: #6B7280;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.intro__stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #E5E7EB;
}

.stat__number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #1F2937;
    line-height: 1.2;
}

.stat__label {
    font-size: 13px;
    color: #9CA3AF;
    letter-spacing: 0.02em;
}

.intro__image {
    position: relative;
}

.intro__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.intro__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid #F97316;
    border-radius: 2px;
    z-index: -1;
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background-color: #F5F5F4;
}

.section-header {
    margin-bottom: 64px;
}

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

.card {
    background-color: #FFFFFF;
    padding: 40px 32px;
    border-radius: 2px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #F97316;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F97316;
    margin-bottom: 24px;
}

.card__icon svg {
    stroke: currentColor;
}

.card__title {
    font-size: 1.375rem;
    margin-bottom: 14px;
    color: #1F2937;
}

.card__body {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.75;
}

/* --- Process --- */
.process {
    padding: 120px 0;
    background-color: #18181B;
}

.process__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.process__content .section-title {
    color: #FFFFFF;
}

.process__steps {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
}

.step__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #F97316;
    line-height: 1;
    padding-top: 4px;
}

.step__title {
    font-size: 1.375rem;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.step__body {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
}

.process__image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
}

/* --- CTA / Contact --- */
.cta {
    padding: 120px 0;
    background-color: #FAFAF9;
}

.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.cta__body {
    font-size: 1.0625rem;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta__detail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: #374151;
}

.cta__detail svg {
    color: #F97316;
    flex-shrink: 0;
}

.cta__detail a {
    color: #374151;
    transition: color 0.3s ease;
}

.cta__detail a:hover {
    color: #F97316;
}

/* --- Form --- */
.form {
    background-color: #FFFFFF;
    padding: 48px;
    border-radius: 2px;
    border: 1px solid #E5E7EB;
}

.form__title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: #1F2937;
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 8px;
}

.form__input {
    width: 100%;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #1F2937;
    background: transparent;
    border: none;
    border-bottom: 1px solid #E5E7EB;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form__input:focus {
    border-bottom-color: #F97316;
}

.form__input::placeholder {
    color: #9CA3AF;
}

.form__select {
    cursor: pointer;
    color: #9CA3AF;
}

.form__select:focus {
    color: #1F2937;
}

.form__textarea {
    resize: vertical;
    min-height: 80px;
}

.form__note {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 16px;
    text-align: center;
}

.form__success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 2px;
    margin-top: 20px;
    font-size: 14px;
    color: #166534;
}

.form__success svg {
    color: #22C55E;
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background-color: #18181B;
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .nav__logo {
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 260px;
    line-height: 1.7;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: #F97316;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.footer__contact a:hover {
    color: #F97316;
}

.footer__bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

.footer__disclaimer {
    max-width: 480px;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .intro__grid,
    .process__inner,
    .cta__inner {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #18181B;
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s ease;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__link {
        font-size: 16px;
    }

    .nav__cta {
        font-size: 14px;
    }

    .hero__content {
        padding-top: 60px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .intro__grid,
    .process__inner,
    .cta__inner {
        grid-template-columns: 1fr;
    }

    .intro__image {
        order: -1;
    }

    .intro__image img {
        height: 320px;
    }

    .intro__image-accent {
        display: none;
    }

    .intro__stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .process__image img {
        height: 360px;
    }

    .form {
        padding: 32px 24px;
    }

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

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: 600px;
    }

    .intro,
    .services,
    .process,
    .cta {
        padding: 80px 0;
    }
}
