:root {
  --ap-ink: #4d4d4d;
  --ap-dark: #333333;
  --ap-paper: #f3f3f3;
  --ap-soft: #fafafa;
  --ap-white: #f7f7f7;
  --ap-red: #e52713;
  --ap-footer: #272727;
  --ap-header-h: 94px;
  --header-h: 94px;
  --bs-body-font-family: "Manrope", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ap-ink);
  background: #fff;
  font-family: "Manrope", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
}

@media (min-width: 992px) {
  .container-lg {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .container-lg {
    max-width: 1316px;
  }
}

@media (min-width: 1400px) {
  .container-lg {
    max-width: 1316px;
  }
}

.panel-side-logo {
  width: 56px;
  height: 56px;
  background: url("../assets/img/Almagro-logo.svg") center / contain no-repeat;
}

.side-panel_body nav a {
  color: var(--ap-ink);
}

.ap-section {
  padding: 112px 0;
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  height: 42px;
  margin-top: 14px;
  padding: 0 24px;
  border: 0;
  border-radius: 50px;
  background: var(--ap-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.ap-btn:hover {
  background: #222;
  color: #fff;
}

.ap-btn-red {
  background: var(--ap-red);
}

.ap-btn-red:hover {
  background: #c91f0e;
}

.ap-cta-mobile {
  display: none;
}

.ap-icon {
  display: block;
  object-fit: contain;
}

.ap-title {
  margin: 0 0 28px;
  color: var(--ap-ink);
  font-size: clamp(32px, 3.3vw, 45px);
  font-weight: 400;
  line-height: 1.16;
}

.ap-title span {
  color: var(--ap-red);
  font-weight: 800;
}

.ap-copy p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.4;
}

.ap-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

.ap-hero-bg,
.ap-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ap-hero-bg {
  z-index: -2;
  object-fit: cover;
  object-position: center 10%;
}

.ap-hero-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.9) 100%);
}

.ap-hero-inner {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 152px;
  color: #fff;
  text-align: center;
}

.ap-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 60px);
  font-weight: 800;
  line-height: 1.08;
}

.ap-hero p {
  max-width: 820px;
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.28;
}

.ap-hero-badges {
  position: absolute;
  right: 15px;
  bottom: clamp(34px, 6vh, 68px);
  left: 15px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 54px);
  width: min(calc(100% - 30px), 860px);
  margin: 0 auto;
}

.ap-hero-badges span {
  display: grid;
  grid-template-rows: 34px auto;
  gap: 10px;
  justify-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.ap-hero-badges img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.62;
}

.ap-property-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
}

.ap-split,
.ap-process-grid,
.ap-contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 528px) minmax(0, 1fr);
  gap: clamp(58px, 9vw, 134px);
  align-items: center;
}

.ap-image-tall {
  margin: 0;
  overflow: hidden;
}

.ap-image-tall img,
.ap-image-tall video {
  width: 100%;
  min-height: 520px;
  aspect-ratio: 528 / 684;
  object-fit: cover;
}

.ap-image-tall video {
  display: block;
  background: #e8e8e8;
}

.ap-about {
  background: #fff;
}

.ap-about-slider {
  position: relative;
  margin-top: clamp(58px, 9vw, 108px);
  padding-right: 78px;
}

.ap-about-track {
  min-height: 88px;
}

.ap-about-slider .ap-highlight {
  display: none;
}

.ap-about-slider .ap-highlight.is-active {
  display: grid;
}

.ap-highlight {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 0;
}

.ap-about-dots {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  gap: 7px;
  transform: translateY(-50%);
}

.ap-about-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(229, 39, 19, 0.32);
}

.ap-about-dots button.is-active {
  background: var(--ap-red);
}

.ap-highlight .ap-icon {
  width: 43px;
  height: 43px;
}

.ap-highlight strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ap-ink);
  font-size: 18px;
  line-height: 1.25;
}

.ap-highlight p {
  margin: 0;
  max-width: 470px;
  font-size: 16px;
  line-height: 1.3;
}

.ap-process {
  background: var(--ap-dark);
  color: #fff;
}

.ap-process-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 528px);
}

.ap-copy-light .ap-title,
.ap-copy-light p {
  color: #fff;
}

.ap-step-card {
  margin-top: clamp(72px, 10vw, 116px);
  max-width: 640px;
  color: #fff;
}

.ap-step-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.25;
}

.ap-step-card p {
  min-height: 92px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.45;
}

.ap-step-controls {
  display: grid;
  grid-template-columns: 42px auto 42px;
  gap: 22px;
  align-items: center;
  width: fit-content;
}

