/*
 * Elementor native fidelity layer.
 *
 * Elementor adds layout variables and widget wrappers that do not exist in the
 * approved static prototype. This file restores that geometry without placing
 * editorial content inside HTML widgets.
 */

body.comet-site.elementor-page {
  background: #06090e;
  color: #f2f5f9;
}

:where(.comet-elementor-native) {
  --bg: #06090e;
  --bg-2: #0a0e15;
  --surface: #0e141d;
  --surface-2: #131b26;
  --ink: #f2f5f9;
  --ink-2: #aeb8c6;
  --mut: #6e7a88;
  --cy: #5cc2f5;
  --maxw: 1300px;
  --pad: clamp(20px, 5vw, 68px);
  --sec: clamp(110px, 15vw, 230px);
  width: 100%;
  max-width: none;
  background: #06090e;
  color: #f2f5f9;
}

:where(.comet-elementor-native).e-con,
:where(.comet-elementor-native) .e-con {
  --padding-top: 0;
  --padding-right: 0;
  --padding-bottom: 0;
  --padding-left: 0;
  --margin-top: 0;
  --margin-right: 0;
  --margin-bottom: 0;
  --margin-left: 0;
}

:where(.comet-elementor-native) .wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

:where(.comet-elementor-native) .sec {
  padding-block: var(--sec);
}

:where(.comet-elementor-native) .grid-2,
:where(.comet-elementor-native) .grid-anchor,
:where(.comet-elementor-native) .prod-grid,
:where(.comet-elementor-native) .pcard-grid,
:where(.comet-elementor-native) .srv-grid,
:where(.comet-elementor-native) .facil-grid,
:where(.comet-elementor-native) .talento__grid,
:where(.comet-elementor-native) .news-row {
  display: grid;
  flex-direction: initial;
}

:where(.comet-elementor-native) .grid-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

:where(.comet-elementor-native) .grid-2--top {
  align-items: start;
}

:where(.comet-elementor-native) .grid-2--form {
  align-items: start;
}

:where(.comet-elementor-native) .hero {
  position: relative;
  display: flex;
  min-height: 100dvh;
  align-items: flex-end;
  padding: 0 0 clamp(56px, 9vh, 110px);
  overflow: hidden;
}

:where(.comet-elementor-native) .hero__media,
:where(.comet-elementor-native) .cierre__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

:where(.comet-elementor-native) .hero__content {
  position: relative;
  z-index: 3;
  align-items: flex-start;
}

:where(.comet-elementor-native) .hero__cta,
:where(.comet-elementor-native) .anchor__cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

:where(.comet-elementor-native) .anchor__cta {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

:where(.comet-elementor-native) .process__list,
:where(.comet-elementor-native) .ticks {
  display: flex;
  flex-direction: column;
}

:where(.comet-elementor-native) .process__list > .elementor-widget-text-editor,
:where(.comet-elementor-native) .ticks > .elementor-widget-text-editor {
  width: 100%;
}

:where(.comet-elementor-native) .quote-break {
  position: relative;
  display: flex;
  min-height: clamp(380px, 39vw, 540px);
  align-items: center;
  overflow: hidden;
}

:where(.comet-elementor-native) .quote-break > .elementor-widget-image,
:where(.comet-elementor-native) .quote-break > .quote-break__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

:where(.comet-elementor-native) .quote-break > .elementor-widget-image {
  z-index: 0;
}

:where(.comet-elementor-native) .quote-break > .quote-break__shade {
  z-index: 1;
}

:where(.comet-elementor-native) .quote-break__inner {
  position: relative;
  z-index: 3;
  align-items: flex-start;
}

:where(.comet-elementor-native) .quote-break__inner > .elementor-widget-text-editor {
  width: min(100%, 19ch);
  max-width: 19ch;
  padding: 0 0 0 clamp(18px, 3vw, 42px);
  border-left: 1px solid rgba(126, 220, 255, .32);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.14;
  color: #f8fbff;
}

:where(.comet-elementor-native) .quote-break__inner > .elementor-widget-text-editor::before {
  content: "";
  display: block;
  width: clamp(44px, 5vw, 76px);
  height: 2px;
  margin-bottom: clamp(18px, 2vw, 28px);
  background: linear-gradient(90deg, var(--cy), rgba(233, 169, 74, .8), transparent);
}

:where(.comet-elementor-native) .prod-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

:where(.comet-elementor-native) .prod-col {
  display: contents;
}

:where(.comet-elementor-native) .prod__inner,
:where(.comet-elementor-native) .pcard__in,
:where(.comet-elementor-native) .srv__inner,
:where(.comet-elementor-native) .prod__body,
:where(.comet-elementor-native) .pcard__body {
  display: flex;
  flex-direction: column;
}

:where(.comet-elementor-native) .prod__inner,
:where(.comet-elementor-native) .pcard__in,
:where(.comet-elementor-native) .srv__inner {
  height: 100%;
}

:where(.comet-elementor-native) .grid-anchor {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
}

:where(.comet-elementor-native) .pcard-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

:where(.comet-elementor-native) .pcard {
  grid-column: span 3;
}

:where(.comet-elementor-native) .pcard:nth-child(1),
:where(.comet-elementor-native) .pcard:nth-child(2) {
  grid-column: span 6;
}

:where(.comet-elementor-native) .srv-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  grid-auto-rows: minmax(268px, auto);
  gap: 18px;
  align-items: stretch;
}

:where(.comet-elementor-native) .srv:first-child {
  grid-row: span 2;
}

:where(.comet-elementor-native) .srv:first-child .srv__inner {
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto auto auto auto;
}

:where(.comet-elementor-native) .srv:first-child .srv__media {
  min-height: 360px;
  height: auto;
}

