/* ========================================
   KIINU FILMS — Premium Dark Site
   ======================================== */

:root {
  --black:    #080808;
  --dark:     #101010;
  --dark-2:   #181818;
  --dark-3:   #242424;
  --border:   rgba(255,255,255,0.07);
  --yellow:   #FFAA00;
  --yellow-20: rgba(255,170,0,0.12);
  --yellow-40: rgba(255,170,0,0.35);
  --white:    #FFFFFF;
  --gray:     #777777;
  --gray-2:   #AAAAAA;

  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-logo:    'Helvetica Neue', Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: none; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--yellow); }

/* ── CUSTOM CURSOR ──────────────────────── */
.cursor {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,170,0,0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out), opacity 0.3s;
}
body:hover .cursor-follower { opacity: 1; }

/* ── TYPOGRAPHY ─────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(2rem, 3.8vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 600; }
em  { font-style: normal; color: var(--yellow); }

.label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

/* ── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  border: none;
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
  cursor: none;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn--primary  { background: var(--yellow); color: var(--black); }
.btn--ghost    { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.25); }
.btn--dark     { background: var(--black); color: var(--white); }

/* ── NAV ────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5vw;
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo-img {
  height: 90px;
  width: auto;
  border-radius: 10px;
  transition: opacity 0.2s;
}
.nav__logo-img:hover { opacity: 0.88; }
.nav__links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: 1rem;
  color: var(--white);
  transition: color 0.2s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.nav__links a:hover { color: var(--yellow); }
.nav__pkg {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: opacity 0.2s;
}
.nav__pkg:hover { opacity: 0.85; }

.nav__cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: opacity 0.2s;
}
.nav__cta:hover { color: var(--black) !important; opacity: 0.85; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── MOBILE MENU ────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 2.5rem; }
.mobile-menu a { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--white); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--yellow); }

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 10rem 5vw 7rem;
  overflow: hidden;
}
.hero {
  background-image:
    linear-gradient(to right, rgba(8,8,8,0.60) 20%, rgba(8,8,8,0.10) 50%, rgba(8,8,8,0.0) 100%),
    url('assets/Foto Home/Home_imgen_00085.jpg');
  background-size: cover;
  background-position: center right;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.hero__bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 5% 85%, rgba(255,170,0,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero__content { position: relative; max-width: 950px; }

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.75rem;
  opacity: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line-inner {
  display: block;
  transform: translateY(100%);
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--white);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  opacity: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.65);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
}
.hero__scroll-line {
  width: 60px; height: 1px;
  background: var(--yellow);
  transform-origin: left;
  animation: pulse-line 2.5s ease-in-out infinite;
}
.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
@keyframes pulse-line {
  0%   { transform: scaleX(0); opacity: 0; }
  50%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* ── MARQUEE ────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark);
  padding: 1.1rem 0;
}
.marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}
.marquee__track .sep { color: var(--yellow); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── STATEMENT ──────────────────────────── */
.statement {
  padding: 7rem 5vw;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}
.statement__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.statement__text {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-2);
}
.statement__text strong { color: var(--white); font-weight: 600; }


/* ── SERVICES ───────────────────────────── */
.services { padding: 8rem 5vw; }

.services__header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.service-card {
  background: var(--dark);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
  opacity: 0;
  transform: translateY(24px);
}
.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dark-3);
  transition: color 0.3s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1.5px; width: 0;
  background: var(--yellow);
  transition: width 0.4s var(--ease-out);
}
.service-card:hover { background: var(--dark-2); }
.service-card:hover::before { color: var(--yellow); }
.service-card:hover::after { width: 100%; }

