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

/* ── BASE ── */
body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background-color: #f0f7ff;
    color: #1a1a2e;
    line-height: 1.6;
}

/* ── NAVIGATION ── */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.nav-logo img {
    height: 160px;
    width: auto;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-links a {
    text-decoration: none;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: #f3f4f6; color: #1a1a2e; }
.nav-btn {
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.nav-btn:hover { background: #1d4ed8 !important; }

/* ── MAIN CONTAINER ── */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 4rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

/* ── HERO IMAGE ── */
.service-hero {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin: 1.5rem 0 2rem 0;
    display: block;
}

/* inline hero images (style attribute overrides) */
img[src*="header"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 420px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    margin: 1.5rem 0 2rem 0 !important;
    display: block !important;
}

/* ── CONTENT IMAGES ── */
.content-image,
img[src*="workflow"],
img[src*="benefits"],
img[src*="content"],
img[src*="process"],
img[src*="result"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    margin: 2rem 0 !important;
    display: block !important;
}

/* ── TYPOGRAPHY ── */
h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}
h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
li {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0.4rem;
}
blockquote {
    border-left: 4px solid #2563eb;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: #f0f7ff;
    border-radius: 0 8px 8px 0;
}
strong { color: #1a1a2e; }

/* ── BACK BUTTON ── */
.back-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: background 0.15s;
    margin-bottom: 1.5rem;
}
.back-button:hover { background: #e5e7eb; }

/* ── CTA BUTTONS ── */
.cta-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.5rem 0 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-back {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    background: #f3f4f6;
    color: #374151 !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    transition: background 0.15s;
}
.btn-back:hover { background: #e5e7eb; }
.btn-contact {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    background: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
    transition: background 0.15s;
}
.btn-contact:hover { background: #1d4ed8 !important; }

/* ── REFERENCES ── */
.references {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}
.references p { font-size: 0.875rem; color: #9ca3af; }

/* ── FOOTER ── */
footer {
    background: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 2rem;
    font-size: 0.875rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .container { padding: 2rem 1.5rem; }
    .nav-links a:not(.nav-btn) { display: none; }
    .nav-logo img { height: 100px; }
    nav { height: 120px; }
}
