:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --sky: #0ea5e9;
  --sky-dark: #0284c7;
  --pink: #ec4899;
  --pink-dark: #be185d;
  --yellow: #facc15;
  --orange: #f97316;
  --green: #10b981;
  --navy: #0b1830;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 25px rgba(15, 23, 42, .06);
  --shadow: 0 20px 55px rgba(15, 23, 42, .10);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(14,165,233,.35); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.section { padding: 78px 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { color: #fff; background: var(--navy); }
.kicker { margin: 0 0 10px; color: var(--pink-dark); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: 1.18rem; }
p { margin-top: 0; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.16rem); }
.section-dark .lead { color: #cbd5e1; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading > div { max-width: 760px; }
.section-heading p { margin-bottom: 0; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(226,232,240,.8); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; }
.desktop-nav { display: flex; align-items: center; gap: 5px; }
.desktop-nav a { padding: 10px 13px; color: #475569; border-radius: 999px; font-size: .9rem; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--pink-dark); background: #fdf2f8; }
.nav-cta { color: #fff !important; background: linear-gradient(135deg, var(--sky), var(--pink)) !important; box-shadow: 0 10px 24px rgba(14,165,233,.2); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
.mobile-panel { display: none; position: fixed; inset: 72px 0 auto; z-index: 999; padding: 18px 16px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-panel.open { display: grid; gap: 8px; }
.mobile-panel a { padding: 13px 15px; border-radius: 13px; color: #334155; font-weight: 700; background: var(--surface-soft); }

/* Buttons */
.btn { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--sky), var(--pink)); box-shadow: 0 14px 30px rgba(14,165,233,.22); }
.btn-secondary { color: var(--pink-dark); background: #fff; border-color: #f9a8d4; }
.btn-dark { color: #fff; background: var(--ink); }
.btn-light { color: var(--ink); background: #fff; }
.btn-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; background:
  radial-gradient(circle at 85% 15%, rgba(14,165,233,.18), transparent 28%),
  radial-gradient(circle at 12% 35%, rgba(236,72,153,.14), transparent 26%),
  linear-gradient(180deg, #fff, #f8fafc); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 56px; }
.hero h1 span { color: var(--pink); }
.hero-actions { margin: 28px 0 24px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--muted); font-size: .9rem; }
.hero-trust span::before { content: '✓'; margin-right: 7px; color: var(--green); font-weight: 900; }
.hero-visual { position: relative; min-height: 450px; }
.browser-mockup { position: absolute; inset: 25px 0 25px 30px; overflow: hidden; border: 1px solid rgba(148,163,184,.35); border-radius: 26px; background: #fff; box-shadow: 0 32px 80px rgba(15,23,42,.2); transform: rotate(2deg); }
.browser-top { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #f1f5f9; }
.browser-top i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-screen { height: calc(100% - 42px); padding: 22px; background: linear-gradient(135deg, #fdf2f8, #eff6ff); }
.mock-nav { height: 18px; width: 65%; border-radius: 99px; background: #fff; margin-bottom: 24px; }
.mock-title { width: 72%; height: 50px; border-radius: 12px; background: linear-gradient(90deg,var(--navy),#334155); }
.mock-text { width: 88%; height: 12px; border-radius: 99px; background: rgba(100,116,139,.25); margin-top: 14px; }
.mock-text.short { width: 58%; }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 34px; }
.mock-card { height: 130px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.float-badge { position: absolute; padding: 13px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-weight: 800; font-size: .84rem; }
.float-badge.one { right: -10px; top: 10px; color: var(--sky-dark); }
.float-badge.two { left: 0; bottom: 0; color: var(--pink-dark); }

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.card p:last-child { margin-bottom: 0; }
.icon-box { width: 48px; height: 48px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 15px; font-size: 1.4rem; font-weight: 900; }
.icon-sky { color: #0369a1; background: #e0f2fe; }
.icon-pink { color: #be185d; background: #fce7f3; }
.icon-yellow { color: #a16207; background: #fef9c3; }
.icon-green { color: #047857; background: #d1fae5; }
.icon-orange { color: #c2410c; background: #ffedd5; }
.service-card { display: flex; flex-direction: column; }
.service-card ul { padding-left: 18px; color: var(--muted); }
.service-meta { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; color: #334155; font-weight: 750; font-size: .86rem; border-top: 1px solid var(--line); }
.price-from { color: var(--pink-dark); }

/* Stats */
.stats-strip { padding: 28px 0; border-block: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; }
.stat strong { display: block; color: var(--navy); font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: .86rem; }

/* Portfolio */
.project-card { overflow: hidden; padding: 0; }
.project-visual { min-height: 220px; padding: 22px; display: flex; align-items: end; background: linear-gradient(135deg,#dbeafe,#fce7f3); }
.project-visual.alt { background: linear-gradient(135deg,#dcfce7,#fef3c7); }
.project-visual.dark { background: linear-gradient(135deg,#0f172a,#334155); }
.project-window { width: 100%; height: 170px; padding: 14px; border-radius: 16px 16px 5px 5px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.project-window .bar { width: 48%; height: 10px; border-radius: 99px; background: #cbd5e1; }
.project-window .body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.project-window .body span { height: 100px; border-radius: 12px; background: #f1f5f9; }
.project-content { padding: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.tag { padding: 5px 9px; color: #475569; background: #f1f5f9; border-radius: 999px; font-size: .72rem; font-weight: 750; }

/* Process */
.process-list { display: grid; grid-template-columns: repeat(7,1fr); gap: 10px; counter-reset: step; }
.process-step { position: relative; padding: 20px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; }
.process-step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; margin: 0 auto 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--sky),var(--pink)); border-radius: 50%; font-weight: 900; }
.process-step strong { display: block; font-size: .86rem; }
.process-step span { color: var(--muted); font-size: .74rem; }

/* Forms */
.form-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .83rem; font-weight: 800; color: #334155; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 13px; outline: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(14,165,233,.1); }
.form-message { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.form-message.show { display: block; }
.form-message.success { color: #047857; background: #ecfdf5; }
.form-message.error { color: #b91c1c; background: #fef2f2; }
.honeypot { position: absolute !important; left: -10000px !important; opacity: 0 !important; }

/* Quote */
.quote-shell { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 26px; align-items: start; }
.quote-main { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.quote-progress { display: grid; grid-template-columns: repeat(6,1fr); gap: 7px; margin-bottom: 28px; }
.quote-progress span { height: 7px; border-radius: 99px; background: #e2e8f0; }
.quote-progress span.active { background: linear-gradient(90deg,var(--sky),var(--pink)); }
.quote-step { display: none; }
.quote-step.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform:none;} }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { min-height: 96px; padding: 16px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; }
.choice label strong { margin-bottom: 4px; }
.choice label small { color: var(--muted); }
.choice input:checked + label { border-color: var(--sky); background: #f0f9ff; box-shadow: 0 0 0 3px rgba(14,165,233,.12); }
.quote-nav { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px; }
.currency-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 18px; }
.currency-tabs button { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #475569; font-weight: 850; }
.currency-tabs button.active { color: #fff; border-color: transparent; background: linear-gradient(135deg,var(--sky),var(--pink)); }
.quote-summary { position: sticky; top: 92px; padding: 24px; border-radius: var(--radius); color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.quote-summary small { color: #94a3b8; }
.quote-price { margin: 16px 0; font-size: 1.7rem; font-weight: 900; line-height: 1.25; }
.summary-list { display: grid; gap: 10px; padding: 0; list-style: none; font-size: .84rem; color: #cbd5e1; }
.summary-list li { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.1); }
.quote-result { display: none; margin-top: 24px; padding: 24px; border-radius: 20px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.quote-result.show { display: block; }

/* About */
.team-card { text-align: center; }
.team-photo { width: 104px; height: 104px; margin: 0 auto 16px; object-fit: cover; border-radius: 50%; border: 5px solid #f1f5f9; }
.values-grid .card:nth-child(1) { border-top: 5px solid var(--yellow); }
.values-grid .card:nth-child(2) { border-top: 5px solid var(--green); }
.values-grid .card:nth-child(3) { border-top: 5px solid var(--sky); }
.values-grid .card:nth-child(4) { border-top: 5px solid var(--pink); }

/* Blog */
.article-card { overflow: hidden; padding: 0; }
.article-cover { min-height: 170px; padding: 22px; display: flex; align-items: end; color: #fff; background: linear-gradient(135deg,var(--navy),var(--sky)); }
.article-card:nth-child(2) .article-cover { background: linear-gradient(135deg,var(--pink-dark),var(--orange)); }
.article-card:nth-child(3) .article-cover { background: linear-gradient(135deg,#065f46,var(--green)); }
.article-content { padding: 24px; }
.article-meta { color: var(--muted); font-size: .78rem; }

/* CTA & footer */
.cta-box { padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg,var(--navy),#172554); box-shadow: var(--shadow); }
.cta-box p { margin-bottom: 0; color: #cbd5e1; }
.site-footer { padding: 54px 0 100px; color: #cbd5e1; background: #071123; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 45px; filter: brightness(0) invert(1); }
.footer-title { color: #fff; font-weight: 850; }
.footer-links { display: grid; gap: 8px; font-size: .88rem; }
.footer-bottom { margin-top: 35px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.mobile-bottom-nav { display: none; }

/* Legal */
.legal-content { max-width: 860px; }
.legal-content h2 { margin-top: 34px; font-size: 1.35rem; }
.legal-content p, .legal-content li { color: #475569; }

/* Admin */
.admin-body { background: #f1f5f9; }
.admin-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top right,rgba(14,165,233,.18),transparent 35%),#f8fafc; }
.admin-login-card { width: min(100%,430px); padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.admin-login-card img { height: 48px; margin: 0 auto 24px; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; color: #cbd5e1; background: var(--navy); }
.admin-sidebar img { height: 44px; margin: 0 10px 32px; filter: brightness(0) invert(1); }
.admin-nav { display: grid; gap: 7px; }
.admin-nav button { padding: 13px 14px; color: #cbd5e1; border: 0; border-radius: 12px; background: transparent; text-align: left; font-weight: 750; }
.admin-nav button.active, .admin-nav button:hover { color: #fff; background: rgba(255,255,255,.1); }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 70px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.admin-content { padding: 26px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat { padding: 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); border-left: 5px solid var(--sky); }
.admin-stat:nth-child(2) { border-left-color: var(--pink); }
.admin-stat:nth-child(3) { border-left-color: var(--green); }
.admin-stat:nth-child(4) { border-left-color: var(--orange); }
.admin-stat strong { display: block; font-size: 1.8rem; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: #475569; background: #f8fafc; }
.status { padding: 5px 8px; border-radius: 999px; font-size: .7rem; font-weight: 850; }
.status.NEW { color: #b45309; background: #fef3c7; }
.status.ACCEPTED, .status.REPLIED, .status.COMPLETED { color: #047857; background: #d1fae5; }
.status.REFUSED, .status.ARCHIVED { color: #b91c1c; background: #fee2e2; }
.status.ANALYSIS, .status.SENT, .status.TO_CONTACT, .status.READ { color: #0369a1; background: #e0f2fe; }
.admin-toolbar { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.admin-toolbar input, .admin-toolbar select { min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.drawer { position: fixed; inset: 0 0 0 auto; z-index: 2000; width: min(520px,100%); padding: 26px; overflow: auto; background: #fff; box-shadow: -20px 0 60px rgba(15,23,42,.18); transform: translateX(105%); transition: transform .25s ease; }
.drawer.open { transform: none; }
.drawer-backdrop { display: none; position: fixed; inset: 0; z-index: 1999; background: rgba(15,23,42,.42); }
.drawer-backdrop.open { display: block; }

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .process-list { grid-template-columns: repeat(4,1fr); }
  .quote-shell { grid-template-columns: 1fr; }
  .quote-summary { position: static; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar img { margin-bottom: 18px; }
  .admin-nav { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 720px) {
  body { padding-bottom: 76px; font-size: 15px; }
  .section { padding: 54px 0; }
  .site-header .header-inner { min-height: 64px; }
  .brand img { height: 36px; }
  .mobile-panel { top: 64px; }
  .hero { padding: 56px 0 42px; }
  .hero-grid { gap: 30px; }
  .hero-visual { min-height: 300px; }
  .browser-mockup { inset: 10px 0 15px 12px; }
  .float-badge { padding: 10px 12px; font-size: .72rem; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .section-heading { align-items: start; flex-direction: column; }
  .process-list { grid-template-columns: repeat(2,1fr); }
  .cta-box { padding: 28px; align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .choice-grid { grid-template-columns: 1fr; }
  .quote-main { padding: 22px 16px; }
  .quote-progress { gap: 4px; }
  .quote-nav { flex-direction: column-reverse; }
  .quote-nav .btn { width: 100%; }
  .mobile-bottom-nav { position: fixed; left: 12px; right: 12px; bottom: max(10px,env(safe-area-inset-bottom)); z-index: 1200; min-height: 58px; padding: 7px; display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid rgba(226,232,240,.9); border-radius: 20px; background: rgba(255,255,255,.95); backdrop-filter: blur(18px); box-shadow: 0 18px 45px rgba(15,23,42,.18); }
  .mobile-bottom-nav a { display: grid; place-items: center; gap: 2px; color: #64748b; font-size: .66rem; font-weight: 800; }
  .mobile-bottom-nav a strong { font-size: 1.05rem; line-height: 1; }
  .mobile-bottom-nav a.active { color: var(--pink-dark); }
  .admin-nav { grid-template-columns: repeat(2,1fr); }
  .admin-content { padding: 18px 12px; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .admin-topbar { padding: 0 14px; }
}
@media (max-width: 420px) {
  h1 { font-size: 2rem; }
  .container { width: min(calc(100% - 22px),var(--max)); }
  .button-row .btn { width: 100%; }
  .hero-trust { display: grid; gap: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat strong { font-size: 1.35rem; }
  .process-list { grid-template-columns: 1fr; }
  .currency-tabs button { font-size: .75rem; }
  .admin-stats { grid-template-columns: 1fr; }
}
