:root {
  --quote-blue: #6679ef;
  --quote-blue-soft: #eef1ff;
  --quote-field: #f5f7ff;
  --quote-line: #9aa9f4;
}

body.catmedia-home-shell {
  overflow-x: clip;
  background: #f0f0f0;
}

.quote-main {
  overflow-x: clip;
  color: #09091f;
  background: #f0f0f0;
}

.quote-stage {
  display: grid;
  height: 1044px;
  grid-template-columns: 36% 64%;
  background: #f0f0f0;
}

.quote-stage__visual {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(ellipse at 18% 38%, rgba(255,255,255,.75) 0 7%, transparent 24%),
    radial-gradient(ellipse at 68% 23%, rgba(255,255,255,.55) 0 9%, transparent 25%),
    linear-gradient(160deg, #7789ff 0%, #91a1ff 48%, #7185f4 100%);
}

.quote-stage__visual::before,
.quote-stage__visual::after {
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 390px;
  border: 42px solid rgba(255,255,255,.2);
  border-radius: 48% 52% 50% 50%;
  content: "";
  filter: blur(10px);
  transform: rotate(-18deg);
}

.quote-stage__visual::before {
  top: 120px;
  left: -310px;
}

.quote-stage__visual::after {
  right: -390px;
  bottom: 130px;
  transform: rotate(14deg);
}

.quote-stage__halo {
  position: absolute;
  top: 250px;
  left: 50%;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.82) 0, rgba(255,255,255,.33) 42%, transparent 70%);
  filter: blur(5px);
  transform: translateX(-50%);
}

.quote-stage__visual img {
  position: relative;
  z-index: 1;
  width: min(68%, 350px);
  margin-top: 86px;
  filter: drop-shadow(0 22px 24px rgba(46, 50, 125, .22));
  transform: translateY(-82px);
}

.quote-stage__content {
  padding: 168px clamp(48px, 6.75vw, 97px) 70px clamp(48px, 7.35vw, 106px);
}

.quote-stage__intro {
  max-width: 718px;
}

.quote-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.quote-stage h1 {
  margin: 0;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -2.3px;
  line-height: 1.04;
}

.quote-stage h1 em,
.quote-faq h2 em {
  color: #6072e8;
  font-family: "Margin", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.quote-stage__intro > p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: #5d5d6b;
  font-size: 15px;
  line-height: 1.45;
}

.quote-form {
  position: relative;
  display: grid;
  max-width: 718px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 26px;
  margin-top: 50px;
  padding: 34px 32px 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 35px rgba(60, 68, 126, .1);
}

.quote-form::before {
  position: absolute;
  top: -50px;
  right: 46px;
  width: 78px;
  height: 78px;
  background: url("../images/quote-2026/form-ornament-v2.png") center / contain no-repeat;
  filter: drop-shadow(0 12px 16px rgba(71, 69, 193, .18));
  content: "";
}

.quote-field {
  display: grid;
  gap: 7px;
}

.quote-field--full,
.quote-newsletter,
.quote-submit,
.quote-form__status {
  grid-column: 1 / -1;
}

.quote-field label {
  font-size: 14px;
  font-weight: 600;
}

.quote-field label span {
  color: #e83d4f;
}

.quote-field input,
.quote-field textarea,
.quote-field select,
.quote-phone select,
.quote-phone input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--quote-line);
  border-radius: 7px;
  outline: 0;
  background: var(--quote-field);
  color: #09091f;
  font: inherit;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.quote-field textarea {
  height: 118px;
  min-height: 118px;
  resize: vertical;
}

.quote-field input:focus,
.quote-field textarea:focus,
.quote-field select:focus,
.quote-phone select:focus,
.quote-phone input:focus {
  border-color: #6072e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(96, 114, 232, .16);
}

.quote-phone {
  display: grid;
  grid-template-columns: 92px 1fr;
}

.quote-phone select {
  border-radius: 7px 0 0 7px;
  border-right: 0;
}

.quote-phone input {
  border-radius: 0 7px 7px 0;
}

.quote-newsletter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5d5d6b;
  font-size: 13px;
}

.quote-newsletter input {
  width: 18px;
  height: 18px;
  accent-color: #6072e8;
}

.quote-submit {
  justify-self: start;
  min-height: 42px;
  padding: 8px 16px;
  border: 2px solid rgba(229, 167, 54, .5);
  font-size: 16px;
  font-weight: 600;
}

.quote-submit span {
  overflow: hidden;
}

.quote-submit span img {
  width: 18px;
  height: 18px;
  object-fit: cover;
}

.quote-submit[disabled] {
  cursor: wait;
  opacity: .7;
}

