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

html {
  scroll-behavior: smooth;
}

/* Updated color scheme and typography for elegant terrace enclosures design */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #fefefe;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
}

p {
  margin-bottom: 1rem;
}

/* Updated button styles with new elegant color scheme */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.btn-call {
  background: white;
  color: #16a085;
  box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
}

.btn-call:hover {
  background: linear-gradient(135deg, #061a38);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
}

.btn-quote {
  background: white;
  color: #2c5aa0;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-quote:hover {
  background: linear-gradient(135deg, #061a38);
  transform: translateY(-2px);
}

.btn-service {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
  color: white;
  width: 100%;
  box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.btn-service:hover {
  background: linear-gradient(135deg, #7d3c98, #af7ac5);
  transform: translateY(-2px);
}

.btn-cta {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  font-size: 18px;
  padding: 16px 32px;
  box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #138d75, #17a2b8);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(22, 160, 133, 0.5);
}

.btn-cta-white {
  background: rgba(255, 255, 255, 0.95);
  color: #2c5aa0;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta-white:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-footer {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
}

.btn-footer:hover {
  background: linear-gradient(135deg, #138d75, #17a2b8);
  transform: translateY(-2px);
}

/* Updated header styles with elegant glass effect */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 62, 80, 0.1);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  padding: 8px;
  border-radius: 12px;
  color: white;
}

.logo-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #2c5aa0;
  font-family: "Playfair Display", serif;
}

.logo-subtitle {
  font-size: 12px;
  color: #7f8c8d;
  margin: 0;
  font-style: italic;
}

/* Updated hero section with glass curtains theme */
.hero {
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.9), rgba(22, 160, 133, 0.8)),
    url(../images/terraza-moderna-cortinas-cristal.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 90, 160, 0.1);
  /*backdrop-filter: blur(1px);*/
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  font-family: "Playfair Display", serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
  font-size: 1.2rem;
}

.hero-attention {
  font-size: 20px;
  color: #f8f9fa;
  margin: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Updated services section with elegant styling */
.services {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #2c5aa0;
  font-family: "Playfair Display", serif;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: #5d6d7e;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #2c5aa0;
  font-family: "Playfair Display", serif;
}

.service-description {
  color: #5d6d7e;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.service-features li {
  color: #27ae60;
  margin-bottom: 8px;
  font-weight: 500;
}

.services-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(22, 160, 133, 0.1);
}

.cta-text {
  font-size: 20px;
  color: #2c5aa0;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Updated benefits section with modern card design */
.benefits {
  padding: 100px 0;
  background: #061a38;
  color: white;
}

.benefits .section-title {
  color: white;
}

.benefits .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

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

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.benefit-icon-large {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #f8f9fa;
}

.benefit-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
  font-family: "Playfair Display", serif;
}

.benefit-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.benefits-comparison {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
  color: white;
  font-family: "Playfair Display", serif;
}

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

.comparison-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-item h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: white;
  text-align: center;
}

.comparison-item ul {
  list-style: none;
  padding: 0;
}

.comparison-item li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* Updated CTA section with glass effect */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-primary {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-actions {
  margin-bottom: 30px;
}

.cta-action {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cta-contact {
  font-size: 16px;
  opacity: 0.9;
}

.cta-conclusion {
  font-size: 18px;
  margin-bottom: 30px;
  font-style: italic;
}

/* Updated footer with elegant styling */
.footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  padding: 10px;
  border-radius: 12px;
  color: white;
}

.footer-company-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: "Playfair Display", serif;
}

.footer-company-tagline {
  font-size: 12px;
  color: #bdc3c7;
  margin: 0;
  font-style: italic;
}

