:root {
  --ink: #071a36;
  --ink-soft: #18314e;
  --blue: #0b64f4;
  --blue-hover: #0755d3;
  --cyan: #15d4ee;
  --cyan-glow: rgba(21, 212, 238, 0.35);
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: rgba(7, 26, 54, 0.12);
  --line-dark: rgba(255, 255, 255, 0.15);
  --muted: #607086;
  --max: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 20px rgba(7, 26, 54, 0.06);
  --shadow-md: 0 12px 36px rgba(7, 26, 54, 0.12);
  --shadow-lg: 0 24px 60px rgba(7, 26, 54, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(21, 212, 238, 0.08), transparent 24rem),
    radial-gradient(circle at 90% 22%, rgba(11, 100, 244, 0.08), transparent 28rem),
    var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

/* --- HEADER & NAVIGATION --- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 212, 238, 0.8), rgba(11, 100, 244, 0.65), transparent);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 132px;
  height: 74px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 132px;
  height: 74px;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links .nav-event-link {
  padding: 7px 11px;
  border: 1px solid rgba(11, 100, 244, 0.18);
  border-radius: 999px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(21, 212, 238, 0.1), rgba(11, 100, 244, 0.08));
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- BUTTONS --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0b64f4 0%, #0755d3 58%, #03abc9 150%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(11, 100, 244, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-hover);
  box-shadow: 0 14px 30px rgba(11, 100, 244, 0.35);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  box-shadow: none;
  font-size: 0.88rem;
}

.button-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: none;
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.button-light:hover {
  background: #eef4ff;
}

.button-wa {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.28);
}

.button-wa:hover {
  background: #20ba59;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.38);
}

/* --- FEATURE: TALLER OLAETA --- */
.event-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 74px 0 96px;
  color: var(--white);
  background:
    linear-gradient(rgba(21, 212, 238, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 212, 238, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 16% 15%, rgba(21, 212, 238, 0.22), transparent 22rem),
    radial-gradient(circle at 88% 35%, rgba(11, 100, 244, 0.3), transparent 30rem),
    linear-gradient(145deg, #06152d 0%, #082447 55%, #061a35 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.event-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.45;
  background: linear-gradient(115deg, transparent 35%, rgba(21, 212, 238, 0.08) 48%, transparent 61%);
  transform: translateX(-45%);
  animation: signalSweep 11s ease-in-out infinite;
}

.event-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(21, 212, 238, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.event-orbit::before,
.event-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.event-orbit-one {
  width: 420px;
  height: 420px;
  top: -250px;
  right: -90px;
}

.event-orbit-one::before { left: 48px; bottom: 56px; }
.event-orbit-one::after { right: 68px; bottom: 36px; }

.event-orbit-two {
  width: 300px;
  height: 300px;
  left: -190px;
  bottom: 9%;
}

.event-orbit-two::before { right: 20px; top: 92px; }
.event-orbit-two::after { right: 74px; top: 20px; }

.event-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.event-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(21, 212, 238, 0.12), 0 0 18px rgba(21, 212, 238, 0.75);
}

.event-intro h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.event-intro > p {
  margin: 0 0 4px;
  color: #c5d8ee;
  font-size: 1.05rem;
  line-height: 1.7;
}

.event-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 34px;
}

.event-poster-card {
  position: sticky;
  top: 102px;
  padding: 12px;
  border: 1px solid rgba(21, 212, 238, 0.3);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 80px rgba(0, 5, 18, 0.42), inset 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.event-poster-glow {
  position: absolute;
  z-index: -1;
  inset: 12% -9% 25%;
  border-radius: 50%;
  background: rgba(21, 212, 238, 0.24);
  filter: blur(55px);
}

.event-poster-card > img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 8, 24, 0.3);
}

.event-facts {
  display: grid;
  gap: 0;
  padding: 10px 8px 2px;
}

.event-facts span {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 12px 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #c7d7e9;
  font-size: 0.82rem;
}

.event-facts span:last-child { border-bottom: 0; }
.event-facts strong { color: var(--cyan); letter-spacing: 0.06em; }

.event-form-card {
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(158, 218, 255, 0.6);
  border-radius: 26px;
  background: rgba(248, 252, 255, 0.97);
  box-shadow: 0 28px 80px rgba(0, 5, 18, 0.4);
}

.event-form-heading {
  position: relative;
  padding: 34px 38px 30px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 12%, rgba(21, 212, 238, 0.18), transparent 13rem),
    linear-gradient(135deg, #ffffff 0%, #eff8ff 100%);
}

.event-form-heading::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 30px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 100, 244, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(21, 212, 238, 0.06);
}

