/* ===== Didi Nails — styles ===== */
:root {
  --red: #e23b58;
  --red-dark: #b32742;
  --pink: #ffe3ea;
  --pink-soft: #fff5f7;
  --ink: #2a1a20;
  --muted: #7a6a70;
  --line: #f0d4db;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(226, 59, 88, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); background: var(--red-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--red-dark); box-shadow: none; border: 2px solid var(--red); }
.btn-ghost:hover { background: var(--pink); color: var(--red-dark); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 15px; font-size: 17px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 21px; font-weight: 800; color: var(--red-dark); }
.brand span { font-size: 18px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--red); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--pink) 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 0%, #ffeef2 0%, transparent 55%),
    var(--pink-soft);
  padding: 84px 26px 96px;
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.kicker {
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px;
  font-weight: 700; color: var(--red); margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08; margin: 0 0 18px;
  color: var(--ink); letter-spacing: -1px;
}
.hero .sub { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { max-width: 1000px; margin: 0 auto; padding: 72px 26px; }
.section.alt { background: var(--pink-soft); max-width: none; }
.section.alt > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.section h2 {
  text-align: center; font-size: clamp(26px, 4vw, 36px);
  color: var(--red-dark); margin: 0 0 8px; letter-spacing: -0.5px;
}
.lead { text-align: center; color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 40px; }
.note-line { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }
code { background: var(--pink); padding: 2px 7px; border-radius: 6px; font-size: 13px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.step-num {
  width: 42px; height: 42px; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 800; font-size: 18px;
  border-radius: 50%;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.design {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; position: relative;
  box-shadow: var(--shadow);
  display: flex; align-items: flex-end;
}
.design img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.design figcaption {
  position: relative; z-index: 2; width: 100%;
  padding: 14px 16px; color: #fff; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,0.45));
}
/* gradient placeholders shown until real photos are added */
.g1 { background: linear-gradient(135deg, #ff5e7e, #ff9d5c); }
.g2 { background: linear-gradient(135deg, #b23dd6, #6f7bff); }
.g3 { background: linear-gradient(135deg, #ff7eb3, #ff65a3); }
.g4 { background: linear-gradient(135deg, #ffd1dc, #f9a6c0); }
.g5 { background: linear-gradient(135deg, #ff8a5c, #e23b58); }
.g6 { background: linear-gradient(135deg, #7b5cff, #d36cff); }

/* ===== Pricing ===== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; position: relative;
  display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-6px); }
.tier .btn-tier { margin-top: auto; align-self: center; padding: 11px 22px; font-size: 15px; }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.tier-name { font-size: 18px; font-weight: 700; }
.tier-price { font-size: 34px; font-weight: 800; color: var(--red-dark); margin: 8px 0 12px; }
.tier p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ===== Form ===== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; max-width: 560px; margin: 0 auto; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--pink-soft);
  color: var(--ink); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); background: #fff0f2; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { text-align: center; font-weight: 600; margin: 14px 0 0; min-height: 1.2em; }
.form-status.ok { color: #1f9d63; }
.form-status.err { color: var(--red-dark); }
.fallback { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.email-link { font-weight: 700; }

/* ===== Footer ===== */
.footer { text-align: center; padding: 50px 26px; background: var(--ink); color: #f6e6ea; }
.footer p { margin: 4px 0; }
.foot-brand { font-size: 22px; font-weight: 800; color: #fff; }
.footer a { color: #ffb3c2; }
.fine { font-size: 13px; color: #b99aa3; margin-top: 16px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .tier.featured { transform: none; }
}
@media (max-width: 560px) {
  .nav nav { gap: 12px; }
  .nav nav a:not(.btn) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 52px 20px; }
}
