@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --color-primary: #1a3a5c;
  --color-primary-light: #2a5280;
  --color-accent: #2e86c1;
  --color-accent-hover: #1a6fa0;
  --color-accent-light: #d6eaf8;
  --color-surface: #f7f9fc;
  --color-surface-alt: #eef3f9;
  --color-white: #ffffff;
  --color-text: #1c2b3a;
  --color-text-muted: #5a6a7a;
  --color-text-light: #8a9ab0;
  --color-border: #d0dde8;
  --color-strip: #2e86c1;
  --color-strip-light: #e8f4fc;

  --font-heading: 'Bitter', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(26,58,92,0.08), 0 1px 2px rgba(26,58,92,0.04);
  --shadow-md: 0 4px 12px rgba(26,58,92,0.10), 0 2px 4px rgba(26,58,92,0.06);
  --shadow-lg: 0 8px 28px rgba(26,58,92,0.13), 0 4px 8px rgba(26,58,92,0.07);
  --shadow-xl: 0 16px 48px rgba(26,58,92,0.16), 0 6px 12px rgba(26,58,92,0.08);
  --shadow-card-hover: 0 20px 56px rgba(26,58,92,0.18), 0 8px 16px rgba(26,58,92,0.10);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --nav-height: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.global-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(46,134,193,0.25), 0 1px 2px rgba(46,134,193,0.15);
  white-space: nowrap;
}
.global-cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,134,193,0.35), 0 2px 6px rgba(46,134,193,0.2);
}
.global-cta--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  box-shadow: none;
}
.global-cta--outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(46,134,193,0.35), 0 2px 6px rgba(46,134,193,0.2);
}
.global-cta--light {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.global-cta--light:hover {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}
.global-header__nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.global-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.global-header__logo img { transition: opacity var(--transition); width: 100px; }
.global-header__logo:hover img { opacity: 0.8; }

.global-header__links {
  display: none;
  align-items: center;
  gap: var(--space-md);
}
.global-header__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.global-header__links a:hover,
.global-header__links a.active {
  color: var(--color-accent-light);
  border-bottom-color: var(--color-accent-light);
}
.global-header--solid .global-header__links a {
  color: var(--color-text);
}
.global-header--solid .global-header__links a:hover,
.global-header--solid .global-header__links a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.global-header--solid,
.global-header.nav-solid {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(26,58,92,0.10), 0 1px 3px rgba(26,58,92,0.06);
}
.global-header.nav-solid .global-header__links a { color: var(--color-text); }
.global-header.nav-solid .global-header__links a:hover,
.global-header.nav-solid .global-header__links a.active { color: var(--color-accent); border-bottom-color: var(--color-accent); }

.global-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.global-header__hamburger:hover { background: rgba(255,255,255,0.12); }
.global-header--solid .global-header__hamburger:hover,
.global-header.nav-solid .global-header__hamburger:hover { background: var(--color-surface); }
.global-header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: background var(--transition);
}
.global-header--solid .global-header__hamburger span,
.global-header.nav-solid .global-header__hamburger span { background: var(--color-text); }

.global-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,58,92,0.55);
  backdrop-filter: blur(2px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.global-mobile-overlay.active { opacity: 1; pointer-events: all; }

.global-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-primary);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
}
.global-mobile-menu.open { transform: translateX(0); }
.global-mobile-menu__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.25rem;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.global-mobile-menu__close:hover { background: rgba(255,255,255,0.12); }
.global-mobile-menu ul { margin-top: var(--space-lg); }
.global-mobile-menu li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.3s ease calc(var(--i) * 0.07s), transform 0.3s ease calc(var(--i) * 0.07s);
}
.global-mobile-menu.open li { opacity: 1; transform: translateX(0); }
.global-mobile-menu li a {
  display: block;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition), padding-left var(--transition);
}
.global-mobile-menu li a:hover { color: var(--color-accent-light); padding-left: 0.5rem; }

.global-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0;
  background: var(--color-white);
}
.global-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.global-footer__logo { display: flex; align-items: center; }
.global-footer__links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.global-footer__links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.global-footer__links a:hover { color: var(--color-accent); }
.global-footer__copy {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.home-strip {
  height: 4px;
  width: 100%;
}
.home-strip--accent { background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%); }
.home-strip--pattern {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-accent-light) 0px,
    var(--color-accent-light) 12px,
    var(--color-surface-alt) 12px,
    var(--color-surface-alt) 24px
  );
  opacity: 0.7;
}
.home-strip--thin { height: 1px; background: var(--color-border); margin: var(--space-xl) 0; }

