:root {
  --bg: #eef3f9;
  --surface: #ffffff;
  --ink: #11243f;
  --muted: #5f7190;
  --line: #d8e0ec;
  --primary: #00a8c9;
  --primary-strong: #0086a8;
  --secondary: #e4006c;
  --secondary-soft: rgba(228, 0, 108, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 16px 34px rgba(15, 37, 67, 0.1);
  --shadow-deep: 0 24px 54px rgba(17, 36, 63, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(238, 243, 249, 0.86);
  border-bottom: 1px solid rgba(145, 168, 197, 0.28);
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  
}

.brand-name {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.52rem 0.74rem;
  border-radius: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.top-nav a:hover {
  background: rgba(17, 36, 63, 0.07);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  padding: 0.8rem 1.24rem;
  background: linear-gradient(128deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 26px rgba(17, 36, 63, 0.18);
}

.btn-primary:hover {
  box-shadow: var(--shadow-deep);
}

.btn-secondary {
  color: var(--ink);
  padding: 0.8rem 1.24rem;
  border: 1px solid var(--line);
  background: #fff;
}

.btn-nav {
  color: #fff;
  background: linear-gradient(128deg, var(--primary), var(--secondary));
  padding-inline: 1rem;
  margin-left: 0.25rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.4rem 0 3.5rem;
}

.hero-bg {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.hero-bg-a {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -140px;
  background: radial-gradient(circle at center, rgba(0, 168, 201, 0.24), rgba(0, 168, 201, 0));
}

.hero-bg-b {
  width: 420px;
  height: 420px;
  left: -110px;
  bottom: -170px;
  background: radial-gradient(circle at center, rgba(228, 0, 108, 0.2), rgba(228, 0, 108, 0));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero h1,
.section-head h2,
.contact-panel h2,
.cta-shell h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  line-height: 1.16;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(1.92rem, 4vw, 3.2rem);
}

.lead {
  margin-top: 1rem;
  margin-bottom: 1.35rem;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.access-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin: 0.15rem 0 0.95rem;
}

#acceso {
  scroll-margin-top: 108px;
}

.access-option {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.88rem 0.95rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.access-option:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 168, 201, 0.5);
  box-shadow: 0 18px 36px rgba(17, 36, 63, 0.14);
}

.access-kicker {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.access-option strong {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.96rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.access-option small {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-points i {
  color: var(--primary-strong);
}

.hero-panel {
  background: linear-gradient(168deg, #142946, #0d213a 70%);
  color: #f2f7ff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-deep);
}

.panel-title {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 239, 255, 0.8);
}

.panel-list {
  display: grid;
  gap: 0.7rem;
}

.panel-list article {
  border: 1px solid rgba(203, 224, 255, 0.2);
  border-radius: 14px;
  padding: 0.85rem 0.88rem;
  background: rgba(255, 255, 255, 0.03);
}

.panel-list h3 {
  margin: 0;
  font-size: 1rem;
}

.panel-list p {
  margin: 0.4rem 0 0;
  color: rgba(222, 236, 255, 0.82);
  font-size: 0.9rem;
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.6)),
    repeating-linear-gradient(
      135deg,
      rgba(17, 36, 63, 0.02) 0px,
      rgba(17, 36, 63, 0.02) 1px,
      transparent 1px,
      transparent 14px
    );
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
  max-width: 26ch;
}

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

.module-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.05rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 201, 0.45);
  box-shadow: 0 20px 40px rgba(17, 36, 63, 0.14);
}

.module-card i {
  font-size: 1.35rem;
  color: var(--primary-strong);
}

.module-card h3 {
  margin: 0.52rem 0 0.35rem;
  font-size: 1.04rem;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.capture-toolbar {
  margin-bottom: 0.65rem;
  display: flex;
  justify-content: flex-end;
}

.btn-presentation {
  gap: 0.46rem;
  padding: 0.58rem 1rem;
  font-size: 0.9rem;
}

.carousel-shell {
  position: relative;
  border-radius: var(--radius-lg);
  margin-bottom: 0.7rem;
}

.carousel-viewport {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  margin: 0;
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #f6f9fd;
}

.carousel-slide figcaption {
  padding: 0.75rem 0.95rem;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  font-weight: 800;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 36, 63, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f2744;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(17, 36, 63, 0.2);
}

.carousel-control.prev {
  left: 0.75rem;
}

.carousel-control.next {
  right: 0.75rem;
}

.carousel-control:hover {
  background: #fff;
  border-color: rgba(0, 168, 201, 0.55);
}

.presentation-exit {
  position: absolute;
  top: 0.7rem;
  right: 0.72rem;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 36, 63, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f2744;
  z-index: 3;
}

.presentation-exit:hover {
  background: #fff;
  border-color: rgba(0, 168, 201, 0.6);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(95, 113, 144, 0.38);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
  background: rgba(0, 168, 201, 0.62);
  transform: scale(1.08);
}

.carousel-dot.is-active {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  transform: scale(1.18);
}

body.presentation-mode {
  overflow: hidden;
}

.carousel-shell.is-presentation {
  position: fixed;
  inset: 0;
  z-index: 9998;
  margin: 0;
  border-radius: 0;
  background: radial-gradient(circle at 30% 20%, #18355a, #071223 70%);
  padding: 1rem 1rem 3.2rem;
}

.carousel-shell.is-presentation .carousel-viewport {
  height: calc(100vh - 4.6rem);
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.2);
  background: #020b18;
}

.carousel-shell.is-presentation .carousel-track,
.carousel-shell.is-presentation .carousel-slide {
  height: 100%;
}

.carousel-shell.is-presentation .carousel-slide img {
  height: calc(100% - 54px);
  aspect-ratio: auto;
  object-fit: contain;
  background: #020b18;
}

.carousel-shell.is-presentation .carousel-slide figcaption {
  color: #e7f1ff;
  border-top-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.carousel-shell.is-presentation .carousel-control {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.88);
}

body.presentation-mode #carouselDots {
  position: fixed;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: rgba(7, 18, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0;
}

body.presentation-mode #carouselDots .carousel-dot {
  background: rgba(235, 246, 255, 0.38);
}

body.presentation-mode #carouselDots .carousel-dot.is-active {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
}

.shots-grid {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.shot-card {
  margin: 0;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.shot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f6f9fd;
}

.shot-card figcaption {
  padding: 0.62rem 0.74rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: stretch;
}

.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
}

.contact-panel p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.contact-points {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.93rem;
}

.contact-points i {
  color: var(--primary-strong);
}

.contact-points a {
  text-decoration: none;
  color: var(--ink);
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.84rem;
  font-weight: 800;
  color: #3f5678;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fdfefe;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.78rem;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 168, 201, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 168, 201, 0.15);
}

.field-full {
  grid-column: 1 / -1;
}

.contact-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.64rem;
}

