/* ============================================================
   PORTIKO — Custom Stylesheet
   Stack: Bootstrap 5 + GSAP + jQuery
   Design source: Figma node 195:56
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --orange:          #f04e25;
  --red:             #e94425;
  --purple-dark:     #2c1d44;
  --purple-mid:      #a585bd;
  --purple-light:    #a684bc;
  --purple-form:     rgba(166, 132, 188, 0.92);
  --cream:           #ffecd3;
  --cream-bg:        #fff8f2;
  --cream-card:      #faecd6;
  --beige-card:      #eee1cb;
  --navy:            #130b38;
  --navy-mid:        #291d42;
  --lime:            #c4f921;
  --dark-text:       #211b0e;
  --body-text:       #49454d;
  --brown-text:      #5b403b;
  --white-90:        rgba(255,255,255,0.9);
  --font-manrope:    'Manrope', sans-serif;
  --font-inter:      'Inter', sans-serif;
  --font-script:     'Dancing Script', cursive;
  --font-jakarta:    'Plus Jakarta Sans', sans-serif;
}

/* ── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-inter);
  background: var(--cream-bg);
  color: var(--dark-text);
  overflow-x: hidden;
}

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

@font-face{font-family: "Blitz-Script";src:url(Blitz-Script.otf);}

/* ── Utility overrides ───────────────────────────────────── */
.section-label {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 5.6px;
  text-transform: uppercase;
  line-height: 20px;
}

.script-heading {
  font-family: var(--font-script);
  font-weight: 700;
  font-style: italic;
  line-height: 0.88;
}

.gsap-fade { opacity: 0; }
.gsap-slide-up { opacity: 0; transform: translateY(40px); }
.gsap-slide-left { opacity: 0; transform: translateX(-40px); }
.gsap-slide-right { opacity: 0; transform: translateX(40px); }

/* ============================================================
   1. NAVBAR
   ============================================================ */
#mainNav {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

#mainNav .navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#mainNav .navbar-logo img {
  height: 40px;
  width: auto;
}

#mainNav .nav-links {
  display: flex;
  gap: 48px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainNav .nav-links a {
  font-family: var(--font-manrope);
  font-size: 16px;
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 6px;
}

#mainNav .nav-links a:hover { color: var(--red); }

#mainNav .nav-links a.active {
  color: var(--red);
  font-weight: 700;
  border-bottom: 2px solid var(--red);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--purple-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 28px;
  color: var(--cream);
  text-decoration: none;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 32px;
  cursor: pointer;
}

/* ============================================================
   2. HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: calc(100vh - 88px);
  background: var(--cream-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
}

#hero .video-hero {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#hero .video-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg {
  position: absolute;
  inset: 0 0 -148px -231px;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  left: 0;
  top: -19.5%;
  width: 100%;
  height: 139%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,254,254,0.2) 0%, rgba(0,0,0,0.45) 61%),
    linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 175px 32px 45px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
  flex: 0 0 auto;
  max-width: 600px;
}

.hero-text .welcome-script {
  font-family: var(--font-script);
  font-size: 48px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-text h1 {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: clamp(42px, 5vw, 70px);
  color: #fff;
  letter-spacing: -4.8px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-text .hero-desc {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 22px;
  color: var(--white-90);
  line-height: 1.5;
  max-width: 520px;
}

/* Hero Form Panel */
.hero-form-panel {
  flex: 0 0 439px;
  background: var(--purple-form);
  padding: 29px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-form-panel img {
    position: absolute;
    right: 0px;
    bottom: calc(100% + 15px);
    width: 155px;
}

.hero-form-panel .zcwf_row {
    margin-bottom: 15px;
}

.hero-form-panel label {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 6px;
  display: block;
}

.hero-form-panel input, .hero-form-panel select {
    background: var(--cream);
    border: none;
    border-radius: 0;
    height: 40px;
    font-family: var(--font-manrope);
    font-weight: 500;
    font-size: 16px;
    color: var(--dark-text);
    padding: 8px 16px;
    transition: box-shadow 0.2s;
    width: 100%;
}

.hero-form-panel input:focus,
.hero-form-panel select:focus {
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(240,78,37,0.3);
  outline: none;
}

.hero-form-panel textarea.form-control {
  height: 100px;
  resize: none;
}

.hero-form-panel .form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23211b0e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.hero-form-panel .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-form-panel #formsubmit {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 0;
    width: 100%;
    padding: 0px;
    font-family: var(--font-manrope);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.45px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    height: 60px;
}