:where(.comet-elementor-native) .srv:not(:first-child) .srv__inner {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  min-height: 268px;
}

:where(.comet-elementor-native) .srv:not(:first-child) .srv__media {
  grid-column: 1;
  grid-row: 1 / 6;
  height: auto;
}

:where(.comet-elementor-native) .srv:not(:first-child) .srv__idx,
:where(.comet-elementor-native) .srv:not(:first-child) .h3,
:where(.comet-elementor-native) .srv:not(:first-child) .body,
:where(.comet-elementor-native) .srv:not(:first-child) .link-arrow,
:where(.comet-elementor-native) .srv:not(:first-child) .srv__meta {
  grid-column: 2;
}

:where(.comet-elementor-native) .instalaciones > .instalaciones__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
}

:where(.comet-elementor-native) .instalaciones__shot {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

:where(.comet-elementor-native) .instalaciones__shot--main {
  grid-row: 1 / 3;
}

:where(.comet-elementor-native) .instalaciones__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
}

:where(.comet-elementor-native) .instalaciones__inner {
  position: relative;
  z-index: 3;
}

:where(.comet-elementor-native) .facil-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

:where(.comet-elementor-native) .facil__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

:where(.comet-elementor-native) .trust__logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(38px, 5vw, 72px);
}

:where(.comet-elementor-native) .trust__logos > .elementor-widget-image {
  width: auto;
  height: 25px;
  flex: 0 0 auto;
}

:where(.comet-elementor-native) .trust__logos > .trust__logo--mark {
  height: 42px;
}

:where(.comet-elementor-native) .trust__logos > .trust__logo--bouwen {
  height: 22px;
}

:where(.comet-elementor-native) .trust__logos .elementor-widget-container,
:where(.comet-elementor-native) .trust__logos img {
  width: auto;
  height: 100%;
}

:where(.comet-elementor-native) .talento__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

:where(.comet-elementor-native) .news-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

:where(.comet-elementor-native) .cierre {
  position: relative;
  overflow: hidden;
  text-align: center;
}

:where(.comet-elementor-native) .cierre__inner {
  position: relative;
  z-index: 3;
  align-items: center;
}

:where(.comet-elementor-native) .cierre__inner .hero__cta {
  justify-content: center;
}

:where(.comet-elementor-native) .elementor-widget-heading.link-arrow::after {
  content: none;
  display: none;
}

:where(.comet-elementor-native) .elementor-widget-heading.link-arrow .elementor-heading-title a::after {
  content: "\2192";
  margin-left: 9px;
}

:where(.comet-elementor-native) .elementor-widget-form.form .elementor-field-group {
  margin-bottom: 18px;
}

:where(.comet-elementor-native) .elementor-widget-form.form .elementor-form-fields-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -9px;
}

:where(.comet-elementor-native) .elementor-widget-form.form .elementor-field-group {
  width: 100%;
  padding-inline: 9px;
}

:where(.comet-elementor-native) .elementor-widget-form.form .elementor-field-group:nth-child(-n + 4) {
  width: 50%;
}

:where(.comet-elementor-native) .elementor-widget-form.form .elementor-field,
:where(.comet-elementor-native) .elementor-widget-form.form .elementor-field-textual {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  background-color: #0a0e15;
  color: #f2f5f9;
  box-shadow: none;
}

:where(.comet-elementor-native) .elementor-widget-form.form textarea.elementor-field {
  min-height: 132px;
}

:where(.comet-elementor-native) .elementor-widget-form.form .elementor-button {
  min-height: 56px;
  border-radius: 999px;
  background: #5cc2f5;
  color: #04141f;
}

@media (max-width: 1100px) and (min-width: 721px) {
  :where(.comet-elementor-native) .pcard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :where(.comet-elementor-native) .pcard,
  :where(.comet-elementor-native) .pcard:nth-child(1),
  :where(.comet-elementor-native) .pcard:nth-child(2) {
    grid-column: auto;
  }
}

@media (max-width: 960px) {
  :where(.comet-elementor-native) .grid-2,
  :where(.comet-elementor-native) .grid-anchor,
  :where(.comet-elementor-native) .prod-grid,
  :where(.comet-elementor-native) .talento__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(.comet-elementor-native) .srv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :where(.comet-elementor-native) .prod-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  :where(.comet-elementor-native) .srv:first-child {
    grid-row: auto;
  }

  :where(.comet-elementor-native) .srv:first-child .srv__inner,
  :where(.comet-elementor-native) .srv:not(:first-child) .srv__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  :where(.comet-elementor-native) .srv:first-child .srv__media,
  :where(.comet-elementor-native) .srv:not(:first-child) .srv__media {
    height: 190px;
    min-height: 0;
  }

  :where(.comet-elementor-native) .facil-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :where(.comet-elementor-native) .sec {
    padding-block: clamp(80px, 18vw, 120px);
  }

  :where(.comet-elementor-native) .pcard-grid,
  :where(.comet-elementor-native) .srv-grid,
  :where(.comet-elementor-native) .facil-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(.comet-elementor-native) .pcard,
  :where(.comet-elementor-native) .pcard:nth-child(1),
  :where(.comet-elementor-native) .pcard:nth-child(2) {
    grid-column: auto;
  }

  :where(.comet-elementor-native) .instalaciones > .instalaciones__media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 6px;
    padding: 6px;
  }

  :where(.comet-elementor-native) .instalaciones__shot--main {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  :where(.comet-elementor-native) .news-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  :where(.comet-elementor-native) .elementor-widget-form.form .elementor-field-group:nth-child(-n + 4) {
    width: 100%;
  }
}