.footer-description {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #16a085;
  font-family: "Playfair Display", serif;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  color: #bdc3c7;
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-list li:hover {
  color: #16a085;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #bdc3c7;
}

.footer-cta {
  margin-top: 20px;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  flex: 1;
}

.footer-copyright p {
  font-size: 14px;
  color: #bdc3c7;
  margin: 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #16a085;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

/* Updated responsive design for mobile devices */
@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .hero-buttons {
    align-items: center;
  }

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

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

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

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

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

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-feature:nth-child(even) {
    direction: ltr;
  }

  .comparison-visual {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-arrow {
    transform: rotate(90deg);
    font-size: 2rem;
  }

  .transformation-before,
  .transformation-after {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-visual-steps {
    grid-template-columns: 1fr;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .floating-contact {
    bottom: 100px;
  }
}

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

  .hero {
    padding: 60px 0;
  }

  .services {
    padding: 60px 0;
  }

  .benefits {
    padding: 60px 0;
  }

  .service-card,
  .benefit-card {
    padding: 30px 20px;
  }
}

/* Adding improved gallery and image styling */
.gallery {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(44, 90, 160, 0.9));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
}

.gallery-overlay p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

/* Adding About section image styling */
.about {
  padding: 100px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  padding: 15px;
  border-radius: 15px;
  color: white;
  flex-shrink: 0;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c5aa0;
  font-family: "Playfair Display", serif;
}

.feature-description {
  color: #5d6d7e;
  line-height: 1.6;
}

.quote-box {
  background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid #16a085;
  margin-top: 20px;
}

.quote-text {
  font-style: italic;
  color: #2c5aa0;
  margin-bottom: 15px;
  line-height: 1.6;
}

.quote-signature {
  font-weight: 600;
  color: #16a085;
  margin: 0;
}

/* Adding benefits visual comparison styling */
.benefits-visual {
  margin-bottom: 60px;
}

.comparison-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-before,
.comparison-after {
  text-align: center;
}

.comparison-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.comparison-before h3,
.comparison-after h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: white;
  font-family: "Playfair Display", serif;
}

.comparison-before p,
.comparison-after p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.comparison-arrow {
  font-size: 3rem;
  color: #16a085;
  font-weight: bold;
}

/* Adding technology section styling */
.technology {
  padding: 100px 0;
  background: white;
}

.technology-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.tech-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech-feature:nth-child(even) {
  direction: rtl;
}

.tech-feature:nth-child(even) > * {
  direction: ltr;
}

.tech-image {
  position: relative;
}

.tech-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tech-info {
  padding: 20px;
}

.tech-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c5aa0;
  font-family: "Playfair Display", serif;
}

.tech-description {
  font-size: 16px;
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 25px;
}

.tech-specs {
  list-style: none;
  padding: 0;
}

.tech-specs li {
  color: #27ae60;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 15px;
}

/* Adding process section styling */
.process {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c5aa0;
  font-family: "Playfair Display", serif;
}