.hero-form-panel #formsubmit:hover {
  background: var(--red);
  transform: translateY(-1px);
}

/* ============================================================
   VISTAS / STATS (RED SECTION)
============================================================ */
#vistas {
    background: var(--color-primary-alt);
    padding: 54px 30px;
    background-color: #2C1D44;
}
#vistas .vistas-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
#vistas h2 {
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: 48px;
  line-height: 52px;
  color: #fff;
  margin-bottom: 16px;
}
#vistas .vistas-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin-bottom: 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0 48px;
}
.stat-item {
  border-left: 4px solid #ffb4a5;
  padding-left: 16px;
}
.stat-item .stat-num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 36px;
  line-height: 40px;
  color: #fff;
}
.stat-item .stat-lbl {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 20px;
}
#vistas .vista-image-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    width: 480px;
    display: block;
    position: relative;
}
#vistas .vista-image-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
#vistas .vista-image-card .vista-caption {
    padding: 14px 20px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}
#vistas .vista-image-card .vista-caption .location-label {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
}
#vistas .vista-image-card .vista-caption img { width: 18px; height: 18px; }
#vistas .vista-image-card .vista-caption span {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}
#vistas .image-sub-caption {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-top: 14px;
  text-align: center;
}

/* ============================================================
   3. STATS SECTION
   ============================================================ */
#stats {
  background: var(--purple-dark);
  padding: 96px 32px;
  position: relative;
  display: block;
  overflow: hidden;
}

#stats .stats-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-manrope);
  font-weight: 800;
  font-size: clamp(64px, 7vw, 96px);
  color: var(--red);
  letter-spacing: -4.8px;
  line-height: 1;
}

.stat-desc {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4.2px;
  text-transform: uppercase;
  color: var(--cream-bg);
  opacity: 0.6;
  text-align: center;
  max-width: 380px;
  line-height: 1.4;
}

.stat-desc .stat-cat {
  display: block;
  color: var(--orange);
  opacity: 1;
}

.stats-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1px;
  height: 212px;
}

.stats-divider:before {
    content: "";
    display: block;
    position: absolute;
    left: -60px;
    top: 0px;
    width: 2px;
    height: 100%;
    background: rgba(203, 196, 206, 0.2);
}
.stats-divider:after {
    content: "";
    display: block;
    position: absolute;
    right: -60px;
    top: 0px;
    width: 2px;
    height: 100%;
    background: rgba(203, 196, 206, 0.2);
}

.stats-divider img {
  width: 187px;
  height: 187px;
  object-fit: contain;
}

/* ============================================================
   4. DIFFERENTIATORS SECTION
   ============================================================ */
#differentiators {
  background: var(--purple-mid);
  padding: 99px 0 46px;
  overflow: hidden;
}

#differentiators .diff-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.diff-header {
  display: flex;
  align-items: flex-end;
}

.diff-header .section-label {
  color: var(--purple-dark);
}

.diff-heading {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  color: var(--cream);
  letter-spacing: -3.6px;
  line-height: 1;
  max-width: 845px;
  margin-top: 20px;
}

