/* ============================================
   handl.io — Premium Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0b0d14;
  --bg-secondary: #10121a;
  --bg-card: #161821;
  --bg-card-hover: #1c1f2b;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(200, 170, 110, 0.25);

  --accent-gold: #c8a96e;
  --accent-gold-hover: #b8963e;
  --accent-gold-glow: rgba(200, 170, 110, 0.15);
  --accent-blue: #6b8aff;
  --accent-blue-dim: rgba(107, 138, 255, 0.12);
  --accent-teal: #5ec4b6;

  --text-white: #ece8e1;
  --text-muted: #9e998f;
  --text-dim: #6d685f;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

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

ul {
  list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 500;
  font-style: normal;
}

h4 {
  font-family: var(--font-body);
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
}

h4 {
  font-size: 1.0625rem;
}

p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1px;
  background: var(--accent-gold);
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 3.5rem;
  text-align: center;
  font-size: 1.0625rem;
}

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

section {
  padding: 7rem 0;
}

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

.text-center .section-label {
  padding-left: 0;
}

.text-center .section-label::before {
  display: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #b8963e);
  color: #0b0d14;
  box-shadow: 0 2px 12px rgba(200, 170, 110, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d4b87a, var(--accent-gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 170, 110, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 170, 110, 0.08);
}

.btn-sm {
  padding: 0.6875rem 1.625rem;
  font-size: 0.8125rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 13, 20, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.875rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

.nav-cta {
  margin-left: 1rem;
}

.nav-cta .btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #b8963e);
  color: #0b0d14;
  box-shadow: 0 2px 12px rgba(200, 170, 110, 0.15);
}

.nav-cta .btn-primary:hover {
  background: linear-gradient(135deg, #d4b87a, var(--accent-gold));
  color: #0b0d14;
  box-shadow: 0 8px 30px rgba(200, 170, 110, 0.25);
}

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

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-white);
  transition: all var(--transition);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(200, 170, 110, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 30% 10%, rgba(107, 138, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 30%, rgba(94, 196, 182, 0.03) 0%, transparent 60%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.75rem;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-gold), #d4b87a, var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-description {
  font-size: 1.1875rem;
  max-width: 580px;
  margin: 0 auto 2.75rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  position: relative;
}

.trust-bar p {
  text-align: center;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.trust-stat {
  text-align: center;
}

.trust-stat .number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--text-white);
  display: block;
  letter-spacing: -0.02em;
}

.trust-stat .label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.375rem;
  display: block;
  font-weight: 500;
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(200, 170, 110, 0.08);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-gold-glow), rgba(107, 138, 255, 0.08));
  border: 1px solid rgba(200, 170, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
  color: var(--accent-gold);
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: 1.5rem;
  transition: gap var(--transition), color var(--transition);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card:hover .card-link {
  gap: 0.75rem;
}

/* --- Why Section --- */
.why-section {
  background: var(--bg-secondary);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.why-item {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.why-item:hover {
  border-color: var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold-glow), var(--accent-blue-dim));
  border: 1px solid rgba(200, 170, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.why-item h3 {
  margin-bottom: 0.875rem;
  color: var(--text-white);
}

.why-item p {
  font-size: 0.9375rem;
}

/* --- Approach Steps --- */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.step {
  text-align: center;
  position: relative;
  padding: 2.25rem 1.25rem;
}

.step::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 1px;
  background: var(--border-subtle);
}

.step:last-child::after {
  display: none;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #b8963e);
  color: #0b0d14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(200, 170, 110, 0.2);
}

.step h4 {
  margin-bottom: 0.625rem;
  color: var(--text-white);
}

.step p {
  font-size: 0.875rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, rgba(200, 170, 110, 0.04), rgba(107, 138, 255, 0.03));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
}

.cta-section h2 {
  margin-bottom: 1.25rem;
}

