/* =============================================
   PARALUCENT — @font-face
   ============================================= */
@font-face {
  font-family: 'Paralucent';
  src: url('../assets/font/ParalucentThin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paralucent';
  src: url('../assets/font/ParalucentExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paralucent';
  src: url('../assets/font/ParalucentExtraLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paralucent';
  src: url('../assets/font/ParalucentTextBook.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paralucent';
  src: url('../assets/font/ParalucentMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paralucent';
  src: url('../assets/font/ParalucentDemiBold%202.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paralucent';
  src: url('../assets/font/ParalucentBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paralucent';
  src: url('../assets/font/ParalucentHeavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


/* =============================================
   VARIABLES & RESET
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:       #1c2b4a;
  --primary-mid:   #2a3f6f;
  --primary-light: #7a8fbd;
  --white:         #ffffff;
  --gray-100:      #f5f5f5;
  --gray-400:      #999;
  --text:          #1c2b4a;
  --font:          'Paralucent', sans-serif;
  --radius:        4px;
  --transition:    0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}


/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--primary);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: none;
  width: 100%;
  padding: 0 2rem;
  margin: 0;
}

.navbar__logo img {
  height: 28px;
  width: auto;
}

/* Show light logo by default (on dark navbar), hide dark logo */
.logo-light { display: block; }
.logo-dark  { display: none;  }

/* When scrolled (white bg), swap logos */
.navbar.scrolled .logo-light { display: none;  }
.navbar.scrolled .logo-dark  { display: block; }

.navbar__nav {
  display: flex;
  gap: 2rem;
}

.navbar__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  transition: opacity var(--transition);
}

.navbar__nav a:hover { opacity: 0.7; }

.navbar.scrolled .navbar__nav a { color: var(--primary); }

/* Burger button */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}

.navbar.scrolled .navbar__burger span { background: var(--primary); }


/* =============================================
   HERO — Ken Burns slideshow
   ============================================= */
.hero {
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(28,43,74,0.80) 0%,
    rgba(28,43,74,0.15) 55%,
    transparent 100%);
  z-index: 1;
}

.hero__content {
  position: absolute;
  bottom: 3.5rem;
  left: 1.5rem;
  z-index: 2;
}

.hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--white);
}

.hero__scroll-line {
  position: absolute;
  bottom: 3.5rem;
  right: 1.5rem;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.45);
  z-index: 2;
  transform-origin: top;
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform-origin: center center;
}

/* Ken Burns animations — each slide gets a different motion */
.hero__slide.active img {
  animation: kenburns-1 8s ease-in-out forwards;
}

.hero__slide:nth-child(2).active img { animation-name: kenburns-2; }
.hero__slide:nth-child(3).active img { animation-name: kenburns-3; }
.hero__slide:nth-child(4).active img { animation-name: kenburns-4; }

@keyframes kenburns-1 {
  from { transform: scale(1)    translateX(0)     translateY(0); }
  to   { transform: scale(1.12) translateX(-2%)   translateY(-1%); }
}
@keyframes kenburns-2 {
  from { transform: scale(1.1)  translateX(2%)    translateY(0); }
  to   { transform: scale(1)    translateX(-1%)   translateY(1%); }
}
@keyframes kenburns-3 {
  from { transform: scale(1)    translateX(-2%)   translateY(1%); }
  to   { transform: scale(1.12) translateX(1%)    translateY(-1%); }
}
@keyframes kenburns-4 {
  from { transform: scale(1.08) translateX(1%)    translateY(-1%); }
  to   { transform: scale(1)    translateX(-1%)   translateY(0); }
}


/* =============================================
   SECTION SHARED — header pattern
   ============================================= */

/* Shared section header: eyebrow + big title, full-width padded */
.section-head {
  padding: 0 1.5rem 3rem;
}

.section-head__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.6rem;
}

.section-head__title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}


/* =============================================
   PROYECTOS DESTACADOS
   ============================================= */
.projects {
  padding: 5rem 0 0;
}

/* ── Header ── */
.projects__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 1.5rem 3rem;
  gap: 2rem;
}

.projects__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.6rem;
}

.projects__title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary);
}