.form-step {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.event-form-heading h3 {
  margin: 6px 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.event-form-heading p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.olaeta-form { padding: 0 38px 40px; }

.form-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.form-section-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 25px;
}

.form-section-title > span {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(11, 100, 244, 0.25);
  border-radius: 10px;
  color: var(--blue);
  background: linear-gradient(145deg, #fff, #eaf4ff);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(11, 100, 244, 0.08);
}

.form-section-title h4 { margin: 0; font-size: 1.12rem; }
.form-section-title p { margin: 3px 0 0; color: var(--muted); font-size: 0.86rem; }

.form-grid { display: grid; gap: 17px; }
.form-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-field-wide { grid-column: 1 / -1; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(7, 26, 54, 0.18);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 100, 244, 0.1); }

.choice-group {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.choice-group:last-child { margin-bottom: 0; }
.choice-group legend { margin-bottom: 4px; color: var(--ink); font-weight: 800; line-height: 1.4; }
.choice-group.is-invalid legend { color: #b42318; }
.choice-group.is-invalid .choice-grid { padding: 7px; border: 1px solid rgba(180, 35, 24, 0.35); border-radius: 13px; background: rgba(180, 35, 24, 0.04); }
.field-help { margin: 0 0 11px; color: var(--muted); font-size: 0.78rem; }

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

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

.choice-chip {
  position: relative;
  display: flex;
  min-width: 0;
  cursor: pointer;
}

.choice-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-chip span {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  padding: 9px 12px 9px 38px;
  border: 1px solid rgba(7, 26, 54, 0.13);
  border-radius: 10px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.79rem;
  font-weight: 650;
  line-height: 1.35;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.choice-chip span::before {
  content: "";
  position: absolute;
  left: 13px;
  width: 15px;
  height: 15px;
  border: 1.5px solid #9baabe;
  border-radius: 4px;
  background: #fff;
}

.choice-chip input[type="radio"] + span::before { border-radius: 50%; }
.choice-chip:hover span { transform: translateY(-1px); border-color: rgba(11, 100, 244, 0.5); }
.choice-chip input:focus-visible + span { outline: 3px solid rgba(11, 100, 244, 0.22); outline-offset: 2px; }
.choice-chip input:checked + span {
  color: #064ebd;
  border-color: rgba(11, 100, 244, 0.55);
  background: linear-gradient(135deg, rgba(11, 100, 244, 0.1), rgba(21, 212, 238, 0.1));
  box-shadow: inset 3px 0 var(--blue);
}

.choice-chip input:checked + span::before {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 3px white;
}

.other-field { margin-top: 11px; }
.form-textarea { margin-top: 24px; }

.form-submit-zone { padding-top: 28px; }
.consent-check { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 22px; color: var(--muted); font-size: 0.82rem; cursor: pointer; }
.consent-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.event-submit { width: 100%; min-height: 56px; font-size: 1rem; }
.event-submit:disabled { cursor: wait; opacity: 0.7; transform: none; }
.form-status { min-height: 1.5em; margin: 13px 0 0; text-align: center; color: var(--muted); font-size: 0.86rem; font-weight: 650; }
.form-status.is-success { color: #087843; }
.form-status.is-error { color: #b42318; }

@keyframes signalSweep {
  0%, 28% { transform: translateX(-55%); }
  65%, 100% { transform: translateX(65%); }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(21, 212, 238, 0.18), transparent 30%),
    radial-gradient(circle at 20% 90%, rgba(11, 100, 244, 0.25), transparent 40%),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.hero-grid {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: #c8d5e8;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.text-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link span {
  color: var(--cyan);
}

.proof-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  color: #95a9c2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.proof-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14px 18px -14px -14px;
  border: 1px solid rgba(21, 212, 238, 0.4);
  border-radius: var(--radius-md);
}

.hero-visual img {
  position: relative;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.hero-note {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.hero-note strong {
  font-size: 1rem;
  color: var(--ink);
}

.hero-note span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- SECTION GENERAL --- */
.section {
  padding: 100px 0;
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.center-heading {
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
}

.center-heading p:last-child {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* --- SERVICE FILTERS --- */
.service-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(11, 100, 244, 0.25);
}

/* --- SERVICE GRID & CARDS --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.93));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--ink);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(7, 26, 54, 0.7));
}

.service-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(7, 26, 54, 0.75);
  backdrop-filter: blur(8px);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(21, 212, 238, 0.3);
}

.service-number {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 12px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}

.service-body h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.service-body p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1;
}

.service-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.btn-detail {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-detail:hover {
  text-decoration: underline;
}

.btn-consult {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.btn-consult:hover {
  color: var(--blue);
}

/* --- ESTIMATOR / COTIZADOR SECTION --- */
.estimator-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.estimator-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.estimator-form h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.estimator-form p {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 0.95rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkbox-card:hover {
  border-color: var(--blue);
}

.checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}

.checkbox-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.range-group {
  margin-top: 24px;
}

.range-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.range-group input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.estimator-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
}

.estimator-summary h4 {
  margin: 0 0 16px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.summary-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: #d0deef;
}

.summary-list li.empty-msg {
  color: #7d93b2;
  font-style: italic;
}

/* --- TRAINING SECTION --- */
.training {
  background: var(--white);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.training-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.training-gallery {
  position: relative;
  min-height: 520px;
}

.training-gallery img {
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.gallery-main {
  width: 72%;
  height: 480px;
}

.gallery-small {
  position: absolute;
  top: 60px;
  right: 0;
  width: 40%;
  height: 320px;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-md);
}

.experience-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 50%;
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.experience-card span {
  color: #adc0d7;
  font-size: 0.84rem;
}

.training-content h3 {
  margin: 0 0 24px;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.training-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.training-content li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.training-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

/* --- METHOD SECTION --- */
.method {
  color: var(--white);
  background: #0a203f;
}

.method-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.method-intro > p:last-child {
  color: #aebed2;
  font-size: 1.05rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.steps li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.steps li span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: #aebed2;
  font-size: 0.94rem;
}

/* --- CTA SECTION --- */
.cta {
  padding: 80px 0;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 30%, rgba(21, 212, 238, 0.28), transparent 22rem),
    linear-gradient(135deg, #0b64f4, #074ab7 72%, #062e75);
  background-size: 40px 40px, 40px 40px, auto, auto;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.cta h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  text-align: center;
}

.cta-actions .button { width: 100%; }

/* --- FOOTER --- */
footer {
  padding: 60px 0 24px;
  color: #becbe0;
  background: #06162e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 60px;
}

.footer-brand img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 16px;
}

.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }

.footer-brand p {
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.6;
}

footer h3 {
  margin: 4px 0 16px;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7589a6;
  font-size: 0.8rem;
}

/* --- MODAL DIALOG --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 54, 0.75);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  z-index: 10;
  width: min(100%, 780px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(7, 26, 54, 0.6);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--ink);
}

.modal-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--ink);
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.modal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 26, 54, 0.85), transparent 60%);
}

.modal-header-info {
  position: absolute;
  bottom: 20px;
  left: 28px;
  right: 28px;
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal-header-info .service-badge {
  position: static;
  display: inline-flex;
  width: fit-content;
  margin: 0 0 9px;
  flex: 0 0 auto;
}

.modal-header-info h2 {
  margin: 0 0 4px;
  font-size: 1.6rem;
  color: var(--white);
}

.modal-header-info p {
  margin: 0;
  color: #c0d2e8;
  font-size: 0.92rem;
}

.modal-body {
  padding: 32px 28px;
}

.modal-body h4 {
  margin: 24px 0 12px;
  font-size: 1.05rem;
  color: var(--ink);
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.modal-deliverables-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}

.modal-deliverables-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
}

.modal-meta-item label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-meta-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* --- FLOATING WHATSAPP WIDGET --- */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 30px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

.floating-wa svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .nav-event-link {
    width: fit-content;
  }

  .event-intro,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-intro {
    align-items: start;
    gap: 20px;
  }

  .event-intro > p { max-width: 700px; }

  .event-poster-card {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(240px, 0.58fr);
    align-items: center;
    gap: 16px;
  }

  .hero-grid,
  .training-grid,
  .method-grid,
  .estimator-container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: stretch;
    width: min(100%, 640px);
  }

  .hero-visual img {
    height: 440px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-grid {
    padding-top: 50px;
    gap: 48px;
  }

  .event-feature { padding: 48px 0 64px; }

  .event-intro { margin-bottom: 28px; }

  .event-intro h2 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
    line-height: 1.02;
  }

  .event-intro > p { font-size: 0.96rem; }

  .event-grid { gap: 22px; }

  .event-poster-card {
    display: block;
    padding: 9px;
    border-radius: 18px;
  }

  .event-poster-card > img { border-radius: 12px; }

  .event-facts { padding: 8px 5px 1px; }

  .event-facts span {
    grid-template-columns: 76px 1fr;
    font-size: 0.76rem;
  }

  .event-form-card { border-radius: 18px; }

  .event-form-heading { padding: 26px 21px 23px; }

  .event-form-heading::after { right: 20px; top: 22px; width: 38px; height: 38px; }

  .olaeta-form { padding: 0 21px 30px; }

  .form-section { padding: 28px 0; }

  .form-grid-two,
  .choice-grid,
  .choice-grid-compact {
    grid-template-columns: 1fr;
  }

  .choice-chip span {
    min-height: 48px;
    font-size: 0.82rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .training-gallery {
    min-height: 460px;
  }

  .gallery-main {
    width: 80%;
    height: 400px;
  }

  .gallery-small {
    width: 45%;
    height: 240px;
  }

  .experience-card {
    width: 75%;
    right: 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .modal-meta-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 10px;
  }

  .modal-hero {
    height: 270px;
  }

  .modal-header-info {
    left: 18px;
    right: 58px;
    bottom: 18px;
  }

  .modal-header-info h2 {
    font-size: 1.3rem;
    line-height: 1.18;
  }

  .modal-header-info p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .modal-body { padding: 26px 20px; }

  .modal-footer .button { width: 100%; text-align: center; }

  .floating-wa span {
    display: none;
  }

  .floating-wa {
    padding: 14px;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
