:root {
  --beige: #dccca9;
  --beige-dark: #b9a77f;
  --navy: #1b477a;
  --dark: #17212b;
  --text: #2a2a2a;
  --muted: #6f7378;
  --white: #ffffff;
  --light: #f7f4ef;
  --shadow: 0 24px 70px rgba(7, 21, 45, 0.18);
  --radius: 28px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
.contact {
  scroll-margin-top: 110px;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: 0.35s ease;
}

.header.scrolled {
  background: rgba(20, 58, 102, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.navbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 150px;
  max-height: 58px;
  object-fit: cover;
  object-position: center top;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--beige);
}

.nav-cta {
  padding: 12px 20px;
  border: 1px solid var(--beige);
  border-radius: 999px;
  color: var(--beige) !important;
}

.nav-quote{
  padding:12px 24px;
  border-radius:999px;
  background:linear-gradient(
    135deg,
    #dccca9,
    #cdb58b
  );
  color:var(--navy) !important;
  font-weight:800;
  letter-spacing:.02em;
  box-shadow:
    0 10px 28px rgba(220,204,169,.28);
  transition:.3s ease;
}

.nav-quote:hover{
  transform:translateY(-3px);
  background:var(--white);
  box-shadow:
    0 16px 38px rgba(220,204,169,.38);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(20, 58, 102, 0.45),
      rgba(20, 58, 102, 0.15)
    ),
    url("assets/obra.jpeg") center center no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
  padding-bottom: 250px;
}

.hero-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding-top: 88px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 100%;
  padding: 0 6vw;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto 34px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* TYPOGRAPHY */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--beige);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.eyebrow.beige {
  color: var(--beige-dark);
}

.eyebrow.dark {
  color: var(--beige-dark);
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 900px;
  margin: 0 auto 26px;
  text-align: center;
}

.services h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.15;
}

h3 {
  color: var(--navy);
  line-height: 1.2;
}

/* FUENTE JOST */
.script-title {
  font-family: "Jost", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: var(--navy);
  text-shadow: 0 8px 24px rgba(13, 35, 66, 0.12);
}

.about .script-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.hero .script-title,
.contact .script-title,
.services .script-title {
  color: var(--white);
}

.project-catalog .script-title,
.quote-section .script-title,
.apartments .script-title,
.about .script-title,
.why-us .script-title,
.investment .script-title {
  color: var(--navy);
}

.investment .eyebrow {
  color: var(--beige-dark);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--beige);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--beige);
  color: var(--beige);
  transform: translateY(-3px);
}

.btn-pulse {
  animation: pulseButton 1.8s infinite;
}

@keyframes pulseButton {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(200, 184, 154, 0.55);
  }
  70% {
    transform: scale(1.04);
    box-shadow: 0 0 0 14px rgba(200, 184, 154, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(200, 184, 154, 0);
  }
}

/* SECTIONS */
.section {
  padding: 70px 0;
  position: relative;
}

.about-grid,
.investment-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.about-grid {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.about .section-copy {
  max-width: 980px;
  margin: 0 auto;
}

.section-copy p,
.contact-copy p {
  color: var(--muted);
  max-width: 650px;
}

.about .section-copy p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.section-header {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.services .eyebrow {
  justify-content: center;
}

.services h2 {
  max-width: 780px;
  margin: 0 auto;
}

/* QUOTE SECTION */
.quote-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.quote-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fcfaf6, #f8f5ef);
  padding: 54px 0;
  border-top: 1px solid rgba(185, 167, 127, 0.12);
  border-bottom: 1px solid rgba(185, 167, 127, 0.12);
}

.quote-section::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -110px;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  background: url("assets/Logo_lineas.png") center/contain no-repeat;
  opacity: 0.022;
  pointer-events: none;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.quote-copy p {
  color: var(--muted);
  max-width: 520px;
}

.quote-copy .script-title {
  font-size: clamp(2.4rem, 4vw, 4rem);
  max-width: 560px;
}

.quote-form {
  background: rgba(255, 255, 255, 0.82);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(13, 35, 66, 0.1);
  border: 1px solid rgba(185, 167, 127, 0.18);
  display: grid;
  gap: 16px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(185, 167, 127, 0.35);
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}

.quote-form textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--beige-dark);
  box-shadow: 0 0 0 4px rgba(220, 204, 169, 0.28);
}

