/* Fortrade — Hub institucional (Fase 1) */
:root {
  --brand: #00a982;
  --brand-d: #008f6f;
  --brand-2: #0063c7;
  --brand-2d: #004fa3;
  --navy: #182146;
  --muted: #3f4c7a;
  --gold: #f5a623;
  --bg: #ffffff;
  --bg-2: #f4f8ff;
  --bg-soft: #f0f7ff;
  --line: rgba(24, 33, 70, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.07);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 4.5rem;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 48px;
  width: auto;
}

.site-header:not(.is-scrolled) .logo--color {
  display: none;
}

.site-header.is-scrolled .logo--white {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

.site-header.is-scrolled .nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--brand);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
}

.nav__cta:hover {
  background: var(--brand-d);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--navy);
}

.nav-toggle span:nth-child(1) {
  top: 0.85rem;
}
.nav-toggle span:nth-child(2) {
  top: 1.2rem;
}
.nav-toggle span:nth-child(3) {
  top: 1.55rem;
}

.nav-toggle.is-open span:nth-child(1) {
  top: 1.2rem;
  transform: rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  top: 1.2rem;
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 169, 130, 0.28);
}

.btn--primary:hover {
  background: var(--brand-d);
}

.btn--secondary {
  background: #fff;
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}

.btn--outline-dark:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
}

.btn--blue {
  background: var(--brand-2);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 99, 199, 0.28);
}

.btn--blue:hover {
  background: var(--brand-2d);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(24, 33, 70, 0.88) 0%, rgba(0, 99, 199, 0.55) 48%, rgba(0, 169, 130, 0.45) 100%),
    linear-gradient(to top, rgba(10, 16, 40, 0.85) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.15s;
}

.hero__brand img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.25s;
}

.hero h1 {
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.85s ease forwards 0.35s;
}

.hero h1 span {
  color: #9be8d7;
}

.hero__lead {
  max-width: 42ch;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  animation: fadeUp 0.85s ease forwards 0.5s;
}

.hero__support {
  max-width: 40ch;
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 224, 122, 0.95);
  opacity: 0;
  animation: fadeUp 0.85s ease forwards 0.58s;
}

.container--narrow {
  width: min(820px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* About / identidad */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.about-text {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 54ch;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 169, 130, 0.12);
  color: var(--brand-d);
  font-size: 0.78rem;
  font-weight: 700;
}

.badge--soft {
  background: rgba(0, 99, 199, 0.1);
  color: var(--brand-2d);
}

.about-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.about-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9be8d7;
  margin-bottom: 0.75rem;
}

.about-card__text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.value-mini {
  display: grid;
  gap: 0.85rem;
}

.value-mini li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.value-mini strong {
  display: block;
  color: #fff;
  margin-bottom: 0.15rem;
}

.mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mvv article {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.mvv h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.mvv p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Áreas */
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.areas--3 {
  grid-template-columns: repeat(3, 1fr);
}

.area {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.area:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 169, 130, 0.35);
}

.area h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
  color: var(--navy);
}

.area p {
  color: var(--muted);
  font-size: 0.9rem;
}

.audience {
  margin-top: 2.75rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.audience__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.audience__grid div {
  display: grid;
  gap: 0.35rem;
}

.audience__grid strong {
  font-size: 0.95rem;
}

.audience__grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.program-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Congreso highlight */
.congress {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.congress__media {
  background: var(--navy);
  min-height: 280px;
}

.congress__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.congress__body {
  padding: 1.75rem 1.75rem 1.85rem;
}

.congress__tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.congress__body h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.congress__body > p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.congress__meta {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.congress__meta li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}

.congress__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.35rem 1.15rem;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 1rem 0;
  color: var(--navy);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--brand-2);
  font-weight: 800;
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  color: var(--muted);
  padding: 0 0 1.1rem;
  font-size: 0.95rem;
}