.ap-step-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.ap-step-controls button img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.ap-step-prev img {
  transform: rotate(180deg);
}

.ap-step-controls span {
  color: #fff;
  min-width: 70px;
  font-size: 14px;
  font-weight: 400;
  line-height: 42px;
  text-align: center;
}

.ap-ppp {
  background: var(--ap-paper);
}

.ap-centered {
  max-width: 870px;
  margin: 0 auto 72px;
  text-align: center;
}

.ap-centered p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.ap-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.ap-benefits article {
  text-align: center;
}

.ap-benefits .ap-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
}

.ap-benefits h3 {
  margin: 0 0 14px;
  color: var(--ap-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.ap-benefits p {
  margin: 0 auto;
  max-width: 300px;
  font-size: 16px;
  line-height: 1.35;
}

.ap-center-action {
  display: flex;
  justify-content: center;
  margin-top: 58px;
}

.ap-contact {
  background: var(--ap-soft);
}

.ap-contact-grid {
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1fr);
  align-items: start;
}

.ap-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 24px;
}

.ap-form label {
  display: block;
  margin: 0;
  color: var(--ap-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.ap-form input,
.ap-form select,
.ap-form textarea {
  width: 100%;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #9d9d9d;
  border-radius: 0;
  background: transparent;
  color: var(--ap-ink);
  font: inherit;
  font-weight: 400;
}

.ap-form input,
.ap-form select {
  height: 48px;
}

.ap-form textarea {
  min-height: 96px;
  padding-top: 13px;
  resize: vertical;
}

.ap-form input::placeholder {
  color: #b3b3b3;
}

.ap-form textarea::placeholder {
  color: #b3b3b3;
}

.ap-form input.is-invalid {
  border-color: var(--ap-red);
}

.ap-field-error {
  display: none;
  margin-top: 8px;
  color: var(--ap-red);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.ap-field-error.is-visible {
  display: block;
}

.ap-form-wide {
  grid-column: 1 / -1;
}

.ap-form .ap-btn {
  width: 197px;
  margin-top: 10px;
}

.ap-form small {
  align-self: center;
  color: var(--ap-ink);
  font-size: 10px;
  line-height: 1.3;
}

.ap-footer {
  padding: 94px 0 48px;
  background: var(--ap-footer);
  color: #fff;
}

.ap-footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 8vw, 134px);
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.ap-footer-contact .ap-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 34px;
}

.ap-footer-contact h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.ap-footer-contact p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

.ap-footer-contact a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ap-footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 34px;
  align-items: end;
  padding-top: 36px;
}

.ap-footer-bottom p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