.diff-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.diff-card {
  height: 500px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.diff-card.cream { background: var(--cream-card); }
.diff-card.orange { background: var(--orange); }
.diff-card.beige  { background: var(--beige-card); }

.diff-card-icon {
    height: auto;
    display: flex;
    align-items: flex-start;
    width: 30px !important;
}

.diff-card-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.diff-card-title {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.75px;
  line-height: 1.3;
}

.diff-card.cream .diff-card-title,
.diff-card.beige  .diff-card-title { color: var(--dark-text); }
.diff-card.orange .diff-card-title { color: #fff; }

.diff-card-text {
  font-family: var(--font-manrope);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.diff-card.cream .diff-card-text,
.diff-card.beige  .diff-card-text { color: var(--body-text); }
.diff-card.orange .diff-card-text { color: #fff; }

.diff-card-img {
  height: 161px;
  overflow: hidden;
  position: relative;
}

.diff-card-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   5. FLOORPLANS SECTION
   ============================================================ */
/*#floorplans {
  background: var(--cream);
  padding: 80px;
}

#floorplans .fp-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: stretch;
}

.fp-sidebar {
  flex: 0 0 344px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.fp-sidebar .dist-label {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #b41d00;
  line-height: 16px;
}

.fp-sidebar .fp-script {
  font-family: var(--font-script);
  font-size: 72px;
  color: var(--purple-mid);
  line-height: 0.85;
  font-weight: 700;
}

.fp-sidebar .fp-desc {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 16px;
  color: var(--brown-text);
  line-height: 1.5;
  padding-top: 16px;
}

.fp-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

.fp-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 14px;
  width: 160px;
  cursor: pointer;
  border: none;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: all 0.2s;
  gap: 8px;
}

.fp-tab-btn.active {
  background: var(--purple-mid);
  color: #fff;
}

.fp-tab-btn.inactive {
  background: transparent;
  color: var(--purple-mid);
  border: 1px solid var(--purple-mid);
}

.fp-tab-btn .tab-arrow {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.fp-viewer {
  flex: 1;
  background: #fff2de;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.fp-plan-wrapper {
    width: 512px;
    height: 600px;
    max-width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    background-color: #fff;
    padding: 35px;
}

.fp-plan-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fp-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 320px;
}

.fp-type-name {
  font-family: var(--font-jakarta);
  font-weight: 700;
  font-size: 24px;
  color: var(--dark-text);
  text-align: center;
  margin: 0px;
}

.fp-size {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 12px;
  color: #000;
  text-align: center;
}

.fp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
}

.fp-feat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fp-feat img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.fp-feat span {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 12px;
  color: var(--brown-text);
}*/
#units {
    background: var(--color-bg-light);
    padding: 64px 44px;
    background-color: #fff;
}
#units .units-inner > .row {
    margin-bottom: 3rem;
}
#units .units-inner > .row .col-md-6{
    margin: auto;
}
#units .units-inner {
  max-width: 1280px;
  margin: 0 auto;
}
#units .eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary-alt);
  text-transform: uppercase;
  letter-spacing: 3.2px;
  margin-bottom: 16px;
}
#units h2 {
    font-family: "Blitz-Script";
    font-weight: normal;
    font-size: 56px;
    color: #A585BD;
    margin-bottom: 16px;
}
#units .units-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: #402A16;
  margin-bottom: 0px;
}
.unit-card {
  background: var(--color-bg-light);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(26,28,28,0.04);
  overflow: hidden;
  display: block;
  position: relative;
}
.unit-card .unit-image-side {
    position: relative;
    margin: auto;
}
.unit-card .unit-image-side img.unit-photo {
  width: 100%;
  display: block;
}
.unit-card .unit-image-side .unit-overlay-name {
  position: absolute;
  bottom: 24px;
  left: 24px;
}
.unit-card .unit-image-side .unit-overlay-name .model-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--color-text-primary);
}
.unit-card .unit-image-side .unit-overlay-name .model-size {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-primary-alt);
}
.unit-card .unit-info-side {
    flex: 1;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.unit-card .floor-plan-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}