.faq__item a {
  color: var(--brand-2);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.85s ease forwards 0.65s;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section--soft {
  background: var(--bg-2);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.section--navy .section__eyebrow {
  color: #9be8d7;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.section__lead {
  margin-top: 1rem;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

.section__head {
  margin-bottom: 2.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Wings */
.wings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.wing {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  isolation: isolate;
}

.wing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, var(--brand-2) 0%, #0a3d7a 100%);
}

.wing--consulting::before {
  background: linear-gradient(160deg, var(--brand) 0%, #06624f 100%);
}

.wing--events::before {
  background: linear-gradient(145deg, #1a2146, #754d13);
}

.home-page .wings { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.wing::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: -1;
}

.wing__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.65rem;
}

.wing h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.wing p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 34ch;
  margin-bottom: 1.35rem;
}

.wing .btn {
  align-self: flex-start;
}

/* Programs */
.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.program {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.program:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.program__media {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(0, 99, 199, 0.55), rgba(0, 169, 130, 0.45)),
    var(--navy);
  position: relative;
  overflow: hidden;
}

.program__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.program__media--placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.program__body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program__tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 169, 130, 0.12);
  color: var(--brand-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.program p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.program__link {
  margin-top: 1.15rem;
  font-weight: 700;
  color: var(--brand-2);
  font-size: 0.92rem;
}

.program__link:hover {
  color: var(--brand);
}

/* Trust strip */
.trust {
  padding: 2.5rem 0;
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust__label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.trust__logos {
  display: flex;
  justify-content: center;
}

.trust__logos img {
  width: min(920px, 100%);
  height: auto;
  opacity: 0.92;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.85rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #1c2a5a, #0a7a62);
  color: #fff;
  display: grid;
  place-items: end start;
  padding: 1.1rem;
  min-height: 180px;
}

.gallery__item:first-child {
  grid-row: span 2;
}

.gallery__item strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}

.gallery__item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  opacity: 0.78;
}

.gallery__item--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__item--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 40, 0.75), transparent 55%);
}

.gallery__item--img > * {
  position: relative;
  z-index: 1;
}

/* Methodology */
.method {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.method__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.method__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method__list {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.method__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.method__num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 99, 199, 0.1);
  color: var(--brand-2);
  font-weight: 800;
  font-size: 0.85rem;
}

.method__item h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.method__item p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.testimonial p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  margin-bottom: 1.35rem;
  min-height: 7.5rem;
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial__person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(155, 232, 215, 0.5);
}

.testimonial__person strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial__person span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(120deg, var(--brand-2), var(--brand));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact__info {
  padding: 0.5rem 0;
}

.contact__list {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.contact__list li {
  display: grid;
  gap: 0.2rem;
}

.contact__list strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact__list a:hover,
.contact__list span {
  color: var(--muted);
}

.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  color: var(--navy);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(0, 99, 199, 0.15);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1rem 0 1.25rem;
}

.form-consent input {
  margin-top: 0.2rem;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--brand-d);
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  background: #0f1630;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand img {
  height: 46px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  max-width: 32ch;
  font-size: 0.92rem;
}

.footer__col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #9be8d7;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 130;
  max-width: 520px;
  margin-right: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: fadeUp 0.45s ease;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
}

