/* ══════════════════ BASE ══════════════════ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: #0c0c0c;
  font-family: 'Kanit', sans-serif;
}

main {
  background: #0c0c0c;
  overflow-x: clip;
}

section {
  position: relative;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  display: block;
}

/* texto degradado */
.hero-heading {
  background: linear-gradient(180deg, #646973 0%, #bbccd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px #d7e2ea;
  background: none;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: center;
  font-size: clamp(3rem, 12vw, 160px);
}

/* ══════════════════ REVEAL (FadeIn) ══════════════════ */
.reveal {
  opacity: 0;
  transform: translate(var(--fx, 0px), var(--fy, 30px));
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
  transition:
    opacity var(--fdur, 0.7s) cubic-bezier(0.25, 0.1, 0.25, 1) var(--fd, 0s),
    transform var(--fdur, 0.7s) cubic-bezier(0.25, 0.1, 0.25, 1) var(--fd, 0s);
}

/* ══════════════════ BOTÓN DEGRADADO ══════════════════ */
.btn-gradient {
  display: inline-block;
  border: none;
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  background: linear-gradient(123deg, #18011f 7%, #b600a8 37%, #7621b0 72%, #be4c00 100%);
  box-shadow: 0px 4px 4px rgba(181, 1, 167, 0.25), 4px 4px 12px #7721b1 inset;
  outline: 2px solid white;
  outline-offset: -3px;
}

.btn-gradient:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (min-width: 640px) {
  .btn-gradient {
    padding: 0.875rem 2.5rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .btn-gradient {
    padding: 1rem 3rem;
    font-size: 1rem;
  }
}

/* ══════════════════ RAYO DOODLE ══════════════════ */
.doodle-bolt {
  position: absolute;
  pointer-events: none;
  display: none;
  animation: bolt-float 5s ease-in-out infinite;
}

.doodle-bolt svg {
  width: 100%;
  height: auto;
  animation: bolt-flicker 4s steps(1) infinite;
  animation-delay: inherit;
}

@media (min-width: 640px) {
  .doodle-bolt {
    display: block;
  }
}

@keyframes bolt-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes bolt-flicker {
  0%, 86%, 92%, 100% { opacity: 1; }
  88%, 96% { opacity: 0.35; }
}

/* posiciones de los rayos */
.bolt-hero-1 { left: 6%; top: 38%; }
.bolt-hero-2 { right: 8%; top: 30%; }
.bolt-about-1 { left: 4%; top: 10%; }
.bolt-about-2 { right: 5%; bottom: 12%; }
.bolt-serv-1 { left: 5%; top: 6%; }
.bolt-serv-2 { right: 6%; top: 14%; }
.bolt-proj-1 { left: 4%; top: 3%; }
.bolt-proj-2 { right: 5%; top: 8%; }
.bolt-con-1 { left: 5%; top: 12%; }
.bolt-con-2 { right: 4%; bottom: 18%; }

/* ══════════════════ RAYOS DE NEÓN ══════════════════ */
.neon-rays {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.neon-ray {
  position: absolute;
  left: -70vw;
  height: 2px;
  border-radius: 9999px;
  opacity: 0;
  animation-name: neon-sweep;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

@keyframes neon-sweep {
  0% { translate: 0 0; opacity: 0; }
  15% { opacity: 0.9; }
  50% { opacity: 0.55; }
  85% { opacity: 0.9; }
  100% { translate: 170vw 0; opacity: 0; }
}

/* ══════════════════ HERO ══════════════════ */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.hero-nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
}

.hero-nav a {
  color: #d7e2ea;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.hero-nav a:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .hero-nav ul { padding: 2rem 2.5rem 0; }
  .hero-nav a { font-size: 1.125rem; }
}

@media (min-width: 1024px) {
  .hero-nav a { font-size: 1.4rem; }
}

.hero-heading-wrap {
  overflow: hidden;
}

h1.hero-heading {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  font-size: 9.2vw;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  h1.hero-heading { font-size: 9.8vw; margin-top: 1rem; }
}

@media (min-width: 768px) {
  h1.hero-heading { font-size: 10.5vw; margin-top: -1.25rem; }
}

@media (min-width: 1024px) {
  h1.hero-heading { font-size: 11.3vw; }
}

.hero-avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 10;
  pointer-events: none;
  width: 360px;
  height: 400px;
}

.hero-avatar.reveal {
  transform: none;
}

.hero-avatar.reveal:not(.visible) {
  transform: translateY(30px);
}

#avatar-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  touch-action: pan-y;
}

@media (min-width: 640px) {
  .hero-avatar {
    top: auto;
    bottom: 0;
    translate: -50% 0;
    width: 480px;
    height: 540px;
  }
}

@media (min-width: 768px) {
  .hero-avatar { width: 600px; height: 660px; }
}

@media (min-width: 1024px) {
  .hero-avatar { width: 720px; height: 780px; }
}

.hero-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 1.5rem 1.75rem;
  position: relative;
  z-index: 20;
}

@media (min-width: 640px) {
  .hero-bottom { padding-bottom: 2rem; }
}

@media (min-width: 768px) {
  .hero-bottom { padding: 0 2.5rem 2.5rem; }
}

.hero-tagline {
  color: #d7e2ea;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  line-height: 1.375;
  max-width: 160px;
  font-size: clamp(0.75rem, 1.4vw, 1.5rem);
}

@media (min-width: 640px) {
  .hero-tagline { max-width: 220px; }
}

@media (min-width: 768px) {
  .hero-tagline { max-width: 260px; }
}

/* ══════════════════ MARQUEE SKILLS ══════════════════ */
#skills-marquee {
  background: #0c0c0c;
  padding: 6rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  #skills-marquee { padding-top: 8rem; gap: 2rem; }
}

