/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #080808;
  --dark:    #111111;
  --surface: #181818;
  --border:  #252525;
  --steel:   #8a9eab;
  --steel-l: #c2d0d8;
  --mid:     #666;
  --light:   #e8ecee;
  --white:   #f5f5f5;
  --pure:    #ffffff;

  --font-title: 'Bebas Neue', sans-serif;
  --font-body:  'Inter', sans-serif;

  --nav-h: 68px;
  --r: 4px;
  --transition: .22s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease-out, background 220ms ease, border-color 220ms ease, color 220ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--pure);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,.12);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.05);
}
.btn--large { padding: 18px 44px; font-size: 1rem; }
.btn--full  { width: 100%; justify-content: center; }

/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,8,8,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
  isolation: isolate;
}
.nav.scrolled { border-color: rgba(255,255,255,.06); }

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav__logo img {
  height: 46px;
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav__links a {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
  transition: color var(--transition);
}
.nav__links a:hover,
.nav__links a.nav__link--active { color: var(--white); }

.nav__cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: var(--r);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav__cta:hover {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.05);
}
.nav__cta span { transition: transform var(--transition); display: inline-block; }
.nav__cta:hover span { transform: translateX(4px); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { transform: translateY(-8.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 20px 40px 32px;
  gap: 0;
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.nav__mobile a:hover  { color: var(--white); }
.nav__mobile .nav__cta {
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,.25);
  padding: 14px 20px;
  text-align: center;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Textura de fondo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(255,255,255,.018) 59px,
      rgba(255,255,255,.018) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(255,255,255,.018) 59px,
      rgba(255,255,255,.018) 60px
    );
  pointer-events: none;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  width: 100%;
}

/* Columna texto */
.hero__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Columna visual / slideshow */
.hero__visual {
  flex: 0 0 460px;
  height: 520px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  align-self: flex-start;
  margin-top: 40px;
  margin-right: -170px;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-slide--active { opacity: 1; }
.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Caption slide */
.hero-slide__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  pointer-events: none;
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.hero__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: none;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.hero__dot::before {
  content: '';
  position: absolute;
  inset: -20px;
}
.hero__dot--active {
  background: rgba(255,255,255,.85);
  transform: scale(1.3);
}
.hero__dot:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 32px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(80px, 14vw, 180px);
  line-height: .92;
  letter-spacing: -.01em;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}
.hero__title-line { color: var(--white); }
.hero__title-line--outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,.3);
  color: transparent;
  letter-spacing: 2px;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.5);
  max-width: 420px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 12px; flex-shrink: 0; }

.hero__numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.hero__num {
  display: flex;
  flex-direction: column;
  padding: 28px 40px;
  border-right: 1px solid var(--border);
}
.hero__num:last-child { border-right: none; }
.hero__num strong {
  font-family: var(--font-title);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: .02em;
}
.hero__num span {
  font-size: .78rem;
  color: var(--steel);
  margin-top: 6px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ===========================
   TICKER
=========================== */
.ticker {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
  display: flex;
}
.ticker__track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}
.ticker__track span {
  display: inline-block;
  padding: 0 24px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.ticker__track .sep {
  color: var(--steel);
  padding: 0 4px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ===========================
   ABOUT
=========================== */
.about {
  padding: 120px 0 0;
  background: var(--dark);
}
.about__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__title {
  font-family: var(--font-title);
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.0;
  color: var(--white);
}
.about__title em {
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255,255,255,.3);
  color: transparent;
}

.about__lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about__right p {
  color: rgba(255,255,255,.45);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about__tags span {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--steel-l);
}

.about__bar {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.about__bar-item {
  padding: 40px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.about__bar-item:last-child { border-right: none; }
.about__bar-item:hover { background: var(--surface); }
.about__bar-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.about__bar-item span {
  font-size: .88rem;
  color: rgba(255,255,255,.4);
  line-height: 1.65;
}

/* ===========================
   SERVICES
=========================== */
.services {
  padding: 120px 0 0;
  background: var(--black);
}
.services__header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}
.services__index {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 20px;
}
.services__header h2 {
  font-family: var(--font-title);
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.05;
  color: var(--white);
}

.services__list {
  max-width: 1280px;
  margin: 0 auto;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 44px 40px;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: background var(--transition);
}
.service-row:hover { background: var(--surface); }

.service-row__num {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: rgba(255,255,255,.15);
  letter-spacing: .04em;
}
.service-row:hover .service-row__num { color: var(--steel); }

.service-row__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.service-row__content p {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  line-height: 1.65;
  max-width: 540px;
}

.service-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.service-row__tags span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}

/* ===========================
   PROJECTS
=========================== */
.projects {
  padding: 120px 0;
  background: var(--black);
}
.projects__header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 64px;
}
.projects__header h2 {
  font-family: var(--font-title);
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.0;
  color: var(--white);
}

