/* =========================
   VARIABLES DE MARCA
========================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/hero/manrope-latin-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/hero/inter-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul-pizarra: #153B4A;
  --grafito: #153B4A;
  --arena: #F3F5F6;
  --terracota: #20A58C;
  --blanco: #FFFFFF;

  --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;

  --max-width: 1180px;
  --radius: 10px;
}

/* =========================
   BASE GENERAL
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--grafito);
  background: var(--blanco);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

/* =========================
   BOTONES
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.btn-primary {
  background: var(--azul-pizarra);
  color: var(--blanco);
  border-color: rgba(36, 57, 66, 0.92);
  box-shadow: 0 10px 22px rgba(36, 57, 66, 0.12);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(36, 57, 66, 0.12);
}

.btn-secondary {
  border-color: rgba(36, 57, 66, 0.3);
  color: var(--azul-pizarra);
  background: transparent;
}

.btn:focus-visible {
  outline: 3px solid rgba(169, 95, 66, 0.42);
  outline-offset: 3px;
}

@media (hover: hover) {
  .btn-primary:hover {
    background: #1f323a;
    border-color: #1f323a;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(36, 57, 66, 0.18);
  }

  .btn-secondary:hover {
    border-color: rgba(36, 57, 66, 0.58);
    background: rgba(241, 238, 232, 0.72);
  }
}

/* =========================
   HEADER
========================= */

.site-header {
  background: var(--blanco);
  border-bottom: 1px solid rgba(36, 41, 45, 0.08);
}

.header-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo--image {
  display: inline-flex;
  flex-shrink: 0;
  gap: 0;
}

.logo-img {
  display: block;
  width: 160px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--azul-pizarra);
  color: var(--blanco);
  font-weight: 800;
  border-radius: 6px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.logo-text small {
  margin-top: 4px;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: rgba(36, 41, 45, 0.7);
}

.main-nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: rgba(36, 41, 45, 0.78);
}

.main-nav a:hover {
  color: var(--azul-pizarra);
}

.header-cta-mobile {
  display: none;
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
  box-shadow: 0 7px 16px rgba(36, 57, 66, 0.12);
}

/* =========================
   CTA PERSISTENTE MÓVIL
========================= */

.mobile-project-cta {
  display: none;
}

@media (max-width: 560px) {
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .mobile-project-cta:not([hidden]) {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: block;
    padding: 12px max(14px, env(safe-area-inset-right, 0px))
      calc(12px + env(safe-area-inset-bottom, 0px))
      max(14px, env(safe-area-inset-left, 0px));
    border-top: 1px solid rgba(36, 41, 45, 0.12);
    background: var(--blanco);
  }

  .mobile-project-cta .btn {
    width: 100%;
    min-height: 48px;
    transition: none;
  }

  .mobile-project-cta .btn-primary {
    box-shadow: 0 6px 14px rgba(36, 57, 66, 0.12);
  }

  .header-cta:focus-visible,
  .mobile-project-cta .btn:focus-visible {
    outline: 2px solid var(--azul-pizarra);
    outline-offset: 3px;
  }
}

/* =========================
   HERO
========================= */

.hero {
  background: var(--arena);
  padding: clamp(56px, 7vw, 96px) 0;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(48px, 6vw, 84px);
}