.contact-status {
  margin: 0.72rem 0 0;
  min-height: 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.contact-status.is-ok {
  color: #157347;
}

.contact-status.is-error {
  color: #b42318;
}

.cta {
  padding-top: 3rem;
  padding-bottom: 4.4rem;
}

.cta-shell {
  text-align: center;
  background: linear-gradient(130deg, #132944 0%, #0f3f58 45%, #5b1944 100%);
  color: #e9f5ff;
  border-radius: 26px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-deep);
}

.cta-shell h2 {
  font-size: clamp(1.4rem, 3.4vw, 2.16rem);
}

.cta-shell p {
  margin: 0.6rem auto 1.2rem;
  max-width: 62ch;
  color: rgba(234, 245, 255, 0.88);
}

.access-selector--compact {
  margin: 0.2rem auto 0;
  max-width: 880px;
}

.cta-shell .access-option {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(227, 241, 255, 0.24);
  box-shadow: none;
}

.cta-shell .access-option:hover {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 30px rgba(5, 17, 31, 0.35);
}

.cta-shell .access-kicker {
  color: #a9e0ff;
}

.cta-shell .access-option strong {
  color: #ffffff;
}

.cta-shell .access-option small {
  color: rgba(232, 244, 255, 0.86);
}

.site-footer {
  border-top: 1px solid rgba(129, 150, 178, 0.28);
  background: #f9fbff;
}

.footer-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-shell p {
  margin: 0;
}

.footer-shell a {
  text-decoration: none;
  color: var(--primary-strong);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .module-grid,
  .shots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 1.1rem;
    right: 1.1rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 0.45rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .top-nav.is-open {
    display: flex;
  }

  .top-nav a {
    width: 100%;
    text-align: left;
    padding: 0.66rem 0.72rem;
  }

  .top-nav .btn-nav {
    text-align: center;
  }

  .module-grid,
  .shots-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .access-selector {
    grid-template-columns: 1fr;
  }

  #acceso {
    scroll-margin-top: 96px;
  }

  .capture-toolbar {
    justify-content: stretch;
  }

  .btn-presentation {
    width: 100%;
  }

  .carousel-control {
    width: 38px;
    height: 38px;
  }

  .carousel-control.prev {
    left: 0.4rem;
  }

  .carousel-control.next {
    right: 0.4rem;
  }

  .carousel-shell.is-presentation {
    padding: 0.75rem 0.5rem 3.4rem;
  }

  .carousel-shell.is-presentation .carousel-viewport {
    height: calc(100vh - 4.9rem);
  }

  .carousel-shell.is-presentation .carousel-slide img {
    height: calc(100% - 50px);
  }

  .hero {
    padding-top: 4.5rem;
  }

  .footer-shell {
    padding: 0.7rem 0;
    flex-direction: column;
    align-items: flex-start;
  }
}