@media (min-width: 768px) {
  #skills-marquee { padding-top: 10rem; }
}

.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

.marquee-track.marquee-reverse {
  animation-direction: reverse;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .marquee-item { gap: 2.5rem; padding-right: 2.5rem; }
}

.marquee-word {
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
}

.marquee-bolt {
  color: #00e5ff;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
  padding: 4rem 1.5rem 0;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 6rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.stat-num {
  font-weight: 900;
  line-height: 1;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.stat-label {
  color: rgba(215, 226, 234, 0.6);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .stat-label { font-size: 0.875rem; }
}

/* ══════════════════ SOBRE MÍ ══════════════════ */
#about {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.25rem;
}

@media (min-width: 640px) {
  #about { padding: 5rem 2rem; }
}

@media (min-width: 768px) {
  #about { padding: 5rem 2.5rem; }
}

.about-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 56rem;
}

@media (min-width: 640px) {
  .about-content { gap: 3.5rem; }
}

.about-text {
  color: #d7e2ea;
  font-weight: 500;
  text-align: center;
  line-height: 1.625;
  max-width: 560px;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.about-text .char {
  opacity: 0.2;
}

.panel-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.panel-btn {
  border-radius: 9999px;
  border: 2px solid #d7e2ea;
  background: transparent;
  color: #d7e2ea;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.panel-btn:hover {
  background: rgba(215, 226, 234, 0.1);
}

.panel-btn.active {
  border-color: #00e5ff;
  color: #0c0c0c;
  background: #00e5ff;
  box-shadow: 0 0 14px #00e5ff88;
}

@media (min-width: 640px) {
  .panel-btn { padding: 0.875rem 2.5rem; font-size: 0.875rem; }
}

.panel-wrap {
  width: 100%;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.45s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.panel-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .panel-cards { gap: 1.25rem; }
}

.info-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(215, 226, 234, 0.25);
  background: rgba(215, 226, 234, 0.05);
  padding: 1.5rem;
  text-align: left;
}

@media (min-width: 640px) {
  .info-card { padding: 2rem; }
}