.ap-footer-bottom img {
  width: 64px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.ap-footer-bottom .ap-footer-logo {
  filter: none;
  opacity: 1;
}

.ap-social {
  display: flex;
  gap: 18px;
}

.ap-social a {
  display: inline-flex;
  width: 21px;
  height: 21px;
}

.ap-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-menu-container {
  z-index: 1200;
}

.floating-menu-container .menu-item:hover .label,
.floating-menu-container .menu-item.is-active .label {
  max-width: 230px;
}

.floating-menu-container .menu-item img {
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .ap-split,
  .ap-process-grid,
  .ap-contact-grid {
    grid-template-columns: 1fr;
  }

  .ap-process-grid figure {
    order: -1;
  }

  .ap-benefits,
  .ap-footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-contact-grid {
    gap: 48px;
  }

  .ap-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  :root {
    --ap-header-h: 65px;
    --header-h: 65px;
  }

  .Web-Header {
    padding: 0 !important;
    background: #f7f7f7;
  }

  body {
    padding-top: 0;
  }

  .Web-Header .navigation-relative,
  .Web-Header .navigation-sticky {
    background: #f7f7f7;
    border-bottom: 1px solid #eaeaea;
    padding: 0 !important;
  }

  .Web-Header .main-header {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
  }

  .Web-Header .header-container {
    width: 100%;
    max-width: none;
    height: 65px;
    padding-left: 20px;
    padding-right: 0 !important;
  }

  .Web-Header .main-header,
  .Web-Header .header-row,
  .Web-Header .header-row > [class^=col-header] {
    min-height: 65px;
    height: 65px;
    margin: 0;
  }

  .Web-Header .col-header_left.col-logo {
    flex: 0 0 50px;
    max-width: 50px;
  }

  .Web-Header .header-logo a,
  .Web-Header .figure-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
  }

  .Web-Header .figure-logo .logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }

  .Web-Header .col-header_right {
    position: relative;
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
    padding-right: 0;
  }

  .Web-Header .main-navigation {
    position: absolute;
    top: 0;
    right: 0;
    height: 65px;
  }

  .Web-Header .main-navigation ul {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    height: 65px;
    margin: 0;
    padding: 0;
  }

  .Web-Header .main-navigation ul li {
    display: none;
  }

  .Web-Header .main-navigation ul li:last-child {
    display: block;
    margin: 0 !important;
    flex: 0 0 120px;
  }

  .Web-Header .col-header.col-header_right .main-navigation > ul > li,
  .Web-Header .col-header.col-header_right .main-navigation > ul > li:last-child {
    margin: 0 !important;
  }

  .Web-Header .main-navigation .cta_header {
    min-width: 0;
    max-width: none;
    width: 120px;
    height: 65px;
    padding: 0 12px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ap-red);
    color: #f7f7f7;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    margin: 0;
    border: 0;
  }

  .ap-cta-desktop {
    display: none;
  }

  .ap-cta-mobile {
    display: inline;
  }

  .Web-Header .openSideMenu {
    position: absolute;
    top: 50%;
    right: 142px;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
  }

  .Web-Header .menu-burger {
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: url("../assets/figma/navbar-mobile/ico-menu-mobile.svg") center/40px 40px no-repeat;
  }

  .Web-Header .menu-burger span {
    display: none;
  }

  .side-panel {
    width: 100%;
    max-width: 100%;
  }

  .side-panel_inner {
    padding: 28px 28px 48px;
  }

  .side-panel_head {
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 0;
  }

  .panel-side-logo {
    width: 58px;
    height: 58px;
  }

  .btnPanelMenu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: 4px;
  }

  .side-panel_body {
    padding-top: 24px;
  }

  .side-panel_body nav ul {
    margin: 0;
    padding: 0;
  }

  .side-panel_body nav ul li {
    margin-bottom: 16px;
  }

  .side-panel_body nav ul li a {
    justify-content: flex-start;
    background: transparent;
    color: var(--ap-ink);
    font-size: 21px;
    line-height: 1.2;
    text-align: left;
  }

  .side-panel_body .ap-btn {
    width: fit-content;
    min-width: 172px;
    height: 42px;
    margin-top: 34px !important;
    padding: 0 28px;
    background: var(--ap-red);
    color: #fff;
    font-size: 16px;
  }

  .ap-section {
    padding: 76px 0;
  }

  .ap-hero,
  .ap-hero-inner {
    min-height: calc(100vh - var(--header-h));
  }

  .ap-hero-inner {
    padding-top: 44px;
    padding-bottom: 132px;
  }

  .ap-hero-bg {
    object-position: center 10%;
  }

  .ap-hero h1 {
    font-size: 36px;
  }

  .ap-hero p,
  .ap-copy p,
  .ap-centered p {
    font-size: 16px;
  }

  .ap-hero-badges {
    right: 18px;
    bottom: 28px;
    left: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - 36px);
    max-width: none;
    gap: 12px;
  }

  .ap-hero-badges span {
    grid-template-rows: 24px auto;
    gap: 7px;
    font-size: 11px;
  }

  .ap-hero-badges img {
    width: 24px;
    height: 24px;
  }

  .ap-title {
    font-size: 31px;
  }

  .ap-image-tall img {
    min-height: 420px;
  }

  .ap-highlight {
    margin-top: 54px;
  }

  .ap-about-slider {
    margin-top: 54px;
    padding-right: 0;
    padding-bottom: 28px;
  }

  .ap-about-track {
    min-height: 124px;
  }

  .ap-about-slider .ap-highlight {
    margin-top: 0;
  }

  .ap-about-dots {
    top: auto;
    right: auto;
    bottom: 0;
    left: 63px;
    transform: none;
  }

  .ap-step-card {
    margin-top: 58px;
  }

  .ap-step-controls {
    grid-template-columns: 42px auto 42px;
    gap: 14px;
  }

  .ap-step-controls button {
    width: 42px;
    height: 42px;
  }

  .ap-step-controls button img {
    width: 42px;
    height: 42px;
  }

  .ap-step-controls span {
    min-width: 58px;
    font-size: 14px;
  }

  .ap-benefits,
  .ap-footer-contact,
  .ap-form,
  .ap-footer-bottom {
    grid-template-columns: 1fr;
  }

  .ap-benefits {
    gap: 44px;
  }

  .ap-footer-bottom {
    text-align: center;
    justify-items: center;
  }

  .ap-social {
    justify-content: center;
  }
}

.gracias {
  display: none;
}
