/* ============================================
   Bao Huy Pharmacy — Professional Website
   ============================================ */

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

:root {
  /* Primary palette */
  --color-primary-900: #0b1a33;
  --color-primary-800: #0f2447;
  --color-primary-700: #142f5c;
  --color-primary-600: #1a3f7a;
  --color-primary-500: #2563eb;
  --color-primary-400: #3b82f6;
  --color-primary-300: #60a5fa;

  /* Accent */
  --color-accent: #0891b2;
  --color-accent-light: #22d3ee;
  --color-accent-dark: #0e7490;

  /* Warm accent */
  --color-warm: #d97706;
  --color-warm-light: #f59e0b;

  /* Neutrals */
  --color-neutral-50: #f8fafc;
  --color-neutral-100: #f1f5f9;
  --color-neutral-200: #e2e8f0;
  --color-neutral-300: #cbd5e1;
  --color-neutral-400: #94a3b8;
  --color-neutral-500: #64748b;
  --color-neutral-600: #475569;
  --color-neutral-700: #334155;
  --color-neutral-800: #1e293b;
  --color-neutral-900: #0f172a;

  /* Semantic */
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-bg-dark: #0b1a33;

  /* Typography */
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-py: 5rem;
  --container-px: 1.5rem;
  --container-max: 1200px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 20px rgba(8, 145, 178, 0.15);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary-500);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-400);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-neutral-900);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-center { text-align: center; }
.text-light { color: var(--color-text-light); }

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary-500);
  color: #fff;
  border-color: var(--color-primary-500);
}

.btn-primary:hover {
  background: var(--color-primary-600);
  border-color: var(--color-primary-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-500);
  border-color: var(--color-primary-500);
}

.btn-outline:hover {
  background: var(--color-primary-500);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

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

.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-neutral-200);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-neutral-900);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-accent));
  color: #fff;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 800;
  flex-shrink: 0;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-neutral-600);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--color-primary-500);
  background: var(--color-neutral-100);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-neutral-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-700) 50%, var(--color-primary-800) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(217, 119, 6, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: rgba(255,255,255,0.9);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-accent-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-warm-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(8px);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

.hero-stat-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0.25rem 0;
}

/* --- Sections Common --- */
section {
  padding: var(--section-py) 0;
}

.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-header-left {
  text-align: left;
  margin-bottom: 3rem;
}

/* --- About Section --- */
.about {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
}

.about-highlight-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--color-accent);
}

.about-highlight-text {
  font-size: 0.9375rem;
  color: var(--color-neutral-700);
  font-weight: 500;
}

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

.about-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-neutral-200);
}

.about-card:first-child {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  color: #fff;
  grid-column: 1 / -1;
}

.about-card:first-child .about-card-title {
  color: #fff;
}

.about-card:first-child .about-card-text {
  color: rgba(255,255,255,0.75);
}

.about-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-neutral-900);
}

.about-card-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.about-card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

/* --- Services Section --- */
.services {
  background: var(--color-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-neutral-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

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

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(37, 99, 235, 0.1));
  border-radius: var(--radius);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  margin-top: 1rem;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--color-neutral-600);
  padding: 0.375rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* --- Process Section --- */
.process {
  background: var(--color-bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(50% + 2rem);
  right: calc(-50% + 2rem);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-300));
  opacity: 0.3;
}

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

.process-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-500));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  position: relative;
}

.process-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- Industries Section --- */
.industries {
  background: var(--color-bg-alt);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.industry-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.industry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.industry-item span {
  font-size: 0.9375rem;
  color: var(--color-neutral-700);
  font-weight: 500;
}

/* --- Why Choose Us --- */
.why-choose {
  background: var(--color-bg);
}

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

.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-neutral-200);
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.why-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(37, 99, 235, 0.1));
  border-radius: 50%;
  font-size: 1.75rem;
}

.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-700));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(8, 145, 178, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
  background: var(--color-bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

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

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 0.125rem;
}

.contact-item-value {
  font-size: 0.9375rem;
  color: var(--color-neutral-800);
  font-weight: 500;
}

.contact-form {
  background: var(--color-bg);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-neutral-200);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-neutral-700);
  margin-bottom: 0.375rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-neutral-800);
  background: var(--color-bg);
  border: 1.5px solid var(--color-neutral-300);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

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

/* --- Footer --- */
.site-footer {
  background: var(--color-primary-900);
  color: rgba(255,255,255,0.7);
}

.footer-main {
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent-light);
  padding-left: 3px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--color-accent);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
  color: var(--color-accent-light);
}

/* --- Legal Pages (Privacy & Terms) --- */
.legal-page {
  padding: 8rem 0 4rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-neutral-200);
}

.legal-header h1 {
  margin-bottom: 0.5rem;
}

.legal-header .last-updated {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-neutral-900);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-neutral-800);
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.375rem;
}

.legal-content .developer-note {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.legal-content .developer-note p {
  color: var(--color-neutral-700);
  margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  .nav-list {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-neutral-200);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-list.open { display: flex; }

  .nav-toggle { display: flex; }

  .hero {
    padding: 6rem 0 3rem;
  }

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

  .hero-content { text-align: center; }
  .hero-text { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-card { max-width: 100%; }

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

  .about-visual { order: -1; }

  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .legal-page { padding: 6rem 0 3rem; }
  .contact-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-stat-number { font-size: 1.5rem; }
  .about-highlights { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-500);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Utility --- */
.gradient-text {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-warm-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