.info-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.info-card h3 {
  color: #d7e2ea;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.info-card .period {
  color: rgba(215, 226, 234, 0.6);
  font-weight: 300;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .info-card .period { font-size: 0.875rem; }
}

.info-card .company {
  color: #00e5ff;
  font-weight: 300;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .info-card .company { font-size: 1rem; }
}

.info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-card li {
  color: rgba(215, 226, 234, 0.75);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.625;
  display: flex;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .info-card li { font-size: 1rem; }
}

.info-card li::before {
  content: '⚡';
  color: #b600a8;
  flex-shrink: 0;
}

/* ══════════════════ SERVICIOS ══════════════════ */
#services {
  background: #fff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  padding: 5rem 1.25rem;
}

@media (min-width: 640px) {
  #services {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    padding: 6rem 2rem;
  }
}

@media (min-width: 768px) {
  #services {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    padding: 8rem 2.5rem;
  }
}

.services-title {
  color: #0c0c0c;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .services-title { margin-bottom: 5rem; }
}

@media (min-width: 768px) {
  .services-title { margin-bottom: 7rem; }
}

.services-list {
  max-width: 64rem;
  margin: 0 auto;
}

.service-row {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-top: 1px solid rgba(12, 12, 12, 0.15);
}

.service-row:first-child {
  border-top: none;
}

.service-bg {
  position: absolute;
  inset: 0;
  background: #0c0c0c;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-row:hover .service-bg {
  transform: scaleY(1);
}

.service-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0.5rem;
}

@media (min-width: 640px) {
  .service-inner { gap: 2.5rem; padding: 2.5rem 1rem; }
}

@media (min-width: 768px) {
  .service-inner { gap: 3.5rem; padding: 3rem 1rem; }
}

.service-num {
  font-weight: 900;
  line-height: 1;
  color: #0c0c0c;
  font-size: clamp(3rem, 10vw, 140px);
  transition: color 0.5s;
}

.service-num .num-outline {
  display: none;
}

.service-row:hover .service-num .num-solid { display: none; }
.service-row:hover .service-num .num-outline { display: inline; }

.service-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
  flex: 1;
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-name {
  color: #0c0c0c;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.2vw, 2.1rem);
  transition: color 0.5s;
}

.service-row:hover .service-name {
  color: #fff;
}

.service-arrow {
  flex-shrink: 0;
  color: #00e5ff;
  opacity: 0;
  transform: translate(-1rem, 1rem);
  transition: opacity 0.5s, transform 0.5s;
}

.service-row:hover .service-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.service-desc {
  color: #0c0c0c;
  font-weight: 300;
  line-height: 1.625;
  max-width: 42rem;
  opacity: 0.6;
  font-size: clamp(0.85rem, 1.6vw, 1.25rem);
  transition: color 0.5s, opacity 0.5s;
}

.service-row:hover .service-desc {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-row:hover .service-tags {
  max-height: 6rem;
}

.service-tag {
  border-radius: 9999px;
  border: 1px solid rgba(0, 229, 255, 0.6);
  color: #00e5ff;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
  padding: 0.25rem 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .service-tag { font-size: 0.75rem; }
}

/* ══════════════════ PROYECTOS ══════════════════ */
#projects {
  background: #0c0c0c;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  padding: 5rem 1.25rem;
}

@media (min-width: 640px) {
  #projects {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: -3rem;
    padding: 6rem 2rem;
  }
}

@media (min-width: 768px) {
  #projects {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -3.5rem;
    padding: 8rem 2.5rem;
  }
}

#projects .section-title {
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  #projects .section-title { margin-bottom: 5rem; }
}

@media (min-width: 768px) {
  #projects .section-title { margin-bottom: 7rem; }
}

.projects-stack {
  max-width: 72rem;
  margin: 0 auto;
}

.project-slot {
  height: 85vh;
}

.project-card {
  position: sticky;
  border-radius: 40px;
  border: 2px solid #d7e2ea;
  background: #0c0c0c;
  padding: 1rem;
  transition: box-shadow 0.5s;
  will-change: transform;
}