.quote-form .btn {
  border: none;
  cursor: pointer;
  margin-top: 6px;
}

/* ABOUT */
.about {
  padding: 72px 0 76px;
  background: linear-gradient(135deg, #fcfaf6, #f8f5ef);
  border-top: 1px solid rgba(185, 167, 127, 0.12);
  border-bottom: 1px solid rgba(185, 167, 127, 0.12);
}

.about .script-title {
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.12;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px auto 0;
  max-width: 780px;
}

.stats div {
  padding: 18px;
  min-height: 118px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(13, 35, 66, 0.08);
}

.stats strong {
  display: block;
  font-size: 2.3rem;
  color: var(--beige-dark);
  margin-bottom: 10px;
}

.stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.about-card {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(7, 21, 45, 0.66), rgba(7, 21, 45, 0.72)),
    url("assets/galeria-3.jpg.png") center/cover no-repeat;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow);
}

.about-card h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.about-card p {
  color: rgba(255, 255, 255, 0.82);
}

/* MISIÓN Y VISIÓN */
.mission-vision {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b477a, #25609e);
  padding: 70px 0;
  color: var(--white);
}

.mission-vision::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 420px;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/Logo_lineas.png") left center / 520px auto no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.mission-vision::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 420px;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/Logo_lineas.png") right center / 520px auto no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.mission-vision .container {
  position: relative;
  z-index: 2;
}

.mission-vision .script-title,
.mission-vision h3 {
  color: var(--white);
}

.mission-vision .section-header p:last-child {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.mission-card {
  min-height: 360px;
  padding: 42px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(7, 21, 45, 0.16);
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
}

.mission-card h3 {
  font-size: 2rem;
  margin-bottom: 22px;
  text-align: center;
}

.mission-card p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.95;
  text-align: justify;
  font-size: 1rem;
}

/* =========================
   ENTREGA Y TESTIMONIOS
========================= */

.testimonials-section{
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    linear-gradient(
      135deg,
      #fcfaf7,
      #f5f3ee
    );
  border-top: 1px solid rgba(185,167,127,0.10);
  border-bottom: 1px solid rgba(185,167,127,0.10);
}

.testimonials-section::before{
  content:"";
  position:absolute;
  width:260px;
  height:420px;
  left:-40px;
  top:50%;
  transform:translateY(-50%);
  background:
    url("assets/Logo_dorado.png")
    left center / 520px auto no-repeat;
  opacity:0.028;
  pointer-events:none;
}

.testimonials-section::after{
  content:"";
  position:absolute;
  width:260px;
  height:420px;
  right:-40px;
  top:50%;
  transform:translateY(-50%);
  background:
    url("assets/Logo_dorado.png")
    right center / 520px auto no-repeat;
  opacity:0.028;
  pointer-events:none;
}

.testimonials-section .section-heading{
  text-align:center;
  max-width:820px;
  margin:0 auto 55px;
  position:relative;
  z-index:2;
}

.testimonials-section .section-heading span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-transform:uppercase;
  letter-spacing:0.18em;
  font-size:0.78rem;
  font-weight:700;
  color:var(--beige-dark);
  margin-bottom:18px;
}

.testimonials-section .section-heading span::before{
  content:"";
  width:42px;
  height:1px;
  background:currentColor;
}

.testimonials-section .section-heading h2{
  font-family:"Jost", sans-serif;
  font-size:clamp(3rem,4vw,4.4rem);
  color:var(--navy);
  line-height:1.1;
  margin-bottom:18px;
}

.testimonials-section .section-heading p{
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.8;
}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(280px, 380px));
  justify-content:center;
  gap:32px;
}

.testimonial-card{
  background:rgba(255,255,255,0.82);
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(185,167,127,0.18);
  box-shadow:
    0 18px 45px rgba(13,35,66,0.08);
  transition:0.35s ease;
  backdrop-filter:blur(14px);
}