/* Responsive */
@media (max-width: 960px) {
  .wings,
  .programs,
  .testimonials,
  .method,
  .contact,
  .cta-band,
  .footer__grid,
  .about-grid,
  .mvv,
  .congress,
  .areas,
  .areas--3,
  .audience__grid {
    grid-template-columns: 1fr;
  }

  .areas {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery__item:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .cta-band__actions {
    justify-content: flex-start;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    color: var(--navy) !important;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
  }

  .nav__cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-header {
    background: rgba(15, 22, 48, 0.35);
    backdrop-filter: blur(8px);
  }

  .site-header .logo--color {
    display: none;
  }

  .site-header .logo--white {
    display: block;
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
  }

  .site-header.is-scrolled .logo--white {
    display: none;
  }

  .site-header.is-scrolled .logo--color {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero__content {
    padding-bottom: 4rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .programs,
  .areas,
  .audience__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }
}
/* Refinamiento visual y adaptación a pantallas */
:root { --brand: #007e65; --brand-d: #006b56; }
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
:focus-visible { outline: 3px solid #007e65; outline-offset: 5px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: #9be8d7; }
.site-header { background: rgba(13, 25, 48, .8); backdrop-filter: blur(14px); }
.nav { gap: clamp(.65rem, 1.5vw, 1.4rem); }
.nav a { font-size: .76rem; }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: .45rem; }
.hero { min-height: min(900px, 100svh); align-items: center; background: #101e37; }
.hero__content { padding-block: calc(var(--header-h) + 3rem) 5rem; }
.hero__brand { display: none; }
.hero h1 { max-width: 21ch; font-size: clamp(2.25rem, 4.8vw, 4.25rem); text-wrap: balance; }
.hero__lead { max-width: 62ch; line-height: 1.75; }
.hero__support { max-width: 62ch; color: #bceedd; }
.hero__eyebrow { color: #d5f6ef; letter-spacing: .1em; }
.hero__overlay { background: linear-gradient(90deg, rgba(10,22,44,.96), rgba(10,22,44,.87) 45%, rgba(10,35,50,.48)), linear-gradient(0deg, #101e37, transparent 35%); }
.hero__media img { object-position: 65% center; animation: heroZoom 14s ease-out 1 both; }
.hero__scroll { left: auto; right: 2rem; transform: none; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section__title { text-wrap: balance; }
.section__lead { line-height: 1.8; }
.section--soft { background: radial-gradient(ellipse at 95% 0, #e4f4ef, transparent 48%), #f3f7fc; }
.section__eyebrow { color: #006b56; }
.section--navy .section__eyebrow { color: #9be8d7; }
.areas { counter-reset: area; }
.area { position: relative; padding: 1.6rem; background: linear-gradient(145deg, #fff 70%, #f1f9f7); }
.area::before { counter-increment: area; content: counter(area, decimal-leading-zero); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1.25rem; border-radius: .8rem; background: #e1f2ed; color: #006b56; font-weight: 800; font-size: .85rem; }
.area h3 { font-size: 1.1rem; line-height: 1.45; }
.area p, .audience__grid span { font-size: .95rem; }
.wing { padding: clamp(1.5rem, 3vw, 2.5rem); }
.wing::before { background: linear-gradient(140deg, #0053a6, #142b54); }
.wing--consulting::before { background: linear-gradient(140deg, #006b56, #133b43); }
.wing p { max-width: 48ch; color: #eff9f6; }
.wing h3 { text-wrap: balance; }
.gallery__item--img > img { position: absolute; z-index: 0; }
.gallery__item--img::after { z-index: 1; background: linear-gradient(to top, rgba(8,20,40,.95), rgba(8,20,40,.15) 80%); }
.gallery__item--img > div { z-index: 2; }
.gallery__item span { opacity: 1; color: #e1edf5; }
.gallery__item img { transition: transform .6s ease; }
.faq__item summary { display: flex; justify-content: space-between; gap: 1rem; }
.faq__item summary::after { flex: 0 0 1rem; }
.faq__item[open] { background: #f3f9f7; border-color: #a4d2c5; }
.faq__item[open] p { animation: fadeUp .3s ease; }
.contact__list a { overflow-wrap: anywhere; }
.contact__form, .contact > *, .form-field, .about-grid > *, .method > * { min-width: 0; }
.btn { min-height: 48px; text-align: center; }
.whatsapp-float { background: #007e65; box-shadow: 0 8px 24px #142b5433; }
.cookie-banner__actions { flex-wrap: wrap; }
.footer__bottom { padding-right: 4rem; }
.reveal { opacity: 1; transform: none; }
.reveal.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.will-reveal.is-visible { opacity: 1; transform: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .area:hover { transform: translateY(-6px); box-shadow: 0 18px 38px #18214614; }
  .gallery__item:hover img { transform: scale(1.045); }
  .wing::after { transition: transform .6s ease; }
  .wing:hover::after { transform: scale(1.3) translate(-10px, -10px); }
  .btn:hover { transform: translateY(-3px); }
}
@media (min-width: 961px) and (max-width: 1150px) {
  .logo img { height: 38px; }
  .nav { gap: .6rem; }
  .nav a { font-size: .68rem; letter-spacing: 0; }
  .nav__cta { padding-inline: .7rem; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 960px) {
  .wings, .mvv, .audience__grid, .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mvv article:last-child { grid-column: 1 / -1; }
  .method__visual { max-height: 440px; }
}
@media (max-width: 960px) {
  .nav { visibility: hidden; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { visibility: visible; }
  .nav a.nav__cta { color: white !important; }
  .nav-toggle { width: 44px; height: 44px; }
  .hero h1 { max-width: 23ch; }
  .congress__media { max-height: 450px; }
  .congress__media img { object-fit: contain; }
}

@media (max-width: 1080px) {
  .home-page .wings { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .hero__content { width: calc(100% - 2.25rem); }
  .hero__content { padding-block: calc(var(--header-h) + 2.5rem) 4rem; }
  .hero h1 { font-size: clamp(2.15rem, 8vw, 3.1rem); line-height: 1.14; }
  .hero__eyebrow { font-size: .7rem; line-height: 1.8; }
  .hero__lead { font-size: 1rem; }
  .hero__support { font-size: .9rem; }
  .hero__overlay { background: linear-gradient(90deg, #0a162cec, #0a162cc9); }
  .hero__actions { display: grid; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .section__title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .about-card, .audience, .contact__form, .congress__body, .cta-band { padding: 1.35rem; }
  .logo img { height: 42px; }
  .trust__logos { overflow-x: auto; justify-content: flex-start; padding-bottom: .5rem; }
  .trust__logos img { width: 640px; max-width: none; flex-shrink: 0; }
  .cookie-banner { bottom: 5.25rem; max-height: calc(100dvh - 10rem); overflow-y: auto; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__content > *, .hero__scroll, .reveal.will-reveal { opacity: 1; transform: none; }
}

/* Experiencia Fortrade */
.experience {
  margin-top: 3rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.experience__intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.experience__intro h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.experience__intro > p {
  color: var(--muted);
  max-width: 48ch;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: .85rem;
}

.media-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  padding: 0;
  background: var(--navy);
  color: #fff;
  cursor: zoom-in;
  text-align: left;
}

.media-card--wide { grid-column: span 2; }

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 39, .94), transparent 65%);
  pointer-events: none;
}

.media-card span {
  position: absolute;
  z-index: 1;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1rem;
}

.media-card strong,
.media-card small { display: block; }
.media-card strong { font-family: var(--font-display); font-size: 1.2rem; }
.media-card small { margin-top: .15rem; color: #d7f5ed; font-size: .78rem; }

.media-card:hover img { transform: scale(1.04); filter: saturate(1.08); }

.event-video {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .5fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: .85rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--navy);
  color: #fff;
}

.event-video video {
  width: 100%;
  max-height: 520px;
  border-radius: .7rem;
  background: #071227;
}

.event-video figcaption strong,
.event-video figcaption span { display: block; }
.event-video figcaption strong { font-family: var(--font-display); font-size: 1.45rem; }
.event-video figcaption span { margin-top: .4rem; color: #c6d2e4; font-size: .9rem; }

.lightbox {
  width: min(1100px, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  border: 0;
  border-radius: 1rem;
  padding: 0;
  overflow: hidden;
  background: #071227;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.lightbox::backdrop { background: rgba(3, 10, 24, .88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: calc(100dvh - 2rem); object-fit: contain; }
.lightbox__close {
  position: absolute;
  z-index: 2;
  top: .75rem;
  right: .75rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(7,18,39,.8);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(7,18,39,.78);
  color: #fff;
  font-size: 2.3rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}
.lightbox__nav:hover { background: var(--brand); transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: .8rem; }
.lightbox__nav--next { right: .8rem; }
.lightbox__counter {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: .8rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(7,18,39,.78);
  color: #fff;
  font-size: .78rem;
  transform: translateX(-50%);
}

@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: .35rem; }
  .lightbox__nav--next { right: .35rem; }
}

@media (max-width: 760px) {
  .experience__intro, .event-video { grid-template-columns: 1fr; gap: 1rem; }
  .media-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .media-card--wide { grid-column: 1 / -1; }
  .event-video { padding: .7rem; }
}

@media (max-width: 460px) {
  .media-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .media-card--wide { grid-column: auto; }
}

/* Navegación multipágina */
.home-page #areas,
.home-page #metodologia,
.home-page #congresos,
.home-page #consultoria,
.home-page #testimonios,
.home-page #faq,
.home-page #contacto,
.home-page .mvv { display: none; }

.formacion-page main > *,
.eventos-page main > *,
.consulting-page main > * { display: none; }

.formacion-page .page-hero,
.formacion-page #areas,
.formacion-page #metodologia,
.formacion-page #faq,
.eventos-page .page-hero,
.eventos-page #congresos,
.eventos-page #testimonios,
.consulting-page .page-hero,
.consulting-page #consultoria,
.consulting-page #contacto { display: block; }

.formacion-page .site-header,
.eventos-page .site-header,
.consulting-page .site-header {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 var(--line);
}

.formacion-page .site-header .logo--white,
.eventos-page .site-header .logo--white,
.consulting-page .site-header .logo--white { display: none; }
.formacion-page .site-header .logo--color,
.eventos-page .site-header .logo--color,
.consulting-page .site-header .logo--color { display: block; }
.formacion-page .site-header .nav a,
.eventos-page .site-header .nav a,
.consulting-page .site-header .nav a { color: var(--muted); }
.formacion-page .nav-toggle span,
.eventos-page .nav-toggle span,
.consulting-page .nav-toggle span { background: var(--navy); }

.page-hero {
  padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 6.5rem)) 0 clamp(3.5rem, 6vw, 5rem);
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,169,130,.35), transparent 32%),
    linear-gradient(130deg, #111b3a, #063f68);
}

.page-hero h1 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.05;
  text-wrap: balance;
}

.page-hero p:last-child {
  max-width: 62ch;
  margin-top: 1rem;
  color: #dcebf3;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.5rem;
  color: #cce1e8;
  font-size: .82rem;
}
.breadcrumbs a { color: #fff; text-decoration: underline; text-underline-offset: .25rem; }
.breadcrumbs [aria-current="page"] { color: #9be8d7; }

.event-gallery-full { display: grid; gap: 2.5rem; }
.gallery-story { min-width: 0; }
.gallery-story__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.gallery-story__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.1;
}
.gallery-story__head .section__eyebrow { margin-bottom: .35rem; }
.gallery-story__head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: .65rem;
}
.gallery-shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: .9rem;
  background: #e7edf4;
  cursor: zoom-in;
  scroll-snap-align: start;
}
.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-shot:hover img { transform: scale(1.045); }

@media (max-width: 960px) {
  .gallery-strip { grid-template-columns: repeat(6, minmax(240px, 72vw)); }
  .page-hero { padding-top: calc(var(--header-h) + 3.5rem); }
}

@media (max-width: 520px) {
  .experience { padding-inline: .75rem; }
  .gallery-strip { grid-template-columns: repeat(6, 82vw); }
  .gallery-story__head > span { display: none; }
}

.error-view {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: #fff;
  background: radial-gradient(circle at 80% 20%, rgba(0,169,130,.3), transparent 35%), linear-gradient(135deg, #101a39, #073d62);
}
.error-view__content { width: min(680px, 100%); text-align: center; }
.error-view__content img { width: 190px; margin: 0 auto 2.5rem; filter: brightness(0) invert(1); }
.error-view__content h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; }
.error-view__content > p:not(.section__eyebrow) { max-width: 55ch; margin: 1.25rem auto 0; color: #dcebf3; }
.error-view__content .hero__actions { justify-content: center; opacity: 1; animation: none; }

.logo--white, .footer__brand img { filter: brightness(0) invert(1); }
@media (prefers-reduced-motion: reduce) {
  .hero h1 { opacity: 1; transform: none; }
}
