/* ==================================================
   RAY Platform — B2B Promo Site
   ================================================== */

:root {
  --bg-0:    #0a0e1f;
  --bg-1:    #0f1428;
  --bg-2:    #151b35;
  --bg-card: #1a2142;
  --bg-elev: #202850;
  --line:    #2a3358;
  --line-2:  #3a4570;

  --text:    #e8ecf5;
  --muted:   #8891b0;
  --dim:     #5a6285;

  --cyan:    #00e5ff;
  --pink:    #ff4d94;
  --yellow:  #ffd63a;
  --green:   #00ff9d;
  --purple:  #a855f7;
  --orange:  #ff7849;

  --radius:  16px;
  --radius-sm: 10px;

  --grad-cp: linear-gradient(135deg, var(--cyan) 0%, var(--pink) 100%);
  --grad-gc: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  --grad-py: linear-gradient(135deg, var(--purple) 0%, var(--yellow) 100%);
  --grad-op: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient glows */
body::before {
  content: "";
  position: fixed;
  top: -300px; left: -200px;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(0,229,255,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  bottom: -400px; right: -200px;
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(255,77,148,0.09) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ==================================================
   NAV
   ================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(10, 14, 31, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  color: var(--cyan);
  font-size: 20px;
  filter: drop-shadow(0 0 12px rgba(0,229,255,0.5));
}
.brand-text em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.nav-links a {
  transition: color .15s;
}
.nav-links a:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ==================================================
   BUTTONS
   ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-primary {
  background: var(--grad-cp);
  color: #0a0e1f;
  box-shadow: 0 8px 28px -6px rgba(0,229,255,0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -6px rgba(0,229,255,0.55);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
}
.btn-ghost .arrow {
  transition: transform .2s;
}
.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

/* ==================================================
   GLOBAL TYPOGRAPHY
   ================================================== */
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.25);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section {
  padding: 120px 0;
  position: relative;
}
.section-dim {
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section-head .sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.grad {
  background: var(--grad-cp);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-2 {
  background: var(--grad-gc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-3 {
  background: var(--grad-py);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-4 {
  background: var(--grad-op);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.muted { color: var(--muted); }

/* ==================================================
   HERO
   ================================================== */
.hero {
  padding: 90px 0 110px;
  position: relative;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.28);
  border-radius: 100px;
  font-size: 12px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.tag .dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 960px;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 44px;
}
.lede strong { color: var(--text); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 80px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* ==================================================
   WHY
   ================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 20px 40px -20px rgba(0,229,255,0.2);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}
.why-icon.cyan   { background: rgba(0,229,255,0.12); color: var(--cyan); }
.why-icon.pink   { background: rgba(255,77,148,0.12); color: var(--pink); }
.why-icon.green  { background: rgba(0,255,157,0.12); color: var(--green); }
.why-icon.yellow { background: rgba(255,214,58,0.14); color: var(--yellow); }
.why-icon.purple { background: rgba(168,85,247,0.14); color: var(--purple); }
.why-icon.orange { background: rgba(255,120,73,0.14); color: var(--orange); }
.why-card h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.why-card strong { color: var(--text); font-weight: 700; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ==================================================
   PRODUCTS
   ================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, #161c38 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-cp);
  opacity: 0.8;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.product-head {
  margin-bottom: 14px;
}
.product-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #0a0e1f;
}
.cyan-bg   { background: var(--cyan); }
.pink-bg   { background: var(--pink); color: #fff; }
.green-bg  { background: var(--green); }
.yellow-bg { background: var(--yellow); }
.purple-bg { background: var(--purple); color: #fff; }
.orange-bg { background: var(--orange); color: #fff; }

.product-card h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.product-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.product-desc strong { color: var(--text); font-weight: 700; }

.product-points {
  list-style: none;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.product-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.product-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}

.combo-hint {
  margin-top: 36px;
  text-align: center;
  color: var(--text);
  font-size: 14.5px;
  padding: 16px 24px;
  background: rgba(0,229,255,0.04);
  border: 1px dashed rgba(0,229,255,0.2);
  border-radius: var(--radius);
}
.combo-hint strong { color: var(--cyan); }

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

/* ==================================================
   SUPPLY
   ================================================== */
.supply-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.supply-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease;
}
.supply-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.supply-letter {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-cp);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.supply-card:nth-child(2) .supply-letter { background: var(--grad-gc); -webkit-background-clip: text; background-clip: text; }
.supply-card:nth-child(3) .supply-letter { background: var(--grad-py); -webkit-background-clip: text; background-clip: text; }
.supply-card:nth-child(4) .supply-letter { background: var(--grad-op); -webkit-background-clip: text; background-clip: text; }

.supply-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.supply-sub {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.supply-card:nth-child(2) .supply-sub { color: var(--green); }
.supply-card:nth-child(3) .supply-sub { color: var(--yellow); }
.supply-card:nth-child(4) .supply-sub { color: var(--orange); }

.supply-body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.supply-example {
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
}

@media (max-width: 900px) { .supply-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .supply-grid { grid-template-columns: 1fr; } }

/* ==================================================
   PROCESS
   ================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--line-2), transparent);
  z-index: 0;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  z-index: 1;
  transition: transform .2s ease;
}
.process-step:hover { transform: translateY(-3px); }
.process-step.highlight {
  background: linear-gradient(180deg, rgba(0,229,255,0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 0 40px -10px rgba(0,229,255,0.25);
}
.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(0,229,255,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.process-step h4 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.process-step p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
}

/* ==================================================
   REFERENCES
   ================================================== */
/* Dogfood feature card — wide, prominent */
.ray-dogfood-card {
  background:
    linear-gradient(135deg, rgba(0,229,255,0.08), rgba(255,77,148,0.05)),
    var(--bg-card);
  border: 1px solid rgba(0,229,255,0.32);
  border-radius: var(--radius);
  padding: 44px 48px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px -30px rgba(0,229,255,0.28);
}
.ray-dogfood-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-cp);
}
.ray-dogfood-card::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,229,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.dogfood-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.dogfood-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.3);
  display: grid;
  place-items: center;
  font-size: 28px;
}
.dogfood-tag {
  display: inline-block;
  padding: 7px 14px;
  background: rgba(0,229,255,0.15);
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.35);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ray-dogfood-card h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.ray-dogfood-card h3 strong {
  background: var(--grad-cp);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dogfood-body {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 820px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.dogfood-body strong {
  color: var(--text);
  font-weight: 700;
}
.dogfood-body em {
  font-style: normal;
  color: var(--cyan);
  font-weight: 600;
}

.dogfood-products {
  padding-top: 24px;
  border-top: 1px dashed rgba(0,229,255,0.25);
  position: relative;
  z-index: 1;
}
.dogfood-products-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}
.dogfood-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dogfood-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.25);
  color: var(--text);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .ray-dogfood-card {
    padding: 32px 24px;
  }
  .dogfood-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ref-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform .2s, border-color .2s;
}
.ref-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.ref-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ref-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0,229,255,0.12);
  color: var(--cyan);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ref-tag.pink-tag {
  background: rgba(255,77,148,0.12);
  color: var(--pink);
}
.ref-product {
  font-size: 12.5px;
  color: var(--muted);
}
.ref-card h3 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.ref-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.ref-stats {
  display: flex;
  gap: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.ref-stat-val {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.ref-stat-lab {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 780px) {
  .ref-grid { grid-template-columns: 1fr; }
}

/* ==================================================
   CONTACT
   ================================================== */
.section-contact {
  background: linear-gradient(180deg, var(--bg-0) 0%, #0f1335 100%);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.contact-copy .sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-copy strong { color: var(--text); }

.contact-direct {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.cd-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.cd-row:last-child { border-bottom: none; }
.cd-label {
  color: var(--muted);
  font-weight: 600;
}
.cd-value {
  font-weight: 600;
  color: var(--text);
}
a.cd-value { color: var(--cyan); }
a.cd-value:hover { text-decoration: underline; }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.form-row {
  margin-bottom: 18px;
}
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.form-row .req { color: var(--pink); }

.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=tel],
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color .15s;
}
.form-row textarea { resize: vertical; min-height: 96px; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--dim);
}
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238891b0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.chip input { display: none; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all .15s;
}
.chip input:checked + span {
  background: rgba(0,229,255,0.12);
  border-color: var(--cyan);
  color: var(--cyan);
}

.consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.55;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--cyan);
}

.form-note {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 12px;
  line-height: 1.5;
}
.form-note.success { color: var(--green); }
.form-note.error { color: var(--pink); }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .form-row.two { grid-template-columns: 1fr; }
}

/* ==================================================
   FOOTER
   ================================================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13.5px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}
.footer-brand em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}
.footer-meta {
  color: var(--muted);
}
.footer-meta .sep { margin: 0 8px; color: var(--dim); }
.footer-meta a { color: var(--cyan); }
.footer-meta a:hover { text-decoration: underline; }
.footer-nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
}
.footer-nav a:hover { color: var(--text); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ==================================================
   SCROLL REVEAL
   ================================================== */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==================================================
   SECTION SPACING TUNE
   ================================================== */
@media (max-width: 780px) {
  .section { padding: 80px 0; }
  .hero { padding: 60px 0 80px; }
  .container { padding: 0 20px; }
}
