/* ═══════════════════════════════════════════════════════════
   AMAZINGSTEP SOLUTIONS — Global Styles
   Brand: Dark teal headings · Magenta/pink accent · White BG
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@300;400;500;700&family=Montserrat:wght@400;600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand colours */
  --teal:        #1a5f6e;   /* primary heading / dark sections */
  --teal-dk:     #134d5a;
  --teal-lt:     #2a8a9e;
  --magenta:     #c0005a;   /* accent CTA, highlights, active nav */
  --magenta-dk:  #99004a;
  --magenta-lt:  #e0006a;
  --pink-bg:     #fce4f0;   /* very light pink for subtle tints */
  --purple-dark: #4a1060;   /* footer background */

  /* Neutrals */
  --white:       #ffffff;
  --off-white:   #f9f9fb;
  --grey-100:    #f4f4f6;
  --grey-200:    #e8e8ec;
  --grey-400:    #9b9bab;
  --grey-600:    #5a5a72;
  --ink:         #1a1a2e;

  /* Typography */
  --ff-heading: 'Montserrat', 'Noto Sans HK', sans-serif;
  --ff-body:    'Noto Sans HK', 'Montserrat', system-ui, sans-serif;

  /* Spacing & sizing */
  --header-h:   68px;
  --max-w:      1100px;
  --gutter:     clamp(1rem, 4vw, 2.5rem);
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Effects */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-card: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius:      6px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font-family: inherit; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-py); }

/* Section headings */
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title-center { text-align: center; }

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--magenta);
  margin: 0.75rem auto 2.5rem;
  border-radius: 2px;
}

.section-divider--left { margin-left: 0; }

.section-subtitle {
  font-size: 1rem;
  color: var(--grey-600);
  max-width: 560px;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--ff-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), transform 0.2s, box-shadow 0.25s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--magenta-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,0,90,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--magenta);
  border-color: var(--magenta);
}
.btn-outline:hover {
  background: var(--magenta);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,95,110,0.3);
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-200);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Bilingual text helper ── */
.zh {
  display: block;
  font-size: 0.92em;
  color: var(--grey-600);
  line-height: 1.5;
  margin-top: 0.15rem;
}
.en { display: block; }

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-600);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,95,110,0.12);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--magenta);
}

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

/* ── Responsive media queries ── */
@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }
}

/* ── Print ── */
@media print {
  .site-header, .site-footer { display: none; }
  body { font-size: 12pt; }
}
