/* ═══════════════════════════════════════════════════════════════
   TEC AUSTRAL — style.css
   DNA: buildings-business.framer.website
   ════════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --black:       #0a0a0a;
  --white:       #ffffff;
  --grey-soft:   #f5f4f2;
  --grey-mid:    #e0deda;
  --grey-text:   #888580;
  --grey-dark:   #3a3835;
  --orange:      #e8622a;
  --orange-dark: #c94f1a;

  --font: "Inter", ui-sans-serif, system-ui, sans-serif;

  --nav-h: 68px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }
::selection { background: var(--orange); color: var(--white); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 180ms var(--ease), color 180ms var(--ease),
              transform 120ms var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn:active { transform: scale(0.97); }

.btn--fill {
  background: var(--orange);
  color: var(--white);
}
.btn--fill:hover { background: var(--orange-dark); }

.btn--outline {
  border: 1.5px solid var(--black);
  color: var(--black);
  background: transparent;
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--outline-dark {
  border: 1.5px solid var(--black);
  color: var(--black);
  background: transparent;
}
.btn--outline-dark:hover { background: var(--black); color: var(--white); }

.btn--outline-light {
  border: 1.5px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline-light:hover { background: var(--white); color: var(--black); }

.btn--lg { padding: 16px 32px; font-size: 13px; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 200ms var(--ease);
}

.nav__inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav__logo {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.nav__logo-rect {
  background: var(--black);
  width: 10px;
  border-radius: 2px;
}
.nav__logo-rect--tall { height: 20px; }
.nav__logo-rect--short { height: 13px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
}

.nav__link {
  font-size: 14px;
  color: var(--grey-dark);
  transition: color 150ms var(--ease);
}
.nav__link:hover { color: var(--black); }

.nav__ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 1.5rem;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  border-radius: 1px;
  transition: transform 200ms var(--ease), opacity 200ms;
}

.nav__mobile {
  display: none;
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--grey-mid);
}
.nav__mobile.is-open { display: block; }
.nav__mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.nav__mobile a {
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .nav__links, .nav__ctas { display: none; }
  .nav__hamburger { display: flex; }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__photo-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      160deg,
      oklch(22% 0.03 240 / 0.5) 0%,
      oklch(18% 0.02 30 / 0.5) 35%,
      oklch(40% 0.12 45 / 0.5) 60%,
      oklch(65% 0.15 55 / 0.5) 80%,
      oklch(75% 0.12 70 / 0.5) 100%
    ),
    url('public/hero.avif') center / cover no-repeat;
}
/* SVG crane silhouette overlay */
.hero__photo-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Silhouette layer */
    linear-gradient(to top, oklch(10% 0.01 240) 0%, transparent 45%),
    linear-gradient(to bottom, transparent 40%, oklch(10% 0.01 240 / 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding: calc(var(--nav-h) + 3rem) clamp(1rem, 3vw, 2rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__heading {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero__cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  align-self: flex-end;
  max-width: 420px;
  text-align: left;
}

.hero__lede {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
}

/* ── LOGOS ───────────────────────────────────────────────────── */
.logos {
  background: var(--white);
  padding: 3rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--grey-mid);
}

.logos__inner {
  max-width: 1400px;
  margin-inline: auto;
}

.logos__tagline {
  font-size: 13px;
  color: var(--grey-text);
  margin-bottom: 2rem;
}

.logos__row {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.logos__item {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--grey-mid);
  transition: color 200ms var(--ease);
}
.logos__item:hover { color: var(--grey-dark); }

/* ── PROJECTS ────────────────────────────────────────────────── */
.projects {
  background: var(--black);
  padding-top: 5rem;
  overflow: hidden;
}

.projects__header {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  padding-bottom: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.projects__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.projects__nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.projects__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  transition: background 200ms, border-color 200ms;
}
.projects__arrow:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}
.projects__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.projects__track {
  display: flex;
  gap: 1rem;
  padding-inline: clamp(1rem, 3vw, 2rem);
  padding-bottom: 5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.projects__track::-webkit-scrollbar { display: none; }

.project-card {
  position: relative;
  flex-shrink: 0;
  width: clamp(280px, 40vw, 560px);
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 300ms var(--ease);
}
.project-card:hover { transform: scale(1.01); }

.project-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 400ms var(--ease);
}
.project-card:hover .project-card__img { transform: scale(1.04); }

/* Placeholder gradients — replace with real photos */
.project-card__img--1 {
  background: url('public/Edificio-estel1.avif') center/cover no-repeat;
}
.project-card__img--2 {
  background: url('public/edificio-fabiola1.avif') center/cover no-repeat;
}
.project-card__img--3 {
  background: linear-gradient(145deg, oklch(28% 0.04 250) 0%, oklch(45% 0.08 60) 100%);
}
.project-card__img--4 {
  background: linear-gradient(145deg, oklch(22% 0.02 200) 0%, oklch(40% 0.08 210) 100%);
}

/* Dark overlay */
.project-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(8% 0.01 240 / 0.85) 0%, transparent 50%);
}