.unit-card .floor-plan-wrap img {
    width: 100%;
}
.unit-card .unit-footer {
}
.unit-card .unit-footer .footer-row-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0px;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: center;
}
.unit-card .footer-model {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  color: var(--color-text-primary);
}
.unit-card .footer-size {
    font-family: var(--font-heading);
    font-weight: normal;
    font-size: 23px;
    color: #A585BD;
}
.unit-specs-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 60%;
    margin: auto;
    padding: 2rem 0px;
    row-gap: 15px;
}
.unit-spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 33%;
}
.unit-spec-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.unit-spec-item span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: #402A16;
}
.btn-ver-plano {
  border: 1px solid rgba(144,112,105,0.2);
  border-radius: 6px;
  background: transparent;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.35px;
  color: var(--color-text-primary);
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-ver-plano:hover { background: rgba(144,112,105,0.06); }

/* Unit carousel arrows */
.units-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    position: absolute;
    right: 20px;
    top: 0px;
    z-index: 999;
}
.units-nav .unit-arrow {
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.units-nav .unit-arrow:hover { background: var(--color-bg-light); }
.units-nav .unit-arrow img { width: 50px; height: 50px; object-fit: contain; }
/* ============================================================
   6. AMENIDADES SECTION
   ============================================================ */
#amenidades {
    background: var(--cream);
    padding: 50px 32px;
    overflow: hidden;
    position: relative;
    display: block;
}

#amenidades .am-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.am-header {
  width: 100%;
  max-width: 1006px;
}

.am-header .section-label { color: var(--red); }

.am-title {
  font-family: var(--font-inter);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 40px);
  text-transform: uppercase;
  color: var(--dark-text);
  line-height: 1.2;
  margin-top: 20px;
  max-width: 1006px;
}

/* Gallery mosaic */

.ameni-slider-main {position: relative;display: block;width: 100%;}
.ameni-slider-main .am-gallery .slick-track {padding: 5rem 0px;}

.am-gallery .slick-slide {
  position: relative;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, z-index 0s;
  margin: 0 -40px;
  outline: none;
}

.am-gallery .nivel-2 {
  transform: scale(0.65);
  opacity: 0.4;
  z-index: 1;
}

.am-gallery .nivel-1 {
  transform: scale(0.85);
  opacity: 0.8;
  z-index: 5; 
}

.am-gallery .nivel-0 {
  transform: scale(1.1);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Ajustes de la foto interna */
.am-gallery .gal-img {
  outline: none;
}

.am-icons img {
    display: block;
    margin: auto;
    width: 70px;
}
.am-icons .am-icon-item.slick-slide.slick-current.slick-active.slick-center {
    filter: opacity(0.4) saturate(9);}
.am-gallery .gal-img img {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.am-icon-item span {
  display: block;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
}

.am-icons .slick-center .am-icon-item,
.am-icons .slick-current .am-icon-item {
  transform: scale(1.1);
  opacity: 1;
}
.am-gallery {

}

.am-gallery .gal-img {

}

.am-gallery .gal-img img {

}



/* Amenities icons strip */
.am-icons {}

.am-icon-item span {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 18px;
    color: var(--purple-dark);
    text-align: center;
}

.am-icon-item.highlight span { color: var(--purple-mid); }

/* ============================================================
   7. LOCATION SECTION
   ============================================================ */
#location {
  background: var(--purple-dark);
  padding: 80px 32px;
  overflow: hidden;
}

#location .loc-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.loc-text .section-label { color: var(--orange); margin-bottom: 16px; }

.loc-text h2 {
  font-family: var(--font-inter);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -2px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.loc-text p {
  font-family: var(--font-manrope);
  font-weight: 400;
  font-size: 16px;
  color: rgba(255,248,242,0.75);
  line-height: 1.6;
  margin-bottom: 32px;
}

.loc-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loc-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.loc-point-icon {
  width: 40px;
  height: 40px;
  background: rgba(240,78,37,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-point-icon svg { color: var(--orange); }

.loc-point-text {
  font-family: var(--font-manrope);
  font-size: 14px;
  color: rgba(255,248,242,0.8);
  line-height: 1.5;
}

.loc-point-text strong {
  display: block;
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.loc-map {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.loc-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(1.1);
}

/* ============================================================
   8. ACQUISITION PROCESS
   ============================================================ */
#process {
  background: var(--cream);
  padding: 83px 32px;
  overflow: hidden;
}

#process .proc-inner {
  max-width: 1216px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
#process a img {
    transition: all 0.5s;
    z-index: 2;
    position: relative;
    margin-bottom: 2rem;
}
#process a:hover img {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px 6px #00000038;
}

.proc-header .section-label { color: var(--red); }

.proc-header h2 {
  font-family: var(--font-inter);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  color: var(--dark-text);
  letter-spacing: -4.8px;
  line-height: 1.3;
  max-width: 697px;
  margin-top: 16px;
}

.proc-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proc-cards-wrap iframe {
    height: 45rem;
}

.proc-bg-img {
  width: 100%;
  height: 507px;
  object-fit: cover;
  display: block;
}

.proc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 118px;
}

.proc-card {
  background: var(--cream);
  height: 371px;
  position: relative;
  padding: 40px;
}

.proc-card-num {
  font-family: var(--font-manrope);
  font-weight: 800;
  font-size: 72px;
  letter-spacing: -3.6px;
  color: var(--purple-mid);
  opacity: 0.3;
  line-height: 1;
  display: inline-block;
}

.proc-card-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 28px;
  height: 22px;
  object-fit: contain;
}

