/* FinClaro overrides on davefresh vendor theme — contrast + contact + cookies */

/* Vendor .section-padding is 120px top+bottom (style.css:2693). Keep one shared
   rhythm. Bootstrap .pt-0 on the vendor markup was flattening the TOP of
   temas / nosotros / acceso / porque so those blocks sat flush (and sometimes
   overlapped) the section above — restore the same padding-top. Inner wrappers
   (div.section-padding.pt-0) stay flush on purpose. */
.section-padding {
  padding: 88px 0;
}
section.section-padding.pt-0 {
  padding-top: 88px !important;
}
@media (max-width: 1199.98px) {
  .section-padding { padding: 72px 0; }
  section.section-padding.pt-0 { padding-top: 72px !important; }
}
@media (max-width: 991.98px) {
  .section-padding { padding: 56px 0; }
  section.section-padding.pt-0 { padding-top: 56px !important; }
}

/* Hero has no vendor padding-bottom; without it the temas cards kiss the photo. */
.hero-4 {
  padding-bottom: 48px;
}
@media (max-width: 991.98px) {
  .hero-4 { padding-bottom: 36px; }
}

/* Footer sat flush against contacto — keep the same air as other section tops. */
.footer-section-2.footer-section-4 {
  margin-top: 48px;
  padding-top: 72px;
}
@media (max-width: 991.98px) {
  .footer-section-2.footer-section-4 {
    margin-top: 32px;
    padding-top: 56px;
  }
}

/* Hero stat card overflows the masked photo between ~576–991px: vendor CSS grows the
   card's max-width at the 767.98px breakpoint while the image itself keeps shrinking,
   so the card spills outside the mask instead of sitting inside its notch.
   Fix: drop to the stacked/static layout earlier, before the overflow range starts. */
@media (max-width: 991.98px) {
  .hero-4 .image-box .customer-info {
    position: static;
    max-width: 100%;
    margin-top: 20px;
  }
}

/* Hero reader cluster: three circular portraits instead of the vendor collage PNG. */
.hero-4 .image-box .customer-info .client-img {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hero-4 .image-box .customer-info .client-img img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -14px;
  box-shadow: 0 0 0 1px rgba(11, 61, 46, 0.08);
}
.hero-4 .image-box .customer-info .client-img img:first-child {
  margin-left: 0;
}
@media (max-width: 767.98px) {
  .hero-4 .image-box .customer-info .client-img img {
    width: 36px;
    height: 36px;
    margin-left: -12px;
  }
}

/* Recorrido tabs: keep the mosaic height from collapsing when a filter has fewer cards. */
.project-wrapper-4 .tab-content {
  min-height: 853px;
}
@media (max-width: 1199.98px) {
  .project-wrapper-4 .tab-content {
    min-height: 0;
  }
}

