/* ==============================================
   Nao Wa — 合肥挠哇网络科技有限公司
   Design System & Global Styles
   ============================================== */

/* ----- CSS Custom Properties ----- */
:root {
  /* Palette */
  --ink:        #1b1b2f;
  --ink-light:  #2a2a45;
  --coral:      #e8614c;
  --coral-deep: #c94e3a;
  --coral-pale: #fde8e4;
  --teal:       #3a8b7a;
  --teal-deep:  #2d6e60;
  --teal-pale:  #e2f4ef;
  --gold:       #c8923a;
  --gold-pale:  #faf2e4;
  --cream:      #fdfbf7;
  --sand:       #f3efe8;
  --slate:      #5b5b72;
  --slate-lite: #8e8ea4;
  --white:      #ffffff;
  --true-black: #000000;

  /* Typography */
  --font-body:  'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing scale */
  --space-xs:   0.375rem;
  --space-sm:   0.75rem;
  --space-md:   1.25rem;
  --space-lg:   2rem;
  --space-xl:   3.25rem;
  --space-2xl:  5rem;
  --space-3xl:  8rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.14), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 0 3px rgba(232,97,76,0.25);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration:   280ms;
  --duration-slow: 500ms;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

/* ----- Utility Classes ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: var(--space-2xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 580px;
  line-height: 1.7;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.8rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232,97,76,0.35);
}

.btn--primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 6px 20px rgba(232,97,76,0.45);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(58,139,122,0.3);
}

.btn--teal:hover {
  background: var(--teal-deep);
  box-shadow: 0 6px 20px rgba(58,139,122,0.4);
  transform: translateY(-1px);
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--duration) var(--ease-out);
}

.nav--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .nav__inner {
    height: 4.5rem;
    padding: 0 var(--space-lg);
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  z-index: 1001;
}

.nav__logo-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
}

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

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--duration) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
  transition: width var(--duration) var(--ease-out);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav__toggle {
    display: none;
  }
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--duration) var(--ease-out);
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--duration) var(--ease-out);
}

.nav__mobile a:hover {
  color: var(--coral);
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-shape-1 {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 55%;
  aspect-ratio: 1;
  background: var(--teal-pale);
  border-radius: 42% 58% 48% 52% / 45% 42% 58% 55%;
  animation: heroMorph 12s ease-in-out infinite;
}

.hero__bg-shape-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 35%;
  aspect-ratio: 1;
  background: var(--coral-pale);
  border-radius: 55% 45% 62% 38% / 48% 55% 45% 52%;
  animation: heroMorph 10s ease-in-out infinite reverse;
}

.hero__bg-dots {
  position: absolute;
  top: 20%;
  left: 8%;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(circle, rgba(27,27,47,0.08) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

@keyframes heroMorph {
  0%, 100% { border-radius: 42% 58% 48% 52% / 45% 42% 58% 55%; }
  25% { border-radius: 55% 45% 38% 62% / 52% 58% 42% 48%; }
  50% { border-radius: 48% 52% 55% 45% / 58% 45% 55% 42%; }
  75% { border-radius: 38% 62% 52% 48% / 45% 55% 48% 52%; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.hero__content {
  max-width: 580px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: var(--space-md);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  margin-bottom: var(--space-md);
  color: var(--ink);
}

.hero__title mark {
  background: none;
  color: var(--coral);
  position: relative;
}

.hero__text {
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
}

.hero__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.hero__card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.hero__card-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.hero__card-text {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero__card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.hero__card-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--coral);
}

.hero__card-stat-label {
  font-size: 0.78rem;
  color: var(--slate-lite);
  margin-top: 2px;
}

/* Floating decoration */
.hero__float {
  position: absolute;
  z-index: 1;
}

.hero__float--top {
  top: -20px;
  right: -24px;
  width: 64px;
  height: 64px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: float 4s ease-in-out infinite;
}