.step-description {
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.step-features span {
  background: linear-gradient(135deg, #ecf0f1, #f8f9fa);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #2c5aa0;
  font-weight: 500;
}

.process-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Adding before/after transformations styling */
.before-after {
  padding: 100px 0;
  background: #061a38;
  color: white;
}

.before-after .section-title {
  color: white;
}

.before-after .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.transformations-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.transformation-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.transformation-before,
.transformation-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.transformation-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  position: relative;
}

.transformation-label {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.transformation-info {
  text-align: center;
}

.transformation-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
  font-family: "Playfair Display", serif;
}

.transformation-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.transformation-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.transformation-stats span {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 14px;
}

/* Adding process visual section styling */
.process-visual {
  padding: 100px 0;
  background: white;
}

.process-visual-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.process-visual-step {
  text-align: center;
  background: rgba(248, 249, 250, 0.8);
  padding: 30px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.process-visual-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-image {
  margin-bottom: 25px;
}

.process-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  border-radius: 50%;
  line-height: 50px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.process-visual-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c5aa0;
  font-family: "Playfair Display", serif;
}

.process-visual-step p {
  color: #5d6d7e;
  line-height: 1.6;
  margin: 0;
}

/* Adding FAQ section styling */
.faq {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  margin-bottom: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(22, 160, 133, 0.05);
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c5aa0;
  margin: 0;
  font-family: "Playfair Display", serif;
}

.faq-icon {
  font-size: 24px;
  color: #16a085;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 500px;
}

.faq-answer p {
  color: #5d6d7e;
  line-height: 1.6;
  margin: 0;
}

/* Adding testimonials section styling */
.testimonials {
  padding: 100px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.testimonial-card {
  background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(22, 160, 133, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  font-size: 20px;
  margin-bottom: 20px;
  color: #f39c12;
}

.testimonial-text {
  font-style: italic;
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 16px;
}

.testimonial-author {
  border-top: 2px solid #16a085;
  padding-top: 20px;
}

.testimonial-author strong {
  display: block;
  color: #2c5aa0;
  font-size: 18px;
  margin-bottom: 5px;
  font-family: "Playfair Display", serif;
}

.testimonial-author span {
  color: #7f8c8d;
  font-size: 14px;
}

.testimonials-cta {
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa, #ecf0f1);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(22, 160, 133, 0.1);
}

/* Adding contact section styling */
.contact {
  padding: 100px 0;
  background: #061a38;
  color: white;
}

.contact .section-title {
  color: white;
}

.contact .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: white;
  font-family: "Playfair Display", serif;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.contact-item p {
  margin-bottom: 5px;
}

.contact-item a {
  color: #16a085;
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: #1abc9c;
}

.contact-item small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.contact-guarantees {
  margin-top: 30px;
}

.contact-guarantees h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.contact-guarantees ul {
  list-style: none;
  padding: 0;
}

.contact-guarantees li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  color: white;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #16a085;
  background: rgba(255, 255, 255, 0.15);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}

.btn-submit {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #138d75, #17a2b8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 160, 133, 0.5);
}

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

/* Adding cookie consent styling */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(20px);
  color: white;
  padding: 20px;
  z-index: 10000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-link {
  color: #16a085;
  text-decoration: none;
  font-weight: 500;
}

.cookie-link:hover {
  color: #1abc9c;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-primary {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cookie-primary:hover {
  background: linear-gradient(135deg, #138d75, #17a2b8);
}

.btn-cookie-secondary {
  background: transparent;
  color: white;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cookie-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Adding floating contact button styling */
.floating-contact {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.btn-floating {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.btn-floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(22, 160, 133, 0.5);
}

/* Adding responsive design improvements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .hero-buttons {
    align-items: center;
  }

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

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

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

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

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

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-feature:nth-child(even) {
    direction: ltr;
  }

  .comparison-visual {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-arrow {
    transform: rotate(90deg);
    font-size: 2rem;
  }

  .transformation-before,
  .transformation-after {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-visual-steps {
    grid-template-columns: 1fr;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .floating-contact {
    bottom: 100px;
  }
}

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

  .hero {
    padding: 60px 0;
  }

  .services {
    padding: 60px 0;
  }

  .benefits {
    padding: 60px 0;
  }

  .service-card,
  .benefit-card {
    padding: 30px 20px;
  }
}

/* Navigation Menu Styles */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #16a085;
  background: rgba(22, 160, 133, 0.1);
}

.nav-link:active,
.nav-link.active {
  color: #16a085;
  background: rgba(22, 160, 133, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-selector {
  display: flex;
  gap: 4px;
  background: rgba(44, 90, 160, 0.1);
  padding: 4px;
  border-radius: 8px;
}

.lang-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: #2c5aa0;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, #2c5aa0, #3498db);
  color: white;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #2c5aa0;
  font-weight: 500;
}

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

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #2c5aa0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Responsive Styles */
@media (max-width: 768px) {
  .header-nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(44, 62, 80, 0.1);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-menu.mobile-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
    border-radius: 0;
    font-size: 16px;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .header-actions {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(44, 62, 80, 0.1);
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
	margin-top: 60px;
	border-top: none;
  }

  .header-actions.mobile-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

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

  .header-contact {
    justify-content: center;
    padding: 12px 20px;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 8px;
    font-size: 16px;
  }

  .language-selector {
    justify-content: center;
  }

  /* Prevent body scroll when mobile menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Adjust header content layout for mobile */
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .header-logo {
    order: 1;
  }
}

/* Menú móvil unificado */
 
/*
.mobile-menu-content {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-content {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(44, 62, 80, 0.1);
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s ease;
  }

  .mobile-menu-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  } */

/*
  .nav-menu,
  .header-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
  }

  .header-contact,
  .language-selector {
    justify-content: center;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .header-contact {
    font-size: 16px;
    color: #2c5aa0;
  }

  .language-selector {
    background: rgba(44, 90, 160, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
  }
*/

  /* Ocultar .header-actions en escritorio dentro del menú (ya está en el header) */
 
/*
.header-nav .header-actions {
    display: none;
  }
}
*/

/* En escritorio, mostrar .header-actions normalmente */

/*
@media (min-width: 769px) {
  .mobile-menu-content {
    display: none !important;
  }
  .header-nav .header-actions {
    display: flex;
  }
}
*/


/* 🔧 Corrección para evitar scroll horizontal en móvil */
@media (max-width: 768px) {
  /* Asegurar que el contenedor no se desborde */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Corregir formulario */
  .contact-form-container,
  .contact-info,
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Corregir footer */
  .footer-content,
  .footer-section,
  .footer-links,
  .footer-certifications,
  .footer-legal {
    width: 100%;
    min-width: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-certifications {
    align-self: stretch;
    text-align: left;
  }

  /* Prevenir desbordamiento de texto */
  .footer-section,
  .contact-item,
  .contact-guarantees li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* Para pantallas muy pequeñas (ej. iPhone SE) */
@media (max-width: 375px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .btn {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 14px;
  }

  .footer-copyright p,
  .footer-links a {
    font-size: 13px;
  }
}

/* Evitar desbordamiento de enlaces largos en móvil */
.contact-info a,
.footer-contact a {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  display: inline-block;
}

/* Forzar lista de zonas de instalación en una sola columna */
.footer-section ul.footer-links {
  display: block;
}

.footer-section ul.footer-links li {
  display: block;
  margin-bottom: 8px;
}

/* Opcional: si solo quieres aplicarlo a la sección "Zonas de Instalación" */
.footer-section:nth-child(4) ul.footer-links li {
  display: block;
  margin-bottom: 8px;
}


