/* Variables CSS */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #95a5a6;
  --accent-color: #d4a574;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-dark: #34495e;
  --white: #ffffff;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 10rem;

  --ceramica-color: #d7d1ca;
  --arcilla-color: #f0f1ef;
  --concreto-color: #808282;
  --hormigon-color: #515150;
}

/* Header & Navigation */
.header {
  /* position: fixed; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  transition: background 0.3s ease;
}

/*
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
    */

.navbar {
  padding: 1.5rem 0;
}

.navbar-content {
  /* position: fixed; */
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #d9d5cd;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--white);
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link:hover {
  color: var(--accent-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  max-height: 100vh;
  width: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
  background-image: url("http://rebis.krak.com.ar/wp-content/uploads/2026/04/Foto-madrid-.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: end;
}

.hero .container {
  position: relative;
  z-index: 10;
  padding-bottom: 50px;
}

.hero-content {
  color: var(--white);
  max-width: 100%;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-title strong {
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-content-buttons {
  display: flex;
  justify-content: space-between;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-white {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats-bottom {
  bottom: 3rem;
  right: 3rem;
  z-index: 10;
}

.hero-stats-bottom .stat-item {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  text-align: right;
  width: 20rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-stats-bottom .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0rem;
  text-transform: capitalize;
}

.hero-stats-bottom .stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

/* Refugio Section */
.refugio-section {
  padding: var(--spacing-xl) 0;
  background: var(--arcilla-color);
  width: 100%;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 4rem;
  line-height: 1.3;
}

.section-title strong {
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.4;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--text-dark);
  display: inline-block;
}

.feature-item p {
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 0.95rem;
}

.stats-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-banner-item {
  padding: 3rem 3rem;
  border-radius: 15px;
  color: var(--white);
}

.stat-banner-light {
  background: var(--concreto-color);
}

.stat-banner-dark {
  background: var(--hormigon-color);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0rem;
}

.stat-banner-item .stat-label {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--white);
}

/* Invertir Section */
.invertir-section {
  padding: var(--spacing-xl) 0;
  background: var(--arcilla-color);
  width: 100%;
}

.invertir-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.invertir-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 70%;
  height: 2px;
  background: var(--text-dark);
}

.invertir-title strong {
  font-weight: 700;
}

.invertir-subtitle {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  font-weight: 300;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--arcilla-color);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  border: 2px solid #3a3a3a;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 3rem;
  padding-bottom: 0rem;
  border-bottom: 2px solid var(--text-dark);
  display: inline-block;
  width: 100%;
}

.step-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.step-card p {
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Latinoamerica Section */
.latinoamerica-section {
  padding: 0;
  background: var(--white);
  width: 100%;
}

.latinoamerica-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 500px;
  width: 100%;
}

.latinoamerica-text {
  background: #939393;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.latinoamerica-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--white);
  line-height: 1.4;
}

.latinoamerica-text h2 strong {
  font-weight: 700;
}

.latinoamerica-text p {
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.badges-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--white);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  display: inline-block;
  background: transparent;
}

.latinoamerica-image {
  position: relative;
  overflow: hidden;
}

.latinoamerica-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Beneficios Section */
.beneficios-section {
  padding: var(--spacing-xl) 0;
  background: var(--arcilla-color);
  width: 100%;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.beneficio-item {
  text-align: left;
  padding: 0;
}

.beneficio-icon {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  display: block;
  color: var(--text-dark);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-dark);
}

.beneficio-icon svg {
  display: block;
}

.beneficio-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.beneficio-item p {
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Inversion 360 Section */
.inversion-360-section {
  padding: var(--spacing-xl) 0;
  background: #5a5a5a;
  color: var(--white);
  width: 100%;
}

.inversion-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.inversion-left {
  padding-right: 2rem;
}

.inversion-subtitle {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--white);
  padding-bottom: 0.75rem;
  width: 100%;
  border-bottom: 2px solid var(--white);
  display: inline-block;
}

.inversion-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  padding-bottom: 2px;
  color: var(--white);
  line-height: 1.2;

  border-bottom: 2px solid var(--white);
}

.inversion-title strong {
  font-weight: 700;
}

.inversion-description {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 450px;
}

.inversion-right {
  padding-left: 2rem;
}

.inversion-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.inversion-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.inversion-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-num {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--white);
  min-width: 80px;
  line-height: 1;
}

.step-info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.step-info p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Propiedades Gallery */
.propiedades-gallery {
  padding: var(--spacing-xl) 100px;
  background-image: url("http://rebis.krak.com.ar/wp-content/uploads/2026/04/cocina.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  width: 100%;
}


.propiedades-gallery::before {
  content: '';
  position: absolute;
  inset: -1px 0 0 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12rem;
  position: relative;
  z-index: 2;
}

.gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.gallery-image {
  position: relative;
  overflow: hidden;
  height: 340px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  /* position: absolute; */
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  color: var(--white);
}

.gallery-label {
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 0rem;
  color: var(--white);
  opacity: 0.9;
}

.gallery-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5rem;
  color: var(--white);
}

.gallery-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.95;
}

