* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --canvas: #FAFAF9;
    --text: #1A1A1A;
    --text-muted: #6B7280;
    --accent: #2563EB;
    --accent-hover: #1d4ed8;
    --accent-soft: #EFF6FF;
    --border: #E5E7EB;
    --section-alt: #F3F4F6;
    --dark: #18181B;
}
body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--canvas);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(37, 99, 235, 0.22); background: var(--accent-hover); }
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text);
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    transition: transform 0.2s, background 0.2s;
}
.btn-secondary:hover { background: var(--section-alt); transform: scale(1.02); }
.btn-ghost {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1.05rem; }
.section-header { margin-bottom: 3rem; }

/* Nav */
nav {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(250, 250, 249, 0.92);
    backdrop-filter: blur(14px);
    z-index: 100;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}
.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--dark);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--dark) !important;
    color: white !important;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
}
.nav-cta:hover { transform: scale(1.03); opacity: 0.88; }
.mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.3s; }
.mobile-menu.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-menu.active span:nth-child(2) { opacity: 0; }
.mobile-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Hero */
.hero { padding: clamp(2rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.hero-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}
.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
    text-wrap: balance;
}
.hero p {
    font-size: clamp(0.88rem, 1.3vw, 0.98rem);
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.65;
    max-width: 440px;
}
.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-photo { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-photo img {
    width: 220px;
    height: 280px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center 15%;
    border: 3px solid var(--border);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.intro-text { font-size: 0.8rem; color: var(--text-muted); text-align: center; max-width: 240px; line-height: 1.5; }
.intro-name { font-weight: 600; color: var(--text); }

/* Trust bar */
.trust-bar { padding: 1.5rem 0; background: var(--section-alt); border-bottom: 1px solid var(--border); }
.trust-items { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); }
.trust-icon { color: #16a34a; font-weight: 700; font-size: 0.9rem; }

/* Services overview */
.services-overview { padding: clamp(4rem, 8vw, 7rem) 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.service-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    position: relative;
    background: white;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); }
.service-card.featured { border-color: var(--accent); border-width: 2px; }
.service-tag {
    position: absolute;
    top: -10px;
    left: 1.5rem;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.service-icon-large { margin-bottom: 1rem; color: var(--accent); }
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.service-link { color: var(--accent); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: gap 0.2s; display: inline-flex; align-items: center; gap: 0.25rem; }
.service-link:hover { gap: 0.5rem; }

/* Process */
.process { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--section-alt); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; counter-reset: step; }
.step { counter-increment: step; }
.step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* Stats */
.stats { padding: clamp(3rem, 6vw, 5rem) 0; }
.stats-row { display: flex; justify-content: center; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; text-align: center; }
.stat { padding: 1rem; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--accent); }
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.2rem; }

/* Industries */
.industries { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--section-alt); }
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: 800px;
    margin: 0 auto;
}
.industry-tag {
    background: white;
    border: 1px solid var(--border);
    padding: 0.45rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: all 0.2s;
}
.industry-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* CTA */
.cta-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.cta-card {
    background: var(--dark);
    color: white;
    padding: clamp(2.5rem, 5vw, 4rem);
    border-radius: 20px;
    text-align: center;
}
.cta-card h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.cta-card p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1rem; max-width: 450px; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }
.cta-buttons { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-card .btn-primary { background: white; color: var(--dark); }
.cta-card .btn-primary:hover { background: #f0f0f0; box-shadow: 0 8px 30px rgba(255,255,255,0.15); }
.cta-card .btn-ghost { color: rgba(255,255,255,0.6); }
.cta-card .btn-ghost:hover { color: white; }

/* Footer */
footer { padding: 3rem 0 2rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { font-weight: 600; font-size: 1.05rem; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; max-width: 300px; }
.footer-links h4 { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.75rem; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.88rem; margin-bottom: 0.4rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.78rem; }

/* Page header (for sub-pages) */
.page-header { padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; background: var(--section-alt); }
.page-header h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.page-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 550px; margin: 0 auto; }

/* Service detail cards (for services page) */
.service-detail { padding: clamp(3rem, 6vw, 5rem) 0; }
.service-detail:nth-child(even) { background: var(--section-alt); }
.service-detail .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.service-detail:nth-child(even) .container { direction: rtl; }
.service-detail:nth-child(even) .container > * { direction: ltr; }
.service-detail-content h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.service-detail-content p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1rem; }
.service-detail-content ul { list-style: none; padding: 0; }
.service-detail-content li { padding: 0.35rem 0; padding-left: 1.5rem; position: relative; color: var(--text-muted); font-size: 0.9rem; }
.service-detail-content li::before { content: "\2713"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.service-visual {
    border-radius: 16px;
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About page */
.about-intro { padding: clamp(4rem, 8vw, 6rem) 0; }
.about-intro .container { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: center; }
.about-photo img { width: 100%; max-width: 320px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.about-text h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1rem; }
.values { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--section-alt); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.value-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.value-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* Animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 768px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-photo { order: -1; }
    .hero-photo img { width: 160px; height: 200px; }
    .nav-links { display: none; position: fixed; top: 56px; left: 0; right: 0; background: var(--canvas); flex-direction: column; padding: 2rem; gap: 1.2rem; border-bottom: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .mobile-menu { display: block; }
    .stats-row { flex-direction: column; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .service-detail .container { grid-template-columns: 1fr; }
    .service-detail:nth-child(even) .container { direction: ltr; }
    .about-intro .container { grid-template-columns: 1fr; text-align: center; }
    .about-photo { display: flex; justify-content: center; }
    .trust-items { flex-direction: column; align-items: center; gap: 0.5rem; }
}