.cta-section p {
  max-width: 520px;
  margin: 0 auto 2.25rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer h4 {
  margin-bottom: 1.5rem;
  color: var(--text-white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.footer ul li {
  margin-bottom: 0.875rem;
}

.footer ul li a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-links a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 16px rgba(200, 170, 110, 0.12);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 11rem 0 4.5rem;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200, 170, 110, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(107, 138, 255, 0.03) 0%, transparent 100%);
}

.page-header h1 {
  margin-bottom: 1.25rem;
}

.page-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.page-header .section-label {
  padding-left: 0;
}

.page-header .section-label::before {
  display: none;
}

/* --- Services Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-content .section-label {
  margin-bottom: 0.75rem;
}

.service-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  margin-bottom: 1.25rem;
}

.service-content p {
  margin-bottom: 1.5rem;
}

.service-benefits {
  list-style: none;
  margin-bottom: 2.25rem;
}

.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.service-benefits li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

.service-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, var(--accent-gold-glow) 0%, transparent 60%);
}

/* --- About Page --- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-story-content h2 {
  margin-bottom: 1.75rem;
}

.about-story-content p {
  margin-bottom: 1.125rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
}

.about-stat:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.about-stat .number {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 500;
  color: var(--accent-gold);
  display: block;
  letter-spacing: -0.02em;
}

.about-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.team-section {
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2.75rem 2rem;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #b8963e);
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: #0b0d14;
  box-shadow: 0 8px 24px rgba(200, 170, 110, 0.2);
}

.team-card h3 {
  margin-bottom: 0.375rem;
}

.team-card .role {
  color: var(--accent-gold);
  font-size: 0.8125rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card ul {
  text-align: left;
}

.team-card ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
  padding-left: 1.125rem;
  position: relative;
  line-height: 1.6;
}

.team-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group label .required {
  color: var(--accent-gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.9375rem 1.125rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 170, 110, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-dim);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236d685f' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select option {
  background: var(--bg-card);
  color: var(--text-white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9375rem;
  text-transform: none;
  letter-spacing: 0;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.form-error {
  color: #ef4444;
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2.75rem 2.25rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.125rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-gold-glow), var(--accent-blue-dim));
  border: 1px solid rgba(200, 170, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-info-item h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.875rem;
}

/* --- Consultation Page --- */
.consultation-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.consultation-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2.75rem;
}

.form-progress {
  margin-bottom: 2.25rem;
}

.form-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.form-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-teal));
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-progress-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 1.0625rem 2.25rem;
  font-size: 0.9375rem;
}

.email-alternative {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.email-alternative p {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.email-alternative a {
  color: var(--accent-gold);
  font-weight: 600;
  transition: color var(--transition);
}

.email-alternative a:hover {
  color: #d4b87a;
}

.consultation-sidebar {
  position: sticky;
  top: 6rem;
}

.consultation-value-props {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.consultation-value-props h3 {
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

.value-prop {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.value-prop:last-child {
  margin-bottom: 0;
}

.value-prop-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-gold-glow), var(--accent-blue-dim));
  border: 1px solid rgba(200, 170, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-gold);
}

.value-prop h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  color: var(--text-white);
}

.value-prop p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #b8963e);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0d14;
  box-shadow: 0 8px 24px rgba(200, 170, 110, 0.2);
}

.form-success h3 {
  margin-bottom: 0.75rem;
}

.form-success p {
  max-width: 380px;
  margin: 0 auto;
  font-size: 0.9375rem;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Staggered children animation */
.fade-in.visible .card,
.fade-in.visible .why-item,
.fade-in.visible .step,
.fade-in.visible .team-card {
  animation: stagger-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fade-in.visible > :nth-child(1) { animation-delay: 0s; }
.fade-in.visible > :nth-child(2) { animation-delay: 0.08s; }
.fade-in.visible > :nth-child(3) { animation-delay: 0.16s; }
.fade-in.visible > :nth-child(4) { animation-delay: 0.24s; }

@keyframes stagger-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero entrance */
.hero-content h1 {
  animation: hero-title 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-description {
  animation: hero-title 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hero-buttons {
  animation: hero-title 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes hero-title {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .consultation-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .consultation-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
  }

  .mobile-overlay.active {
    display: block;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .approach-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .step::after {
    display: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust-logos {
    gap: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .approach-steps {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 8rem 0 3rem;
  }
}