/* Antes y Después Section */
.antes-despues-section {
  padding: var(--spacing-xl) 0;
  background: var(--arcilla-color);
  width: 100%;
}

.antes-despues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.antes-despues-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.antes-despues-image {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.antes-despues-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.antes-despues-overlay {
  /* position: absolute; */
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  background: rgba(90, 90, 90, 0.95);
  color: var(--white);
}

.antes-despues-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.antes-despues-list {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 120px;
}

.antes-despues-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
}

.antes-despues-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.antes-despues-list li:last-child {
  margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  background: var(--arcilla-color);
  width: 100%;
}

.faq-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 4rem;
  line-height: 1.3;
}

.faq-title strong {
  font-weight: 700;
}

.faq-list {
  max-width: 100%;
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
}

.faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dark);
  flex: 1;
}

.faq-toggle {
  font-size: 2rem;
  color: var(--text-dark);
  transition: transform 0.3s ease;
  font-weight: 300;
  margin-left: 2rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1.5rem;
}

.faq-answer p {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1rem;
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xl) 0;
  background: #5a5a5a;
  color: var(--white);
  width: 100%;
}

.contact-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 3rem;
  line-height: 1.3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 1rem 0;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
  resize: vertical;
  min-height: 50px;
}

.form-button-wrapper {
  display: flex;
  justify-content: flex-end;
}

.btn-enviar {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  padding: 0.9rem 3rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-enviar:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
  background: #7a7a7a;
  padding: 2.5rem 0;
  color: var(--white);
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 45px;
  filter: brightness(0) invert(1);
}

.footer-info {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.footer-item svg {
  width: 20px;
  height: 20px;
}

.footer-item span {
  font-size: 1rem;
  font-weight: 300;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    display: none;
  }

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

  .mobile-menu-toggle span {
    background: var(--white);
  }

  .header.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .latinoamerica-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .latinoamerica-text {
    padding: 3rem 0;
  }

  .latinoamerica-text .container {
    padding: 0 2rem;
  }

  .latinoamerica-image {
    min-height: 400px;
  }

  .inversion-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .inversion-left,
  .inversion-right {
    padding: 0;
  }

  .antes-despues-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .antes-despues-image {
    height: 450px;
  }

  .stats-banner {
    grid-template-columns: 1fr;
  }

  .hero-stats-bottom {
    bottom: 2rem;
    right: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-card {
    min-height: auto;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-image {
    height: 300px;
  }

  .antes-despues-image {
    height: 400px;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-stats-bottom {
    position: static;
    margin-top: 3rem;
  }

  .hero-stats-bottom .stat-item {
    align-items: flex-start;
    text-align: left;
  }
}