.projects__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity var(--transition);
}
.projects__cta:hover { opacity: 0.5; }

/* ── Mascota en header de proyectos ── */
.projects__mascota {
  height: 170px;
  width: auto;
  align-self: flex-end;
  mix-blend-mode: multiply;
  pointer-events: none;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.projects__head:hover .projects__mascota {
  transform: translateY(-8px) rotate(-4deg);
}

/* ── Asymmetric grid:
   [ A  A  B ]
   [ C  D  B ]
──────────────── */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: min(36vw, 400px) min(28vw, 340px);
  gap: 12px;
  padding: 0 1.5rem 1.5rem;
  background: var(--white);
}

.proj--a { grid-column: 1 / 3; grid-row: 1; }
.proj--b { grid-column: 3;     grid-row: 1 / 3; }
.proj--c { grid-column: 1;     grid-row: 2; }
.proj--d { grid-column: 2;     grid-row: 2; }
.proj--e { grid-column: 1;     grid-row: 3; }
.proj--f { grid-column: 2;     grid-row: 3; }
.proj--g { grid-column: 3;     grid-row: 3; }

/* ── Card base ── */
.proj { overflow: hidden; cursor: pointer; }

.proj__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.proj__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.proj:hover .proj__inner img { transform: scale(1.06); }

/* ── Veil overlay ── */
.proj__veil {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 74, 0.76);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}
.proj:hover .proj__veil { opacity: 1; }

/* ── SVG blueprint ── */
.proj__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ── Border trace + corner marks ── */

/* Borde que se traza alrededor del card */
.border-trace {
  stroke: rgba(255,255,255,0.75);
  stroke-width: 1.5;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.proj:hover .border-trace { stroke-dashoffset: 0; }


/* ── Card text ── */
.proj__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  z-index: 3;
  pointer-events: none;
}

.proj__n {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  align-self: flex-end;
  transition: color 0.4s ease;
}
.proj:hover .proj__n { color: rgba(255,255,255,0.85); }

.proj__caption {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}
.proj:hover .proj__caption { opacity: 1; transform: translateY(0); }

.proj__caption h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 0.2rem;
}

.proj__caption p {
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =============================================
   SOBRE NOSOTROS
   ============================================= */
.about {
  position: relative;
  padding: 7rem 1.5rem;
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.about__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 74, 0.82);
}

.about__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 0.5fr;
  gap: 4rem;
  align-items: end;
}

.about__mascota-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about__mascota {
  width: 100%;
  max-width: 180px;
  height: auto;
  mix-blend-mode: multiply;
  opacity: 0.22;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about:hover .about__mascota {
  opacity: 0.35;
  transform: translateY(-6px);
}

.about__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.about__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--white);
}

.about__right p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.about__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color var(--transition), opacity var(--transition);
}
.about__cta:hover { opacity: 0.65; }


/* =============================================
   TESTIMONIOS
   ============================================= */
.testimonials {
  padding: 5rem 0 0;
  background: var(--primary);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.tcard {
  padding: 3rem 1.5rem;
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 300px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.tcard__quote {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-style: italic;
}

.tcard__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tcard__avatar {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tcard__author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.tcard__author span {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =============================================
   CLIENTES
   ============================================= */
.clients {
  padding: 5rem 0 0;
  background: var(--primary);
}

.clients__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.client-logo {
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition);
}

.client-logo:last-child { border-right: none; }

.client-logo:hover { background: rgba(255,255,255,0.04); }

.client-logo img {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity var(--transition);
}

.client-logo:hover img { opacity: 0.75; }


/* =============================================
   CTA / CONTACTO
   ============================================= */
.cta {
  position: relative;
  padding: 7rem 1.5rem;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 74, 0.46);
}

.cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.cta__mascota {
  height: min(55vh, 460px);
  width: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  opacity: 0.18;
  pointer-events: none;
  transform: scaleX(-1);
  transition: opacity 0.6s ease, transform 0.6s ease;
  align-self: flex-end;
}

.cta:hover .cta__mascota {
  opacity: 0.28;
  transform: scaleX(-1) translateY(-10px);
}

.cta__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.cta__title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--white);
}

.cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.cta__link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.85);
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 1.5rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  height: 24px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer__socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer__socials a:hover { background: rgba(255,255,255,0.25); }

.footer__socials svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.footer__links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 1rem 0;
}

.footer__copy p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .projects__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min(55vw, 380px) min(45vw, 320px) min(55vw, 380px);
  }
  .proj--a { grid-column: 1 / 3; grid-row: 1; }
  .proj--b { grid-column: 1;     grid-row: 2; }
  .proj--c { grid-column: 2;     grid-row: 2; }
  .proj--d { grid-column: 1 / 3; grid-row: 3; }

  .about__content { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about__mascota-col { display: none; }

  .testimonials__grid { grid-template-columns: 1fr; }

  .clients__strip { grid-template-columns: repeat(3, 1fr); }
  .client-logo:nth-child(3) { border-right: none; }
  .client-logo:nth-child(4),
  .client-logo:nth-child(5),
  .client-logo:nth-child(6) { border-top: 1px solid rgba(255,255,255,0.1); }

  .cta__content { flex-direction: column; align-items: flex-start; gap: 2.5rem; }
  .cta__mascota { height: min(40vh, 320px); align-self: flex-start; }
  .projects__mascota { height: 120px; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* =============================================
   INNER PAGE HERO
   ============================================= */
.inner-hero {
  min-height: 44vh;
  padding: 8rem 1.5rem 4rem;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.inner-hero--img {
  background-size: cover;
  background-position: center;
}

.inner-hero--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,43,74,0.50);
}

.inner-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.inner-hero__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.inner-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.inner-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 520px;
}


/* =============================================
   PAGE SECTION WRAPPER
   ============================================= */
.page-section {
  padding: 5rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.page-section--full {
  padding: 5rem 0;
  max-width: none;
}

.page-section--dark {
  background: var(--primary);
  padding: 5rem 0;
  max-width: none;
}

.page-section--gray {
  background: var(--gray-100);
  padding: 5rem 0;
  max-width: none;
}

.page-section__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.6rem;
}

.page-section--dark .page-section__eyebrow { color: rgba(255,255,255,0.45); }

.page-section__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 3rem;
}

.page-section--dark .page-section__title { color: var(--white); }

.page-section__lead {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(28,43,74,0.72);
  max-width: 640px;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
}


/* =============================================
   SERVICE CARDS
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(28,43,74,0.1);
}

.scard {
  background: var(--white);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}

.scard:hover { background: var(--gray-100); }

.scard__number {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.scard__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.scard__desc {
  font-size: 0.875rem;
  color: rgba(28,43,74,0.65);
  line-height: 1.8;
}


/* =============================================
   PROJECTS FULL PAGE
   ============================================= */
.projects-full__filter {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: none;
  border: 1px solid rgba(28,43,74,0.25);
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.projects-full__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 1.5rem 1.5rem;
  background: var(--white);
}

.proj-full {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  position: relative;
}

.proj-full__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.proj-full__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.proj-full:hover .proj-full__inner img { transform: scale(1.06); }

.proj-full__veil {
  position: absolute;
  inset: 0;
  background: rgba(28,43,74,0.76);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.proj-full:hover .proj-full__veil { opacity: 1; }

.proj-full__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.proj-full__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  z-index: 3;
  pointer-events: none;
}

.proj-full__tag {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  align-self: flex-end;
  transition: opacity 0.4s ease;
}

.proj-full:hover .proj-full__tag { opacity: 0; }

.proj-full__caption {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.proj-full:hover .proj-full__caption { opacity: 1; transform: translateY(0); }

.proj-full__caption h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.proj-full__caption p {
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =============================================
   ABOUT — VALUES GRID
   ============================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 3rem;
}

.value-card {
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.04);
  transition: background var(--transition);
}

.value-card:hover { background: rgba(255,255,255,0.08); }

.value-card__number {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
}

.value-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.value-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}


/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(28,43,74,0.1);
  border-bottom: 1px solid rgba(28,43,74,0.1);
  margin: 4rem 0;
}