.hero-copy {
  padding: 18px 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--terracota);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  color: var(--azul-pizarra);
  font-size: clamp(2.8rem, 4.25vw, 4.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-description {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 1.075rem;
  line-height: 1.65;
  color: rgba(21, 59, 74, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions .btn {
  min-height: 52px;
  padding-right: 24px;
  padding-left: 22px;
}

.hero-whatsapp {
  gap: 10px;
  background: var(--azul-pizarra);
  border-color: var(--azul-pizarra);
  box-shadow: 0 12px 26px rgba(21, 59, 74, 0.16);
}

.hero-whatsapp::after {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-top: 2px solid var(--terracota);
  border-right: 2px solid var(--terracota);
  content: "";
  transform: rotate(45deg);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: var(--terracota);
}

.hero-trust-signals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  max-width: 640px;
  margin-top: 20px;
  color: rgba(36, 41, 45, 0.82);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-trust-signals span {
  display: inline-flex;
  align-items: center;
}

.hero-trust-signals span:not(:last-child)::after {
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--terracota);
  content: "";
}

.hero-note {
  max-width: 540px;
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(36, 41, 45, 0.76);
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 92px;
  height: 92px;
  border-top: 3px solid var(--terracota);
  border-right: 3px solid var(--terracota);
  content: "";
}

.hero-image {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(440px, 39vw, 540px);
  border-radius: 18px;
  object-fit: cover;
  object-position: 46% center;
  box-shadow: 0 24px 58px rgba(21, 59, 74, 0.14);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      rgba(36, 57, 66, 0.92),
      rgba(36, 57, 66, 0.45)
    ),
    var(--azul-pizarra);
  color: var(--blanco);
}

.image-placeholder span {
  font-weight: 800;
  font-size: 1.1rem;
}

.image-placeholder small {
  margin-top: 8px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================
   RESPONSIVE BÁSICO
========================= */

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero {
    padding: 56px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.028em;
  }

  .image-placeholder {
    min-height: 320px;
  }

  .hero-image {
    height: 430px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .header-content {
    min-height: 72px;
    gap: 10px;
    padding-left: max(0px, calc(env(safe-area-inset-left, 0px) - 14px));
    padding-right: max(0px, calc(env(safe-area-inset-right, 0px) - 14px));
  }

  .site-header .logo,
  .site-header .logo-symbol {
    flex-shrink: 0;
  }

  .site-header .header-cta {
    flex-shrink: 0;
    width: auto;
    padding: 0 12px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .logo-img {
    width: 120px;
    max-height: 46px;
  }

  .header-cta-desktop {
    display: none;
  }

  .header-cta-mobile {
    display: inline;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9.7vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 54px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-description {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-trust-signals {
    gap: 8px 0;
    margin-top: 18px;
    font-size: 0.875rem;
  }

  .hero-trust-signals span:not(:last-child)::after {
    margin: 0 10px;
  }

  .hero-image {
    height: 310px;
    border-radius: 14px;
    object-position: 44% center;
  }

  .hero-visual::before {
    top: -10px;
    right: -6px;
    width: 64px;
    height: 64px;
  }

  .btn {
    width: 100%;
  }
}
/* =========================
   SECCIONES GENERALES
========================= */

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--terracota);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--azul-pizarra);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading > p:not(.section-kicker) {
  margin-top: 20px;
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(36, 41, 45, 0.74);
}

/* =========================
   SERVICIOS
========================= */

.services-section {
  background: var(--blanco);
}

.services-grid {
  display: grid;
  gap: 22px;
}

.services-main {
  grid-template-columns: repeat(3, 1fr);
}

.services-main .service-card {
  min-height: 200px;
  padding: 26px;
}

.services-secondary {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 22px;
}

.service-card,
.problem-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid rgba(36, 41, 45, 0.1);
  border-radius: 14px;
  background: var(--blanco);
}

.card-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--terracota);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.service-card h3,
.problem-card h3 {
  margin: 0;
  color: var(--azul-pizarra);
  font-size: 1.28rem;
  line-height: 1.25;
}

.service-card p,
.problem-card p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(36, 41, 45, 0.72);
}

.service-card-secondary {
  min-height: 190px;
  padding: 24px;
  background: #faf9f6;
}

.service-card--support {
  border-color: rgba(36, 41, 45, 0.07);
  background: #f7f5f0;
}

.services-section .service-card h3 {
  margin-bottom: 7px;
  font-family: "Manrope", var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.012em;
}

.services-section .service-card-lead {
  margin: 0 0 8px;
  color: rgba(36, 41, 45, 0.9);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.47;
}