.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,58,92,0.82) 0%,
    rgba(26,58,92,0.65) 50%,
    rgba(26,58,92,0.88) 100%
  );
}
.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-md) var(--space-xl);
  margin: 0 auto;
  width: 100%;
}
.home-hero__tag {
  display: inline-block;
  background: rgba(46,134,193,0.25);
  border: 1px solid rgba(46,134,193,0.5);
  color: #a8d4f0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}
.home-hero__h1 {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  margin-bottom: var(--space-md);
}
.home-hero__line1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
}
.home-hero__line2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #a8d4f0;
  line-height: 1.15;
}
.home-hero__line3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.2;
}
.home-hero__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}
.home-hero__stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.home-hero__stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem var(--space-md);
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
}
.home-hero__stat i { color: var(--color-accent-light); font-size: 1.1rem; flex-shrink: 0; }
.home-hero__stat:last-child { border-right: none; }

.home-intro { padding: var(--space-2xl) 0; background: var(--color-white); }
.home-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.home-intro__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: var(--space-md);
}
.home-intro__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  line-height: 1.75;
}
.home-intro__text .global-cta { margin-top: var(--space-sm); }
.home-intro__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.home-modules {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}
.home-modules__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}
.home-modules__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.home-modules__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.home-modules__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.home-modules__icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.home-modules__icon i { color: var(--color-accent); font-size: 1.3rem; }
.home-modules__card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.home-modules__card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.home-modules__cta { text-align: center; margin-top: var(--space-xl); }

.home-angled {
  padding: var(--space-2xl) 0;
  background: var(--color-primary);
  clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0% 100%);
  margin: -2px 0;
}
.home-angled__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.home-angled__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.home-angled__text .section-label { color: #a8d4f0; }
.home-angled__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}
.home-angled__text p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}
.home-angled__list { margin-top: var(--space-md); display: flex; flex-direction: column; gap: 0.75rem; }
.home-angled__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.925rem;
}
.home-angled__list li i { color: #a8d4f0; margin-top: 0.2rem; flex-shrink: 0; }

.home-gallery {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}
.home-gallery__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}
.home-gallery__swiper { padding-bottom: 3rem; }
.home-gallery__slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.home-gallery__slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.home-gallery__slide p {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.swiper-pagination-bullet { background: var(--color-border); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--color-accent); }
.swiper-button-next, .swiper-button-prev {
  color: var(--color-accent);
  background: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  top: 40%;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 0.9rem; font-weight: 700; }

.home-sepe {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}
.home-sepe__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.home-sepe__text .section-label { color: var(--color-accent); }
.home-sepe__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}
.home-sepe__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}
.home-sepe__text .global-cta { margin-top: var(--space-sm); }
.home-sepe__badge {
  display: flex;
  justify-content: center;
}
.home-sepe__badge-inner {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xl);
  min-width: 200px;
}
.home-sepe__badge-inner i { font-size: 2.5rem; color: #a8d4f0; margin-bottom: 0.5rem; }
.home-sepe__badge-inner strong { font-size: 1.3rem; color: var(--color-white); font-family: var(--font-heading); }
.home-sepe__badge-inner span { font-size: 0.95rem; color: #a8d4f0; font-weight: 500; }
.home-sepe__badge-inner small { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 0.25rem; }

.home-process {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}
.home-process__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}
.home-process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.home-process__step {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.home-process__step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.home-process__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.home-process__step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.home-process__step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.home-contact-strip {
  padding: var(--space-xl) 0;
  background: var(--color-accent);
  clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
  margin: -2px 0;
}
.home-contact-strip__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}
.home-contact-strip__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.home-contact-strip__text p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.home-contact-strip__actions { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.home-contact-strip__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
}
.home-contact-strip__phone:hover { color: var(--color-white); }
.home-contact-strip__phone i { font-size: 0.875rem; }

.page-hero {
  background: var(--color-primary);
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  margin-bottom: -2px;
}
.page-hero__content { max-width: 700px; }
.page-hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}
.page-hero__content p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.75; }
.page-hero .section-label { color: #a8d4f0; }

.metodo-principios {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}
.metodo-principios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.metodo-principios__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.metodo-principios__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.metodo-principios__icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.metodo-principios__icon i { color: var(--color-accent); font-size: 1.3rem; }
.metodo-principios__card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.metodo-principios__card p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65; }