.projects__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.project-card {
  background: var(--dark);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  position: relative;
  transition: background var(--transition), transform 200ms ease-out;
  overflow: hidden;
  cursor: pointer;
}
.project-card:hover { background: var(--surface); transform: translateY(-3px); }
.project-card--large {
  grid-column: 1 / 3;
}
.project-card--accent {
  background: var(--surface);
  border: none;
}
.project-card--accent:hover { background: #1e1e1e; }

.project-card__icon {
  position: absolute;
  right: 32px;
  top: 32px;
  font-size: 2rem;
  opacity: .18;
}
.project-card__cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 20px;
  display: block;
}
.project-card h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}
.project-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
}
.project-card--large h3 { font-size: 2rem; }
.project-card--large p  { max-width: 480px; }

.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 24px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color var(--transition);
}
.project-card--accent:hover .project-card__cta { border-color: var(--white); }

/* ===========================
   BIG CTA
=========================== */
.bigcta {
  background: var(--white);
  padding: 120px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.bigcta__title {
  font-family: var(--font-title);
  font-size: clamp(48px, 8vw, 100px);
  line-height: .95;
  color: var(--black);
}
.bigcta__title span {
  -webkit-text-stroke: 1.5px rgba(0,0,0,.25);
  color: transparent;
}
.bigcta .btn--white {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.bigcta .btn--white:hover {
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.bigcta__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: .8rem;
  color: rgba(0,0,0,.35);
  font-weight: 500;
  letter-spacing: .04em;
}

/* ===========================
   CONTACT
=========================== */
.contact {
  background: var(--dark);
  padding: 120px 0;
}
.contact__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.contact__left h2 {
  font-family: var(--font-title);
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
}
.contact__left > p {
  color: rgba(255,255,255,.45);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 48px;
}
.contact__info { display: flex; flex-direction: column; gap: 0; }
.contact__info-item {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.contact__info-item:hover { color: var(--steel-l); }
.contact__info-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 4px;
}
.contact__info-val {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group select { color: rgba(255,255,255,.6); }
.form-group select option { background: var(--surface); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--steel); }
.form-group textarea { resize: vertical; }
.form-group--check { flex-direction: row; align-items: flex-start; gap: 10px; margin-bottom: 0; }
.form-group input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; min-width: 16px;
  padding: 0; box-sizing: content-box;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 3px;
  background: transparent;
  cursor: pointer; flex-shrink: 0; margin-top: 3px;
  position: relative;
  transition: border-color .15s, background .15s;
}
.form-group input[type="checkbox"]:checked {
  background: var(--white);
  border-color: var(--white);
}
.form-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 10px;
  border: 2px solid #111;
  border-top: none; border-left: none;
  transform: translate(-50%, -60%) rotate(45deg);
}
.form-group input[type="checkbox"] + label { text-transform: none; font-weight: 400; font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.5; cursor: pointer; letter-spacing: 0; }
.form-group--check label a { color: rgba(255,255,255,.65); text-decoration: underline; text-underline-offset: 3px; }
.contact__form .btn--white {
  margin-top: 8px;
  letter-spacing: .06em;
}

/* ===========================
   REACH BANNER
=========================== */
.reach-banner {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
  text-align: center;
}
.reach-banner p {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: .03em;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .reach-banner { padding: 24px; }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer__top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}
.footer__logo {
  height: 52px;
  opacity: .45;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}
