/* === IMBATIK SERVICE PAGE CSS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #5C82F2;
  --primary-dark: #3a5fd4;
  --coral: #FF7B72;
  --green: #6FDBA5;
  --yellow: #FFD266;
  --dark: #1A1C1E;
  --muted: #434653;
  --bg: #F8F9FA;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --radius: 12px;
  --radius-full: 9999px;
  --shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  --shadow-hover: 0 4px 6px rgba(60,64,67,.3), 0 8px 12px 6px rgba(60,64,67,.15);
  --max-w: 1200px;
}

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

body.service-page { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--dark); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* NAV */
.sp-nav { background: rgba(255,255,255,.85); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(0,0,0,.06); }
.sp-nav__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.sp-nav__logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: -.03em; }
.sp-nav__links { display: flex; gap: 32px; list-style: none; }
.sp-nav__links a { font-size: .875rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.sp-nav__links a:hover { color: var(--primary); }
.sp-nav__cta { background: var(--primary); color: #fff; padding: 10px 24px; border-radius: var(--radius-full); font-weight: 600; font-size: .875rem; text-decoration: none; transition: background .2s, transform .2s; box-shadow: var(--shadow); }
.sp-nav__cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
@media(max-width:768px){ .sp-nav__links { display:none; } }

/* HERO */
.sp-hero { position: relative; padding: 80px 24px 100px; overflow: hidden; }
.sp-hero::before { content:''; position:absolute; top:-200px; right:-200px; width:600px; height:600px; background:radial-gradient(circle, rgba(92,130,242,.08) 0%, transparent 70%); border-radius:50%; }
.sp-hero::after { content:''; position:absolute; bottom:-150px; left:-150px; width:500px; height:500px; background:radial-gradient(circle, rgba(255,123,114,.06) 0%, transparent 70%); border-radius:50%; }
.sp-hero__inner { max-width:var(--max-w); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; position:relative; z-index:1; }
.sp-hero__badge { display:inline-flex; align-items:center; gap:8px; background:#EEF2FF; color:var(--primary); border:1px solid #C7D2FE; border-radius:var(--radius-full); padding:6px 16px; font-size:.75rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; margin-bottom:24px; }
.sp-hero__badge svg { width:14px; height:14px; fill:currentColor; }
.sp-hero h1 { font-size:clamp(2.5rem, 5vw, 3.5rem); font-weight:800; line-height:1.1; letter-spacing:-.03em; margin-bottom:24px; }
.sp-hero h1 span { color:var(--primary); }
.sp-hero__desc { font-size:1.125rem; color:var(--muted); line-height:1.7; margin-bottom:36px; max-width:520px; }
.sp-hero__actions { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.btn-primary { background:var(--primary); color:#fff; padding:16px 32px; border-radius:var(--radius-full); font-weight:700; font-size:1rem; text-decoration:none; display:inline-flex; align-items:center; gap:8px; transition:transform .2s, box-shadow .2s; box-shadow:var(--shadow); }
.btn-primary:hover { transform:translateY(-2px) scale(1.02); box-shadow:var(--shadow-hover); }
.btn-outline { border:2px solid var(--border); color:var(--dark); padding:14px 28px; border-radius:var(--radius-full); font-weight:600; font-size:1rem; text-decoration:none; transition:border-color .2s, color .2s; }
.btn-outline:hover { border-color:var(--primary); color:var(--primary); }
.sp-hero__social-proof { display:flex; align-items:center; gap:12px; margin-top:20px; }
.sp-hero__avatars { display:flex; }
.sp-hero__avatars span { width:36px; height:36px; border-radius:50%; border:2px solid #fff; margin-left:-10px; display:block; }
.sp-hero__avatars span:first-child { margin-left:0; background:var(--coral); }
.sp-hero__avatars span:nth-child(2) { background:var(--green); }
.sp-hero__avatars span:nth-child(3) { background:var(--yellow); }
.sp-hero__proof-text { font-size:.875rem; font-weight:500; color:var(--muted); }

/* FORM CARD */
.sp-hero__form-wrap { position:relative; }
.sp-form-card { background:#fff; border-radius:20px; padding:36px; box-shadow:var(--shadow-hover); border:1px solid rgba(0,0,0,.06); }
.sp-form-card h2 { font-size:1.375rem; font-weight:800; margin-bottom:6px; }
.sp-form-card p { font-size:.875rem; color:var(--muted); margin-bottom:24px; line-height:1.5; }
.sp-form-card .form-group { margin-bottom:16px; }
.sp-form-card label { display:block; font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:6px; }
.sp-form-card input, .sp-form-card select, .sp-form-card textarea { width:100%; padding:12px 16px; border:1.5px solid var(--border); border-radius:var(--radius); font-family:inherit; font-size:.9375rem; color:var(--dark); background:#fff; transition:border-color .2s, box-shadow .2s; outline:none; }
.sp-form-card input:focus, .sp-form-card select:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(92,130,242,.15); }
.sp-form-card .form-check { display:flex; align-items:flex-start; gap:10px; margin:16px 0; }
.sp-form-card .form-check input { width:auto; margin-top:2px; }
.sp-form-card .form-check label { font-size:.7rem; text-transform:none; letter-spacing:0; line-height:1.5; }
.btn-submit { width:100%; background:var(--green); color:var(--dark); padding:16px; border-radius:var(--radius); font-weight:700; font-size:1rem; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:background .2s, transform .2s; margin-top:8px; }
.btn-submit:hover { background:#5bc994; transform:translateY(-1px); }
.sp-form-deco-1 { position:absolute; top:-20px; right:-20px; width:60px; height:60px; background:var(--yellow); border-radius:50%; opacity:.5; z-index:-1; }
.sp-form-deco-2 { position:absolute; bottom:-30px; left:-30px; width:80px; height:80px; background:rgba(255,123,114,.2); border-radius:12px; transform:rotate(15deg); z-index:-1; }
@media(max-width:900px){ .sp-hero__inner { grid-template-columns:1fr; } .sp-hero { padding:60px 20px 80px; } }

/* LOGOS MARQUEE */
.sp-logos { background:#fff; padding:48px 0; border-bottom:1px solid var(--border); border-top:1px solid var(--border); overflow:hidden; }
.sp-logos__label { text-align:center; font-size:.65rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-bottom:28px; }
.sp-logos__track { display:flex; gap:64px; animation:marquee 30s linear infinite; width:max-content; }
.sp-logos__wrap { mask-image:linear-gradient(to right, transparent, black 10%, black 90%, transparent); overflow:hidden; }
.sp-logos__track span { font-size:1.2rem; font-weight:800; color:#CBD5E1; white-space:nowrap; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* STATS BAR */
.sp-stats { background:var(--primary); color:#fff; padding:72px 24px; }
.sp-stats__inner { max-width:var(--max-w); margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:48px; text-align:center; }
.sp-stats__item:hover .sp-stats__icon { transform:scale(1.1); }
.sp-stats__icon { width:64px; height:64px; background:rgba(255,255,255,.1); border-radius:16px; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; transition:transform .3s; }
.sp-stats__icon svg { width:32px; height:32px; fill:currentColor; }
.sp-stats__number { font-size:3rem; font-weight:800; line-height:1; }
.sp-stats__title { font-size:1rem; font-weight:500; opacity:.85; margin:8px 0 4px; }
.sp-stats__desc { font-size:.8rem; opacity:.6; }
@media(max-width:640px){ .sp-stats__inner { grid-template-columns:1fr; gap:40px; } }

/* SECTION BASE */
.sp-section { padding:96px 24px; }
.sp-section--gray { background:var(--bg); }
.sp-section--white { background:#fff; }
.sp-section__inner { max-width:var(--max-w); margin:0 auto; }
.sp-section__header { text-align:center; max-width:700px; margin:0 auto 64px; }
.sp-section__label { font-size:.7rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--primary); margin-bottom:16px; }
.sp-section__title { font-size:clamp(1.75rem, 3.5vw, 2.5rem); font-weight:800; letter-spacing:-.025em; margin-bottom:16px; line-height:1.2; }
.sp-section__subtitle { font-size:1.0625rem; color:var(--muted); line-height:1.7; }

/* WHY US CARDS */
.sp-why { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.sp-why__card { padding:36px; border-radius:var(--radius); border:1px solid var(--border); background:rgba(248,249,250,.5); transition:border-color .3s, box-shadow .3s; }
.sp-why__card:hover { border-color:rgba(92,130,242,.3); box-shadow:var(--shadow); }
.sp-why__icon { width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.sp-why__icon svg { width:22px; height:22px; fill:currentColor; }
.sp-why__card--blue .sp-why__icon { background:var(--primary); color:#fff; }
.sp-why__card--coral .sp-why__icon { background:var(--coral); color:#fff; }
.sp-why__card--green .sp-why__icon { background:var(--green); color:var(--dark); }
.sp-why__card h3 { font-size:1.125rem; font-weight:700; margin-bottom:12px; }
.sp-why__card p { font-size:.875rem; color:var(--muted); line-height:1.65; }
@media(max-width:768px){ .sp-why { grid-template-columns:1fr; } }

/* METHODOLOGY */
.sp-method { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.sp-method__card { background:#fff; border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); position:relative; }
.sp-method__card--1 { border-top:4px solid var(--primary); }
.sp-method__card--2 { border-top:4px solid var(--coral); }
.sp-method__card--3 { border-top:4px solid var(--green); }
.sp-method__card--4 { border-top:4px solid var(--yellow); }
.sp-method__num { position:absolute; top:-16px; right:24px; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1rem; color:#fff; }
.sp-method__card--1 .sp-method__num { background:var(--primary); }
.sp-method__card--2 .sp-method__num { background:var(--coral); }
.sp-method__card--3 .sp-method__num { background:var(--green); color:var(--dark); }
.sp-method__card--4 .sp-method__num { background:var(--yellow); color:var(--dark); }
.sp-method__icon { width:48px; height:48px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.sp-method__card--1 .sp-method__icon { background:rgba(92,130,242,.1); color:var(--primary); }
.sp-method__card--2 .sp-method__icon { background:rgba(255,123,114,.1); color:var(--coral); }
.sp-method__card--3 .sp-method__icon { background:rgba(111,219,165,.1); color:#3bad7a; }
.sp-method__card--4 .sp-method__icon { background:rgba(255,210,102,.1); color:#b8920a; }
.sp-method__icon svg { width:24px; height:24px; fill:currentColor; }
.sp-method__card h4 { font-size:1.0625rem; font-weight:700; margin-bottom:10px; }
.sp-method__card p { font-size:.8125rem; color:var(--muted); line-height:1.6; }
@media(max-width:900px){ .sp-method { grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .sp-method { grid-template-columns:1fr; } }

/* SERVICES GRID */
.sp-services { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.sp-services__card { padding:32px; border-radius:var(--radius); background:var(--bg); border:1px solid var(--border); transition:background .3s, box-shadow .3s; }
.sp-services__card:hover { background:#fff; box-shadow:var(--shadow-hover); }
.sp-services__icon { width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; transition:transform .3s; }
.sp-services__card:hover .sp-services__icon { transform:scale(1.1); }
.sp-services__icon svg { width:28px; height:28px; fill:currentColor; }
.sp-services__card h3 { font-size:1.0625rem; font-weight:700; margin-bottom:12px; }
.sp-services__card p { font-size:.8125rem; color:var(--muted); line-height:1.65; margin-bottom:16px; }
.sp-services__tags { list-style:none; display:flex; flex-direction:column; gap:6px; }
.sp-services__tags li { display:flex; align-items:center; gap:8px; font-size:.7rem; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.sp-services__tags li::before { content:''; width:6px; height:6px; border-radius:50%; flex-shrink:0; }
@media(max-width:900px){ .sp-services { grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .sp-services { grid-template-columns:1fr; } }

/* RESULTS */
.sp-results { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.sp-results__card { background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.sp-results__visual { height:200px; display:flex; align-items:center; justify-content:center; }
.sp-results__visual--blue { background:rgba(92,130,242,.15); }
.sp-results__visual--coral { background:rgba(255,123,114,.15); }
.sp-results__visual span { font-size:2.5rem; font-weight:800; }
.sp-results__visual--blue span { color:var(--primary); }
.sp-results__visual--coral span { color:var(--coral); }
.sp-results__body { padding:28px; }
.sp-results__body h4 { font-size:1.25rem; font-weight:800; margin-bottom:8px; }
.sp-results__body p { font-size:.8125rem; color:var(--muted); line-height:1.6; margin-bottom:20px; }
.sp-results__kpis { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.sp-results__kpi { background:var(--bg); border-radius:8px; padding:14px; text-align:center; }
.sp-results__kpi-num { font-size:1.375rem; font-weight:800; }
.sp-results__kpi-label { font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-top:2px; }
@media(max-width:640px){ .sp-results { grid-template-columns:1fr; } }

/* TESTIMONIALS */
.sp-testimonials { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.sp-testimonial { background:var(--bg); border-radius:var(--radius); padding:32px; position:relative; }
.sp-testimonial__quote { position:absolute; top:16px; right:16px; font-size:3rem; font-weight:800; line-height:1; opacity:.1; }
.sp-testimonial__stars { display:flex; gap:3px; margin-bottom:16px; }
.sp-testimonial__stars svg { width:16px; height:16px; fill:var(--yellow); }
.sp-testimonial__text { font-size:.875rem; color:var(--muted); line-height:1.7; font-style:italic; margin-bottom:20px; }
.sp-testimonial__author { display:flex; align-items:center; gap:12px; }
.sp-testimonial__avatar { width:44px; height:44px; border-radius:50%; background:var(--border); flex-shrink:0; }
.sp-testimonial__name { font-size:.875rem; font-weight:700; }
.sp-testimonial__role { font-size:.75rem; color:var(--muted); }
@media(max-width:900px){ .sp-testimonials { grid-template-columns:1fr; } }

/* FAQ */
.sp-faq { max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.sp-faq__item { background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.sp-faq__item summary { padding:22px 28px; cursor:pointer; font-weight:700; font-size:1.0625rem; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.sp-faq__item summary::-webkit-details-marker { display:none; }
.sp-faq__arrow { width:20px; height:20px; transition:transform .3s; color:var(--primary); }
.sp-faq__item[open] .sp-faq__arrow { transform:rotate(180deg); }
.sp-faq__body { padding:0 28px 22px; font-size:.9375rem; color:var(--muted); line-height:1.7; border-top:1px solid var(--bg); padding-top:16px; }

/* CTA FINAL */
.sp-cta { background:var(--primary); color:#fff; padding:100px 24px; text-align:center; position:relative; overflow:hidden; }
.sp-cta::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 100 C20 0 50 0 100 100' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") no-repeat center/cover; }
.sp-cta__inner { position:relative; z-index:1; max-width:760px; margin:0 auto; }
.sp-cta h2 { font-size:clamp(2rem, 4vw, 3rem); font-weight:800; letter-spacing:-.03em; margin-bottom:20px; line-height:1.15; }
.sp-cta p { font-size:1.125rem; opacity:.9; margin-bottom:48px; }
.sp-cta__actions { display:flex; flex-wrap:wrap; gap:16px; justify-content:center; margin-bottom:48px; }
.btn-white { background:#fff; color:var(--primary); padding:18px 40px; border-radius:var(--radius-full); font-weight:700; font-size:1.0625rem; text-decoration:none; display:inline-flex; align-items:center; gap:8px; box-shadow:var(--shadow); transition:transform .2s; }
.btn-white:hover { transform:scale(1.03); }
.btn-ghost { border:2px solid rgba(255,255,255,.3); background:rgba(255,255,255,.1); color:#fff; padding:16px 40px; border-radius:var(--radius-full); font-weight:700; font-size:1.0625rem; text-decoration:none; display:inline-flex; align-items:center; gap:8px; transition:background .2s; }
.btn-ghost:hover { background:rgba(255,255,255,.2); }
.sp-cta__locations { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.sp-cta__loc { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); border-radius:12px; padding:10px 20px; font-size:.8125rem; font-weight:700; text-decoration:none; color:#fff; display:flex; align-items:center; gap:6px; transition:background .2s; }
.sp-cta__loc:hover { background:rgba(255,255,255,.2); }
.sp-cta__tagline { margin-top:40px; font-size:.875rem; opacity:.65; }

/* FOOTER */
.sp-footer { background:#fff; border-top:1px solid var(--border); padding:60px 24px 32px; }
.sp-footer__inner { max-width:var(--max-w); margin:0 auto; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.sp-footer__logo { font-size:1.375rem; font-weight:800; color:var(--primary); letter-spacing:-.03em; display:block; margin-bottom:16px; }
.sp-footer__desc { font-size:.8125rem; color:var(--muted); line-height:1.65; }
.sp-footer__col h5 { font-size:.875rem; font-weight:700; margin-bottom:20px; }
.sp-footer__col ul { list-style:none; display:flex; flex-direction:column; gap:12px; }
.sp-footer__col ul a { font-size:.8125rem; color:var(--muted); text-decoration:none; transition:color .2s; }
.sp-footer__col ul a:hover { color:var(--primary); }
.sp-footer__bottom { max-width:var(--max-w); margin:0 auto; padding-top:24px; border-top:1px solid var(--bg); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.sp-footer__bottom p { font-size:.75rem; color:var(--muted); }
@media(max-width:768px){ .sp-footer__inner { grid-template-columns:1fr; gap:32px; } }

/* ANIMATIONS */
@media(prefers-reduced-motion: no-preference) {
  .sp-hero__content, .sp-hero__form-wrap { animation: fadeInUp .6s ease both; }
  .sp-hero__form-wrap { animation-delay: .15s; }
}
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
