/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-dark: #00843d;
  --green-medium: #2d6943;
  --green-light: #4a7c59;
  --yellow: #ffc823;
  --white: #ffffff;
  --gray-light: #e6e6de;
  --gray-medium: #333E33;
  --text-dark: #333e33;
}

body {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: transparent;
  padding: 15px 0;
  position: absolute;
  z-index: 100;
  width: 100%;
  top: 0;
  left: 0;
}

.logo img {
  background-color: transparent;
  width: auto;
  max-width: 80px;
}

/* Hero Section */
.hero {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgb(40, 96, 64) 90%
    ),
    url("/assets/images/28_BANNERS-NAVIDAD-CB-1440X843PX.jpg") center / cover no-repeat;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-background {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 60px;
  align-items: center;
  text-align: center;
  margin-top: 20%;
}

.hero-text h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 30px;
}

.hero-subtitle strong {
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.hero-buttons .btn {
  flex: 1 1 calc(33.33% - 20px);
  max-width: 320px;
  min-width: 260px;
  text-align: center;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--green-dark);
}

.hero-location {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.location-card {
  display: flex;
  gap: 15px;
}

.location-icon {
  font-size: 32px;
}

.location-info h3 {
  color: var(--green-dark);
  font-size: 20px;
  margin-bottom: 10px;
}

.location-info p {
  color: var(--gray-medium);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 5px;
}

/* Projects Section with Couple Image */
.projects-section {
  padding: 60px 0;
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
  background: url("/assets/icons/BGSECCION.svg") right center / cover no-repeat;
}

.projects-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.container-full {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.projects-left {
  display: none;
}

.couple-image-projects {
  display: none;
}

.hexagon-frame-projects {
  display: none;
}

.projects-right {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projects-right .section-title {
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

.projects-carousel {
  position: relative;
  max-width: 100%;
}

.carousel-container {
  overflow: hidden;
}

.project-card-horizontal {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 45% 55%;
}

.project-image-horizontal {
  min-height: 100%;
  overflow: hidden;
}

.project-image-horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info-horizontal {
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info-horizontal h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.project-location {
  color: var(--gray-medium);
  font-size: 14px;
  margin-bottom: 25px;
}

.project-features-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding-bottom: 25px;
  align-self: flex-start;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  font-size: 12px;
  color: var(--gray-medium);
}

.feature .icon {
  font-size: 20px;
  margin-bottom: 5px;
}

.project-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.project-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--green-dark);
  margin-top: 5px;
}

.btn-link {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-link:hover {
  background: var(--green-dark);
  color: white;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e9eef2;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 20%;
  font-size: 26px;
  color: var(--green-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #e9eef2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
  left: -70px;
}

.carousel-btn.next {
  right: -70px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.indicator {
  width: 50px;
  height: 3px;
  background: #b0d7c1;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #00843d;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

/* Benefits Section */
.benefits-section {
  padding: 40px 0 0 0;
  background: var(--gray-light);
  position: relative;
}

.benefits-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
  pointer-events: none;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-medium);
  font-size: 16px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-icon {
  background-color: white;
  padding: 15px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-card h3 {
  font-size: 18px;
  color: var(--text-dark);
}

.benefit-card p {
  font-size: 14px;
  color: var(--gray-medium);
  line-height: 1.4;
}

.benefits-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.benefits-buttons .btn-primary {
  background: var(--green-dark);
  color: white;
}

.benefits-buttons .btn-primary:hover {
  background: var(--green-light);
}

.benefits-buttons .btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

.benefits-buttons .btn-secondary:hover {
  background: var(--green-dark);
  color: white;
}

.benefits-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.column-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.column-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-medium);
  margin-bottom: 1rem;
}

.column-image {
  display: flex;
  justify-content: center;
}

.column-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .column-image {
    display: none;
  }
  .benefits-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .section-subtitle{
    line-height: 1.3;
  }
  .column-text h3 {
    font-size: 32px;
  }

  .column-text p {
    font-size: 16px;
    line-height: 1.3;
  }

  .project-card-horizontal {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .project-image-horizontal {
    min-height: 250px;
  }
  .logo {
    place-self: center;
  }
  .hero-buttons .btn {
    max-width: 100%;
    max-height: 100%;
  }
  .hero-content {
    padding-top: 320px;
  }
  .benefit-card{
    padding: 10px 0;
  }
   .hero {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgb(40, 96, 64) 90%
      ),
      url("/assets/images/28_BANNER-NAVIDAD-CB-375X965PX.jpg") center / cover no-repeat;
  }
}

/* Footer */
.footer {
  background: #e9eef2;
}

.footer-top {
  background: var(--yellow);
  position: relative;
  padding-top: 94px;
  text-align: center;
}

.footer-logo {
  position: absolute;
  top: -20px;
}

.footer-logo img {
  height: auto;
}

.footer-bottom {
  padding: 10px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-links span {
  color: var(--text-dark);
}

.footer-copyright {
  color: var(--text-dark);
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .container-full {
    grid-template-columns: 1fr;
  }

  .faq-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 34px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-buttons,
  .benefits-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .carousel-btn.prev {
    left: -13px;
  }

  .carousel-btn.next {
    right: -13px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .project-info-horizontal {
    padding: 30px 20px;
  }

  .feature {
    text-align: left;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .project-features-horizontal {
    gap: 10px;
  }

  .location-card {
    flex-direction: column;
  }
}

/* Confirmation Section */
.confirmation-section {
  padding: 120px 0 60px 0;
  background: var(--gray-light);
}

.confirmation-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 80px;
}

.confirmation-image {
  position: relative;
}

.confirmation-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

.confirmation-text h1 {
  font-size: 32px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.confirmation-subtitle {
  font-size: 16px;
  color: var(--gray-medium);
  line-height: 1.6;
  margin-bottom: 40px;
}

.appointment-details h3 {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 15px;
}

.appointment-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.appointment-info svg {
  flex-shrink: 0;
}

.appointment-info span {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 400;
}

.btn-return {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-return:hover {
  background: var(--green-dark);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .confirmation-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    margin-top: 60px;
  }

  .confirmation-image {
    display: flex;
    justify-content: center;
  }

  .confirmation-image img {
    max-width: 300px;
  }

  .confirmation-text {
    text-align: left;
  }
  .confirmation-text h1 {
    font-size: 28px;
  }

  .btn-return {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .confirmation-section {
    padding: 100px 0 40px 0;
  }

  .confirmation-text h1 {
    font-size: 24px;
  }

  .confirmation-image img {
    max-width: 250px;
  }
}

/* Botones flotantes */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    background: #EFECEC;
    border: none;
    border-radius:12px;
    padding: 6px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #00796b;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-btn.whatsapp {
    background: #EFECEC;
}

.floating-btn.agenda {
    background: #EFECEC;
}

.floating-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-btn-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Menú desplegable */
.city-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    width: 200px;
}

.city-menu.active {
    max-height: 400px;
    opacity: 1;
}

.city-menu-item {
    padding: 14px 20px;
    border: none;
    background: white;
    width: 100%;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #00796b;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
}

.city-menu-item:last-child {
    border-bottom: none;
}

.city-menu-item:hover {
    background: #e0f2f1;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        flex-direction: row;
        gap: 10px;
    }
    
    .floating-btn {
        min-width: 180px;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .floating-btn-icon {
        width: 28px;
        height: 28px;
    }
    
    .city-menu {
        width: 180px;
    }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  border: none;
  font-size: 32px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f0f0f0;
  transform: rotate(90deg);
}

.modal-body {
  width: 100%;
  height: 700px;
  max-height: 85vh;
  overflow: auto;
}

#calendlyEmbed {
  width: 100%;
  height: 100%;
  min-height: 700px;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-body {
    height: 600px;
    max-height: 80vh;
  }

  #calendlyEmbed {
    min-height: 600px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    max-height: 100vh;
  }

  .modal-body {
    height: calc(100vh - 60px);
    max-height: none;
  }

  #calendlyEmbed {
    min-height: calc(100vh - 60px);
  }
}