body{
font-family: Arial;
margin:0;
text-align:center;
background:#f4f4f4;
}

nav{
background:#222;
padding:15px;
}

nav a{
color:white;
margin:10px;
text-decoration:none;
}

header{
padding:60px;
background:#333;
color:white;
}

.card{
background:white;
margin:20px auto;
padding:20px;
width:250px;
border-radius:8px;
}

.btn{
background:#25D366;
color:white;
padding:15px 25px;
text-decoration:none;
border-radius:8px;
display:inline-block;
margin-top:20px;
}

.galeria img{
width:250px;
margin:10px;
border-radius:8px;
}

.whatsapp{
position:fixed;
bottom:20px;
right:20px;
background:#25D366;
color:white;
padding:15px;
border-radius:50px;
text-decoration:none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  /* color: #1c2b39; */
  background: linear-gradient(135deg, #061f31 0%, #0a3449 100%);
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  background: #061f31;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: 70px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00a9b5;
}

/* MENÚ HAMBURGUESA */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn:hover {
  color: #00a9b5;
}

.mobile-close-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1002;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

/* HERO */
.hero {
  /* background: linear-gradient(135deg, #061f31 0%, #0a3449 100%); */
  color: white;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  min-height: 600px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-text {
  align-content: center;
  flex: 1;
  padding: 0 30px;
  text-align: left;
  width: 50%;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .hero-text {
    width: 100%;
    padding: 0 20px;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .carousel-btn {
    top: 61%;
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 1200px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0.9;
}

.hero-img {
  flex: 1;
  text-align: center;
}

.hero-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* INFO SECTION */
.info {
  background: #f8f9fa;
  padding: 80px 20px;
}

.info-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  gap: 60px;
  align-items: center;
}

.info-text h2 {
  font-size: 2.5rem;
  color: #061f31;
  margin-bottom: 20px;
}

.info-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  padding: 0 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.info-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.link {
  color: #00a9b5;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.link:hover {
  color: #061f31;
}

/* BLUE SECTION */
.blue-section {
  background: #061f31;
  color: white;
  padding: 60px 0;
}

.blue-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.blue-section p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* WORKS PARTICIPATION */
.works-participation {
  padding: 80px 0;
  background: #f8f9fa;
}

.works-participation h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #061f31;
  margin-bottom: 60px;
}

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

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.work-item {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.work-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.work-content h3 {
  font-size: 1.8rem;
  color: #061f31;
  margin-bottom: 15px;
}

.work-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.participants {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.participant {
  background: #e8f4f5;
  color: #00a9b5;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #061f31;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: #00a9b5;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

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

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: #00a9b5;
}

.carousel-more {
  text-align: center;
  margin-top: 40px;
}

/* CONTACT */
.contact {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #061f31;
  margin-bottom: 60px;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #061f31;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 15px;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: #00a9b5;
  text-decoration: none;
  font-weight: 600;
  margin-right: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #061f31;
}

.contact-form h3 {
  font-size: 1.8rem;
  color: #061f31;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: inherit;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00a9b5;
}

/* BUTTONS */
.btn {
  background: #00a9b5;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #061f31;
}

/* FOOTER */
.footer {
  background: #061f31;
  color: white;
  text-align: center;
  padding: 30px 0;
}

/* POPUP */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.popup-icon {
  width: 60px;
  height: 60px;
  background: #00a9b5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.popup-content h3 {
  color: #061f31;
  margin-bottom: 15px;
}

.popup-content p {
  color: #555;
  margin-bottom: 25px;
}

.popup-btn {
  background: #00a9b5;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.popup-btn:hover {
  background: #061f31;
}

/* SERVICES */
.services {
  padding: 80px 0;
  background-color: white;
}

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

.services p {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.services-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.image-with-caption {
  position: relative;
}

.image-with-caption img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(6, 31, 49, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
}

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

.service-detail-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-detail-card h3 {
  font-size: 1.5rem;
  color: #061f31;
  margin-bottom: 15px;
}

.service-detail-card p {
  color: #555;
  line-height: 1.6;
}

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

.benefit-item {
  text-align: center;
}

.benefit-item h3 {
  font-size: 1.3rem;
  color: #00a9b5;
  margin-bottom: 15px;
}

.benefit-item p {
  color: white;
  opacity: 0.9;
}

/* VALUES */
.values {
  padding: 80px 0;
  background: #f8f9fa;
}

.values h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #061f31;
  margin-bottom: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.value-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.value-card h3 {
  font-size: 1.5rem;
  color: #00a9b5;
  margin-bottom: 15px;
}

.value-card p {
  color: #555;
  line-height: 1.6;
}

/* WORKS CARDS */
.works-cards {
  padding: 80px 0;
  background: #f8f9fa;
}

.works-cards h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #061f31;
  margin-bottom: 60px;
}

.works-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.work-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-card-image {
  height: 200px;
  overflow: hidden;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card-content {
  padding: 30px;
}

.work-card-content h3 {
  font-size: 1.5rem;
  color: #061f31;
  margin-bottom: 15px;
}

.work-card-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-participant {
  background: #e8f4f5;
  color: #00a9b5;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* FOUNDER SECTION */
.founder-content {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.founder-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.founder-text h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 20px;
}

.founder-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

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

/* WHATSAPP FLOATING */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 2rem;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: #061f31;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 20px 0;
  }
  
  .mobile-close-btn {
    display: none;
  }
  
  .mobile-close-btn[style*="block"] {
    display: block !important;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-img {
    margin-top: 40px;
  }
  
  .info .container,
  .contact-content,
  .founder-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .work-item {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
  
  .services-gallery,
  .service-details,
  .values-grid,
  .works-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* WHATSAPP CHAT */
.whatsapp-chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}

.whatsapp-chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  height: 480px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.whatsapp-chat-window.show {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  background: #075E54;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.chat-header-info p {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
}

.chat-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
  flex: 1;
  padding: 15px;
  background: #E5DDD5;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.bot-message {
  background: #DCF8C6;
  color: #303030;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-message {
  background: white;
  color: #303030;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-form {
  padding: 15px;
  background: white;
  border-top: 1px solid #E5DDD5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-form input:focus {
  border-color: #25D366;
}

.chat-form textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  resize: none;
  min-height: 60px;
  max-height: 120px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.chat-form textarea:focus {
  border-color: #25D366;
}

.chat-send-btn {
  background: #25D366;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-end;
}

.chat-send-btn:hover {
  background: #128C7E;
}

.whatsapp-contact {
  text-align: center;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
}

.whatsapp-contact h3 {
  color: #061f31;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.whatsapp-contact p {
  color: #555;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}

/* Responsive para el chat */
@media (max-width: 480px) {
  .whatsapp-chat-window {
    width: 280px;
    height: 420px;
    right: -10px;
  }
  
  .whatsapp-chat-container {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float-btn {
    width: 50px;
    height: 50px;
  }

  .carousel-btn {
    top: 61%;
  }
}