.footer__top a:hover .footer__logo { opacity: .7; }
/* FAQ */
.faq {
  background: var(--dark);
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.faq__header {
  margin-bottom: 64px;
}
.faq__header h2 {
  font-family: var(--font-title);
  font-size: clamp(40px, 5.5vw, 66px);
  color: var(--white);
  line-height: 1.0;
  margin: 0;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--steel-light); }
.faq__icon {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--steel);
  flex-shrink: 0;
  transition: transform .3s ease, color .2s;
  line-height: 1;
}
.faq__item.open .faq__icon {
  transform: rotate(45deg);
  color: var(--white);
}
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq__answer > p {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom .35s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq__item.open .faq__answer {
  grid-template-rows: 1fr;
}
.faq__item.open .faq__answer > p {
  padding-bottom: 28px;
}
.faq__answer p {
  font-family: var(--font-body);
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  padding-bottom: 28px;
  margin: 0;
}

/* WHATSAPP FLOTANTE */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 72px;
  height: 72px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure);
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-btn::before {
  content: "Solo proyectos profesionales";
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: rgba(0,0,0,0.70);
  color: var(--pure);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}
.whatsapp-btn:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.whatsapp-btn svg {
  width: 40px;
  height: 40px;
}

.footer__top p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  text-align: right;
  line-height: 1.6;
}