.quote-form__honeypot {
  position: absolute;
  left: -9999px;
}

.quote-form__status {
  min-height: 0;
  margin: 0;
  color: #5061d8;
  font-size: 13px;
}

.quote-form__status:empty {
  display: none;
}

.quote-client-strip {
  height: 135px;
  padding: 35px 0 38px;
  color: #fff;
  background: #5f73e9;
}

.quote-client-strip__inner {
  display: grid;
  height: 62px;
  grid-template-columns: 1.35fr repeat(6, minmax(80px, 1fr));
  align-items: center;
  gap: 24px;
}

.quote-client-strip__inner img {
  width: 115px;
  max-height: 38px;
  margin-inline: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(2.4);
  opacity: .78;
}

.quote-faq {
  height: 693px;
  padding: 70px 0 62px;
  background: #f0f0f0;
}

.quote-faq__layout {
  display: grid;
  height: 100%;
  grid-template-columns: 612px 1fr;
  align-items: center;
  gap: 90px;
}

.quote-faq__content {
  transform: translateY(-14px);
}

.quote-faq h2 {
  margin: 0 0 42px;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.05;
}

.quote-faq__list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #e3e7f8;
}

.quote-faq__item h3 {
  margin: 0;
}

.quote-faq__item button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 22px;
  border: 0;
  border-bottom: 1px solid rgba(96, 114, 232, .16);
  background: #dde2f8;
  color: #2f3fba;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.quote-faq__item button i {
  font-style: normal;
  transition: transform 160ms ease;
}

.quote-faq__item:not(.is-open) button i {
  transform: rotate(180deg);
}

.quote-faq__answer {
  padding: 17px 22px 20px;
  background: #e9ebf6;
}

.quote-faq__answer p {
  margin: 0;
  color: #5d5d6b;
  font-size: 14px;
  line-height: 1.5;
}

.js .quote-faq__item:not(.is-open) .quote-faq__answer {
  display: none;
}

.quote-faq__visual {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
}

.quote-faq__visual span {
  position: absolute;
  bottom: 110px;
  width: 510px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(103, 115, 235, .42), rgba(116, 129, 244, .1) 62%, transparent 72%);
}

.quote-faq__visual img {
  position: relative;
  z-index: 1;
  width: 360px;
  filter: drop-shadow(0 24px 20px rgba(50, 55, 110, .12));
  transform: translateY(-70px);
}