/* Pricing card CTA: stack below the feature list instead of sitting beside it. */
.pricing-card-item-2 .pricing-right-ber {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.pricing-card-item-2 .pricing-right-ber .theme-btn,
.pricing-card-item-2 .pricing-right-ber .theme-btn.btn-style-one {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 12px;
  width: auto;
  max-width: none;
  height: 48px;
  min-height: 48px;
  padding: 0 10px 0 20px;
  font-size: 15px;
  font-weight: 700;
  color: #e8f5f0;
  background: #0b3d2e;
  background-image: none;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card-item-2 .pricing-right-ber .theme-btn.btn-style-one:hover {
  background: #165c45;
  background-image: none;
  background-position: 0 0;
  color: #fff;
}
.pricing-card-item-2 .pricing-right-ber .theme-btn .icon {
  position: static;
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 18px;
  flex-shrink: 0;
  background: #7bc9a6;
  color: #0b3d2e;
  border-radius: 50%;
  top: auto;
  right: auto;
  bottom: auto;
}
.pricing-card-item-2 .pricing-right-ber .theme-btn.btn-style-one:hover .icon {
  background: #e8f5f0;
  color: #0b3d2e;
  transform: none;
}
@media (max-width: 575.98px) {
  .pricing-card-item-2 .pricing-right-ber .theme-btn.btn-style-one {
    height: 48px;
    padding: 0 10px 0 18px;
  }
}

:root {
  --fc-ink-on-dark: #f0f7f4;
  --fc-muted-on-dark: rgba(240, 247, 244, 0.78);
}

/* Aleksei: no dark text on dark backgrounds */
.footer-section-4,
.footer-section-4 p,
.footer-section-4 a,
.footer-section-4 h3,
.section-bg-dark,
.pricing-section .pricing-block:not(.active) .title {
  color: var(--fc-ink-on-dark);
}

.footer-section-4 a:hover { color: #fff; }
.footer-text { color: var(--fc-muted-on-dark) !important; }

.footer__legal-df {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin: 1.5rem 0 .75rem;
}
.footer__legal-df a {
  color: var(--fc-ink-on-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__legal-df a:hover { color: #fff; }
.contact-list-2 li { color: var(--fc-muted-on-dark); }

.service-section-4 .service-block h3 a,
.about-section-4 h2,
.why-choose-section h2,
.project-section h2,
.pricing-section h2,
.testimonial-section h2 {
  color: #0b3d2e;
}

.hero-4 .hero-content p { color: #334155 !important; }

/* Vendor SVG masks live on wrappers — images must fill them (do not add border-radius on img) */
.hero-4 .image-box .image-1 {
  max-width: none;
}
.hero-4 .image-box .image-1 img,
.about-image-style-4 img,
.choose-us-image-items-4 .choose-image img,
.service-block-two .inner-box .content-box .image-column .inner-column .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Recursos photos: drop the vendor notch mask (it was for the overlay arrow). */
#recursos .service-block-two .inner-box .content-box .image-column .inner-column .image img {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: auto !important;
  mask-size: auto !important;
  border-radius: 16px;
}
#recursos .service-block-two .inner-box .content-box .image-column .inner-column .icon-box {
  display: none;
}

/* Masonry project grid — vendor JPG aspect ratios: 440×526 (col-xl-3) / 900×526 (col-xl-6) */
.project-image-4 img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 440 / 526;
}
.col-xl-6 .project-image-4 img,
.project-section-4 .col-xl-6 .project-image-4 img {
  aspect-ratio: 900 / 526;
}

/* Dark sections — readable text on green/dark backgrounds */
.why-choose-section-2 h2,
.why-choose-section-2 p,
.why-choose-section-2 .sub-title,
.why-choose-section-2 .service-block-two .title,
.why-choose-section-2 .text,
.why-choose-section-2 .list-item,
.why-choose-section-2 .list-item span,
.why-choose-section-2 .number {
  color: #f0f7f4 !important;
}

.testimonial-card-item .client-item,
.testimonial-card-item .client-item .info-text,
.testimonial-card-item .client-item h5,
.testimonial-card-item .client-item span {
  color: #f0f7f4;
}

/* Contact block */
.contact-section-df {
  background: linear-gradient(165deg, #f3faf7 0%, #fff 45%, #eef7f3 100%);
}
.contact-list-df {
  list-style: none;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: grid;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid rgba(11, 61, 46, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.05);
}
.contact-list-df li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.contact-list-df__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0b3d2e;
  color: #e8f5f0;
  font-size: 15px;
}
.contact-list-df li strong {
  display: block;
  margin-bottom: .2rem;
  color: #0b3d2e;
}
.contact-list-df a { color: #0b3d2e; font-weight: 600; }
.contact-form-df {
  background: #fff;
  border: 1px solid rgba(11, 61, 46, 0.12);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.06);
}
.contact-form-df label:not(.consent-check) { display: block; font-weight: 600; margin-bottom: .35rem; color: #0b3d2e; }
.contact-form-df input:not([type="checkbox"]),
.contact-form-df textarea {
  width: 100%;
  border: 1px solid rgba(11, 61, 46, 0.18);
  border-radius: 10px;
  padding: .75rem .9rem;
  margin-bottom: 0;
  background: #fff;
  color: #0b3d2e;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out, background 160ms ease-out;
}
.contact-form-df input:not([type="checkbox"]):focus,
.contact-form-df textarea:focus {
  outline: none;
  border-color: #40916c;
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.22);
}
.contact-form-df input.is-invalid,
.contact-form-df textarea.is-invalid {
  border-color: #b42318;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}
.contact-form-df input.is-valid,
.contact-form-df textarea.is-valid {
  border-color: #40916c;
}
.field-error {
  min-height: 1.15em;
  margin: .3rem 0 0;
  color: #b42318;
  font-size: .85rem;
  line-height: 1.3;
}
.consent-check.is-invalid {
  outline: 2px solid rgba(180, 35, 24, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}
.form-notice {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: #e8f5f0;
  color: #0b3d2e;
  font-weight: 600;
  border: 1px solid rgba(11, 61, 46, 0.12);
}
.contact-form-df.is-shake {
  animation: fc-form-shake 280ms ease-out;
}
@keyframes fc-form-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.contact-form-df .theme-btn.btn-style-one.contact-form-df__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  height: 48px;
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  color: #e8f5f0;
  background: #0b3d2e;
  background-image: none;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  transition: background 160ms ease-out, transform 100ms ease-out;
}
.contact-form-df .theme-btn.btn-style-one.contact-form-df__submit:hover {
  background: #165c45;
  background-image: none;
  background-position: 0 0;
  color: #fff;
}
.contact-form-df .theme-btn.btn-style-one.contact-form-df__submit:active {
  transform: scale(0.98);
}
.contact-form-df .theme-btn.btn-style-one.contact-form-df__submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}
.contact-form-df__submit .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(232, 245, 240, 0.35);
  border-top-color: #e8f5f0;
  border-radius: 50%;
}
.contact-form-df.is-sending .btn-spinner {
  display: inline-block;
  animation: fc-spin 700ms linear infinite;
}
@keyframes fc-spin { to { transform: rotate(360deg); } }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-height: 0;
  padding: 0;
}
.form-success[hidden] { display: none !important; }
.form-success__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.form-success__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin: 2px 0 0;
  border-radius: 50%;
  background: #e8f5f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success__icon svg { display: block; }
.form-success__icon circle {
  stroke: #0b3d2e;
  stroke-width: 2.5;
}
.form-success__icon path {
  stroke: #0b3d2e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: fc-check 420ms 120ms ease-out forwards;
}
.form-success h3 {
  margin: 0 0 .25rem;
  color: #0b3d2e;
  font-size: 1.2rem;
  outline: none;
}
.form-success p {
  margin: 0;
  color: #44554e;
  max-width: 42ch;
  line-height: 1.5;
}
.form-success__ref {
  margin-top: .45rem !important;
  font-size: .85rem;
  font-weight: 600;
  color: #0b3d2e;
  letter-spacing: 0.02em;
}
.contact-form-df.is-sent {
  flex: 0 0 auto;
  align-self: flex-start;
  width: 100%;
  min-height: 0;
}
.contact-form-df.is-sent .contact-form-df__title { display: none; }
.contact-form-df__again {
  background: none;
  border: 0;
  padding: 0;
  color: #0b3d2e;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.contact-form-df__again:hover { color: #165c45; }
@keyframes fc-check {
  to { stroke-dashoffset: 0; }
}

/* S2 icon-pick + S4 honeypot */
.verify-block {
  margin: 0;
  padding: 0.95rem 1rem 0.85rem;
  border: 1px solid rgba(11, 61, 46, 0.12);
  border-radius: 12px;
  background: #f7fbf9;
}
.verify-block.is-invalid {
  border-color: #b42318;
  background: #fff8f7;
}
.verify-icons__hint {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: #44554e;
  line-height: 1.4;
}
.verify-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.verify-icons__item {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(11, 61, 46, 0.18);
  background: #fff;
  color: #0b3d2e;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, transform 100ms ease-out;
}
.verify-icons__item:hover {
  border-color: #40916c;
}
.verify-icons__item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.22);
}
.verify-icons__item:active { transform: scale(0.96); }
.verify-icons__item.is-on,
.verify-icons__item[aria-checked="true"] {
  background: #0b3d2e;
  border-color: #0b3d2e;
  color: #e8f5f0;
}
.sr-only-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.form-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: calc(100% - 2rem);
  padding: .85rem 1.15rem;
  border-radius: 12px;
  background: #0b3d2e;
  color: #e8f5f0;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(11, 61, 46, 0.28);
  transform: translate(-50%, -12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease-out, opacity 220ms ease-out;
}
.form-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.form-toast[hidden] { display: none !important; }
.form-toast.is-visible[hidden] { display: flex !important; }
.form-toast__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #7bc9a6;
  position: relative;
}
.form-toast__icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid #0b3d2e;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .contact-form-df.is-shake,
  .form-success__icon path,
  .contact-form-df.is-sending .btn-spinner,
  .form-toast,
  .verify-icons__item { animation: none; transition: none; }
  .form-success__icon path { stroke-dashoffset: 0; }
  .form-toast { transform: translate(-50%, 0); }
  .verify-icons__item:active { transform: none; }
}
.consent-check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-weight: 400;
  margin: 1rem 0 .25rem;
}
.consent-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #0b3d2e;
}
.contact-map-df,
.map-embed {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(11, 61, 46, 0.12);
  aspect-ratio: 16 / 11;
}
.contact-map-df iframe,
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Cookie banner — vendor `p { color:#646464 }` beats inherited .cookie color */
.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: #0b3d2e;
  color: #f0f7f4;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  max-width: 62rem;
  margin-inline: auto;
}
.cookie,
.cookie p,
.cookie__text,
.cookie__text strong {
  color: #f0f7f4 !important;
}
.cookie[hidden] { display: none !important; }
body.mobile-menu-visible .cookie { visibility: hidden; pointer-events: none; }
.cookie__text strong { display: block; margin-bottom: .25rem; }
.cookie__text a {
  color: #c8f5dc !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.cookie__btn {
  padding: .55rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(240, 247, 244, 0.45);
  background: transparent;
  color: #f0f7f4 !important;
  cursor: pointer;
}
.cookie__btn--accept {
  background: #c8f5dc;
  border-color: #c8f5dc;
  color: #0b3d2e !important;
  font-weight: 700;
}
@media (max-width: 575.98px) {
  .cookie {
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    padding: .85rem 1rem;
    gap: .6rem;
    max-height: 42vh;
    overflow-y: auto;
  }
  .cookie p {
    font-size: .8rem;
    line-height: 1.4;
    margin: 0;
  }
  .cookie__actions {
    margin-left: 0;
    width: 100%;
  }
  .cookie__btn {
    flex: 1 1 calc(50% - .25rem);
    font-size: .82rem;
    padding: .45rem .65rem;
  }
}

