/* ============================================================
   H-S-U Studio — Styles
   Light artistic / boutique aesthetic matching the brand card
   ============================================================ */

:root {
  --bg: #faf6f0;
  --bg-elevated: #fffefb;
  --bg-alt: #f3ebe3;
  --bg-card: #ffffff;
  --bg-card-hover: #fffdf9;
  --border: rgba(90, 60, 40, 0.1);
  --border-strong: rgba(90, 60, 40, 0.18);
  --text: #2a2430;
  --text-muted: #6b6170;
  --text-dim: #958a96;
  --studio-blue: #4a6fa5;
  --orange: #e85d2a;
  --orange-soft: rgba(232, 93, 42, 0.12);
  --purple: #6b3fa0;
  --purple-soft: rgba(107, 63, 160, 0.12);
  --pink: #e91e8c;
  --pink-soft: rgba(233, 30, 140, 0.12);
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.18);
  --accent: var(--orange);
  --accent-dim: var(--orange-soft);
  --accent-glow: rgba(232, 93, 42, 0.25);
  --wa: #25d366;
  --wa-hover: #1ebe57;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 36px rgba(90, 50, 40, 0.08);
  --shadow-sm: 0 4px 16px rgba(90, 50, 40, 0.06);
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --max: 1120px;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* ---- Soft watercolor wash background ---- */
.bg-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(233, 30, 140, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 5%, rgba(107, 63, 160, 0.08), transparent 50%),
    radial-gradient(ellipse 45% 35% at 90% 95%, rgba(74, 111, 165, 0.07), transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 90%, rgba(201, 162, 39, 0.06), transparent 45%),
    var(--bg);
}

/* ---- Layout ---- */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(243, 235, 227, 0.65), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 560px;
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: var(--purple-soft);
  border-radius: 999px;
  border: 1px solid rgba(107, 63, 160, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(250, 246, 240, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 52px;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.logo-img--footer {
  height: 56px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(233, 30, 140, 0.3);
  filter: brightness(1.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--gold);
  color: var(--purple);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-wa:hover {
  background: var(--wa-hover);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.2s;
}

.nav.open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.nav.open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.75rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.nav.open .mobile-menu {
  display: flex;
}

.mobile-menu a {
  color: var(--text-muted);
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--purple);
}

/* ---- Hero ---- */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--orange), var(--purple) 45%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--studio-blue);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
}

.hero-orb {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--pink-soft), transparent 55%),
    radial-gradient(circle at 75% 65%, var(--purple-soft), transparent 50%),
    radial-gradient(circle at 50% 80%, var(--gold-soft), transparent 45%);
  filter: blur(18px);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card {
  position: absolute;
  inset: 10%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(233, 30, 140, 0.04), transparent 45%, rgba(107, 63, 160, 0.05));
  pointer-events: none;
}

.hero-logo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.hero-float {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-float--1 {
  top: 10%;
  right: -4%;
  animation: float 6s ease-in-out infinite 0.5s;
}

.hero-float--2 {
  bottom: 14%;
  left: -6%;
  animation: float 7s ease-in-out infinite 1s;
}

.float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.float-dot.purple {
  background: var(--purple);
}

.float-dot.pink {
  background: var(--pink);
}

/* ---- Products ---- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  border-color: rgba(107, 63, 160, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f7efe6 0%, #efe4f2 50%, #e8eef6 100%);
  display: grid;
  place-items: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dim);
}

.placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.55;
  color: var(--studio-blue);
}

.placeholder span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  border: 1px solid rgba(232, 93, 42, 0.3);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.55;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple);
}

.product-price small {
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text-dim);
  margin-right: 0.15rem;
}

/* ---- How it works ---- */
.steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.step:hover {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-soft), var(--purple-soft));
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(107, 63, 160, 0.2);
}

.step:nth-child(1) .step-num { color: var(--orange); }
.step:nth-child(2) .step-num { color: var(--purple); }
.step:nth-child(3) .step-num { color: var(--pink); }
.step:nth-child(4) .step-num { color: var(--studio-blue); }

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-soft);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.channel:hover {
  border-color: rgba(107, 63, 160, 0.3);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.channel-icon.wa {
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa);
}

.channel-icon.ig {
  background: rgba(225, 48, 108, 0.12);
  color: #e1306c;
}

.channel-icon.mail {
  background: var(--gold-soft);
  color: var(--studio-blue);
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.channel-text span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, var(--bg-alt), #ebe2d8);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--studio-blue);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---- Floating WhatsApp ---- */
.fab-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.fab-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55);
}

.fab-wa svg {
  width: 28px;
  height: 28px;
}

.fab-wa::after {
  content: "Chat with us";
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.fab-wa:hover::after {
  opacity: 1;
}

/* ---- Responsive ---- */
@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .logo-img {
    height: 54px;
  }
}

@media (min-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .step {
    flex-direction: column;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