.metodo-diferencias {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}
.metodo-diferencias__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.metodo-diferencias__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.metodo-diferencias__text .section-label { color: var(--color-accent); }
.metodo-diferencias__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}
.metodo-diferencias__text p { color: var(--color-text-muted); margin-bottom: var(--space-sm); line-height: 1.75; }

.metodo-fases {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}
.metodo-fases__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}
.metodo-fases__timeline { display: flex; flex-direction: column; gap: 0; }
.metodo-fases__item {
  display: flex;
  gap: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-xl);
}
.metodo-fases__item:last-child { padding-bottom: 0; }
.metodo-fases__dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  margin-top: 0.35rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--color-accent-light);
}
.metodo-fases__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.metodo-fases__content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.metodo-fases__content p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }

.metodo-formadores {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}
.metodo-formadores__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}
.metodo-formadores__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.metodo-formadores__card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.metodo-formadores__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.metodo-formadores__card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.metodo-formadores__info {
  padding: var(--space-md);
  background: var(--color-white);
}
.metodo-formadores__info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.metodo-formadores__info p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

.metodo-cta {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  text-align: center;
}
.metodo-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.metodo-cta p { color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.metodo-cta__buttons { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

.modulos-hero { }
.modulos-lista { padding: var(--space-2xl) 0; background: var(--color-white); }
.modulos-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
}
.modulos-item__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.modulos-item__image--placeholder {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
}
.modulos-item__icon-block { font-size: 4rem; color: var(--color-accent-light); }
.modulos-item__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.modulos-item__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}
.modulos-item__content p { color: var(--color-text-muted); margin-bottom: var(--space-sm); line-height: 1.75; font-size: 0.95rem; }
.modulos-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}
.modulos-item__tags span {
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.modulos-cta {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  text-align: center;
}
.modulos-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.modulos-cta p { color: var(--color-text-muted); margin-bottom: var(--space-lg); }

.reserva-main { padding-top: var(--nav-height); }
.reserva-form-section {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--color-white);
}
.reserva-form-section__header {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}
.reserva-form-section__header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}
.reserva-form-section__header p { color: var(--color-text-muted); line-height: 1.75; }

.reserva-form {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.reserva-form__row { display: flex; flex-direction: column; gap: var(--space-lg); }
.reserva-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.reserva-form__field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.reserva-form__field input,
.reserva-form__field select,
.reserva-form__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.reserva-form__field input:focus,
.reserva-form__field select:focus,
.reserva-form__field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.12);
}
.reserva-form__helper { font-size: 0.78rem; color: var(--color-text-light); }
.reserva-form__field--check { flex-direction: row; align-items: flex-start; }
.reserva-form__check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.reserva-form__check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--color-accent);
  padding: 0;
}
.reserva-form__notice {
  display: flex;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  align-items: flex-start;
}
.reserva-form__notice i { color: var(--color-accent); flex-shrink: 0; margin-top: 0.1rem; }
.reserva-form__notice p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; }
.reserva-form__submit { align-self: flex-start; padding: 1rem 2.5rem; font-size: 1rem; }

.reserva-info {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-surface);
}
.reserva-info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.reserva-info__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.reserva-info__card:hover { box-shadow: var(--shadow-md); }
.reserva-info__card i {
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: block;
}
.reserva-info__card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.reserva-info__card p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

.contact-main { padding-top: var(--nav-height); }
.contact-form-section {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--color-white);
}
.contact-form-section__inner { max-width: 640px; }
.contact-form-section__header { margin-bottom: var(--space-xl); }
.contact-form-section__header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}
.contact-form-section__header p { color: var(--color-text-muted); line-height: 1.75; }
.contact-form-section__form { display: flex; flex-direction: column; gap: var(--space-lg); }
.contact-form-section__field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form-section__field label { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.contact-form-section__field input,
.contact-form-section__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.contact-form-section__field input:focus,
.contact-form-section__field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.12);
}
.contact-form-section__helper { font-size: 0.78rem; color: var(--color-text-light); }
.contact-form-section__field--check { flex-direction: row; align-items: flex-start; }
.contact-form-section__check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.contact-form-section__check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--color-accent);
  padding: 0;
}
.contact-form-section__submit { align-self: flex-start; padding: 1rem 2.5rem; font-size: 1rem; }