.project-card:hover {
  box-shadow: 0 0 30px #00e5ff44, 0 0 60px #b600a822;
}

@media (min-width: 640px) {
  .project-card { border-radius: 50px; padding: 1.5rem; }
}

@media (min-width: 768px) {
  .project-card { border-radius: 60px; padding: 2rem; }
}

.project-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-head-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .project-head-left { gap: 2rem; }
}

.project-num {
  font-weight: 900;
  line-height: 1;
  font-size: clamp(3rem, 10vw, 140px);
}

.project-meta {
  display: flex;
  flex-direction: column;
}

.project-category {
  color: rgba(215, 226, 234, 0.6);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .project-category { font-size: 0.875rem; }
}

.project-name {
  color: #d7e2ea;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
}

.btn-ghost {
  display: inline-block;
  border-radius: 9999px;
  border: 2px solid #d7e2ea;
  color: #d7e2ea;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.btn-ghost:hover {
  background: rgba(215, 226, 234, 0.1);
}

@media (min-width: 640px) {
  .btn-ghost { padding: 0.875rem 2.5rem; font-size: 1rem; }
}

.project-ribbon {
  overflow: hidden;
  border-top: 1px solid rgba(215, 226, 234, 0.15);
  border-bottom: 1px solid rgba(215, 226, 234, 0.15);
  margin: 1rem 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

@media (min-width: 640px) {
  .project-ribbon { margin: 1.25rem 0; }
}

.project-ribbon .marquee-track {
  animation-duration: 18s;
  padding: 0.5rem 0;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
  flex-shrink: 0;
  color: rgba(215, 226, 234, 0.5);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .ribbon-item { font-size: 0.875rem; }
}

.ribbon-item .rb {
  color: #b600a8;
}

.project-images {
  display: flex;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .project-images { gap: 1rem; }
}

.project-col1 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 40%;
}

@media (min-width: 640px) {
  .project-col1 { gap: 1rem; }
}

.project-img {
  display: block;
  overflow: hidden;
  border-radius: 40px;
}

@media (min-width: 640px) {
  .project-img { border-radius: 50px; }
}

@media (min-width: 768px) {
  .project-img { border-radius: 60px; }
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.project-img:hover img {
  transform: scale(1.1);
}

.project-img.img-a { height: clamp(130px, 16vw, 230px); }
.project-img.img-a img { object-position: top; }
.project-img.img-b { height: clamp(160px, 22vw, 340px); }
.project-img.img-b img { object-position: center 70%; }
.project-img.img-c { width: 60%; }

/* ══════════════════ CONTACTO ══════════════════ */
#contact {
  background: #0c0c0c;
  padding: 5rem 1.25rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  #contact { padding: 6rem 2rem; }
}

@media (min-width: 768px) {
  #contact { padding: 8rem 2.5rem; }
}

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

.contact-sub {
  color: rgba(215, 226, 234, 0.7);
  font-weight: 300;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.625;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
}

@media (min-width: 640px) {
  .contact-sub { margin-bottom: 4rem; }
}

.contact-form {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  color: #d7e2ea;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(215, 226, 234, 0.25);
  background: rgba(215, 226, 234, 0.05);
  color: #d7e2ea;
  font-weight: 300;
  font-family: inherit;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
}

@media (min-width: 640px) {
  .form-field input,
  .form-field textarea { font-size: 1rem; }
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(215, 226, 234, 0.35);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 14px #00e5ff55;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-status {
  font-weight: 300;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .form-status { font-size: 1rem; }
}

.form-success { color: #00e5ff; }

.form-error { color: #be4c00; }

.form-error a {
  text-decoration: underline;
}

/* ══════════════════ FOOTER ══════════════════ */
footer {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #d7e2ea;
}

@media (min-width: 640px) {
  footer { margin-top: 7rem; }
}

.footer-copy {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  opacity: 0.6;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-copy { font-size: 0.875rem; }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.footer-links a {
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}