.project-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.project-card__num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.project-card__title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.project-card__meta {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.project-card__link {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms;
}
.project-card__link:hover { color: var(--orange); }

/* ── STATS ───────────────────────────────────────────────────── */
.stats {
  background: var(--white);
  padding: 6rem clamp(1rem, 3vw, 2rem);
}

.stats__eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--grey-text);
  margin-bottom: 3rem;
}

.stats__row {
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stats__item {
  flex: 1;
  text-align: center;
  padding: 1rem;
}

.stats__number {
  display: block;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 1rem;
}

.stats__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--grey-text);
  line-height: 1.5;
}

.stats__divider {
  width: 1px;
  height: 100px;
  background: var(--grey-mid);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stats__row { flex-direction: column; gap: 2rem; }
  .stats__divider { width: 40px; height: 1px; }
}

/* ── PILLARS ─────────────────────────────────────────────────── */
.pillars {
  background: var(--white);
  border-top: 1px solid var(--grey-mid);
  padding: 6rem clamp(1rem, 3vw, 2rem);
}

.pillars__inner {
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.pillars__heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.pillars__right {
  display: flex;
  flex-direction: column;
}

.pillars__item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--grey-mid);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--grey-text);
  transition: color 200ms var(--ease);
}
.pillars__item:hover { color: var(--black); }
.pillars__item:last-child { border-bottom: 1px solid var(--grey-mid); }

@media (max-width: 768px) {
  .pillars__inner { grid-template-columns: 1fr; }
  .pillars__heading { position: static; }
}

/* ── SERVICES ────────────────────────────────────────────────── */
.services {
  background: var(--grey-soft);
}

.services__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.services__row--reverse { direction: rtl; }
.services__row--reverse > * { direction: ltr; }

.services__img {
  background-size: cover;
  background-position: center;
}

.services__img--1 {
  background: linear-gradient(135deg, oklch(38% 0.05 45) 0%, oklch(60% 0.10 55) 100%);
}
.services__img--2 {
  background: linear-gradient(135deg, oklch(30% 0.04 240) 0%, oklch(50% 0.07 220) 100%);
}
.services__img--3 {
  background: linear-gradient(135deg, oklch(28% 0.03 30) 0%, oklch(48% 0.09 40) 100%);
}

.services__text {
  padding: 4rem clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.services__heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.services__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-dark);
  max-width: 44ch;
}

@media (max-width: 768px) {
  .services__row {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .services__img { min-height: 280px; }
  .services__row--reverse .services__img { order: -1; }
}

/* ── ABOUT / EXPERIENCE ──────────────────────────────────────── */
.about {
  background: var(--white);
  padding: 6rem clamp(1rem, 3vw, 2rem);
}

.about__photos {
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 4rem;
}

.about__photo {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
}

.about__photo--1 {
  background: linear-gradient(135deg, oklch(45% 0.10 50) 0%, oklch(65% 0.12 55) 100%);
}
.about__photo--2 {
  background: linear-gradient(135deg, oklch(32% 0.04 240) 0%, oklch(52% 0.08 55) 100%);
  margin-top: 3rem;
}

.about__text {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.about__heading {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: var(--grey-mid);
}

.about__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-dark);
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .about__photos { grid-template-columns: 1fr; }
  .about__photo--2 { margin-top: 0; }
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials {
  background: var(--white);
  border-top: 1px solid var(--grey-mid);
  padding: 5rem clamp(1rem, 3vw, 2rem);
}

.testimonials__inner {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.testimonial {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--grey-mid);
}

.testimonial:first-child { border-top: 1px solid var(--grey-mid); }

.testimonial__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 1.25rem;
}

.testimonial__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.testimonial__role {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey-text);
}

.testimonial__quote {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-dark);
  font-style: normal;
}

/* ── CASES ───────────────────────────────────────────────────── */
.cases {
  background: var(--white);
  padding: 5rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--grey-mid);
}

.cases__inner {
  max-width: 1400px;
  margin-inline: auto;
}

.cases__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.cases__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 200ms var(--ease);
}
.case-card:hover { opacity: 0.8; }

.case-card__img {
  aspect-ratio: 4/3;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.case-card__img--1 { background: linear-gradient(145deg, oklch(40% 0.08 50) 0%, oklch(58% 0.12 55) 100%); }
.case-card__img--2 { background: linear-gradient(145deg, oklch(32% 0.04 240) 0%, oklch(48% 0.07 220) 100%); }
.case-card__img--3 { background: linear-gradient(145deg, oklch(28% 0.03 30) 0%, oklch(52% 0.10 45) 100%); }

.case-card__body { padding: 0 0.25rem; }

.case-card__title {
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .cases__grid { grid-template-columns: 1fr; }
}

/* ── CONTACT CTA ─────────────────────────────────────────────── */
.contact-cta {
  background: var(--grey-soft);
  padding: 6rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--grey-mid);
}

