@media screen and (max-width: 750px) {
  .hide-on-mobile {
    display: none !important;
  }
}
@media screen and (min-width: 751px) {
  .hide-on-desk {
    display: none !important;
  }
}
a {
  text-decoration: none;
}
.head-text {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -2px;
}
h2.h2-larger {
  font-size: 2.2rem;
}
.hip-img {
  width: 90%;
  margin-top: 40px;
}
@media screen and (max-width: 750px) {
  .hip-img {
    width: 100%;
    border-radius: 5px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-green: #87926D;
  --dark-green: #6b8e74;
  --light-pink: #f5e6e8;
  --dark-text: #1a1a1a;
  --light-text: #666666;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --accent-blue: #2c5aa0;
  --light-bg: #f8f8f8;
}
body {
  color: var(--dark-text);
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}
h1 {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -2px;
  font-weight: normal;
  font-size: 2.7rem;
  letter-spacing: -0.1rem;
}
.head {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -2px;
}
.text-green {
  color: #87926D;
}
/* ===== HEADER & NAV ===== */
header {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1060;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.navbar {
  padding: 0 !important;
  background: white;
  border: none;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--dark-text) !important;
}
.navbar-brand img {
  max-width: 240px;
}
.nav-link {
  color: var(--dark-text) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  line-height: 32px;
}
.nav-link.highlight {
  background: #87926D;
  color: white !important;
  border-radius: 28px;
}
.nav-link.highlight:hover {
  color: white !important;
  background: #87926D;
}
.nav-link:hover {
  color: var(--primary-green) !important;
}
li.nav-item.active {
  border: 2px solid black;
}
.navbar-toggler {
  border: none;
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
}
@media screen and (max-width: 750px) {
  .navbar-toggler:focus {
    box-shadow: none;
  }
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}
.home-page header {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}
.home-page .navbar {
  background: transparent;
}
.home-page .nav-link {
  color: var(--white) !important;
}
.home-page .nav-link:hover {
  color: #e6e6e6 !important;
}
.home-page .nav-link.highlight {
  color: var(--white) !important;
}
.home-page .nav-icon-whatsapp {
  filter: invert(1) brightness(2);
}
.home-page .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.home-page .nav-logo {
  max-width: 280px;
  transition: max-width 0.3s ease;
}
.home-page.nav-scrolled header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.home-page.nav-scrolled .navbar {
  background: var(--white);
}
.home-page.nav-scrolled .nav-link {
  color: var(--dark-text) !important;
}
.home-page.nav-scrolled .nav-link:hover {
  color: var(--primary-green) !important;
}
.home-page.nav-scrolled .nav-link.highlight {
  color: var(--white) !important;
}
.home-page.nav-scrolled .nav-icon-whatsapp {
  filter: none;
}
.home-page.nav-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.home-page.nav-scrolled .nav-logo {
  max-width: 240px;
}
@media screen and (max-width: 750px) {
  .logo-white {
    max-width: 300px;
  }
  .navbar-collapse {
    position: fixed;
    top: 60px;
    right: -100%;
    height: calc(100vh - 60px);
    width: 80%;
    max-width: 340px;
    background: white;
    transition: right 0.3s ease-in-out;
    z-index: 1045;
    padding: 20px;
  }
  .navbar-collapse.show {
    right: 0;
  }
  .navbar-collapse.collapsing {
    right: -100%;
    transition: right 0.3s ease-in-out;
    height: calc(100vh - 60px);
  }
  .navbar-nav {
    flex-direction: column;
    gap: 1rem !important;
    margin-top: 15px;
  }
  .home-page .navbar-collapse .nav-link {
    color: var(--dark-text) !important;
  }
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
  }
  .mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1044;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  /* home page backdrop only covers 80% of viewport to leave some content visible behind mobile menu */
  .home-page .mobile-menu-backdrop {
    width: 80%;
    /* anchor right and start off-screen so it slides in */
    left: auto;
    right: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }
  .home-page .mobile-menu-backdrop.show {
    transform: translateX(0);
  }
  .mobile-menu-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
}
/* ===== HERO SECTION ===== */
.hero {
  background: url('../img/hero-brown.webp');
  background-size: cover;
  background-position: top;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  position: relative;
}
.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .hero {
    height: 350px;
    background-attachment: scroll;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.875rem;
  }
}
/* ===== SECTION MADRID ===== */
.section-madrid {
  padding: 80px 0;
  background: var(--white);
  margin-bottom: 50px;
}
.section-header h1 {
  font-size: 2.625rem;
  margin-bottom: 15px;
  color: var(--dark-text);
  letter-spacing: -1px;
}
.section-header p {
  font-size: 1rem;
  color: var(--light-text);
  max-width: 600px;
}
.madrid-text h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #87926D;
  font-weight: 400;
  line-height: 1.4;
}
.madrid-text p {
  color: var(--light-text);
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 1.1rem;
}
.btn-primary-custom {
  padding: 12px 32px;
  border: 2px solid var(--dark-text);
  background: var(--dark-text);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
}
.btn-primary-custom.outline {
  background: white;
  color: var(--dark-text);
}
.btn-primary-custom:hover {
  background: var(--white);
  color: var(--dark-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-primary-white {
  padding: 12px 32px;
  border: 2px solid white;
  background: white;
  color: black;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.btn-primary-white.outline {
  background: transparent;
  color: white;
}
.btn-primary-white:hover {
  background: var(--white);
  color: var(--dark-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-primary-green {
  padding: 12px 32px;
  border: 2px solid #87926D;
  background: #87926D;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-primary-green.outline {
  background: transparent;
  color: #87926D;
}
.btn-primary-green:hover {
  background: #87926D;
  color: #F2EAE1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.bg-green {
  background: #87926D;
}
.madrid-images img {
  width: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.madrid-images img.img-sm {
  height: 12.875rem;
  margin-bottom: 8px;
}
@media screen and (min-width: 751px) {
  .madrid-images img.img-sm {
    margin-bottom: 10px;
  }
}
.madrid-images img.large-img {
  width: 100%;
}
.madrid-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.large-img {
  grid-column: 1 / -1;
  height: 420px;
}
@media (max-width: 768px) {
  .section-madrid {
    padding: 0;
  }
  .section-madrid h1 {
    font-size: 2.125rem;
    margin-bottom: 20px;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }
  .madrid-images {
    grid-template-columns: 1fr;
  }
  .madrid-text {
    order: 2;
  }
  .madrid-images {
    order: 1;
  }
}
/* ===== SECTION OFFERINGS ===== */
.section-offerings .row {
  display: flex;
  align-items: stretch;
}
.head-text {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -2px;
}
.offerings-header {
  text-align: center;
  margin-bottom: 60px;
}
@media screen and (max-width: 750px) {
  .offerings-header {
    margin-bottom: 30px;
  }
}
.offerings-header p.sub {
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 40px;
}
.offerings-header .head-text {
  display: block;
  font-size: 2.8125rem;
  font-weight: 400;
  letter-spacing: -4px;
}
.offerings-header h2 {
  font-size: 1.875rem;
  margin-bottom: 10px;
  color: var(--dark-text);
  font-weight: 400;
}
.offerings-header .highlight {
  font-weight: 1.2rem;
  color: #87926D;
  display: block;
  font-weight: 600;
  font-size: 2.4rem;
}
.offerings-header p {
  margin-top: 15px;
  color: var(--light-text);
  font-size: 1rem;
}
.offerings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media screen and (max-width: 750px) {
  .offerings-grid {
    margin-bottom: 40px;
  }
}
.offering-card {
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.offering-card .offering-cov {
  background: rgba(68, 68, 68, 0.65);
  width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.offering-card .offering-cov a {
  margin-top: auto;
}
.offering-card.flipping {
  background: url('../img/opcion-1.jpeg') no-repeat black;
  background-size: cover;
}
.offering-card.hipoteca {
  background: url('../img/opcion-22.jpeg') no-repeat black;
  background-size: cover;
}
.offering-card ul {
  list-style: none;
  padding-left: 0;
}
.offering-card ul li:before {
  content: "\F135";
  font-family: 'bootstrap-icons';
  width: 20px;
  height: 20px;
  font-size: 20px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: sub;
}
.offering-cov ul li {
  margin-bottom: 7px;
}
.offering-card h3 {
  font-size: 2.8125rem;
  margin-bottom: 15px;
  font-family: "Spectral", serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: -2px;
}
.offering-card p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
  opacity: 0.95;
}
.btn-secondary-custom {
  padding: 10px 24px;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
}
.btn-secondary-custom:hover {
  background: var(--white);
  color: var(--dark-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.offering-card:hover {
  transform: translateY(-5px);
}
@media (max-width: 768px) {
  .offerings-grid {
    grid-template-columns: 1fr;
  }
  .offerings-header h2 {
    font-size: 1.5rem;
  }
}
/* ===== SECTION CALCULATOR ===== */
.section-calculator {
  padding: 80px 0;
  background: var(--primary-green);
  color: var(--white);
  padding-bottom: 50px;
}
@media screen and (max-width: 750px) {
  .section-calculator {
    padding: 40px 25px;
  }
  .section-calculator p {
    margin-top: 1.2rem;
  }
}
.section-calculator h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.section-calculator > .container > p {
  margin-bottom: 30px;
  font-size: 0.875rem;
  opacity: 0.95;
}
.calc-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.calc-row {
  display: contents;
}
@media screen and (max-width: 750px) {
  .calc-row {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    justify-content: center;
  }
}
.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 150px;
  min-width: 150px;
}
@media screen and (max-width: 750px) {
  .calc-input-group {
    flex: 1;
    min-width: 0;
  }
}
.calc-label {
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.calc-form input {
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  min-width: 150px;
  width: 100%;
  background: var(--white);
  color: var(--dark-text);
}
@media screen and (max-width: 750px) {
  .calc-form input {
    min-width: 0;
  }
}
.calc-form input::placeholder {
  color: #999;
}
.operator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  min-width: 40px;
  text-align: center;
}
.btn-calculate {
  padding: 12px 32px;
  background: var(--dark-text);
  color: var(--white);
  border: 2px solid var(--dark-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}
.btn-calculate:hover {
  background: var(--white);
  color: var(--dark-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.calc-disclaimer {
  margin-top: 20px;
  font-size: 0.8125rem;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .calc-form {
    flex-direction: column;
    gap: 15px;
  }
  .calc-row button {
    width: 100%;
  }
}
/* ===== SECTION TEAM ===== */
.section-team {
  padding: 80px 0;
  background: #F2EAE1;
}
@media screen and (max-width: 750px) {
  .section-team {
    padding: 40px 25px;
  }
}
.team-header {
  text-align: center;
  margin-bottom: 60px;
}
.team-header h2 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #87926D;
  letter-spacing: -1px;
}
@media screen and (max-width: 750px) {
  .team-header h2 {
    margin-top: 2rem;
  }
}
.team-header p {
  color: #87926D;
  margin-bottom: 0;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.team-header p b {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.team-member {
  text-align: center;
  padding: 0 20px;
}
@media screen and (max-width: 750px) {
  .team-member {
    padding: 0;
  }
}
.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
}
.team-member h3 {
  font-size: 2.1875rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--dark-text);
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -2px;
}
.team-member .role {
  color: #87926D;
  font-size: 1.375rem;
  margin: 0 auto;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 90%;
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -2px;
}
.team-member p {
  color: var(--light-text);
  font-size: 0.8725rem;
  line-height: 1.5;
}
.team-member p.text-green {
  font-weight: 600;
}
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== SECTION INVESTMENT ===== */
.section-investment {
  padding: 80px 0;
  background: white;
}
@media screen and (max-width: 750px) {
  .section-investment {
    padding: 30px 25px;
  }
}
.investment-header {
  text-align: center;
  margin-bottom: 50px;
}
.investment-header h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 400;
  color: var(--light-text);
  max-width: 900px;
  margin: 0 auto;
}
.investment-header h2 b {
  color: #010101;
  font-weight: 600;
}
@media screen and (max-width: 750px) {
  .investment-header h2 {
    font-size: 1.25rem;
    line-height: 1.5;
  }
}
.investment-header p {
  color: #010101;
  margin-bottom: 0;
  font-size: 1rem;
}
.investment-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}
.investment-card {
  background: #F7F3EF;
  background: #87926D;
  padding: 20px 40px;
  border-radius: 30px;
  border: 1px solid #87926D;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  line-height: 1.5;
}
.investment-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--dark-text);
}
.investment-card p {
  color: white;
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 0;
}
.investment-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
@media (max-width: 768px) {
  .investment-cards {
    grid-template-columns: 1fr;
  }
}
/* ===== SECTION SKYLINE ===== */
.section-skyline {
  background-image: url('../img/madrid-skyline.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.section-skyline h2 {
  font-size: 3rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .section-skyline {
    height: 300px;
    background-attachment: scroll;
  }
  .section-skyline h2 {
    font-size: 1.75rem;
  }
}
/* ===== SECTION SUBSCRIBE ===== */
.section-subscribe {
  padding: 70px 0;
  background: #F2EAE1;
}
.subscribe-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.subscribe-copy {
  max-width: 560px;
}
.subscribe-copy .sub {
  color: var(--light-text);
  margin-bottom: 6px;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
}
.subscribe-copy h2 {
  font-size: 1.875rem;
  color: var(--dark-text);
  margin-bottom: 10px;
  line-height: 1.25;
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -2px;
}
.subscribe-copy .muted {
  color: var(--light-text);
  margin: 0;
  font-size: 0.875rem;
}
.subscribe-form {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 320px;
}
@media screen and (max-width: 750px) {
  .subscribe-form {
    flex: none;
  }
}
.subscribe-form input[type="email"] {
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-size: 0.875rem;
  min-width: 240px;
  background: var(--white);
  color: var(--dark-text);
  flex: 1 1 260px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
@media screen and (max-width: 750px) {
  .subscribe-form input[type="email"] {
    flex: none;
  }
}
.subscribe-form button {
  white-space: nowrap;
  padding: 14px 22px;
  border-radius: 0;
  background: var(--dark-text);
  color: var(--white);
  border: none;
}
@media screen and (max-width: 750px) {
  .section-subscribe {
    padding: 50px 0;
  }
  .subscribe-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
  .subscribe-form {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .subscribe-form input[type="email"],
  .subscribe-form button {
    width: 100%;
    min-width: 0;
  }
}
/* ===== FOOTER ===== */
footer {
  background: var(--primary-green);
  color: var(--white);
  padding: 60px 0 30px;
}
@media screen and (max-width: 750px) {
  footer {
    padding-top: 30px;
    text-align: center;
  }
}
footer .con-email {
  font-size: 1.2rem !important;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-section h4 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-section p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 10px;
}
.footer-section a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}
.footer-section a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
/* ===== SIDE IMAGE ===== */
.side-img {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.options-contain {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 65px;
  padding-bottom: 65px;
}
@media screen and (max-width: 750px) {
  .options-contain {
    padding-top: 0;
    padding: 0 25px;
  }
}
.logo-espana img {
  max-width: 360px;
  margin-bottom: -5px;
}
@media screen and (max-width: 750px) {
  .logo-espana img {
    margin-bottom: -3px;
  }
}
.logo-divider .logo-icon img {
  position: absolute;
  right: -40px;
  z-index: 99;
  width: 165px;
}
@media screen and (max-width: 750px) {
  .logo-divider .logo-icon img {
    display: none;
  }
}
.logo-divider hr {
  border-color: #87926D;
  border-width: 4px;
  width: 87%;
  float: right;
  margin: 0;
}
@media screen and (max-width: 750px) {
  .logo-divider hr {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* CTA Section */
.cta-section {
  background: #010101;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
@media screen and (max-width: 750px) {
  .cta-section {
    padding: 40px 20px;
  }
}
.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--white);
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.cta-btn {
  padding: 24px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
@media screen and (max-width: 750px) {
  .cta-btn {
    display: block;
    width: 100%;
  }
}
.cta-btn-primary {
  background-color: var(--white);
  color: #010101;
}
.cta-btn-primary:hover {
  background-color: #87926D;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: white;
}
.cta-btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.cta-btn-secondary:hover {
  background-color: #87926D;
  color: white;
  transform: translateY(-2px);
  border-color: #87926D;
}
footer img {
  max-height: 140px;
  margin-right: 50px;
}
.vivienda-page .cta {
  margin-right: 10px;
}
@media screen and (max-width: 750px) {
  .vivienda-page .cta {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 750px) {
  .vivienda-page .hero-section {
    padding: 30px;
  }
  .vivienda-page .hero-content h1 {
    font-size: 2.6rem;
  }
}
.vivienda-page .hero-image-placeholder {
  background: var(--cream);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media screen and (max-width: 750px) {
  .vivienda-page .hero-image-placeholder {
    min-height: 300px;
    border-radius: 8px;
  }
}
/* FLIPPING PAGE */
.flipping-page,
.vivenda-page {
  /* Hero Section */
  /* Align hero image placeholder with sibling content height */
  /* Section Styling */
  /* What is the Fund */
  /* Benefits Grid */
  /* Investment Details */
  /* Why is it Different */
  /* Key Metrics */
  /* Footer */
  /* Placeholder Image Styling */
  /* Responsive */
}
.flipping-page .hero-section,
.vivenda-page .hero-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--cream-color) 100%);
  padding: 80px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 750px) {
  .flipping-page .hero-section,
  .vivenda-page .hero-section {
    padding: 40px 20px;
  }
}
.flipping-page .hero-section::before,
.vivenda-page .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: rgba(135, 146, 109, 0.08);
  border-radius: 0 0 300px 300px;
}
.flipping-page .hero-content h1,
.vivenda-page .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
}
.flipping-page .hero-content .highlight,
.vivenda-page .hero-content .highlight {
  color: #87926D;
  font-size: 1.4rem;
  font-weight: 600;
  display: block;
}
.flipping-page .hero-content p,
.vivenda-page .hero-content p {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.flipping-page .cta,
.vivenda-page .cta {
  margin-right: 10px;
}
@media screen and (max-width: 750px) {
  .flipping-page .cta,
  .vivenda-page .cta {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}
.flipping-page .btn-secondary-custom,
.vivenda-page .btn-secondary-custom {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  margin-left: 1rem;
}
.flipping-page .btn-secondary-custom:hover,
.vivenda-page .btn-secondary-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}
.flipping-page .investment-details .row,
.vivenda-page .investment-details .row,
.flipping-page .investment-details .row.align-middle,
.vivenda-page .investment-details .row.align-middle {
  align-items: stretch !important;
}
.flipping-page .investment-details .row > [class*="col-"],
.vivenda-page .investment-details .row > [class*="col-"] {
  display: flex;
}
.flipping-page .investment-details .hero-image,
.vivenda-page .investment-details .hero-image {
  background: url('../img/slide-mobile.jpeg') no-repeat center center;
  background-size: contain;
  width: 100%;
}
@media screen and (min-width: 751px) {
  .flipping-page .investment-details .hero-image,
  .vivenda-page .investment-details .hero-image {
    background: url('../img/slide-desk.jpeg') no-repeat center center;
    background-size: contain;
  }
}
.flipping-page .investment-details .img-placeholder,
.vivenda-page .investment-details .img-placeholder {
  flex: 1;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}
.flipping-page .hero-image,
.vivenda-page .hero-image {
  position: relative;
  z-index: 1;
}
.flipping-page .hero-image img,
.vivenda-page .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.flipping-page section,
.vivenda-page section {
  padding: 80px 0;
}
.flipping-page section.what-is-fund,
.vivenda-page section.what-is-fund {
  padding: 0;
}
.flipping-page .green-wrap,
.vivenda-page .green-wrap {
  color: white;
  padding-top: 50px;
  padding-bottom: 40px;
  background-image: linear-gradient(rgba(135, 146, 109, 0.7), rgba(135, 146, 109, 0.7)), url('../img/madrid-lg-1.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.flipping-page .green-wrap h2.section-title,
.vivenda-page .green-wrap h2.section-title {
  margin-bottom: 30px;
}
@media screen and (max-width: 750px) {
  .flipping-page .green-wrap,
  .vivenda-page .green-wrap {
    background-attachment: scroll;
    padding: 20px;
    text-align: center;
    padding-top: 35px;
  }
}
.flipping-page .section-title,
.vivenda-page .section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}
.flipping-page .section-subtitle,
.vivenda-page .section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
.flipping-page .what-is-fund,
.vivenda-page .what-is-fund {
  background-color: var(--light-gray);
}
.flipping-page .fund-card,
.vivenda-page .fund-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-color);
}
.flipping-page .fund-card:hover,
.vivenda-page .fund-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.flipping-page .fund-card h3,
.vivenda-page .fund-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #010101;
}
.flipping-page .fund-card p,
.vivenda-page .fund-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
}
.flipping-page .numbers,
.vivenda-page .numbers {
  background-image: linear-gradient(rgba(242, 234, 225, 0.7), rgba(242, 234, 225, 0.7)), url('../img/madrid-lg.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 50px 0px;
}
.flipping-page .numbers h3,
.vivenda-page .numbers h3 {
  text-align: center;
  color: #010101;
  text-transform: uppercase;
  font-size: 32px;
  margin-bottom: 30px;
}
@media screen and (max-width: 750px) {
  .flipping-page .numbers,
  .vivenda-page .numbers {
    background-attachment: scroll;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.flipping-page .benefits-grid,
.vivenda-page .benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.flipping-page .benefit-item,
.vivenda-page .benefit-item {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background-color: var(--light-gray);
  transition: all 0.3s ease;
}
.flipping-page .benefit-item:hover,
.vivenda-page .benefit-item:hover {
  background-color: var(--cream-color);
}
@media screen and (max-width: 750px) {
  .flipping-page .benefits-grid,
  .vivenda-page .benefits-grid {
    display: flex;
    overflow-x: scroll;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0 0 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  .flipping-page .benefit-item,
  .vivenda-page .benefit-item {
    flex: 0 0 calc(100% - 0.75rem);
    min-width: calc(100vw - 60px);
    padding: 1.5rem;
  }
}
.flipping-page .benefit-icon,
.vivenda-page .benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #87926D;
}
.flipping-page .benefit-item h4,
.vivenda-page .benefit-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}
.flipping-page .benefit-item p,
.vivenda-page .benefit-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}
.flipping-page .investment-details,
.vivenda-page .investment-details {
  background-color: var(--white);
}
.flipping-page .details-list,
.vivenda-page .details-list {
  list-style: none;
  margin-top: 2rem;
}
.flipping-page .details-list li,
.vivenda-page .details-list li {
  padding: 1rem 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #f0f0f0;
}
.flipping-page .details-list li:last-child,
.vivenda-page .details-list li:last-child {
  border-bottom: none;
}
.flipping-page .details-list li::before,
.vivenda-page .details-list li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.flipping-page .details-table,
.vivenda-page .details-table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
}
.flipping-page .details-table tr,
.vivenda-page .details-table tr {
  border-bottom: 1px solid #f0f0f0;
}
.flipping-page .details-table tr:last-child,
.vivenda-page .details-table tr:last-child {
  border-bottom: none;
}
.flipping-page .details-table td,
.vivenda-page .details-table td {
  padding: 1rem 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  vertical-align: top;
}
.flipping-page .details-table .detail-title,
.vivenda-page .details-table .detail-title {
  font-weight: bold;
  padding-right: 1.5rem;
  min-width: 200px;
  position: relative;
  padding-left: 35px;
}
.flipping-page .details-table .detail-title::before,
.vivenda-page .details-table .detail-title::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.25rem;
}
.flipping-page .details-table .detail-description,
.vivenda-page .details-table .detail-description {
  width: 100%;
}
@media screen and (max-width: 750px) {
  .flipping-page .details-table,
  .vivenda-page .details-table {
    display: block;
    margin: auto 20px;
  }
  .flipping-page .details-table tbody,
  .vivenda-page .details-table tbody {
    display: block;
  }
  .flipping-page .details-table tr,
  .vivenda-page .details-table tr {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
  }
  .flipping-page .details-table td,
  .vivenda-page .details-table td {
    padding: 0.25rem 0;
    display: block;
  }
  .flipping-page .details-table .detail-title,
  .vivenda-page .details-table .detail-title {
    min-width: auto;
    padding-right: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .flipping-page .details-table .detail-description,
  .vivenda-page .details-table .detail-description {
    padding-left: 35px;
    padding-right: 15px;
    padding-top: 0;
  }
  .flipping-page .details-table .detail-title::before,
  .vivenda-page .details-table .detail-title::before {
    left: 10px;
  }
}
.flipping-page .why-different,
.vivenda-page .why-different {
  background: linear-gradient(135deg, #87926D 0%, #F2EAE1 100%);
  color: #010101;
}
.flipping-page .why-different .section-title,
.vivenda-page .why-different .section-title {
  color: var(--white);
}
.flipping-page .why-different .section-subtitle,
.vivenda-page .why-different .section-subtitle {
  color: white;
}
.flipping-page .difference-card,
.vivenda-page .difference-card {
  background-color: rgba(255, 255, 255, 0.541);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(135, 146, 109, 0.2);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}
@media screen and (max-width: 750px) {
  .flipping-page .difference-card,
  .vivenda-page .difference-card {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
  }
}
.flipping-page .difference-card:hover,
.vivenda-page .difference-card:hover {
  background-color: #f3f3f3;
  border-color: #F2EAE1;
}
.flipping-page .difference-card h4,
.vivenda-page .difference-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-color);
}
.flipping-page .difference-card p,
.vivenda-page .difference-card p {
  color: #010101;
  font-size: 15px;
  line-height: 1.7;
}
.flipping-page .metrics-section,
.vivenda-page .metrics-section {
  background-color: #F2EAE1;
}
.flipping-page .metric-box,
.vivenda-page .metric-box {
  text-align: center;
  padding: 2.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}
.flipping-page .metric-value,
.vivenda-page .metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #87926D;
  margin-bottom: 0.5rem;
}
.flipping-page .metric-label,
.vivenda-page .metric-label {
  font-size: 1.1rem;
  color: #010101;
  font-weight: 600;
}
.flipping-page .metric-description,
.vivenda-page .metric-description {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.flipping-page .img-placeholder,
.vivenda-page .img-placeholder {
  background: linear-gradient(135deg, var(--cream-color) 0%, #e8dcc8 100%);
  max-height: 600px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
}
.flipping-page .img-placeholder img,
.vivenda-page .img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 768px) {
  .flipping-page .img-placeholder,
  .vivenda-page .img-placeholder {
    min-height: 320px;
  }
  .flipping-page .hero-content h1,
  .vivenda-page .hero-content h1 {
    font-size: 2.5rem;
  }
  .flipping-page .hero-content p,
  .vivenda-page .hero-content p {
    font-size: 1.1rem;
  }
  .flipping-page .section-title,
  .vivenda-page .section-title {
    font-size: 2rem;
  }
  .flipping-page .btn-secondary-custom,
  .vivenda-page .btn-secondary-custom {
    margin-left: 0;
    margin-top: 1rem;
    display: block;
  }
  .flipping-page .metric-value,
  .vivenda-page .metric-value {
    font-size: 2rem;
  }
  .flipping-page .cta-section h2,
  .vivenda-page .cta-section h2 {
    font-size: 1.8rem;
  }
  .flipping-page .cta-buttons,
  .vivenda-page .cta-buttons {
    flex-direction: column;
  }
  .flipping-page .cta-btn,
  .vivenda-page .cta-btn {
    width: 100%;
  }
}
/* Contact Modal */
.contact-modal .modal-content {
  border: none;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.contact-modal .modal-header {
  background: #87926D;
  border-bottom: 1px solid #87926D;
  padding: 24px 32px 16px;
  border-radius: 0;
}
.contact-modal .modal-title {
  font-weight: 400;
  letter-spacing: -1px;
  text-align: center;
  width: 100%;
  color: var(--white);
  font-size: 1.5rem;
}
.contact-modal .modal-body {
  padding: 25px;
}
.contact-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 1;
}
.contact-modal .modal-subtitle {
  color: var(--light-text);
  margin-bottom: 24px;
}
.contact-modal .form-label {
  font-weight: 600;
  color: var(--dark-text);
  font-size: 0.9rem;
}
.contact-modal .form-control,
.contact-modal .form-select {
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 10px 12px;
}
.contact-modal .form-control:focus,
.contact-modal .form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(135, 146, 109, 0.2);
}
.contact-modal .form-check-label {
  color: var(--light-text);
}
.auth-wrap {
  max-width: 600px;
  margin: 0 auto;
}
.auth-wrap .num,
.auth-wrap .tit {
  font-weight: bold;
}
.auth-wrap p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(1, 1, 1, 0.6);
}
.auth-wrap .num {
  font-size: 30px;
  display: block;
}
.auth-wrap span.sub {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2rem;
  display: block;
}
.auth-wrap .sm-about:before {
  content: "\f272";
  font-size: 18px;
  display: inline-block;
  width: 20px;
  height: 20px;
  font-family: "bootstrap-icons";
}
@media screen and (max-width: 750px) {
  .auth-wrap .num {
    font-size: 1.8rem;
    display: inline-block;
    vertical-align: middle;
    font-weight: 500;
    margin-right: 8px;
  }
  .auth-wrap .tit,
  .auth-wrap .txt {
    font-weight: normal;
    font-size: 1.2rem;
    vertical-align: middle;
  }
  .auth-wrap .tit {
    font-size: 1.4rem;
  }
  .auth-wrap .txt {
    display: block;
    color: #87926D;
  }
  .auth-wrap .sm-about {
    margin-top: 20px;
  }
  .auth-wrap .sm-about:before {
    display: none;
  }
}
.calc-btn {
  font-size: 1rem;
  text-align: center;
  margin-top: 20px;
}
