/* ============================================
   3SGrup — Web Agency Styles
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #f0f0f5;
  --text-muted: #8b8b9e;
  --text-subtle: #5c5c6e;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.35);
  --accent-secondary: #00cec9;
  --accent-secondary-glow: rgba(0, 206, 201, 0.25);
  --gradient-hero: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  background: var(--gradient-hero);
  border-radius: 11px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo__tagline {
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid var(--border);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

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

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

.nav a:hover::after {
  width: 100%;
}

.header__cta {
  margin-left: 24px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

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

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  background: #20bd5a;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

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

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -10%;
  right: -5%;
  opacity: 0.25;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: 10%;
  left: -10%;
  opacity: 0.2;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 80px 120px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 80px 120px;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
}

.hero-showcase__glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.35) 0%, rgba(0, 206, 201, 0.15) 45%, transparent 70%);
  filter: blur(24px);
  animation: showcaseGlow 4s ease-in-out infinite alternate;
}

@keyframes showcaseGlow {
  from { opacity: 0.7; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.05); }
}

.hero-showcase__ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: showcaseSpin 28s linear infinite;
}

.hero-showcase__ring--inner {
  inset: 14%;
  border-style: solid;
  border-color: rgba(108, 92, 231, 0.2);
  animation-direction: reverse;
  animation-duration: 20s;
}

@keyframes showcaseSpin {
  to { transform: rotate(360deg); }
}

.hero-showcase__core {
  position: absolute;
  inset: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 24px;
  background: rgba(22, 22, 31, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-showcase__spark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 16px;
  animation: showcasePulse 3s ease-in-out infinite;
}

@keyframes showcasePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 24px 4px rgba(108, 92, 231, 0.2); }
}

.hero-showcase__dream {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text);
}

.hero-showcase__action {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 18px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-showcase__traits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-showcase__trait {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid transparent;
}

.hero-showcase__trait--speed {
  color: #00cec9;
  background: rgba(0, 206, 201, 0.12);
  border-color: rgba(0, 206, 201, 0.25);
}

.hero-showcase__trait--secure {
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.12);
  border-color: rgba(108, 92, 231, 0.25);
}

.hero-showcase__trait--support {
  color: #fdcb6e;
  background: rgba(253, 203, 110, 0.1);
  border-color: rgba(253, 203, 110, 0.25);
}

.hero-showcase__float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(22, 22, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-showcase__float--1 {
  top: 6%;
  right: 8%;
  color: #00cec9;
  animation: floatA 5s ease-in-out infinite;
}

.hero-showcase__float--2 {
  bottom: 10%;
  left: 4%;
  color: var(--accent-light);
  animation: floatB 6s ease-in-out infinite;
}

.hero-showcase__float--3 {
  bottom: 22%;
  right: 0;
  color: #fdcb6e;
  animation: floatC 4.5s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, 8px); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -6px); }
}

@keyframes floatC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -8px); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 24px;
  padding: 8px 16px 8px 12px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 100px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero__title em {
  font-style: italic;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s infinite;
}

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

/* Sections */
.section {
  padding-block: 120px;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 540px;
}

.section-desc--center {
  margin-inline: auto;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.about__features svg {
  color: var(--accent-secondary);
  flex-shrink: 0;
}

.about__visual {
  position: relative;
  height: 420px;
}

.about__card {
  position: absolute;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.about__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.about__card--main {
  top: 0;
  left: 0;
  width: 280px;
  z-index: 2;
}

.about__card--secondary {
  bottom: 0;
  right: 0;
  width: 260px;
  z-index: 2;
}

.about__card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.12);
  border-radius: 14px;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.about__card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about__card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.about__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.05em;
  user-select: none;
}

.about__badge-divider {
  font-weight: 300;
}

/* Services */
.services {
  background: var(--bg-elevated);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.service-card__num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Projects */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.project-card__visual {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.project-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
}

.project-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.project-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 15, 0.7);
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #fff;
  color: var(--bg);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 100px;
  transition: var(--transition);
}

.project-card__link:hover {
  transform: scale(1.05);
}

.project-card__body {
  padding: 28px 32px 32px;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.project-card__body h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.project-card__body > p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-card__tags li {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.1);
  border-radius: 100px;
}

.project-card__url {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-secondary);
  transition: color var(--transition);
}

.project-card__url:hover {
  color: var(--accent-light);
}

/* CTA Band */
.cta-band {
  padding-block: 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-band__inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.cta-band__content p {
  color: var(--text-muted);
  max-width: 480px;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact__details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

a.contact__item:hover {
  color: var(--text);
}

.contact__item--whatsapp:hover {
  color: #25d366;
}

.contact__item-icon--whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.25);
  background: rgba(37, 211, 102, 0.08);
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent-light);
}

.contact__form {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238b8b9e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

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

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer__links h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  padding-block: 24px;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero__content {
    padding-bottom: 32px;
  }

  .hero__visual {
    padding-block: 0 80px;
  }

  .hero-showcase {
    max-width: 340px;
  }

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

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__visual {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .nav,
  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__stats {
    gap: 32px;
  }

  .services__grid,
  .projects__grid {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .section {
    padding-block: 80px;
  }

  .about__card--main,
  .about__card--secondary {
    width: 220px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1200px, 100% - 32px);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: 24px;
  }

  .contact__form {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