.contact-cta__inner {
  max-width: 1400px;
  margin-inline: auto;
}

.contact-cta__heading {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.contact-cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--grey-text);
}

.form-field input,
.form-field textarea {
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-dark);
  font-size: 15px;
  font-family: var(--font);
  color: var(--black);
  outline: none;
  transition: border-color 150ms var(--ease);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--black);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-cta__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--grey-text);
}

.contact-info-item a,
.contact-info-item address {
  font-size: 15px;
  line-height: 1.6;
  transition: color 150ms;
}
.contact-info-item a:hover { color: var(--orange); }

@media (max-width: 768px) {
  .contact-cta__form { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem clamp(1rem, 3vw, 2rem) 2rem;
}

.footer__top {
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__col-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

.footer__col a,
.footer__col address {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  transition: color 150ms;
}
.footer__col a:hover { color: var(--white); }

/* Giant wordmark */

.footer__logo {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.footer__logo-rect {
  background: var(--white);
  border-radius: 3px;
}

.footer__wordmark {
  font-size: clamp(3rem, 10vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.footer__bottom {
  max-width: 1400px;
  margin-inline: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__wordmark { font-size: clamp(2.5rem, 14vw, 6rem); }
}

/* ── VALUE PROPS (3 columnas) ────────────────────────────────── */
.valueprops {
  background: var(--white);
  padding: 5rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--grey-mid);
}

.valueprops__inner {
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.valueprops__item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-mid);
}

.valueprops__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.valueprops__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-dark);
}

@media (max-width: 768px) {
  .valueprops__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── SERVICES PREVIEW CARDS ──────────────────────────────────── */
.svc-preview {
  background: var(--grey-soft);
  padding: 6rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--grey-mid);
}

.svc-preview__inner {
  max-width: 1400px;
  margin-inline: auto;
}

.svc-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.svc-preview__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.svc-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  transition: transform 200ms var(--ease);
}
.svc-card:hover { transform: translateY(-3px); }
.svc-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.svc-card__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.svc-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.svc-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-dark);
  flex-grow: 1;
}

.svc-card__link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 150ms;
}
.svc-card:hover .svc-card__link { color: var(--orange); }

@media (max-width: 1000px) {
  .svc-preview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .svc-preview__grid { grid-template-columns: 1fr; }
}

/* ── TEAM PREVIEW ────────────────────────────────────────────── */
.team {
  background: var(--white);
  padding: 6rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--grey-mid);
}

.team__inner {
  max-width: 1400px;
  margin-inline: auto;
}

.team__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.team__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.team__grid--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-top: 1px solid var(--grey-mid);
}

.team__grid > .team-card:last-child {
  border-bottom: 1px solid var(--grey-mid);
}

.team-card__photo {
  flex-shrink: 0;
  width: 110px;
  height: 140px;
  border-radius: 8px;
  background: linear-gradient(145deg, oklch(88% 0.005 80) 0%, oklch(80% 0.01 70) 100%);
  background-size: cover;
  background-position: center;
}

/* foto cuadrada más grande en nosotros.html */
.team__grid--quad .team-card {
  flex-direction: column;
  padding: 0;
  border: none;
}
.team__grid--quad .team-card__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.team__grid--quad + * .team-card { border: none; }

.team-card__text {
  display: flex;
  flex-direction: column;
}

.team-card__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.team-card__role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin: 0.35rem 0 0.75rem;
}

.team-card__bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-dark);
  max-width: 44ch;
}

@media (max-width: 600px) {
  .team-card { gap: 1rem; }
  .team-card__photo { width: 72px; height: 72px; }
}

@media (max-width: 1000px) {
  .team__grid--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .team__grid, .team__grid--quad { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── CASE CARD EXTRAS (preview en Home) ──────────────────────── */
.case-card__headline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey-text);
  margin-top: 0.25rem;
}

/* ── CTA BAND (negro, compartido) ────────────────────────────── */
.about-cta {
  background: var(--black);
  color: var(--white);
  padding: 6rem clamp(1rem, 3vw, 2rem);
}

.about-cta__inner {
  max-width: 1400px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-cta__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-cta__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-cta__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 768px) {
  .about-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ── PAGE HEADER (interiores) ────────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 4rem) clamp(1rem, 3vw, 2rem) 4rem;
  background: var(--white);
}

.page-header__inner {
  max-width: 1400px;
  margin-inline: auto;
}

.page-header__title {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  overflow-wrap: anywhere;
}

.page-header__lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--grey-dark);
  max-width: 62ch;
}

/* ── Scroll reveal animations ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stats and pillars: always visible, just fade in */
.stats__item,
.pillars__item {
  transition: color 200ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.footer__wordmark-row {
  max-width: 1440px;
  margin: auto;
}