.service-card__icon {
  width: 36px; height: 36px;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.service-card p  { font-size: 0.78rem; color: var(--gray); line-height: 1.6; }

/* ── PAQUETES CLÍNICAS ──────────────────── */
.clinicas { padding: 8rem 5vw; background: var(--dark); border-top: 1px solid var(--border); }
.clinicas__header { max-width: 700px; margin-bottom: 3.5rem; }
.clinicas__sub { font-size: 1.15rem; color: var(--gray-2); line-height: 1.7; margin-top: 1rem; max-width: 660px; }

/* ÚNICO */
.clinicas__unico {
  position: relative;
  display: flex; align-items: center; gap: 2rem;
  background: var(--dark-2); border: 1.5px solid var(--yellow);
  border-radius: 8px; padding: 3.2rem 2.5rem 2rem;
  margin-bottom: 3.5rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(24px);
}
.unico__badge {
  position: absolute;
  top: -1px; left: -1px;
  background: var(--yellow); color: var(--black);
  font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 8px 0 8px 0;
}
.unico__body { flex: 1; }
.unico__body h3 { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.unico__body p { font-size: 1.05rem; color: var(--gray-2); line-height: 1.65; margin-bottom: 1rem; }
.unico__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.unico__tags span {
  font-size: 0.72rem; color: var(--gray-2);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 4px 12px;
}
.unico__price { text-align: right; flex-shrink: 0; max-width: 180px; }
.price-amount { display: block; font-size: 2.2rem; font-weight: 900; color: var(--yellow); letter-spacing: -0.04em; line-height: 1; }
.price-amount--text { font-size: 1.25rem; line-height: 1.25; }
.price-type { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; }

/* PLANES */
.clinicas__planes-header { margin-bottom: 1.5rem; }
.clinicas__planes-header .unico__badge {
  position: static;
  display: inline-block;
  border-radius: 4px;
}
.clinicas__planes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.plan-card {
  border-radius: 8px; overflow: hidden;
  border: 1.5px solid var(--border);
  opacity: 0; transform: translateY(24px);
  transition: border-color 0.3s;
}
.plan-card:hover { border-color: var(--yellow-40); }
.plan-card--clinica { border-color: rgba(255,170,0,0.4); }
.plan-card__head { padding: 1.5rem 1.75rem; background: var(--dark-2); border-bottom: 1px solid var(--border); }
.plan-card--clinica .plan-card__head { background: #1a1200; }
.plan-card__badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.4rem; }
.plan-card__name { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 0.4rem; }
.plan-card__price { font-size: 1.8rem; font-weight: 900; color: var(--white); letter-spacing: -0.04em; line-height: 1; }
.plan-card__price--text { font-size: 1.2rem; line-height: 1.3; }
.plan-card__price span { font-size: 0.9rem; font-weight: 400; color: var(--gray); }
.plan-card__anual { font-size: 0.82rem; color: var(--yellow); margin-top: 0.3rem; opacity: 0.8; }
.plan-card__list { list-style: none; padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-card__list li { font-size: 0.95rem; color: var(--gray-2); padding-left: 1rem; position: relative; line-height: 1.55; }
.plan-card__list li::before { content: '→'; position: absolute; left: 0; color: var(--yellow); font-size: 0.7rem; font-weight: 700; }

/* OFERTA ANUAL */
.clinicas__anual {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.2rem 1.75rem;
  font-size: 0.88rem; color: var(--gray-2); line-height: 1.65;
  margin-bottom: 3rem;
  text-align: center; text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0; transform: translateY(16px);
}
.clinicas__anual strong { color: var(--yellow); font-weight: 700; }

/* DIFERENCIADORES */
.clinicas__diffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.diff-item { text-align: center; opacity: 0; transform: translateY(20px); }
.diff-item strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--yellow); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.diff-item span { font-size: 0.82rem; color: var(--gray); line-height: 1.6; }

@media (max-width: 768px) {
  .clinicas__planes { grid-template-columns: 1fr; }
  .clinicas__diffs { grid-template-columns: 1fr; gap: 1.5rem; }
  .clinicas__unico { flex-direction: column; }
  .unico__price { text-align: left; }
}

/* ── PORTFOLIO ──────────────────────────── */
.portfolio {
  padding: 8rem 5vw;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.portfolio__header { margin-bottom: 4rem; }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.portfolio-item {
  position: relative;
  min-height: 200px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.4s var(--ease-out);
}
.portfolio-item--featured {
  grid-column: span 2;
  min-height: 280px;
}
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item:hover { transform: scale(1.01); }
.portfolio-item__tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.4rem;
}
.portfolio-item h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.portfolio-item p  { font-size: 0.78rem; color: var(--gray-2); }

/* Video thumbnail */
.portfolio-vid {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Play button */
.portfolio-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 56px; height: 56px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 3;
  pointer-events: none;
}
.portfolio-play svg { width: 22px; height: 22px; margin-left: 3px; }
.portfolio-item:hover .portfolio-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Video Modal */
.video-modal {
  position: fixed; inset: 0;
  z-index: 800;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.video-modal.is-open { opacity: 1; pointer-events: all; }
.video-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.93);
}
.video-modal__inner {
  position: relative; z-index: 1;
  width: 90vw; max-width: 1100px;
}
.video-modal__close {
  position: absolute; top: -2.5rem; right: 0;
  background: none; border: none;
  color: var(--white); font-size: 1.4rem;
  cursor: none; font-family: inherit;
  opacity: 0.7; transition: opacity 0.2s;
}
.video-modal__close:hover { opacity: 1; }
.video-modal__player {
  width: 100%; border-radius: 6px;
  display: block; max-height: 80vh;
  background: #000;
}

.portfolio__note {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--gray);
}
.portfolio__note code {
  background: var(--dark-2);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
  color: var(--yellow);
}