.services-section .service-card > p:not(.service-card-lead) {
  margin: 0;
  color: rgba(36, 41, 45, 0.8);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.services-section .services-secondary .service-card h3 {
  font-size: 1.15625rem;
  line-height: 1.3;
}

.services-section .services-secondary .service-card-lead {
  font-size: 1.03125rem;
}

.services-section .services-secondary .service-card > p:not(.service-card-lead) {
  font-size: 0.96875rem;
}

.section-cta {
  margin-top: 36px;
  padding: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(36, 41, 45, 0.1);
}

.section-cta-copy {
  max-width: 620px;
}

.section-cta .section-cta-title {
  margin: 0;
  color: var(--azul-pizarra);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.35;
}

.section-cta .section-cta-text {
  margin: 8px 0 0;
  color: rgba(36, 41, 45, 0.78);
  font-size: 1rem;
  line-height: 1.6;
}

.section-cta .btn {
  flex: 0 0 auto;
}

/* =========================
   PROBLEMA
========================= */

.problem-section {
  background: var(--arena);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.problem-card {
  min-height: 260px;
  padding: 23px;
  border-color: rgba(36, 41, 45, 0.11);
  background: rgba(255, 255, 255, 0.82);
}

.problem-section .problem-card .card-number {
  margin-bottom: 16px;
  color: rgba(169, 95, 66, 0.74);
  font-size: 0.72rem;
}

.problem-section .problem-card h3 {
  font-weight: 700;
  line-height: 1.26;
}

.problem-section .problem-card p {
  margin-top: 12px;
  line-height: 1.62;
}

.problem-closing {
  max-width: 780px;
  margin-top: 42px;
  padding-left: 22px;
  border-left: 4px solid var(--terracota);
}

.problem-closing p {
  margin: 0;
  color: var(--azul-pizarra);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.45;
}

/* =========================
   RESPONSIVE SECCIONES
========================= */

@media (max-width: 1000px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .services-main {
    grid-template-columns: 1fr;
  }

  .services-main .service-card {
    min-height: auto;
    padding: 24px;
  }

}

@media (max-width: 680px) {
  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .services-main,
  .services-secondary,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .problem-card,
  .service-card-secondary {
    min-height: auto;
    padding: 22px;
  }

  .service-card-secondary {
    padding: 22px;
  }

  .services-main .service-card {
    padding: 24px;
  }

  .card-number {
    margin-bottom: 34px;
  }

  .section-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

/* =========================
   ESTRUCTURA CLARA
========================= */

.structure-section {
  background: var(--azul-pizarra);
  color: var(--blanco);
}

.structure-header {
  max-width: 820px;
  margin-bottom: 54px;
}

.structure-header .section-kicker {
  color: var(--terracota);
}

.structure-header h2 {
  margin: 0;
  color: var(--blanco);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.structure-header > p:not(.section-kicker) {
  margin-top: 20px;
  max-width: 740px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.structure-card {
  min-height: 240px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.025);
}

.structure-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--terracota);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.structure-section .structure-card h3 {
  margin: 0;
  color: var(--blanco);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.structure-section .structure-card p {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.structure-closing {
  max-width: 820px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 3px solid var(--terracota);
}

.structure-closing p {
  margin: 0;
  color: var(--blanco);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.45;
}

/* =========================
   RESPONSIVE ESTRUCTURA CLARA
========================= */

@media (max-width: 1000px) {
  .structure-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .structure-grid {
    grid-template-columns: 1fr;
  }

  .structure-card {
    min-height: auto;
    padding: 22px;
  }

  .structure-number {
    margin-bottom: 16px;
  }

  .structure-closing p {
    font-size: 1.12rem;
  }
}

/* =========================
   CÓMO TRABAJAMOS
========================= */

.workflow-section {
  background: var(--blanco);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.workflow-step {
  min-height: 224px;
  padding: 26px;
  border: 1px solid rgba(36, 41, 45, 0.09);
  border-radius: 12px;
  background: #fcfdfd;
}

.workflow-number {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(32, 165, 140, 0.9);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.workflow-section .workflow-step h3 {
  margin: 0;
  color: var(--azul-pizarra);
  font-family: "Manrope", var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.28;
}

.workflow-section .workflow-step p {
  margin-top: 12px;
  color: rgba(36, 41, 45, 0.82);
  font-family: "Inter", var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.workflow-closing {
  margin-top: 46px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 14px;
  background: var(--arena);
}

.workflow-closing p {
  max-width: 720px;
  margin: 0;
  color: var(--azul-pizarra);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE CÓMO TRABAJAMOS
========================= */

@media (max-width: 1000px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: auto;
    padding: 22px;
  }

  .workflow-section .workflow-number {
    margin-bottom: 12px;
  }

  .workflow-number {
    margin-bottom: 16px;
  }

  .workflow-closing {
    align-items: stretch;
    flex-direction: column;
  }
}

/* =========================
   NUESTRO ESTÁNDAR
========================= */

.standard-section {
  background: var(--arena);
}

.standard-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: stretch;
}

.standard-image {
  display: block;
  width: 100%;
  height: 440px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.standard-list {
  display: grid;
  gap: 14px;
}

.standard-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(36, 41, 45, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.standard-item .card-number {
  margin: 0;
  align-self: start;
  color: rgba(32, 165, 140, 0.9);
  font-size: 0.8125rem;
  font-weight: 700;
}

.standard-list .standard-item h3 {
  margin: 0;
  color: var(--azul-pizarra);
  font-family: "Manrope", var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.28;
}

.standard-list .standard-item p {
  margin-top: 10px;
  color: rgba(36, 41, 45, 0.8);
  font-family: "Inter", var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE NUESTRO ESTÁNDAR
========================= */

@media (max-width: 900px) {
  .standard-layout {
    grid-template-columns: 1fr;
  }

  .standard-image {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .standard-image {
    height: 260px;
  }

  .standard-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }

  .standard-list .standard-item {
    gap: 12px;
  }
}

/* =========================
   CONFIANZA PROFESIONAL
========================= */

.trust-section {
  background: var(--blanco);
}

.trust-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.trust-copy h2 {
  margin: 0;
  max-width: 720px;
  color: var(--azul-pizarra);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.trust-intro {
  margin-top: 22px;
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(36, 41, 45, 0.76);
}

.founder-card {
  margin-top: 34px;
  padding: 26px;
  border-left: 4px solid var(--terracota);
  background: var(--arena);
}

.founder-card h3 {
  margin: 0;
  color: var(--azul-pizarra);
  font-size: 1.35rem;
}

.founder-card p {
  margin-top: 8px;
  color: rgba(36, 41, 45, 0.72);
  font-weight: 700;
}

.trust-description {
  margin-top: 24px;
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(36, 41, 45, 0.72);
}

.professional-photo {
  display: block;
  width: 100%;
  height: 440px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.trust-points {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-point {
  padding: 24px;
  border: 1px solid rgba(36, 41, 45, 0.1);
  border-radius: 14px;
  background: #faf9f6;
}

.trust-point .card-number {
  margin-bottom: 14px;
  color: rgba(32, 165, 140, 0.9);
  font-size: 0.8125rem;
  font-weight: 700;
}

.trust-points .trust-point h3 {
  margin: 0;
  color: var(--azul-pizarra);
  font-family: "Manrope", var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.28;
}

.trust-points .trust-point p {
  margin-top: 10px;
  color: rgba(36, 41, 45, 0.8);
  font-family: "Inter", var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.trust-closing {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 3px solid var(--terracota);
}

.trust-closing p {
  margin: 0;
  color: var(--azul-pizarra);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.45;
}

/* =========================
   RESPONSIVE CONFIANZA
========================= */

@media (max-width: 900px) {
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .professional-photo {
    height: 340px;
    object-position: center 18%;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .professional-photo {
    height: 300px;
    object-position: center;
  }

  .founder-card {
    padding: 22px;
  }

  .trust-point {
    padding: 24px;
  }

  .trust-closing p {
    font-size: 1.12rem;
  }
}

/* =========================
   FILTRO DE PROYECTO
========================= */

.fit-section {
  background: var(--azul-pizarra);
  color: var(--blanco);
}

.fit-header {
  max-width: 820px;
  margin-bottom: 52px;
}

.fit-header .section-kicker {
  color: var(--terracota);
}

.fit-header h2 {
  margin: 0;
  color: var(--blanco);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.fit-header > p:not(.section-kicker) {
  margin-top: 20px;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fit-card {
  min-height: 218px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.fit-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--terracota);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.fit-section .fit-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Inter", var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.fit-warning {
  margin-top: 28px;
  padding: 28px;
  border-left: 4px solid var(--terracota);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.fit-section .fit-warning h3 {
  margin: 0;
  color: var(--blanco);
  font-family: "Manrope", var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.28;
}

.fit-section .fit-warning p {
  margin-top: 12px;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Inter", var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.fit-closing {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.fit-closing p {
  max-width: 700px;
  margin: 0;
  color: var(--blanco);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
}

.btn-light {
  background: var(--blanco);
  color: var(--azul-pizarra);
}

.btn-light:hover {
  background: var(--arena);
}

/* =========================
   RESPONSIVE FILTRO
========================= */

@media (max-width: 1000px) {
  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .fit-section .fit-card {
    padding: 22px;
  }

  .fit-section .fit-label {
    margin-bottom: 16px;
  }

  .fit-card {
    min-height: auto;
    padding: 26px;
  }

  .fit-label {
    margin-bottom: 28px;
  }

  .fit-closing {
    align-items: stretch;
    flex-direction: column;
  }

  .fit-warning {
    padding: 26px;
  }

  .fit-section .fit-warning {
    padding: 24px;
  }
}

/* =========================
   FAQ
========================= */

.faq-section {
  background: var(--blanco);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid rgba(36, 41, 45, 0.12);
  border-radius: 14px;
  background: #faf9f6;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 24px 64px 24px 26px;
  color: var(--azul-pizarra);
  font-weight: 800;
  font-size: 1.04rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--terracota);
  font-size: 1.5rem;
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 26px 26px;
  max-width: 780px;
  color: rgba(36, 41, 45, 0.72);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* =========================
   RESPONSIVE FAQ
========================= */

@media (max-width: 560px) {
  .faq-item summary {
    padding: 22px 56px 22px 22px;
    font-size: 1rem;
  }

  .faq-item summary::after {
    right: 22px;
  }

  .faq-item p {
    padding: 0 22px 22px;
  }
}

/* =========================
   FORMULARIO
========================= */

.form-section {
  background: var(--arena);
}

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.form-info {
  position: sticky;
  top: 40px;
}

.form-info h2 {
  margin: 0;
  color: var(--azul-pizarra);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.form-info > p:not(.section-kicker) {
  margin-top: 22px;
  max-width: 620px;
  color: rgba(36, 41, 45, 0.74);
  font-size: 1.04rem;
  line-height: 1.75;
}

.form-benefits {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.form-benefits article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(36, 41, 45, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.form-benefits span {
  color: var(--terracota);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.form-benefits p {
  margin: 0;
  color: rgba(36, 41, 45, 0.74);
  font-size: 0.96rem;
  line-height: 1.6;
}

.form-card {
  padding: 34px;
  border: 1px solid rgba(36, 41, 45, 0.1);
  border-radius: 18px;
  background: var(--blanco);
}

.lead-form {
  display: grid;
  gap: 34px;
}

.form-block {
  display: grid;
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(36, 41, 45, 0.1);
}

.form-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.form-block h3 {
  margin: 0 0 6px;
  color: var(--azul-pizarra);
  font-size: 1.25rem;
  line-height: 1.25;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--azul-pizarra);
  font-size: 0.92rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(36, 41, 45, 0.18);
  border-radius: 10px;
  background: #faf9f6;
  color: var(--grafito);
  font: inherit;
}

.lead-form textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--azul-pizarra);
  box-shadow: 0 0 0 3px rgba(36, 57, 66, 0.12);
  background: var(--blanco);
}

.lead-form small {
  color: rgba(36, 41, 45, 0.58);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
}

.lead-form input[type="file"] {
  padding: 12px;
  background: var(--blanco);
}

.form-submit {
  width: 100%;
  min-height: 54px;
  border-color: rgba(36, 57, 66, 0.92);
  cursor: pointer;
}

.form-note {
  margin: -14px 0 0;
  color: rgba(36, 41, 45, 0.66);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: center;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-container {
  min-height: 65px;
  display: flex;
  justify-content: center;
}

.form-status {
  margin: -12px 0 0;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
}

.form-status[data-state="success"] {
  color: #244232;
  border-color: rgba(36, 66, 50, 0.24);
  background: rgba(36, 66, 50, 0.07);
}

.form-status[data-state="error"] {
  color: #7a3128;
  border-color: rgba(122, 49, 40, 0.24);
  background: rgba(122, 49, 40, 0.07);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* =========================
   RESPONSIVE FORMULARIO
========================= */

@media (max-width: 900px) {
  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-info {
    position: static;
  }
}

@media (max-width: 560px) {
  .form-card {
    padding: 24px;
    border-radius: 14px;
  }

  .form-benefits article {
    grid-template-columns: 1fr;
  }

  .lead-form {
    gap: 28px;
  }
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--azul-pizarra);
  color: var(--blanco);
  padding: 72px 0 28px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 46px;
}

.footer-brand p {
  max-width: 380px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo-img {
  display: block;
  width: 160px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: var(--blanco);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-column a:hover {
  color: var(--blanco);
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
}

/* =========================
   RESPONSIVE FOOTER
========================= */

@media (max-width: 900px) {
  .footer-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 56px 0 24px;
  }

  .footer-logo-img {
    width: 135px;
    max-height: 46px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* =========================
   SISTEMA TIPOGRÁFICO GLOBAL
========================= */

.logo,
.logo-symbol,
.logo-text,
.btn,
.eyebrow,
.section-kicker,
.card-number,
.structure-number,
.workflow-number,
.fit-label,
.form-benefits span,
.image-placeholder span,
.footer-column h3 {
  font-family: var(--font-heading);
}

.main-nav,
.hero-description,
.hero-note,
.section-heading > p:not(.section-kicker),
.structure-header > p:not(.section-kicker),
.fit-header > p:not(.section-kicker),
.trust-intro,
.trust-description,
.form-info > p:not(.section-kicker),
.lead-form,
.faq-item,
.footer-brand p,
.footer-column a,
.footer-column p,
.footer-bottom p {
  font-family: var(--font-body);
}

.btn {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.eyebrow,
.section-kicker {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.07em;
}

.section-kicker {
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.card-number,
.structure-number,
.workflow-number,
.fit-label,
.form-benefits span {
  font-family: var(--font-heading);
  font-weight: 700;
}

.section-heading h2,
.structure-header h2,
.trust-copy h2,
.fit-header h2,
.form-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.625rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-heading h2,
.trust-copy h2,
.form-info h2 {
  color: var(--azul-pizarra);
}

.structure-header h2,
.fit-header h2 {
  color: var(--blanco);
}

.service-card h3,
.problem-card h3,
.structure-card h3,
.workflow-step h3,
.standard-item h3,
.founder-card h3,
.trust-point h3,
.fit-warning h3,
.form-block h3 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero-description,
.section-heading > p:not(.section-kicker),
.structure-header > p:not(.section-kicker),
.fit-header > p:not(.section-kicker),
.trust-intro,
.form-info > p:not(.section-kicker) {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

.section-heading > p:not(.section-kicker),
.trust-intro,
.form-info > p:not(.section-kicker) {
  margin-top: 18px;
  max-width: 760px;
  color: rgba(36, 41, 45, 0.76);
}

.structure-header > p:not(.section-kicker),
.fit-header > p:not(.section-kicker) {
  margin-top: 18px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.service-card p,
.problem-card p,
.structure-card p,
.workflow-step p,
.standard-item p,
.trust-point p,
.fit-card p,
.form-benefits p,
.trust-description,
.faq-item p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-note,
.lead-form small,
.form-note {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
}

/* Mantiene el microcopy del hero legible sin desplazar la jerarquía de los CTA. */
.hero-note {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.workflow-closing .btn {
  flex: 0 0 auto;
}

.lead-form label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.4;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.faq-item summary {
  font-family: var(--font-body);
  font-size: 1.03125rem;
  font-weight: 650;
  line-height: 1.45;
}

.fit-closing .btn {
  flex: 0 0 auto;
}

.faq-item p {
  line-height: 1.7;
}

.footer-column h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .section-heading h2,
  .structure-header h2,
  .trust-copy h2,
  .fit-header h2,
  .form-info h2 {
    font-size: 2.5rem;
    line-height: 1.12;
    letter-spacing: -0.018em;
  }
}

@media (max-width: 560px) {
  .site-header .header-cta {
    font-size: 0.875rem;
  }

  .section-heading h2,
  .structure-header h2,
  .trust-copy h2,
  .fit-header h2,
  .form-info h2 {
    font-size: 2.0625rem;
    line-height: 1.14;
    letter-spacing: -0.015em;
  }

  .service-card h3,
  .problem-card h3,
  .structure-card h3,
  .workflow-step h3,
  .standard-item h3,
  .founder-card h3,
  .trust-point h3,
  .fit-warning h3,
  .form-block h3 {
    font-size: 1.1875rem;
    line-height: 1.32;
  }

  .hero-description,
  .section-heading > p:not(.section-kicker),
  .structure-header > p:not(.section-kicker),
  .fit-header > p:not(.section-kicker),
  .trust-intro,
  .form-info > p:not(.section-kicker) {
    font-size: 1rem;
  }

  .faq-item summary {
    font-size: 1rem;
  }
}

/* =========================
   MICROINTERACCIONES DE TARJETAS
========================= */

.service-card,
.problem-card,
.workflow-step,
.standard-item,
.trust-point,
.structure-card,
.fit-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .problem-card:hover,
  .workflow-step:hover,
  .standard-item:hover,
  .trust-point:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 59, 74, 0.18);
    background-color: var(--blanco);
    box-shadow: 0 12px 28px rgba(36, 57, 66, 0.08);
  }

  .structure-card:hover,
  .fit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .problem-card,
  .workflow-step,
  .standard-item,
  .trust-point,
  .structure-card,
  .fit-card {
    transition: none;
    transform: none !important;
  }
}