.stat-item {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(28,43,74,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =============================================
   TEAM GRID
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card__initials {
  aspect-ratio: 3/4;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  transition: background var(--transition);
}

.team-card:hover .team-card__initials { background: var(--primary-mid); }

.team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =============================================
   CONTACT LAYOUT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

.contact-info__item {
  margin-bottom: 2.5rem;
}

.contact-info__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.4rem;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(28,43,74,0.2);
  padding: 0.75rem 0;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input[type="checkbox"] {
  width: auto;
  border: none;
  padding: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231c2b4a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--primary);
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: opacity var(--transition);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.btn-primary:hover { opacity: 0.75; }


/* =============================================
   LEGAL CONTENT
   ============================================= */
.legal-layout {
  padding: 4rem 0 6rem;
}

.legal-meta {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(28,43,74,0.1);
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1.5rem 0 0.4rem;
}

.legal-content p {
  font-size: 0.9375rem;
  color: rgba(28,43,74,0.8);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  font-size: 0.9375rem;
  color: rgba(28,43,74,0.8);
  line-height: 1.85;
  margin-bottom: 0.35rem;
}

.legal-content strong { font-weight: 600; color: var(--primary); }
.legal-content a { color: var(--primary-mid); text-decoration: underline; }

.legal-highlight {
  background: var(--gray-100);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: rgba(28,43,74,0.8);
  line-height: 1.75;
}


/* =============================================
   COMPLAINTS FORM
   ============================================= */
.complaint-layout {
  padding: 0 0 6rem;
}

.complaint-notice {
  background: var(--gray-100);
  border-left: 3px solid var(--primary);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: rgba(28,43,74,0.8);
  line-height: 1.75;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.complaint-section {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.complaint-section__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.radio-group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--primary);
  cursor: pointer;
}

.radio-group input[type="radio"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.radio-desc {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.complaint-submit {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.complaint-footer-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  line-height: 1.7;
}


/* =============================================
   TWO-COL LAYOUT (nosotros / generic)
   ============================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.two-col__text p {
  font-size: 1rem;
  color: rgba(28,43,74,0.72);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.two-col__text p:last-child { margin-bottom: 0; }

.two-col__image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =============================================
   RESPONSIVE — SUB-PAGES
   ============================================= */
@media (max-width: 900px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .contact-layout      { grid-template-columns: 1fr; gap: 3rem; }
  .projects-full__grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid         { grid-template-columns: 1fr; }
  .stats-strip         { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(28,43,74,0.1); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(28,43,74,0.1); border-right: none; }
  .two-col             { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col__image      { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
  .navbar__nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .navbar.scrolled .navbar__nav {
    background: var(--white);
  }

  .navbar__nav.open { display: flex; }

  .navbar__nav a {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .navbar.scrolled .navbar__nav a {
    border-top-color: rgba(0,0,0,0.06);
  }

  .navbar__burger { display: flex; }

  .hero__headline { font-size: clamp(2.8rem, 13vw, 5rem); }

  .clients__strip { grid-template-columns: repeat(2, 1fr); }
  .client-logo:nth-child(2) { border-right: none; }
  .client-logo:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.1); }
  .client-logo:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); border-right: none; }
  .client-logo:nth-child(5) { border-top: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.1); }
  .client-logo:nth-child(6) { border-top: 1px solid rgba(255,255,255,0.1); border-right: none; }

  .projects__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, min(66vw, 380px));
  }
  .proj--a, .proj--b, .proj--c, .proj--d {
    grid-column: 1;
    grid-row: auto;
  }

  .projects__head { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 0 1rem 2.5rem; }
  .projects__mascota { display: none; }
  .about__content { grid-template-columns: 1fr; gap: 2rem; }

  .about__content h2, .cta__content h2 { font-size: 1.5rem; }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__slider {
    gap: 0.25rem;
  }

  .client-logo {
    flex: 0 0 calc(50% - 1rem);
  }

  .services-grid       { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .form-row            { grid-template-columns: 1fr; }
  .projects-full__grid { grid-template-columns: 1fr; }
  .inner-hero          { padding: 7rem 1rem 3rem; }
  .stats-strip         { grid-template-columns: repeat(2, 1fr); }
}


/* =============================================
   PROJECT DETAIL PAGE
   ============================================= */

.inner-hero--tall {
  min-height: 68vh;
}

.proj-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color var(--transition);
}

