/* ============================================
   .hover — Web Design Agency
   Professional Dark Theme Stylesheet
   ============================================ */

/* --- Variables --- */
:root {
  --accent: #34d399;
  --accent-hover: #6ee7b7;
  --accent-dark: #059669;
  --accent-glow: rgba(52, 211, 153, 0.25);

  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #162032;
  --bg-input: #1a2742;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(148, 163, 184, 0.1);
  --border-hover: rgba(52, 211, 153, 0.35);

  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(52, 211, 153, 0.2);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-color: var(--accent-dark) var(--bg-secondary);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-dark);
  border-radius: 4px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* --- Skip to content --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 0.9375rem; }

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.btn-dark:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
}

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

.nav-scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-hidden {
  transform: translateY(-100%);
}

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

.nav-logo-img {
  height: 28px;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--border);
}

.lang-btn {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--bg-primary);
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

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

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

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

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-container {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.25rem;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

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

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover), var(--shadow-glow);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card:hover .service-icon {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

.portfolio-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: var(--card-gradient);
  transition: all var(--transition);
  cursor: pointer;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
  z-index: 1;
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.portfolio-card-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 160px;
  height: 160px;
  object-fit: contain;
  z-index: 0;
  transition: all var(--transition);
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.portfolio-card:hover .portfolio-card-logo {
  transform: translate(-50%, -58%) scale(1.05);
}

.portfolio-card-inner {
  position: relative;
  z-index: 2;
}

.portfolio-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  color: #fff;
}

.portfolio-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.portfolio-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--accent);
  padding: 5rem 0;
}

.cta-banner-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--bg-primary);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(15, 23, 42, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: var(--radius-md);
  color: var(--accent);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

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

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.form-feedback-success {
  padding: 0.85rem 1.25rem;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: var(--accent);
}

.form-feedback-error {
  padding: 0.85rem 1.25rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
}

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

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

.footer-logo-img {
  height: 24px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

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

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

.footer ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}

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

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 211, 153, 0.15);
  pointer-events: none;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.about-image-badge svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.about-image-badge span {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-content .section-label {
  text-align: left;
}

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

.about-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-highlights {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about-highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-highlight-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-highlight-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Process Section (Sticky Scroll) --- */
.process-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-scroll {
  height: 400vh;
  position: relative;
}

.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 5rem;
  overflow: hidden;
}

.process-indicators {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: fit-content;
  margin: 0 auto 1.5rem;
  position: relative;
}

.process-indicator {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.process-indicator.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
  transform: scale(1.15);
}

.process-indicator.done {
  background: rgba(52, 211, 153, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.process-viewport {
  position: relative;
  min-height: 420px;
}

.process-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.process-card.exit-up {
  opacity: 0;
  transform: translateY(-40px);
}

.process-card-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.process-card-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.process-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 211, 153, 0.1);
  pointer-events: none;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.process-card-body h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
}

.process-card-body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.process-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.process-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.12);
  color: var(--accent);
}

/* --- Why Section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover), var(--shadow-glow);
}

.why-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.why-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.why-card:hover .why-card-image img {
  transform: scale(1.06);
}

.why-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 40%);
}

.why-card-content {
  padding: 1.5rem 2rem 2rem;
}

.why-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 1;
}

.why-card-icon svg {
  width: 20px;
  height: 20px;
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

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

@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

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

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 3rem;
  }

  .about-image img {
    height: 400px;
  }

  .process-card-image img {
    height: 300px;
  }

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

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

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: right var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.125rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after { display: none; }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

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

  .hero-subtitle {
    font-size: 1.05rem;
  }

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

  .portfolio-grid,
  .portfolio-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .about-image img {
    height: 320px;
  }

  .about-highlights {
    gap: 1.5rem;
  }

  .about-content .section-label {
    text-align: center;
  }

  .about-content h2 {
    text-align: center;
  }

  .process-scroll {
    height: auto;
    position: static;
  }

  .process-sticky {
    position: static;
    height: auto;
  }

  .process-viewport {
    min-height: 0;
  }

  .process-card {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .process-card.active {
    position: relative;
  }

  .process-card-image img {
    height: 240px;
  }

  .process-indicators {
    display: none;
  }

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

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

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

  .contact-form {
    padding: 1.5rem;
  }

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

}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  .portfolio-card {
    min-height: 240px;
  }

}

/* ============================================
   Legal Pages
   ============================================ */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
}

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

.legal-header-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.legal-header-back svg {
  width: 18px;
  height: 18px;
}

.legal-header-back:hover {
  color: var(--accent);
}

.legal-page {
  padding: 4rem 0 6rem;
}

.legal-page-container {
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.legal-page p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.legal-page li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 0.25rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.legal-page a:hover {
  color: var(--accent-hover);
}

.legal-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}

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