.testimonial-card:hover{
  transform:translateY(-8px);
  box-shadow:
    0 28px 60px rgba(13,35,66,0.12);
}

.testimonial-video{
  position:relative;
  height:460px;
  overflow:hidden;
  background:#07152d;
}

.testimonial-video video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.testimonial-content{
  padding:34px;
  text-align:center;
}

.testimonial-content h3{
  font-size:1.65rem;
  color:var(--navy);
  margin-bottom:10px;
}

.testimonial-content span{
  display:inline-block;
  margin-bottom:20px;
  color:var(--beige-dark);
  font-size:0.82rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.12em;
}

.testimonial-content p{
  color:var(--muted);
  line-height:1.9;
  font-size:0.97rem;
  max-width:520px;
  margin:0 auto;
}

.zoom-img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 45, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 28px;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 34px;
  color: white;
  font-size: 42px;
  cursor: pointer;
  line-height: 1;
}

/* RESPONSIVE TESTIMONIOS */
@media (max-width: 920px){
  .testimonials-grid{
    grid-template-columns:1fr;
  }
  .testimonial-video{
    height:280px;
  }
}

@media (max-width: 640px){
  .testimonials-section{
    padding:75px 0;
  }
  .testimonial-content{
    padding:26px;
  }
  .testimonial-video{
    height:240px;
  }
  .testimonials-section .section-heading h2{
    font-size:3rem;
  }
}

/* TEAM */
.team {
  background: #fbfaf7;
  padding: 56px 0;
}

.team-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card,
.service-card,
.mini-card,
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(7, 21, 45, 0.08);
  border: 1px solid rgba(185, 167, 127, 0.10);
}

.team-card {
  padding: 24px;
  text-align: center;
}

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 24px;
  border: 8px solid var(--light);
}

.team-card .role {
  color: var(--beige-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 8px 0 14px;
}

.team-card p:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

/* SERVICES */
.services {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b477a, #25609e);
  padding: 54px 0;
}

.services .container {
  position: relative;
  z-index: 2;
}

.services h2,
.services h3 {
  color: var(--white);
}

.service-card {
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  color: var(--white);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.service-image{
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1.4rem;
  display: block;
  overflow: hidden;
}

.service-card{
  overflow: hidden;
}

.service-card h3{
  margin-top: .3rem;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

.service-card span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--beige);
  font-weight: 800;
}

.service-card p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.service-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: none;
  opacity: 0.9;
  transition: 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2);
  opacity: 1;
  filter: brightness(0) invert(1) sepia(1) hue-rotate(20deg) saturate(3);
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--beige);
  transition: 0.3s ease;
}

.service-card:hover::after {
  width: 100%;
}

/* PROJECT CATALOG */
.project-catalog {
  position: relative;
  overflow: hidden;
  background: #fbfaf7;
  padding: 72px 0 86px;
  border-bottom: 1px solid rgba(185, 167, 127, 0.10);
}

.project-catalog .container {
  position: relative;
  z-index: 2;
}

.project-cards {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.project-card {
  max-width: 420px;
  width: 100%;
}

.project-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(185, 167, 127, 0.35);
  box-shadow: 0 18px 45px rgba(13, 35, 66, 0.1);
  transition: 0.3s ease;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(13, 35, 66, 0.16);
}

