/* ============================================================
   WebCraft Studio — shared stylesheet
   Clean & minimal white theme
   Edit the :root variables below to rebrand quickly.
   ============================================================ */

:root {
  --brand:        #2563eb;   /* primary blue  */
  --brand-dark:   #1e40af;
  --brand-soft:   #eff4ff;
  --ink:          #0f172a;   /* near-black text */
  --body:         #475569;   /* body grey text */
  --line:         #e5e9f0;   /* borders */
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;   /* section tint */
  --white:        #ffffff;
  --success:      #16a34a;
  --radius:       14px;
  --shadow-sm:    0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:    0 10px 30px rgba(15,23,42,.08);
  --maxw:         1150px;
  --font:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }
a  { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow-md); }
.btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); padding: 12px 26px; }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.wa { background: #25d366; }
.btn.wa:hover { background: #1da851; }
.btn.lg { padding: 16px 36px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; }
.logo span { color: var(--brand); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; display: block; }
.svg-ico { width: 52px; height: 52px; display: block; margin-bottom: 16px; }
.folio-img { display: block; width: 100%; height: auto; }
.hero-illus img { width: 100%; height: auto; }
.media-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--brand-soft); }
.media-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 80px; background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero .eyebrow {
  display: inline-block; background: #fff; color: var(--brand);
  border: 1px solid var(--line); padding: 6px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.hero p.lead { font-size: 1.18rem; margin: 18px 0 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 28px;
}
.hero-card h3 { margin-bottom: 6px; }
.hero-card .price { font-size: 2.6rem; color: var(--brand); font-weight: 800; }
.hero-card .price small { font-size: 1rem; color: var(--body); font-weight: 500; }
.hero-card ul { list-style: none; margin: 18px 0; }
.hero-card li { padding: 7px 0 7px 28px; position: relative; }
.hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.tint { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { font-size: 1.08rem; }
.kicker { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 26px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.steps .card { position: relative; }
.step-num {
  width: 40px; height: 40px; border-radius: 999px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}

/* ---------- Pricing ---------- */
.price-card { text-align: center; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand); position: relative; }
.price-card .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; padding: 4px 16px; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
}
.price-card .amount { font-size: 2.8rem; font-weight: 800; color: var(--ink); margin: 10px 0 2px; }
.price-card .amount small { font-size: 1rem; color: var(--body); font-weight: 500; }
.price-card ul { list-style: none; text-align: left; margin: 20px 0; flex-grow: 1; }
.price-card li { padding: 8px 0 8px 26px; position: relative; font-size: .96rem; border-bottom: 1px solid var(--bg-alt); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ---------- Category chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; color: var(--ink); font-size: .95rem; box-shadow: var(--shadow-sm);
}

/* ---------- Portfolio ---------- */
.folio-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.folio-thumb { aspect-ratio: 16/11; background: linear-gradient(135deg, var(--brand-soft), #dbe6ff); display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 700; font-size: 1.1rem; }
.folio-item .meta { padding: 16px 20px; }
.folio-item .meta span { font-size: .8rem; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.folio-item .meta h3 { font-size: 1.1rem; margin-top: 4px; }
a.folio-item { display: block; color: inherit; text-decoration: none; }
a.folio-item:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-md); transition: .15s; }
.folio-item .meta .demo { display: inline-block; margin-top: 8px; color: var(--brand); font-weight: 700; font-size: .85rem; }
.folio-item:hover .meta .demo { text-decoration: underline; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote p { font-style: italic; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.quote .avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.quote .who strong { color: var(--ink); display: block; font-size: .95rem; }
.quote .who small { color: var(--body); }

/* ---------- CTA banner ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; text-align: center; border-radius: 20px; padding: 56px 30px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbeafe; font-size: 1.1rem; max-width: 560px; margin: 12px auto 28px; }
.cta-band .btn { background: #fff; color: var(--brand); }
.cta-band .btn:hover { background: #f1f5f9; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.form-row { margin-bottom: 18px; }
label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { min-height: 120px; resize: vertical; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--brand-soft); padding: 60px 0; text-align: center; }
.page-hero p { max-width: 620px; margin: 12px auto 0; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 56px 0 28px; margin-top: 20px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; font-size: .95rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; font-size: .88rem; color: #94a3b8; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  background: #25d366; color: #fff; width: 58px; height: 58px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: var(--shadow-md); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid.g4 { grid-template-columns: repeat(2, 1fr); }
  .grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px;
  }
  .menu-btn { display: block; }
  .grid.g4, .grid.g3, .grid.g2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  body { font-size: 16px; }
}