.footer__mid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px;
  display: flex;
  gap: 80px;
  border-bottom: 1px solid var(--border);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer__bottom p { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer__bottom div { display: flex; gap: 24px; }
.footer__bottom a { font-size: .8rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__bottom a:hover { color: rgba(255,255,255,.7); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  /* ── Hero: stack vertical en tablet (evita texto comprimido a <400px) ── */
  .hero__content { flex-direction: column; gap: 32px; padding: 60px 40px 40px; }
  .hero__visual  { flex: none; width: 100%; height: 320px; margin-right: 0; margin-top: 0; }

  .hero__numbers { grid-template-columns: repeat(2, 1fr); }
  .hero__num:nth-child(2) { border-right: none; }
  .hero__num:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .hero__num:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__bar   { grid-template-columns: repeat(2, 1fr); }
  .about__bar-item:nth-child(2) { border-right: none; }
  .about__bar-item:nth-child(3) { border-top: 1px solid var(--border); }
  .about__bar-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .service-row { grid-template-columns: 60px 1fr; }
  .service-row__tags { display: none; }

  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--large { grid-column: 1 / -1; }

  .contact__inner { grid-template-columns: 1fr; gap: 60px; }

  .footer__mid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav__inner { padding: 0 24px; gap: 16px; }
  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { padding: 20px 24px 32px; }

  .hero__content { padding: 60px 24px 40px; flex-direction: column; gap: 24px; }
  .hero__visual  { flex: none; width: 100%; height: 240px; margin-right: 0; margin-top: 0; }
  .hero__bottom  { flex-direction: column; align-items: flex-start; }
  .hero__numbers { grid-template-columns: repeat(2, 1fr); }
  .hero__num     { padding: 20px 24px; }

  .about__inner   { padding: 0 24px 80px; }
  .about__bar     { grid-template-columns: 1fr; }
  .about__bar-item { border-right: none !important; border-top: 1px solid var(--border) !important; }
  .about__bar-item:first-child { border-top: none !important; }

  .services__header { padding: 0 24px 48px; flex-direction: column; align-items: flex-start; }
  .service-row      { padding: 32px 24px; gap: 24px; }

  .projects__header { padding: 0 24px 48px; }
  .projects__grid   { grid-template-columns: 1fr; padding: 0 24px; }
  .project-card--large { grid-column: auto; }

  .bigcta { padding: 80px 24px; }
  .bigcta__meta { flex-wrap: wrap; justify-content: center; }

  .contact { padding: 80px 0 100px; }
  .contact__inner { padding: 0 24px; }
  .contact__inner > * { min-width: 0; }
  .contact__left { text-align: center; }
  .contact__info { align-items: center; }
  .contact__info-item { text-align: left; width: 100%; max-width: 360px; }
  .contact__info-val { overflow-wrap: break-word; word-break: break-all; }
  .contact__left > p { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .whatsapp-btn { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-btn svg { width: 28px; height: 28px; }

  /* Cards proyectos — reducir padding en móvil */
  .project-card { padding: 32px 24px; }
  .project-card--large h3 { font-size: 1.6rem; }

  /* About bar padding */
  .about__bar-item { padding: 28px 24px; }

  .footer__top  { padding: 0 24px 40px; flex-direction: column; align-items: flex-start; }
  .footer__top p { text-align: left; }
  .footer__mid  { padding: 40px 24px; flex-wrap: wrap; gap: 36px; }
  .footer__bottom { padding: 20px 24px; flex-direction: column; text-align: center; }

  /* iOS: evita zoom automático al enfocar inputs */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  /* Ocultar tooltip WhatsApp en móvil */
  .whatsapp-btn::before { display: none; }

  /* Touch target mínimo 44×44px para hamburger */
  .nav__hamburger { padding: 11px 8px; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 68px; }
  .hero__visual { display: none; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__numbers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 360px) {
  .hero__title  { font-size: 52px; }
  .hero__num    { padding: 16px 16px; }
  .hero__num strong { font-size: 2.2rem; }
  .about__bar-item  { padding: 28px 20px; }
  .bigcta { padding: 64px 16px; }
  .contact__inner { padding: 0 16px; }
  .nav__inner { padding: 0 16px; }
}

/* ===========================
   FEATURE SHOT
=========================== */
.feature-shot {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 780px;
  overflow: hidden;
}
.feature-shot picture {
  display: block;
  width: 100%;
  height: 100%;
}
.feature-shot picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Slides del feature-shot */
.feature-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.feature-slide--active { opacity: 1; }
.feature-slide picture,
.feature-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-shot__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.42) 45%,
    rgba(0,0,0,.08) 100%
  );
  pointer-events: none;
}
.feature-shot__caption {
  position: absolute;
  bottom: 56px;
  left: 64px;
  z-index: 2;
  max-width: 460px;
}
.feature-shot__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.feature-shot__title {
  font-family: var(--font-title);
  font-size: clamp(36px, 5vw, 58px);
  color: var(--white);
  line-height: .95;
  margin: 0 0 18px;
}
.feature-shot__sub {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.72;
  margin: 0 0 26px;
}
.feature-shot__link {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 3px;
  transition: border-color .2s ease;
}
.feature-shot__link:hover { border-bottom-color: var(--white); }

/* Flechas feature-shot */
.feature-shot__prev,
.feature-shot__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.75);
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease-out;
  line-height: 1;
  padding-bottom: 2px;
}
.feature-shot__prev { left: 28px; }
.feature-shot__next { right: 28px; }
.feature-shot__prev:hover,
.feature-shot__next:hover {
  background: rgba(0,0,0,.65);
  color: var(--pure);
  border-color: rgba(255,255,255,.4);
}
.feature-shot__prev:active,
.feature-shot__next:active { transform: translateY(-50%) scale(0.93); }

@media (max-width: 768px) {
  .feature-shot { height: 58vh; min-height: 340px; }
  .feature-shot__caption { bottom: 32px; left: 24px; right: 24px; max-width: none; }
  .feature-shot__overlay {
    background: linear-gradient(
      to top,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.35) 55%,
      transparent 100%
    );
  }
}

/* ===========================
   COOKIE BANNER
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 28px;
  left: 28px;
  right: 110px;
  z-index: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner__text {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}
.cookie-banner__text strong { color: var(--white); }
.cookie-banner__text a {
  color: var(--steel);
  text-decoration: underline;
  margin-left: 6px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__reject {
  padding: 9px 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255,255,255,.65);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.cookie-banner__reject:hover { color: var(--white); border-color: rgba(255,255,255,.3); }
.cookie-banner__accept {
  padding: 9px 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
}
.cookie-banner__accept:hover { background: var(--pure); }
@media (max-width: 640px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; flex-direction: column; align-items: flex-start; }
}

/* ===========================
   SECTION INDEX LABELS
=========================== */
.about__index,
.projects__index,
.faq__label,
.contact__index {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  display: block;
  margin-bottom: 20px;
}

