/* ============================================
   Sano Design — stylesheet
   ============================================ */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --line: #e6e8f0;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --accent-soft: #eef2ff;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --error: #b91c1c;
  --error-bg: #fef2f2;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 12px; color: var(--ink-soft); }

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

ul { padding: 0; margin: 0; list-style: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(79, 70, 229, 0.6); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a:not(.btn) { font-weight: 500; color: var(--ink-soft); }
.main-nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  background: radial-gradient(circle at 15% 0%, var(--accent-soft), transparent 55%),
              radial-gradient(circle at 85% 20%, #ecfeff, transparent 45%);
}
.hero-inner { max-width: 780px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-sub { font-size: 1.1rem; max-width: 620px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero-points { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-points li {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-sub { font-size: 1.02rem; }

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.project-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}
.thumb-1 { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.thumb-2 { background: linear-gradient(135deg, #06b6d4, #67e8f9); }
.thumb-3 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.thumb-4 { background: linear-gradient(135deg, #6366f1, #ec4899); }
.thumb-5 { background: linear-gradient(135deg, #14b8a6, #0ea5e9); }
.thumb-6 { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }
.project-body { padding: 22px; }
.project-body p { font-size: 0.94rem; }
.project-link { font-weight: 600; color: var(--accent); }

/* ---------- Process steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
}
.step-number {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.step p { font-size: 0.94rem; }

/* ---------- Pricing ---------- */
.pricing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--ink), #1e293b);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 28px;
}
.pricing-banner-text h3 { color: #fff; margin-bottom: 6px; }
.pricing-banner-text p { color: #cbd5e1; margin: 0; }
.pricing-banner-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.pricing-banner-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.price-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.price-card-highlight {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0;
}
.price-tag {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
}
.price-tag span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.price-features { margin-bottom: 28px; }
.price-features li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* ---------- Contact ---------- */
.contact-inner { max-width: 620px; }
.contact-form { display: grid; gap: 18px; margin-top: 8px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--bg);
  color: var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-message {
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.form-message-success { background: var(--success-bg); color: var(--success); border: 1px solid #bbf7d0; }
.form-message-error { background: var(--error-bg); color: var(--error); border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-inner a { font-weight: 600; color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 22px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a:not(.btn) { padding: 10px 0; width: 100%; }
  .main-nav .btn { margin-top: 10px; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
  .pricing-banner { flex-direction: column; align-items: flex-start; }
}