.contact-info-section {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-surface);
}
.contact-info-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.contact-info-section__block h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.contact-info-section__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.contact-info-section__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--color-text-muted);
}
.contact-info-section__list li i { color: var(--color-accent); margin-top: 0.15rem; flex-shrink: 0; }
.contact-info-section__list li a { color: var(--color-accent); }
.contact-info-section__hours h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.contact-info-section__hours p { font-size: 0.875rem; color: var(--color-text-muted); }
.contact-info-section__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.contact-info-section__map iframe { display: block; }

.contact-news-section {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}
.contact-news-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}
.contact-news-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.contact-news-section__item {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-news-section__item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-news-section__date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.contact-news-section__item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.contact-news-section__item p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

.thanks-body {
  background: var(--color-surface-alt);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-md) var(--space-xl);
}
.thanks-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
  max-width: 480px;
  width: 100%;
}
.thanks-card__icon {
  width: 72px;
  height: 72px;
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}
.thanks-card__icon i { font-size: 2rem; color: var(--color-accent); }
.thanks-card__heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.thanks-card__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}
.thanks-card__note {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}
.thanks-card__note a { color: var(--color-accent); }

.legal-main {
  padding-top: var(--nav-height);
  min-height: 80vh;
}
.legal-main__inner {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  max-width: 760px;
}
.legal-main__header { margin-bottom: var(--space-xl); }
.legal-main__header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.legal-main__date { font-size: 0.85rem; color: var(--color-text-light); }
.legal-main__body { display: flex; flex-direction: column; gap: var(--space-xl); }
.legal-main__body section h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-accent-light);
}
.legal-main__body section p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal-main__body section p:last-child { margin-bottom: 0; }
.legal-main__body section ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal-main__body section ul li { font-size: 0.925rem; color: var(--color-text-muted); line-height: 1.7; }
.legal-main__body section a { color: var(--color-accent); }
.legal-main__table-wrap { overflow-x: auto; margin-top: 0.75rem; }
.legal-main__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.legal-main__table th {
  background: var(--color-surface);
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.6rem 0.8rem;
  text-align: left;
  border: 1px solid var(--color-border);
}
.legal-main__table td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

#cookie-bar {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.82rem;
  padding: 0.6rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  position: relative;
  z-index: 99;
  overflow: hidden;
  max-height: fit-content;
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 100;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
}
#cookie-bar.hidden {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}
#cookie-bar p { flex: 1; min-width: 200px; color: rgba(255,255,255,0.85); }
#cookie-bar a { color: #a8d4f0; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-bar__btn {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border: 1px solid transparent;
  font-family: var(--font-body);
}
.cookie-bar__btn--accept {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.cookie-bar__btn--accept:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.cookie-bar__btn--reject {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.3);
}
.cookie-bar__btn--reject:hover { background: rgba(255,255,255,0.1); color: var(--color-white); }

@media (min-width: 640px) {
  .home-hero__stats-bar { grid-template-columns: repeat(4, 1fr); }
  .home-hero__stat { border-bottom: none; }
  .home-modules__grid { grid-template-columns: repeat(2, 1fr); }
  .metodo-principios__grid { grid-template-columns: repeat(2, 1fr); }
  .home-process__steps { grid-template-columns: repeat(2, 1fr); }
  .reserva-form__row--two { flex-direction: row; }
  .reserva-info__grid { grid-template-columns: repeat(3, 1fr); }
  .contact-news-section__grid { grid-template-columns: repeat(2, 1fr); }
  .metodo-formadores__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .global-header__links { display: flex; }
  .global-header__hamburger { display: none; }

  .home-intro__inner { grid-template-columns: 55% 1fr; }
  .home-angled__inner { grid-template-columns: 1fr 55%; }
  .home-sepe__inner { grid-template-columns: 1fr auto; }
  .metodo-diferencias__inner { grid-template-columns: 1fr 1fr; }
  .contact-info-section__grid { grid-template-columns: 1fr 1fr; }
  .home-contact-strip__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .home-contact-strip__actions { flex-direction: row; align-items: center; }
}

@media (min-width: 1024px) {
  .home-modules__grid { grid-template-columns: repeat(3, 1fr); }
  .modulos-item { grid-template-columns: 1fr 1fr; }
  .modulos-item--alt .modulos-item__image { order: -1; }
  .home-process__steps { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .home-angled { clip-path: polygon(0 2%, 100% 0%, 100% 98%, 0% 100%); }
  .home-contact-strip { clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0% 100%); }
  .page-hero { clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
}