.proc-card-title {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.75px;
  color: var(--dark-text);
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.proc-card-text {
  font-family: var(--font-manrope);
  font-weight: 400;
  font-size: 22px;
  color: var(--body-text);
  line-height: 1.5;
  margin-bottom: 32px;
}

.proc-card:last-child .proc-card-text {
  color: var(--purple-dark);
}

.btn-dark-portiko {
  display: inline-flex;
  align-items: center;
  background: var(--purple-dark);
  color: #fff;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-dark-portiko:hover {
  background: #1a1030;
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   9. INVESTMENT CTA (OPPORTUNITY SECTION)
   ============================================================ */
#investment {
  background: var(--purple-light);
  padding: 60px 32px;
  overflow: hidden;
  text-align: center;
}

#investment .inv-inner {
  max-width: 1280px;
  margin: 0 auto;
}

#investment .section-label {
  color: var(--purple-dark);
  display: block;
  text-align: left;
  margin-bottom: 40px;
}

#investment h2 {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 62px);
  color: var(--cream);
  letter-spacing: -3.6px;
  line-height: 1;
  text-align: center;
  max-width: 1258px;
  margin: 0 auto;
}

/* ============================================================
   10. MANIFESTO SECTION
   ============================================================ */
#manifesto {
  background: var(--navy);
  padding: 60px;
  overflow: hidden;
  position: relative;
}
#manifesto .deco-ellip {position: absolute;width: 174px;height: 174px;border-radius: 50%;background: #c4f921;}
#manifesto .deco-ellip-1 {left: -100px;top: 40%;}
#manifesto .deco-ellip-2 {left: 40%;bottom: -70px;}
#manifesto .deco-ellip-3 {top: -60px;right: -60px;background: #130b38;}

.manifesto-inner {
  max-width: 1319px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
  min-height: 509px;
  position: relative;
}

.manifesto-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.manifesto-quote .quote-mark {
    font-family: var(--font-manrope);
    font-weight: 800;
    font-size: 128px;
    color: var(--lime);
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: 90px;
    left: -22px;
}

.manifesto-quote blockquote {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  color: #fff;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  border: none;
}

.manifesto-quote blockquote .accent {
  font-weight: 700;
  color: var(--lime);
}

.pop-logo {
    position: relative;
    width: 300px;
    height: auto;
    object-fit: contain;
    margin-bottom: 2rem;
}

/* Manifesto ellipse decorations */
.manifesto-ellipse {
  position: absolute;
  pointer-events: none;
}