.proj-back-link:hover { color: rgba(255,255,255,0.85); }

.proj-back-link svg { transition: transform var(--transition); }
.proj-back-link:hover svg { transform: translateX(-3px); }

.proj-detail {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: start;
}

.proj-detail__desc p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(28,43,74,0.72);
  margin-bottom: 1.5rem;
}

.proj-detail__desc p:last-child { margin-bottom: 0; }

.proj-meta {
  border-top: 1px solid rgba(28,43,74,0.12);
}

.proj-meta__item {
  padding: 1.125rem 0;
  border-bottom: 1px solid rgba(28,43,74,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.proj-meta__label {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.proj-meta__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.proj-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 1.5rem;
  background: var(--white);
}

.proj-gallery__item {
  overflow: hidden;
  background: var(--gray-100);
}

.proj-gallery__item--wide {
  grid-column: 1 / 3;
}

.proj-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.proj-gallery__item:hover img { transform: scale(1.04); }

.proj-gallery__item--wide img { aspect-ratio: 16/9; }
.proj-gallery__item:not(.proj-gallery__item--wide) img { aspect-ratio: 4/3; }

@media (max-width: 900px) {
  .proj-detail        { grid-template-columns: 1fr; gap: 3rem; }
  .proj-gallery       { grid-template-columns: repeat(2, 1fr); }
  .proj-gallery__item--wide { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .inner-hero--tall   { min-height: 55vh; }
  .proj-gallery       { grid-template-columns: 1fr; }
  .proj-gallery__item--wide { grid-column: 1; }
}


/* =============================================
   ARCHITECT FEATURE SECTIONS
   ============================================= */

/* ── Base: split 55 / 45 ── */
.arch-feature {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 85vh;
  overflow: hidden;
}

/* ── Dark variant (left panel dark) ── */
.arch-feature--dark .arch-feature__text {
  background: var(--primary);
}

/* ── Light variant (left panel white) ── */
.arch-feature--light {
  grid-template-columns: 45% 55%;
}
.arch-feature--light .arch-feature__text {
  background: var(--white);
}

/* ── Reversed: image goes first (left) ── */
.arch-feature--reversed .arch-feature__image { order: -1; }

/* ── Text panel ── */
.arch-feature__text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 3.5rem 5rem 2rem;
  overflow: hidden;
}

.arch-feature--light .arch-feature__text {
  padding: 5rem 2rem 5rem 3.5rem;
}

/* ── Ghost index number (decorative) ── */
.arch-feature__index {
  position: absolute;
  top: -0.12em;
  right: -0.04em;
  font-size: clamp(9rem, 18vw, 22rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.arch-feature--light .arch-feature__index {
  color: rgba(28, 43, 74, 0.05);
}

/* ── Content wrapper (sits above ghost number) ── */
.arch-feature__content {
  position: relative;
  z-index: 1;
}

/* ── Role label ── */
.arch-feature__role {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 1.25rem;
}

.arch-feature--light .arch-feature__role {
  color: var(--gray-400);
}

/* ── Name (display headline) ── */
.arch-feature__name {
  font-size: clamp(3.5rem, 5.5vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--white);
  margin-bottom: 2.75rem;
}

.arch-feature--light .arch-feature__name {
  color: var(--primary);
}

/* ── Bio text ── */
.arch-feature__bio {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
  max-width: 420px;
  margin-bottom: 2rem;
}

.arch-feature--light .arch-feature__bio {
  color: rgba(28, 43, 74, 0.65);
}

/* ── Credentials line ── */
.arch-feature__credential {
  display: block;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.arch-feature--light .arch-feature__credential {
  color: rgba(28, 43, 74, 0.35);
  border-top-color: rgba(28, 43, 74, 0.1);
}

/* ── Image panel ── */
.arch-feature__image {
  position: relative;
  overflow: hidden;
}

.arch-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.arch-feature:hover .arch-feature__image img {
  transform: scale(1.05);
}


/* ── Third section: full-width editorial layout ── */
.arch-feature--full {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 58vh auto;
  min-height: auto;
  background: var(--primary);
}

.arch-feature--full .arch-feature__image {
  grid-row: 1;
  height: 58vh;
}

/* Text panel becomes a 3-column grid: [ghost 03] [name col] [bio col] */
.arch-feature--full .arch-feature__text {
  grid-row: 2;
  display: grid;
  grid-template-columns: max-content 1fr 1fr;
  align-items: center;
  gap: 0 4rem;
  padding: 4.5rem 2rem;
  background: var(--primary);
  overflow: hidden;
}

/* Ghost "03" becomes a structural column element */
.arch-feature--full .arch-feature__index {
  position: static;
  font-size: clamp(6rem, 12vw, 14rem);
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  user-select: none;
  pointer-events: none;
  align-self: center;
}

.arch-feature__name-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arch-feature__bio-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arch-feature--full .arch-feature__name {
  margin-bottom: 0;
}

.arch-feature--full .arch-feature__bio {
  max-width: none;
  margin-bottom: 1.5rem;
}


/* ── Responsive: tablet ── */
@media (max-width: 900px) {
  .arch-feature {
    grid-template-columns: 1fr;
    grid-template-rows: 52vh auto;
    min-height: auto;
  }

  .arch-feature--light {
    grid-template-columns: 1fr;
  }

  .arch-feature--reversed .arch-feature__image { order: -1; }
  .arch-feature__image { height: 52vh; }

  .arch-feature__text,
  .arch-feature--light .arch-feature__text {
    padding: 4rem 1.5rem;
  }

  .arch-feature--full .arch-feature__image { height: 48vh; }

  .arch-feature--full .arch-feature__text {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 1.5rem;
  }

  .arch-feature--full .arch-feature__index { display: none; }
}

/* ── Responsive: mobile ── */
@media (max-width: 640px) {
  .arch-feature__image,
  .arch-feature--full .arch-feature__image { height: 42vh; }

  .arch-feature__name {
    font-size: clamp(3rem, 12vw, 5rem);
    margin-bottom: 2rem;
  }

  .arch-feature__bio { max-width: none; }

  .arch-feature--full .arch-feature__text {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .arch-feature__name-col { margin-bottom: 2rem; }
}


/* =============================================
   HIDE MASCOTAS — feedback 2026-06-08
   ============================================= */
.cta__mascota         { display: none; }
.projects__mascota    { display: none; }
.about__mascota-col   { display: none; }
.about__mascota       { display: none; }
.about__content       { grid-template-columns: 1fr 1fr; }


/* =============================================
   TESTIMONIALS SLIDER
   ============================================= */
.testimonials__wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials__track .tcard {
  flex: 0 0 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonials__counter {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  margin-right: auto;
}

.testimonials__btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  font-family: var(--font);
}

.testimonials__btn:hover {
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.testimonials__btn svg {
  width: 16px;
  height: 16px;
}


/* =============================================
   NOSOTROS — EQUIPO LIST
   ============================================= */
.team-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}

.team-list__item {
  padding: 2rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: background var(--transition);
}

.team-list__item:hover {
  background: rgba(255,255,255,0.06);
}

.team-list__name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.team-list__role {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 900px) {
  .team-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .team-list { grid-template-columns: 1fr; }

  .projects__grid {
    padding: 0 1rem 1rem;
    gap: 8px;
  }
  .projects-full__grid {
    padding: 0 1rem 1rem;
    gap: 8px;
  }
}


/* =============================================
   NOSOTROS — TEAM HERO IMAGE
   ============================================= */
.team-intro-img {
  height: 60vh;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.team-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-intro-img:hover img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .team-intro-img { height: 45vh; }
}


/* =============================================
   TRABAJÁ CON NOSOTROS — Contacto page
   ============================================= */
.jobs-section {
  background: var(--gray-100);
  padding: 5rem 0;
}

.jobs-section .page-section {
  max-width: none;
  margin: 0;
  padding-left: 2rem;
  padding-right: 2rem;
}

.jobs-form {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .responsive-hero-headline { font-size: clamp(2.2rem, 10vw, 4rem); }
}