.hero__float--bottom {
  bottom: -28px;
  left: -20px;
  width: 56px;
  height: 56px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

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

/* ----- Services ----- */
.services {
  background: var(--white);
  position: relative;
}

.services__grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

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

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

.service-card {
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.service-card__icon--coral {
  background: var(--coral-pale);
  color: var(--coral);
}

.service-card__icon--teal {
  background: var(--teal-pale);
  color: var(--teal);
}

.service-card__icon--gold {
  background: var(--gold-pale);
  color: var(--gold);
}

.service-card__icon--ink {
  background: rgba(27,27,47,0.06);
  color: var(--ink);
}

.service-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.service-card__desc {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ----- About ----- */
.about {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.about__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  margin-top: var(--space-xl);
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about__visual {
  position: relative;
}

.about__img-block {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about__img-block::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.about__img-block-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-md);
}

.about__img-block-title {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.about__img-block-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.65;
}

.about__accent-block {
  position: absolute;
  bottom: -28px;
  right: -24px;
  background: var(--coral);
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
}

.about__content h2 {
  margin-bottom: var(--space-md);
}

.about__content p {
  color: var(--slate);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.about__values {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.about__value {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.about__value-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--teal-pale);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}

.about__value-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about__value-desc {
  color: var(--slate);
  font-size: 0.87rem;
  line-height: 1.55;
}

/* ----- Process ----- */
.process {
  background: var(--white);
  counter-reset: step;
}

.process__steps {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  counter-reset: step;
}

@media (min-width: 768px) {
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .process__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  position: relative;
  padding: var(--space-lg);
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  counter-increment: step;
}

.step-card::after {
  content: '0' counter(step);
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(27,27,47,0.05);
  line-height: 1;
}

.step-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--teal-pale);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
}

.step-card__title {
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.step-card__desc {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ----- Industries ----- */
.industries {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.industries .section-label {
  color: var(--gold);
}

.industries .section-title {
  color: var(--white);
}

.industries .section-desc {
  color: rgba(255,255,255,0.65);
}

.industries__grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

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

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

.industry-tag {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease-out);
}

.industry-tag:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateX(4px);
}

.industry-tag__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.industry-tag__name {
  font-weight: 600;
  font-size: 0.92rem;
}

/* ----- Stats ----- */
.stats {
  background: var(--cream);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--duration) var(--ease-out);
}

.stat-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.stat-item__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-item__label {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ----- Contact ----- */
.contact {
  background: var(--white);
  position: relative;
}

.contact__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
  margin-top: var(--space-xl);
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__info-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--coral-pale);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact__info-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact__info-text {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Contact Form */
.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

@media (min-width: 600px) {
  .contact-form {
    padding: var(--space-xl);
  }
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all var(--duration) var(--ease-out);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--coral);
  box-shadow: var(--shadow-glow);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__submit {
  width: 100%;
}

@media (min-width: 600px) {
  .form__submit {
    width: auto;
  }
}

.form__message {
  margin-top: var(--space-sm);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.5em;
}

.form__message--success {
  color: var(--teal);
}

.form__message--error {
  color: var(--coral);
}

/* ----- CTA ----- */
.cta {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.02);
  border-radius: 50%;
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  background: rgba(232,97,76,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__title {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta__text {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto var(--space-lg);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* ----- Footer ----- */
.footer {
  background: var(--cream);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

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

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.footer__desc {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer__col-title {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: var(--space-md);
  color: var(--ink);
}

.footer__link {
  display: block;
  color: var(--slate);
  font-size: 0.88rem;
  padding: 0.25rem 0;
  transition: color var(--duration) var(--ease-out);
}

.footer__link:hover {
  color: var(--coral);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.82rem;
  color: var(--slate-lite);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a:hover {
  color: var(--coral);
}

/* ----- Policy Pages (privacy & terms) ----- */
.policy {
  padding-top: 6rem;
  padding-bottom: var(--space-3xl);
  max-width: 800px;
  margin: 0 auto;
}

.policy h1 {
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.policy__updated {
  color: var(--slate-lite);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.policy h2 {
  font-size: 1.3rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.policy p,
.policy li {
  color: var(--slate);
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}

.policy ul,
.policy ol {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: var(--space-md);
}

.policy ol {
  list-style: decimal;
}

.policy li {
  margin-bottom: var(--space-xs);
}

.policy a {
  color: var(--coral);
  text-decoration: underline;
}

.policy a:hover {
  color: var(--coral-deep);
}

/* ----- Animations ----- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ----- Selection ----- */
::selection {
  background: var(--coral);
  color: var(--white);
}