.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 40, 24, 0.55);
}
.modal__dialog {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  max-width: 32rem;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}
.modal__opt { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #e8efea; }
.modal__footer { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }
.btn--ghost, .btn--primary {
  padding: .65rem 1.1rem;
  border-radius: 8px;
  border: 1px solid #d8e2dc;
  background: #fff;
  cursor: pointer;
}
.btn--primary {
  background: #0b3d2e;
  border-color: #0b3d2e;
  color: #f0f7f4;
}

/* Legal pages */
.legal-page-section { background: #fff; }
.legal-doc {
  max-width: 68ch;
  margin: 0 auto;
  color: #334155;
  line-height: 1.7;
  font-size: 1.02rem;
}
.legal-doc .section__label,
.legal-doc .sub-title {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #40916c;
}
.legal-doc__updated {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: #eef7f3;
  color: #334155;
  font-size: 0.85rem;
}
.legal-doc h1 { color: #0b3d2e; margin-bottom: 0.75rem; }
.legal-doc__lead { color: #334155; font-size: 1.1rem; margin-bottom: 1.5rem; }
.legal-doc h2 {
  color: #0b3d2e;
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #d8e2dc;
}
.legal-doc h3 { color: #0b3d2e; font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.legal-doc p { margin: 0 0 1rem; }
.legal-doc ul, .legal-doc ol { margin: 0 0 1rem; padding-left: 1.3em; }
.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc a { color: #1b6b4a; text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: #0b3d2e; }
.legal-doc strong { color: #0b3d2e; }
.legal-doc code {
  font-size: 0.88em;
  background: #eef7f3;
  border: 1px solid #d8e2dc;
  border-radius: 4px;
  padding: 0.1em 0.4em;
  color: #1b6b4a;
}
.legal-doc__note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: #eef7f3;
  border-left: 3px solid #40916c;
  border-radius: 6px;
}
.legal-doc__note p:last-child { margin-bottom: 0; }
.legal-doc__table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  border: 1px solid #d8e2dc;
}
.legal-doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.legal-doc thead th { background: #eef7f3; color: #0b3d2e; text-align: left; padding: 0.65rem 0.85rem; }
.legal-doc td, .legal-doc th { padding: 0.55rem 0.85rem; border-bottom: 1px solid #e8efea; }

@media (prefers-reduced-motion: reduce) {
  .wow { visibility: visible !important; animation: none !important; }
}

/* Interaction polish — hover/press feedback the vendor theme declared transitions for but never triggered. */
.theme-btn:active { transform: scale(0.97); }

.service-card-items-4 {
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.service-card-items-4:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 61, 46, 0.1);
}
.service-card-items-4:hover .service-icon .icon { color: var(--theme-color1, #7bc9a6); }
.service-card-items-4:hover .service-icon .icon i { transform: scale(1.08); }

.pricing-card-item-2 {
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.pricing-card-item-2:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(11, 61, 46, 0.1);
}

@media (hover: none) and (pointer: coarse) {
  .service-card-items-4:hover,
  .pricing-card-item-2:hover { transform: none; box-shadow: none; }
  .faq-item:not([open]):hover {
    border-color: rgba(11, 61, 46, 0.1);
    box-shadow: 0 8px 24px rgba(11, 61, 46, 0.06);
  }
}
/* Pricing — distinguish the entry-level tier by emphasis, not by fake "premium" height/badge.
   All three tiers are free; Descubrimiento is the natural starting point for FinClaro's
   beginner-first audience, so it gets the accent — not the middle card by default convention. */
.pricing-card-item-2.is-recommended::before {
  border-color: #0b3d2e;
  border-width: 2px;
}
.pricing-card-item-2.is-recommended .pricing-left-ber .pricing-icon {
  color: #0b3d2e;
}
.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 100px;
  background: #0b3d2e;
  color: #e8f5f0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(11, 61, 46, 0.25);
}
/* Same inner padding on every card so the absolute badge cannot shift content. */
@media (max-width: 767.98px) {
  .pricing-card-item-2,
  .pricing-card-item-2.is-recommended {
    padding-top: 36px;
  }
  .pricing-card-item-2 .pricing-left-ber .pricing-icon::before {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-btn:active,
  .service-card-items-4:hover,
  .pricing-card-item-2:hover { transform: none; }
}

/* Temas cards: one row, equal height — kill leftover WOW translateY stagger. */
#temas .temas-row {
  align-items: stretch;
}
#temas .temas-row > [class*="col-"] {
  display: flex;
  transform: none !important;
}
#temas .service-card-items-4 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
#temas .service-card-items-4 .content {
  margin-top: auto;
  padding-top: 2.5rem;
}

/* Cómo funciona — padded cards, not a stuck text strip */
.fc-steps {
  background: #f3faf7;
  padding: 96px 0 100px;
}
.fc-steps__label { margin-bottom: 12px; }
.fc-steps h2 { color: #0b3d2e; max-width: 18ch; margin: 0 0 2.5rem; }
.fc-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fc-steps__list li {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11, 61, 46, 0.1);
  border-radius: 20px;
  padding: 28px 28px 32px;
  box-shadow: 0 10px 28px rgba(11, 61, 46, 0.06);
}
.fc-steps__list li:not(:last-child)::after { display: none; }
.fc-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.15rem;
  border-radius: 12px;
  background: #0b3d2e;
  color: #e8f5f0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.fc-steps h3 { color: #0b3d2e; font-size: 1.25rem; margin: 0 0 0.6rem; }
.fc-steps p { color: #44554e; margin: 0; line-height: 1.6; }
@media (max-width: 991.98px) {
  .fc-steps { padding: 72px 0 80px; }
  .fc-steps__list { grid-template-columns: 1fr; gap: 16px; }
  .fc-steps h2 { max-width: none; }
}

/* Mobile type: vendor 56px headings wrap mid-word and tuck under the sticky bar. */
.hero-4 .hero-content h1 { line-height: 1.12; }
.legal-doc h1 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
html { overflow-x: hidden; }
@media (max-width: 767.98px) {
  .hero-4 .hero-content h1 {
    font-size: 2.05rem;
    line-height: 1.18;
  }
  .fc-steps h2,
  .sec-title h2,
  .about-content-style-4 h2,
  .choose-content-4 h2,
  .faq-section h2 {
    font-size: 1.85rem;
    line-height: 1.22;
  }
  .legal-doc h1 {
    font-size: 1.75rem;
    line-height: 1.22;
  }
}

/* Contacto: columns keep their own natural height — the info+map column and the form
   card are different content, forcing them to match (flex:1 on the row/map/form) just
   stretched the form card and dumped the leftover as dead space after the submit button. */
.contact-df-row { align-items: flex-start; }
.contact-df-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.contact-form-df {
  display: flex;
  flex-direction: column;
}
.contact-map-df { min-height: 240px; }

/* Swiper — compact cards, no full-bleed stretch */
.testimonial-wrapper-2 {
  margin-left: 0;
  margin-right: 0;
}
.testimonial-slider-2 {
  overflow: hidden;
  padding-bottom: 8px;
}
.testimonial-slider-2 .swiper-wrapper {
  align-items: stretch;
}
.testimonial-slider-2 .swiper-slide {
  height: auto;
  display: flex;
}
.testimonial-card-item {
  height: 100%;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}
.testimonial-card-item .client-item {
  align-self: stretch;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-card-item .content {
  flex: 1 1 auto;
  min-width: 0;
}
.testimonial-card-item .content p {
  margin-bottom: 0;
}
.testimonial-card-item .content .quote-icon {
  width: 40px;
  height: 40px;
  font-size: 18px;
  line-height: 40px;
  top: -8px;
}
.testimonial-card-item .content .quote-icon .test-triangle {
  top: 6px;
}
.testimonial-card-item .content .quote-icon .test-triangle::before {
  border-left-width: 7px;
  border-bottom-width: 7px;
}
.testimonial-card-item .content .star {
  margin-top: 36px;
}
.fc-swiper-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.fc-swiper-prev,
.fc-swiper-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(11, 61, 46, 0.18);
  background: #fff;
  color: #0b3d2e;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.fc-swiper-prev:hover,
.fc-swiper-next:hover {
  background: #0b3d2e;
  border-color: #0b3d2e;
  color: #e8f5f0;
}
.dot2.swiper-pagination-horizontal {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
  position: static;
}
.dot2 .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 100px;
  background: rgba(11, 61, 46, 0.22);
  opacity: 1;
  transition: width 220ms ease, background 220ms ease;
}
.dot2 .swiper-pagination-bullet-active {
  width: 28px;
  background: #0b3d2e;
}
@media (hover: none) and (pointer: coarse) {
  .fc-swiper-prev:hover,
  .fc-swiper-next:hover {
    background: #fff;
    border-color: rgba(11, 61, 46, 0.18);
    color: #0b3d2e;
  }
}

/* About CTA: vendor parks the arrow in position:absolute; overflow:hidden on
   .btn-style-one clips it once padding-right shrinks on small screens.
   Same solid treatment as pricing CTAs so white label + arrow stay readable. */
.about-content-style-4 .info {
  align-items: center;
}
.about-content-style-4 .info .theme-btn.btn-style-one {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  min-height: 48px;
  padding: 0 10px 0 20px;
  overflow: visible;
  white-space: nowrap;
  line-height: 1;
  font-size: 15px;
  font-weight: 700;
  color: #e8f5f0;
  background: #0b3d2e;
  background-image: none;
  border-radius: 100px;
}
.about-content-style-4 .info .theme-btn.btn-style-one:hover {
  background: #165c45;
  background-image: none;
  color: #fff;
}
.about-content-style-4 .info .theme-btn.btn-style-one .icon {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  line-height: 1;
  font-size: 16px;
  flex-shrink: 0;
  top: auto;
  right: auto;
  bottom: auto;
  background: #7bc9a6;
  color: #0b3d2e;
  border-radius: 50%;
}
.about-content-style-4 .info .theme-btn.btn-style-one:hover .icon {
  background: #e8f5f0;
  color: #0b3d2e;
}
.about-content-style-4 .info .theme-btn.btn-style-one .icon i,
.about-content-style-4 .info .theme-btn.btn-style-one .icon i:before {
  font-size: 16px;
  line-height: 1;
  display: block;
}

@media (max-width: 767.98px) {
  /* Hero: drop the desktop SVG notch mask — just a rounded photo. */
  .hero-4 .image-box .image-1 {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
  }
  .hero-4 .image-box .image-1 img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Recursos: stacked cards, not accordion + 269px min-width list overflow. */
  .why-choose-section-2 {
    margin: 0 12px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 20px;
    overflow: hidden;
  }
  .why-choose-section-2::before {
    border-radius: 20px;
  }
  #recursos .circle-shape { display: none; }
  #recursos .service-block-two .inner-box .content-box {
    display: block !important;
    padding: 12px 0 16px;
  }
  #recursos .service-block-two .inner-box .title-box {
    flex-direction: row !important;
    text-align: left;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    cursor: default;
  }
  #recursos .service-block-two .inner-box .title-box .number {
    margin: 0;
    font-size: 15px;
    flex-shrink: 0;
  }
  #recursos .service-block-two .inner-box .title-box .title {
    font-size: 1.1rem;
    line-height: 1.25;
    flex: 1;
  }
  #recursos .service-block-two .inner-box .title-box .icon-box {
    font-size: 22px;
    margin-left: auto;
    margin-right: 0;
    top: 0;
  }
  #recursos .service-block-two .inner-box .content-box .image-column .inner-column .image img {
    aspect-ratio: 16 / 10;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: cover;
  }
  #recursos .service-block-two .inner-box .content-box .content-column .inner-column {
    padding: 12px 0 0;
  }
  #recursos .service-block-two .inner-box .content-box .content-column .inner-column .text,
  #recursos .info-list .list-item,
  #recursos .info-list .list-item span {
    color: #fff !important;
  }
  #recursos .info-list .list-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-right: 0;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
  }
  #recursos .info-list .list-item span {
    min-width: 0;
    display: block;
    font-weight: 600;
  }

  /* Recorrido mosaic: 2-col grid, same ratio, titles always visible. */
  .project-section-4 {
    overflow-x: hidden;
  }
  .project-wrapper-4 {
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }
  .project-wrapper-4 .row {
    margin-left: -6px;
    margin-right: -6px;
    align-items: stretch;
  }
  .project-wrapper-4 .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
    padding-left: 6px;
    padding-right: 6px;
    animation: none !important;
    transform: none !important;
    visibility: visible !important;
  }
  .project-section-4 .nav {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start !important;
  }
  .project-section-4 .nav .nav-item .nav-link {
    font-size: 14px;
    padding: 8px 14px;
  }
  .project-image-4 {
    margin-top: 8px;
    border-radius: 14px;
    overflow: hidden;
  }
  .project-image-4 img,
  .col-xl-6 .project-image-4 img,
  .project-section-4 .col-xl-6 .project-image-4 img {
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
  }
  .project-image-4::before,
  .project-image-4:hover::before {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: linear-gradient(180deg, transparent 28%, rgba(11, 61, 46, 0.88) 100%);
  }
  .project-image-4 .title,
  .project-image-4:hover .title {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 13px;
    line-height: 1.25;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  }
}