/* ===========================
   BUTTON LOADING STATE
=========================== */
.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn--loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin .6s linear infinite;
  color: var(--black);
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--loading::after { animation: none; border-color: var(--black); border-top-color: transparent; }
}

/* ===========================
   CONTACT FILTER BOX
=========================== */
.contact__filter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 20px;
  margin-top: 28px;
}
.contact__filter-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  display: block;
  margin-bottom: 8px;
}
.contact__filter p {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin: 0;
}
.contact__filter p strong {
  color: rgba(255,255,255,.8);
}

/* ===========================
   TEXT WRAP
=========================== */
h1, h2, h3 {
  text-wrap: balance;
}
.about__lead,
.faq__answer p,
.contact__left > p {
  text-wrap: pretty;
}

/* ===========================
   SKIP LINK
=========================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--white);
  color: var(--black);
  padding: 10px 20px;
  border-radius: var(--r);
  font-size: .85rem;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* ===========================
   BACK TO TOP
=========================== */
.back-to-top {
  position: fixed;
  bottom: 112px;
  right: 28px;
  z-index: 490;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: rgba(255,255,255,.5);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out, background 0.2s, color 0.2s;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--border); color: var(--white); }
.back-to-top:active { transform: scale(0.92); }
@media (max-width: 768px) {
  .back-to-top { bottom: 80px; right: 18px; width: 44px; height: 44px; }
}

/* ===========================
   FEATURE SHOT DOTS
=========================== */
.feature-shot__dots {
  position: absolute;
  bottom: 0;
  right: 12px;
  display: flex;
  gap: 0;
  z-index: 4;
}
.feature-shot__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  border: none;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-shot__dot::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background .3s, transform .3s;
  display: block;
}
.feature-shot__dot--active::after {
  background: rgba(255,255,255,.9);
  transform: scale(1.3);
}
.feature-shot__dot:focus-visible,
.feature-shot__prev:focus-visible,
.feature-shot__next:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

/* ===========================
   FORM ERROR STATES
=========================== */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: rgba(220, 80, 60, 0.7);
}
.form-group.has-error label {
  color: rgba(220, 80, 60, 0.9);
}
.form-error {
  display: block;
  font-size: .75rem;
  color: rgba(220, 80, 60, 0.85);
  margin-top: 4px;
  font-weight: 500;
}

/* ===========================
   CALCULATOR PANEL TRANSITIONS
=========================== */
.calc__panel,
.calc__result {
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}
.calc__panel:not(.active),
.calc__result:not(.active) {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(12px);
}
.calc__panel.active,
.calc__result.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateX(0);
}

/* ===========================
   HERO TITLE ENTRANCE
=========================== */
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero__title-line {
  opacity: 0;
  transform: translateY(28px);
  animation: heroLineIn 0.65s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.hero__title-line:nth-child(1) { animation-delay: 0.05s; }
.hero__title-line:nth-child(2) { animation-delay: 0.18s; }
.hero__title-line:nth-child(3) { animation-delay: 0.31s; }

/* ===========================
   FEATURE-SHOT CAPTION FADE
=========================== */
.feature-shot__caption {
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.feature-shot__caption.is-transitioning {
  opacity: 0;
  transform: translateY(6px);
}

/* ===========================
   CONTACT INFO HOVER
=========================== */
.contact__info-item {
  transition: color var(--transition), transform 200ms ease-out;
}
.contact__info-item:hover { color: var(--steel-l); transform: translateX(4px); }

/* ===========================
   REDUCED MOTION
=========================== */
@media (prefers-reduced-motion: reduce) {
  .dot                { animation: none; opacity: 1; }
  .ticker__track      { animation: none; }
  .hero-slide         { transition: none; }
  .feature-slide      { transition: none; }
  .faq__answer,
  .faq__answer > p    { transition: none; }
  .cookie-banner      { transition: none; }
  .btn                { transition: none; }
  .hero__title-line   { animation: none; opacity: 1; transform: none; }
  .feature-shot__caption { transition: none; }
  *                   { transition-duration: 0.01ms !important;
                        animation-duration: 0.01ms !important; }
}