/* ── TEAM ───────────────────────────────── */
.team { padding: 8rem 5vw; }
.team__header { margin-bottom: 4rem; }

.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.team-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: border-color 0.35s;
}
.team-card:hover { border-color: var(--yellow-40); }

.team-card__visual {
  position: relative;
  background: linear-gradient(135deg, var(--tc1), var(--tc2));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.team-card__avatar {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 5rem;
  color: var(--yellow);
  opacity: 0.18;
  user-select: none;
}
.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-card__role {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.5rem;
  display: block;
}
.team-card__body h3 { margin-bottom: 0.85rem; }
.team-card__body p  { font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.25rem; }
.team-card__links { display: flex; gap: 1.25rem; }
.team-card__links a {
  font-size: 0.78rem;
  color: var(--gray-2);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.team-card__links a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ── CTA SECTION ────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  padding: 9rem 5vw;
  text-align: center;
}
.cta__wordmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 28vw;
  color: rgba(0,0,0,0.06);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.cta__inner { position: relative; }
.cta__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  display: block;
  margin-bottom: 1rem;
}
.cta__title {
  color: var(--black);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  margin-bottom: 2.5rem;
  line-height: 1.05;
}

/* ── CONTACT ────────────────────────────── */
.contact {
  padding: 8rem 5vw;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.contact__header { margin-bottom: 4rem; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 7rem;
  align-items: start;
}
.contact__item { margin-bottom: 2rem; }
.contact__key {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}
.contact__item a, .contact__item span {
  font-size: 1rem;
  color: var(--gray-2);
  transition: color 0.2s;
}
.contact__item a:hover { color: var(--white); }

.contact__form { display: flex; flex-direction: column; gap: 0.85rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
}
.field select { color: var(--gray); cursor: none; }
.field select option { background: var(--dark-2); color: var(--white); }
.field input::placeholder,
.field textarea::placeholder { color: var(--gray); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: rgba(255,170,0,0.5); }
.field textarea { resize: vertical; min-height: 130px; }
.field--select { position: relative; }
.field__arrow {
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  pointer-events: none;
  font-size: 0.75rem;
}
.contact__form .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ── FOOTER ─────────────────────────────── */
.footer {
  padding: 2.5rem 5vw;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.footer__nav { display: flex; gap: 2rem; }
.footer__nav a { font-size: 0.82rem; color: var(--gray); transition: color 0.2s; }
.footer__nav a:hover { color: var(--yellow); }
.footer__copy { font-size: 0.72rem; color: var(--gray); }

/* ── LANG TOGGLE ────────────────────────── */
.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  cursor: none;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.lang-btn--left {
  margin-left: 1.2rem;
  flex-shrink: 0;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .team__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item--featured { min-height: 300px; }
}
@media (max-width: 768px) {
  .nav__logo-img { height: 68px; border-radius: 6px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__pkg, .nav__cta { display: none; }

  .hero { padding: 9rem 5vw 6rem; }
  .hero__scroll-hint { display: none; }

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

  .portfolio__grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item--featured { grid-column: span 2; }

  .team-card { grid-template-columns: 1fr; }
  .team-card__visual { min-height: 180px; }

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

  .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 500px) {
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio-item--featured { grid-column: span 1; grid-row: span 1; min-height: 250px; }
  .hero__actions { flex-direction: column; }
}