/* Philosophy card */
.manifesto-card {
  background: var(--lime);
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.manifesto-card::before {
  content: '';
  position: absolute;
  top: -64px;
  right: -64px;
  width: 128px;
  height: 128px;
  background: rgba(180,29,0,0.05);
  border-radius: 12px;
}

.manifesto-card h3 {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 24px;
  color: #110c34;
  line-height: 1.3;
  margin: 0;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.philosophy-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.phil-num {
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 16px;
  color: var(--purple-dark);
  opacity: 0.4;
  line-height: 24px;
  flex-shrink: 0;
  width: 24px;
}

.phil-content { flex: 1; }

.phil-title {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 16px;
  color: #110c34;
  line-height: 24px;
  margin-bottom: 4px;
}

.phil-text {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 14px;
  color: var(--purple-dark);
  line-height: 1.6;
}

/* Manifesto ellipse images */
.ellipse-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   11. CTA SECTION
   ============================================================ */
#cta {
    background: var(--cream);
    padding: 91px 0 80px;
    overflow: hidden;
    position: relative;
   
}

#cta .cta-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 0 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 504px;
  position: relative;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cta-heading {
  width: 650px;
}

.cta-discover {
  font-family: var(--font-manrope);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  color: var(--navy-mid);
  letter-spacing: -4.8px;
  line-height: 1;
  text-align: center;
  display: block;
}

.cta-script {
    font-family: 'Blitz-Script';
    font-size: clamp(64px, 8vw, 96px);
    color: var(--purple-mid);
    display: block;
    line-height: 0.88;
    text-align: center;
    white-space: nowrap;
}

.btn-cta-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #fff;
    font-family: var(--font-manrope);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    padding: 26px 48px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.2s, transform 0.15s;
    margin: auto;
    display: block;
    width: fit-content;
}

.btn-cta-orange:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.cta-image {
  position: absolute;
  right: 32px;
  top: -15px;
  width: 553px;
  height: 509px;
  object-fit: cover;
}


#cta .map-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    height: 35rem;
    width: 50%;
}
#cta .map-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
#cta .map-image-wrap .map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(69,100,98,0.1);
  border-radius: 16px;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
#footer {
  background: var(--purple-mid);
  padding: 48px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.footer-logo { height: 40px; width: auto; }

.footer-copy {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 14px;
    color: var(--cream);
    line-height: 1.6;
    margin: 0px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav button {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 14px;
    color: var(--cream);
    text-decoration: none;
    transition: opacity 0.2s;
    background-color: transparent;
    border: none;
    outline: none;
    text-transform: uppercase;
}

.footer-nav button:hover { opacity: 0.7; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 44px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--purple-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}

.social-icon:hover { background: var(--purple-dark); }
.social-icon img { width: 20px; height: 20px; object-fit: contain; }

.btn-contact-advisor {
  background: var(--red);
  color: #fff;
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.4px;
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  transition: background 0.2s;
}

.btn-contact-advisor:hover { background: #c73a1e; color: #fff; }

.modal-fondo {
  display: none; 
  position: fixed;
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#visorPDF {
  border: none;
  border-radius: 4px;
}

.cerrar-modal {
  color: #555;
  float: right;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 5px 10px;
  background: #eee;
  border-radius: 4px;
  transition: 0.3s;
}

.cerrar-modal:hover {
  background: #ff4c4c;
  color: white;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
}

@media (max-width: 992px) {
  #mainNav .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    flex-direction: column;
    padding: 60px 24px;
    align-items: flex-start;
  }

  .hero-form-panel {
    flex: none;
    width: 100%;
  }

  #stats .stats-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats-divider {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(203,196,206,0.2);
    border-bottom: 1px solid rgba(203,196,206,0.2);
    height: auto;
    padding: 32px 0;
  }

  #floorplans { padding: 48px 24px; }
  #floorplans .fp-inner { flex-direction: column; gap: 40px; }
  .fp-sidebar { flex: none; max-width: 100%; }

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

  .cta-image { display: none; }
  .cta-heading { width: 100%; }

  .footer-inner { flex-wrap: wrap; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }

  #location .loc-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .manifesto-card { padding: 40px 24px; }
  #manifesto { padding: 40px 24px; }
  #cta .cta-inner { padding: 0 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  #floorplans { padding: 40px 20px; }
  .fp-viewer { padding: 24px; }
  .fp-plan-wrapper { width: 100%; height: auto; aspect-ratio: 1; }
  .fp-tabs { flex-direction: row; flex-wrap: wrap; }
  .fp-tab-btn { width: auto; height: 44px; }
}

@media (max-width: 576px) {
  .hero-text h1 { font-size: 36px; letter-spacing: -2px; }
  .diff-heading { font-size: 36px; }
  .stat-number { font-size: 64px; }
  .proc-bg-img { height: 200px; }
  #investment h2 { font-size: 28px; letter-spacing: -1px; }
  .cta-discover { font-size: 52px; }
  .cta-script { font-size: 52px; }
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  font-size: 20px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

#scrollTop.visible {
  display: flex;
}