.project-card-image {
  height: 220px;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card-content {
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-content h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.5rem;
}

.project-card-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.project-card-content span {
  display: block;
  margin-bottom: 22px;
  color: var(--beige-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.project-card .btn {
  margin-top: auto;
  width: 100%;
}

/* CONOCE TU NUEVO HOGAR */
.new-home {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fcfaf7, #f7f3eb);
  padding: 84px 0;
  border-top: 1px solid rgba(185, 167, 127, 0.10);
  border-bottom: 1px solid rgba(185, 167, 127, 0.10);
}

.new-home .container {
  position: relative;
  z-index: 2;
}

.new-home .section-header p:last-child {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.new-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
  gap: 26px;
  margin-top: 38px;
}

.new-home-card {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(185, 167, 127, 0.18);
  box-shadow: 0 18px 45px rgba(13, 35, 66, 0.10);
  transition: 0.35s ease;
}

.new-home-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 62px rgba(13, 35, 66, 0.14);
}

.new-home-video {
  height: 430px;
  background: #07152d;
  overflow: hidden;
  border-bottom: 1px solid rgba(185, 167, 127, 0.18);
}

.new-home-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.new-home-content {
  padding: 28px 24px 30px;
  text-align: center;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.new-home-content span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--beige-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.new-home-content h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.new-home-content p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
  max-width: 260px;
  margin: 0 auto;
}

.brochure-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.new-home::before,
.new-home::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 620px;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/Logo_dorado.png") center / 600px auto no-repeat;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

.new-home::before {
  left: -120px;
  background-position: left center;
}

.new-home::after {
  right: -120px;
  background-position: right center;
}

/* APARTMENTS */
.apartments {
  background: linear-gradient(135deg, #fcfaf7, #f7f3eb);
  padding: 48px 0;
}

.apartments .script-title {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1.1;
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 34px;
}

.apartment-card {
  max-width: 470px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.apartment-card:hover {
  transform: translateY(-8px);
}

.apartment-media {
  height: 260px;
  background: var(--navy);
  overflow: hidden;
}

.apartment-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.apartment-media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #07152d;
  display: block;
}

.apartment-media{
  background: #07152d;
}

.apartment-media img,
.apartment-media video {
  transition: 0.45s ease;
}

.apartment-card:hover .apartment-media img,
.apartment-card:hover .apartment-media video {
  transform: scale(1.08);
}

video {
  border-radius: 0;
  outline: none;
}

.apartment-info {
  padding: 30px;
}

.apartment-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--beige-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.apartment-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.apartment-area {
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 18px;
}

.apartment-info ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.apartment-info li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.apartment-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--beige-dark);
  font-weight: 800;
}

/* PROYECTO A13 ENTREGADO */
.delivered-project {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fcfaf7, #f7f3eb);
  padding: 110px 0 82px;
  border-top: 1px solid rgba(185, 167, 127, 0.10);
  border-bottom: 1px solid rgba(185, 167, 127, 0.10);
}

.delivered-project .section-header p:last-child {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.delivered-gallery {
  display: grid;
  grid-template-columns: 560px 280px;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
  position: relative;
  z-index: 2;
}

.delivered-main,
.delivered-side img {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  border: 1px solid rgba(185, 167, 127, 0.20);
}

.delivered-main {
  position: relative;
  background: #f8f8f8;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivered-main img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  transform: scale(0.88);
  border-radius: 18px;
  display: block;
}

.delivered-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.delivered-label {
  display: block;
  text-align: center;
  margin-bottom: 4px;
  color: var(--beige-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.delivered-side img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center;
  background: #f3f3f3;
  display: block;
}

.delivered-main:hover img {
  transform: scale(0.91);
  filter: brightness(1.03);
}

.delivered-side img:hover {
  transform: scale(1.03);
  filter: brightness(1.03);
}

.delivered-status {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(185,167,127,0.20);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.delivered-status::before {
  content: "●";
  color: #2ecc71;
  font-size: 0.9rem;
}

.delivered-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
  position: relative;
  z-index: 3;
}

.delivered-action .btn {
  min-width: 280px;
}

/* INVESTMENT */
.investment {
  background: #fbfaf7;
  padding: 54px 0;
  border-top: 1px solid rgba(185, 167, 127, 0.10);
  border-bottom: 1px solid rgba(185, 167, 127, 0.10);
}

.investment .section-copy > p:not(.eyebrow) {
  color: rgba(7, 21, 45, 0.74);
}

.investment .section-copy .eyebrow {
  color: var(--beige-dark);
}

.investment-cards {
  display: grid;
  gap: 18px;
}

.mini-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.mini-card p {
  margin-top: 10px;
  color: var(--muted);
}

/* WHY US */
.why-us {
  background: linear-gradient(135deg, #f7f1e6, #fcfaf6);
  padding: 56px 0;
  border-top: 1px solid rgba(185, 167, 127, 0.14);
  border-bottom: 1px solid rgba(185, 167, 127, 0.14);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 45px rgba(7, 21, 45, 0.08);
  transition: 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
}

.why-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--beige-dark);
  font-weight: 800;
}

.why-card h3 {
  margin-bottom: 14px;
}

.why-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* CONTACT */
.contact {
  padding: 64px 0;
  background:
    linear-gradient(90deg, rgba(20, 58, 102, 0.84), rgba(20, 58, 102, 0.62)),
    url("assets/galeria-4.jpg.jpeg") center/cover no-repeat;
  color: var(--white);
}

.contact h2 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  padding: 28px;
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: 0.3s ease;
  word-break: break-word;
}

.contact-btn img {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-btn span {
  font-size: 0.95rem;
  line-height: 1.3;
}

.contact-btn:hover {
  background: var(--beige);
  color: var(--navy);
}

.social-buttons {
  display: grid;
  gap: 14px;
}

.social-btn {
  justify-content: center;
}

.social-btn img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
}

.social-title {
  text-align: center;
  color: var(--beige);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 8px 0 4px;
}

.social-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: rgba(220, 204, 169, 0.75);
  margin: 8px auto 0;
  border-radius: 999px;
}