.quote-main + .home-footer {
  padding-top: 58px;
  background: radial-gradient(circle at 50% 118%, #384bd7 0, #171b69 18%, #09091f 47%);
}

.quote-main + .home-footer h2 {
  font-size: 18px;
}

.quote-main + .home-footer .home-footer__brand p,
.quote-main + .home-footer a,
.quote-main + .home-footer .home-footer__socials {
  font-size: 13px;
}

.quote-main + .home-footer .home-footer__socials img {
  width: 25px;
  height: 25px;
}

.quote-main + .home-footer .home-footer__bottom img {
  top: 95px;
  width: 75px;
  height: 105px;
}

.quote-main + .home-footer .home-footer__bottom {
  margin-top: 80px;
  padding-top: 37px;
}

@media (max-width: 1100px) {
  .quote-stage {
    grid-template-columns: 35% 65%;
  }

  .quote-stage__content {
    padding-inline: 38px;
  }

  .quote-faq__layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .quote-stage {
    height: auto;
    grid-template-columns: 1fr;
  }

  .quote-stage__visual {
    min-height: 520px;
  }

  .quote-stage__visual img {
    width: 300px;
    margin-top: 58px;
    transform: none;
  }

  .quote-stage__content {
    padding: 58px 34px 64px;
  }

  .quote-stage__intro,
  .quote-form {
    max-width: 100%;
  }

  .quote-faq {
    height: auto;
  }

  .quote-faq__layout {
    grid-template-areas:
      "faq-title"
      "faq-visual"
      "faq-list";
    grid-template-columns: 1fr;
  }

  .quote-faq__content {
    display: contents;
    transform: none;
  }

  .quote-faq h2 {
    grid-area: faq-title;
    grid-row: 1;
  }

  .quote-faq__visual {
    grid-area: faq-visual;
    grid-row: 2;
  }

  .quote-faq__list {
    grid-area: faq-list;
    grid-row: 3;
  }
}

@media (max-width: 720px) {
  body.catmedia-home-shell .home-header {
    background: #292c68;
  }

  .quote-stage__visual {
    min-height: 488px;
  }

  .quote-stage__halo {
    top: 130px;
    width: 300px;
    height: 300px;
  }

  .quote-stage__visual img {
    width: 250px;
    margin-top: 70px;
    transform: none;
  }

  .quote-stage__content {
    padding: 48px 20px 55px;
  }

  .quote-kicker {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .quote-stage h1 {
    font-size: 32px;
    letter-spacing: -1.45px;
  }

  .quote-stage__intro > p:last-child {
    font-size: 14px;
  }

  .quote-form {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 54px;
    padding: 27px 20px 18px;
  }

  .quote-field textarea {
    height: 156px;
    min-height: 156px;
  }

  .quote-field--full,
  .quote-newsletter,
  .quote-submit,
  .quote-form__status {
    grid-column: auto;
  }

  .quote-field label {
    font-size: 13px;
  }

  .quote-form::before {
    display: none;
  }

  .quote-client-strip {
    height: 118px;
    padding: 30px 0;
  }

  .quote-client-strip__inner {
    display: flex;
    gap: 22px;
    overflow: hidden;
  }

  .quote-client-strip__inner > * {
    min-width: 82px;
    flex: 1 0 22%;
  }

  .quote-client-strip__inner > :nth-child(n + 5) {
    display: none;
  }

  .quote-client-strip__inner img {
    width: 84px;
  }

  .quote-faq {
    padding: 55px 0 65px;
  }

  .quote-faq__layout {
    gap: 32px;
  }

  .quote-faq h2 {
    margin-bottom: 0;
    font-size: 32px;
    letter-spacing: -1.5px;
  }

  .quote-faq__visual {
    min-height: 302px;
  }

  .quote-faq__visual span {
    bottom: 18px;
    width: 330px;
    height: 62px;
  }

  .quote-faq__visual img {
    width: 225px;
    transform: none;
  }

  .quote-faq__item button {
    min-height: 56px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .quote-faq__answer {
    padding: 15px 16px 18px;
  }

  .quote-faq__answer p {
    font-size: 12px;
  }

  .quote-main + .home-footer {
    min-height: 633px;
    padding-top: 42px;
  }

  .quote-main + .home-footer .home-footer__bottom {
    margin-top: 147px;
    padding-top: 20px;
  }

  .quote-main + .home-footer .home-footer__bottom img {
    top: 60px;
  }

  .quote-main + .home-footer h2 {
    font-size: 14px;
  }

  .quote-main + .home-footer .home-footer__brand p,
  .quote-main + .home-footer a,
  .quote-main + .home-footer .home-footer__socials {
    font-size: 10px;
  }

  .quote-main + .home-footer .home-footer__socials img {
    width: 27px;
    height: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-faq__item button i {
    transition: none;
  }
}

/* Cintillo de marcas en movimiento (contacto). Mismas marcas que la portada. */
.quote-client-strip {
  padding: 30px 0;
}

.quote-client-strip__inner {
  height: 75px;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: visible;
}

.quote-client-strip__inner > .client-strip__note {
  flex: 0 0 auto;
  max-width: 190px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .86);
}

.quote-marquee {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  height: 74px;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.quote-marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0 9px;
  list-style: none;
  animation: quote-marquee 42s linear infinite;
}

.quote-marquee:hover .quote-marquee__track {
  animation-play-state: paused;
}

.quote-marquee__track li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 58px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(18, 18, 63, .14);
}

.quote-client-strip .quote-marquee__track img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 36px;
  margin: 0;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* Logos casi cuadrados: un poco más altos para que se lean igual que los alargados. */
.quote-client-strip .quote-marquee__track .is-gobierno-sv img,
.quote-client-strip .quote-marquee__track .is-finca-rauda img,
.quote-client-strip .quote-marquee__track .is-embajada-japon img {
  max-height: 44px;
}

@keyframes quote-marquee {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .quote-marquee { overflow-x: auto; }
  .quote-marquee__track { animation: none; }
  .quote-marquee__track + .quote-marquee__track { display: none; }
}

@media (max-width: 760px) {
  .quote-client-strip {
    height: auto;
    padding: 22px 0 18px;
  }

  .quote-client-strip__inner {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .quote-client-strip__inner > *,
  .quote-client-strip__inner > :nth-child(n + 5) {
    display: flex;
    min-width: 0;
    flex: 0 0 auto;
  }

  .quote-client-strip__inner > .client-strip__note {
    display: inline-flex;
    max-width: none;
    justify-content: center;
  }

  .quote-marquee__track {
    gap: 12px;
    padding: 0 6px;
    animation-duration: 34s;
  }

  .quote-marquee__track li {
    width: 124px;
    height: 50px;
    padding: 8px 14px;
  }

  .quote-client-strip .quote-marquee__track img {
    max-height: 30px;
  }
}