#scrollTop:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
#pageLoader {
  position: fixed;
  inset: 0;
  background: var(--purple-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.loader-logo {
  height: 48px;
  width: auto;
  opacity: 0;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--orange);
  animation: loadBar 1.2s ease forwards;
}

@keyframes loadBar {
  to { left: 100%; }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 90px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.th-page {position: relative;min-height: 100vh;background: linear-gradient(45deg, #130b38, #a684bc);overflow: hidden;}
.th-page .th-logo {padding-top: 5rem;}
.th-page .th-logo img {display: flex;margin: auto;width: 13rem;}
.th-page .th-txt1 {width: fit-content;margin: auto;border: solid 2px #fff;padding: 15px;margin-top: 5rem;}
.th-page .th-txt1 h1 {font-family: var(--font-inter);color: #fff;text-align: center;text-transform: uppercase;font-size: 45px;letter-spacing: 4px;}
.th-page .th-txt1 h2 {font-family: var(--font-inter);font-size: 25px;letter-spacing: normal;text-transform: initial;color: #fff;text-align: center;margin: 0px;}
.th-page .th-txt1 p {font-family: var(--font-inter);text-align: center;color: #fff;font-size: 17px;margin: 0px;}
.th-page .th-txt2 {margin-top: 5rem;}
.th-page .th-txt2 h5 {font-family: var(--font-inter);color: #fff;text-align: center;font-size: 25px;}
.th-page .th-txt2 a {font-family: var(--font-inter);color: #fff;text-align: center;display: block;width: fit-content;margin: auto;font-size: 17px;position: relative;}
.th-page .th-txt2 a:before {content: "";display: block;position: absolute;left: -25px;top: calc(50% - 10px);width: 20px;height: 20px;background-image: url(img/footer-icon-3.webp);background-repeat: no-repeat;background-position: center center;background-size: contain;}
.th-page .th-redes {display: flex;flex-direction: column;align-items: center;position: absolute;bottom: 0px;width: 12rem;left: calc(50% - 6rem);background: #166938;}
.th-page .th-redes ul {display: flex;padding: 10px 0px;margin: 0px;}
.th-page .th-redes ul li {padding-right: 10px;display: block;}
.th-page .th-redes ul li img {width: 20px;margin-bottom: 0rem;}


p.lightbox-caption em {
    text-transform: uppercase;
    font-style: normal;
    font-family: 'Inter';
    font-size: 20px;
}

/* ---------------------------------------- RESPONSIVE --------------------------------------------- */

@media (min-width: 320px) and (max-width: 575px){
  #stats {padding: 20px}
  #differentiators {padding: 30px;}
  #differentiators .diff-inner {padding: 0px}
  .diff-cards {display: block;}
  .diff-card {padding: 20px;margin-bottom: 20px;}
  #process {padding: 20px;}
  #process .proc-inner {gap: 35px;}
  .proc-header h2 {letter-spacing: -2px;}
  .proc-cards {display: block;}
  .proc-card {height: auto;padding: 10px;}
  #manifesto .deco-ellip-3 {display: none;}

  .cta-script {font-size: 42px;}
  #cta .cta-inner {flex-wrap: wrap;}
  .cta-image {display: block;position: relative;right: auto;top: auto;width: 100%;height: auto;}
  .btn-cta-orange {text-align: center;}

  .am-icons .am-icon-item.slick-slide {opacity: 0}
  .am-icons .am-icon-item.slick-slide.slick-current.slick-active.slick-center {opacity: 1}

  .th-page .th-logo {padding-top: 3rem;}
  .th-page .th-logo img {width: 15rem;}
  .th-page .th-txt1 {margin-top: 3rem;}
  .th-page .th-txt1 h1 {font-size: 28px;letter-spacing: 2px;}
  .th-page .th-txt2 {margin-top: 3rem;}

  #vistas .vistas-inner {display: flex;align-items: center;flex-direction: row;flex-wrap: wrap;align-content: center;justify-content: center;}
  #vistas .vista-image-card {width: 100%;}
  #cta .map-image-wrap {width: 100%;margin-top: 2rem;}
  .stats-grid {grid-template-columns: repeat(1, auto);}

  .proc-cards-wrap iframe {height: 25rem;}

  .hero-form-panel img {right: -20px;top: calc(100% + -35px);width: 100px;bottom: auto;}

}



/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #stats {padding: 20px}
  #differentiators {padding: 30px;}
  #differentiators .diff-inner {padding: 0px}
  .diff-cards {display: block;}
  .diff-card {padding: 20px;margin-bottom: 20px;}
  #process {padding: 20px;}
  #process .proc-inner {gap: 35px;}
  .proc-header h2 {letter-spacing: -2px;}
  .proc-cards {display: block;}
  .proc-card {height: auto;padding: 10px;}
  #manifesto .deco-ellip-3 {display: none;}

  .cta-script {font-size: 42px;}
  #cta .cta-inner {flex-wrap: wrap;}
  .cta-image {display: block;position: relative;right: auto;top: auto;width: 100%;height: auto;}
  .btn-cta-orange {text-align: center;}

  .am-icons .am-icon-item.slick-slide {opacity: 0}
  .am-icons .am-icon-item.slick-slide.slick-current.slick-active.slick-center {opacity: 1}

  .th-page .th-logo {padding-top: 3rem;}
  .th-page .th-logo img {width: 15rem;}
  .th-page .th-txt1 {margin-top: 3rem;}
  .th-page .th-txt1 h1 {font-size: 28px;letter-spacing: 2px;}
  .th-page .th-txt2 {margin-top: 3rem;}

  #vistas .vistas-inner {display: flex;align-items: center;flex-direction: row;flex-wrap: wrap;align-content: center;justify-content: center;}
  #vistas .vista-image-card {width: 100%;}
  #cta .map-image-wrap {width: 100%;margin-top: 2rem;}
  .stats-grid {grid-template-columns: repeat(1, auto);}

  .proc-cards-wrap iframe {height: 25rem;}

  .hero-form-panel img {right: -20px;top: calc(100% + -35px);width: 100px;bottom: auto;}

}

/*Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .diff-cards {grid-template-columns: repeat(2, 1fr);}
  .proc-card {height: auto;padding: 10px;}

  .cta-image {display: block;position: relative;right: auto;top: auto;width: 290px;height: auto;}

  .th-page .th-logo {padding-top: 3rem;}
  .th-page .th-txt1 {margin-top: 3rem;}
  .th-page .th-txt2 {margin-top: 3rem;}

  #vistas .vistas-inner {display: flex;align-items: center;flex-direction: row;flex-wrap: wrap;align-content: center;justify-content: center;}
  #vistas .vista-image-card {width: 100%;}
  #cta {background-position: left bottom;background-size: 55%;}
  #cta .map-image-wrap {width: 100%;margin-top: 2rem;}
  .stats-grid {grid-template-columns: repeat(1, auto);}


}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .diff-cards {grid-template-columns: repeat(2, 1fr);}
      
  #cta {background-position: 0% bottom;background-size: 60%;}
  #cta .cta-image {display: block;width: 39%;height: auto;position: relative;top: auto;right: auto;}

  .th-page .th-logo {padding-top: 3rem;}
  .th-page .th-txt1 {margin-top: 3rem;}
  .th-page .th-txt2 {margin-top: 3rem;}

}

/* Bigger devices (desktops, 992px and up) */
@media (min-width: 1200px) and (max-width: 1299.98px) {
  #cta {background-position: 15% bottom;background-size: 35rem;}
  #cta .cta-image {display: block;width: 39%;height: auto;position: relative;top: auto;right: auto;}

  .th-page .th-logo {padding-top: 3rem;}
  .th-page .th-txt1 {margin-top: 3rem;}
  .th-page .th-txt2 {margin-top: 3rem;}

}

@media (min-width: 1400px) and (max-width: 1599.98px) {
  #cta {background-position: 15% bottom;}

}

/* Extra large devices  */
@media (min-width: 1600px) {

}