.social-buttons a:hover {
  background: var(--beige);
  transform: translateY(-4px);
}

.contact-card .whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--beige);
  color: var(--navy);
  font-weight: 800;
  transition: 0.3s ease;
}

.contact-card .whatsapp img {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-card .whatsapp span {
  font-size: 0.95rem;
  line-height: 1.3;
}

.contact-card .whatsapp:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
}

/* FOOTER */
.footer {
  padding: 20px 0;
  background: #030b18;
  color: rgba(255, 255, 255, 0.72);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

.footer a,
.creator a {
  color: var(--beige);
}

.creator {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.creator a {
  font-weight: 600;
}

.creator a:hover {
  text-decoration: underline;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* DECORATIVE CONSTRUCTION LINES */
.services,
.apartments,
.why-us,
.contact {
  position: relative;
  overflow: hidden;
}

.hero::before,
.apartments::before,
.why-us::before,
.contact::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(200, 184, 154, 0.22);
  border-radius: 50%;
  top: -160px;
  right: -140px;
  pointer-events: none;
  z-index: 0;
}

.services .container,
.apartments .container,
.why-us .container,
.contact .container {
  position: relative;
  z-index: 2;
}

.blueprint-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 184, 154, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 184, 154, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
  z-index: 0;
}

.logo-outline {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 320px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  filter: grayscale(100%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 1;
}

.measure-lines {
  position: absolute;
  top: 120px;
  left: 50px;
  width: 120px;
  height: 1px;
  background: rgba(200, 184, 154, 0.4);
  pointer-events: none;
  z-index: 1;
}

.measure-lines::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(200, 184, 154, 0.4);
}

/* WHATSAPP FLOTANTE */
.floating-whatsapp {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  z-index: 99999 !important;
  transition: 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.floating-whatsapp i {
  font-size: 2rem;
  color: white;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes drawLine {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(10deg);
  }
}

.hero::before {
  animation: drawLine 2.5s ease forwards;
}

/* MARCA PARTIDA EN SECCIONES */
.about,
.project-catalog,
.quote-section,
.investment,
.apartments,
.why-us,
.delivered-project,
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.about::before,
.project-catalog::before,
.quote-section::before,
.investment::before,
.apartments::before,
.why-us::before,
.delivered-project::before,
.testimonials-section::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 620px;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/Logo_dorado.png") left center / 600px auto no-repeat;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

.about::after,
.project-catalog::after,
.quote-section::after,
.investment::after,
.apartments::after,
.why-us::after,
.delivered-project::after,
.testimonials-section::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 620px;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/Logo_dorado.png") right center / 600px auto no-repeat;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

.mission-vision::before,
.services::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 620px;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/Logo_lineas.png") left center / 600px auto no-repeat;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}

.mission-vision::after,
.services::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 620px;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/Logo_lineas.png") right center / 600px auto no-repeat;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}

.about .container,
.project-catalog .container,
.new-home .container,
.quote-section .container,
.investment .container,
.apartments .container,
.why-us .container,
.testimonials-section .container,
.mission-vision .container,
.delivered-project .container,
.services .container {
  position: relative;
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 920px) {
  .new-home-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .new-home-video {
    height: 460px;
  }
  .delivered-gallery {
    align-items: center;
    grid-template-columns: 1fr;
  }
  .delivered-main img {
    height: 520px;
  }
  .delivered-side {
    grid-template-columns: repeat(3, 1fr);
  }
  .delivered-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--beige-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .delivered-side img {
    height: 150px;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .mission-card {
    min-height: auto;
  }
  .quote-row {
    grid-template-columns: 1fr;
  }
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .project-cards {
    grid-template-columns: 1fr;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 88px;
    right: -100%;
    width: min(340px, 86%);
    height: calc(100vh - 88px);
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
    background: rgba(7, 21, 45, 0.98);
    transition: 0.35s ease;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu .nav-quote,
  .nav-menu .nav-cta {
    display: inline-flex;
    justify-content: center;
  }
  .about-grid,
  .investment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .team-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apartments-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .apartment-media {
    height: 420px;
  }
  .hero-inner {
    padding-top: 100px;
  }
}

@media (max-width: 640px) {
  .new-home {
    padding: 76px 0;
  }
  .new-home-video {
    height: 420px;
  }
  .new-home-card {
    max-width: 390px;
    margin: 0 auto;
  }
  .brochure-action .btn {
    width: 100%;
    max-width: 280px;
  }
  .about::before,
  .about::after,
  .project-catalog::before,
  .project-catalog::after,
  .new-home::before,
  .new-home::after,
  .quote-section::before,
  .quote-section::after,
  .investment::before,
  .investment::after,
  .apartments::before,
  .apartments::after,
  .why-us::before,
  .why-us::after,
  .delivered-project::before,
  .delivered-project::after,
  .testimonials-section::before,
  .testimonials-section::after,
  .mission-vision::before,
  .mission-vision::after,
  .services::before,
  .services::after {
    display: none;
  }
  .delivered-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .delivered-main img {
    height: 420px;
    transform: scale(0.9);
  }
  .delivered-main,
  .delivered-side-wrap {
    width: 100%;
  }
  .delivered-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .delivered-side img {
    height: 190px;
  }
  .delivered-status {
    left: 16px;
    bottom: 16px;
    font-size: 0.78rem;
    padding: 10px 16px;
  }
  .section,
  .contact {
    padding: 78px 0;
  }
  .navbar {
    height: 76px;
  }
  .nav-menu {
    top: 76px;
    height: calc(100vh - 76px);
  }
  .logo img {
    width: 126px;
  }
  .hero-content {
    padding: 0;
  }
  .hero-inner {
    padding-top: 92px;
    gap: 28px;
  }

  /* AQUÍ ESTÁ EL TAMAÑO DE LETRA CORREGIDO PARA MÓVILES */
  .script-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.15;
  }

  .hero-actions,
  .footer-content {
    flex-direction: column;
  }
  .team-grid,
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .apartment-media {
    height: 300px;
  }
  .apartment-info {
    padding: 24px;
  }
  .about-card {
    min-height: 220px;
    max-width: 430px;
    padding: 34px;
  }
  .service-card,
  .mini-card,
  .contact-card {
    padding: 26px;
  }
  .social-buttons {
    justify-content: center;
  }
  .contact-btn,
  .contact-card .whatsapp {
    padding: 14px 16px;
  }
  .contact-btn span,
  .contact-card .whatsapp span {
    font-size: 0.88rem;
  }
  .measure-lines {
    display: none;
  }
}

/* =========================
   CARRUSEL INFERIOR HERO
========================= */
.hero-carousel-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 20; /* Elevado para asegurar que sea clickeable */
}

.hero-carousel-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  background: #07152d;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.hero-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.hero-video {
  flex: 0 0 50%;
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  object-position: center;
  transform: scale(1.02); 
}

/* --- Botones Semi-invisibles --- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.45);
  color: #fff;
  border-color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

@media (max-width: 768px) {
  .hero-carousel-container {
    height: 180px;
  }
  .hero-video {
    flex: 0 0 100%;
  }
  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }
}