:root {
  --primary: #0D1B2A;
  --secondary: #1B263B;
  --accent: #D4A017;
  --white: #FFFFFF;
  --light: #F5F5F5;
  --text-light: #666666;
  --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(13, 27, 42, 0.12);
  --shadow-lg: 0 8px 24px rgba(13, 27, 42, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  background: var(--white);
  line-height: 1.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: var(--light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: block;
  align-items: center;
}

.logo {
  height: 70px;
  object-fit: contain;
}

.sello {
  height: 200px;
  object-fit: contain;
  background-color: #0D1B2A;
  align-content: center;
}

.sello-container {
  display: block;
  align-content: center;
}

.navbar {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--light);
  padding: 20px;
  gap: 15px;
  box-shadow: var(--shadow-md);
  z-index: 99;
}

.nav-link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
}

.btn-accent:hover {
  background: #B8860B;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: #B8860B;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
}

.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-slider {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.hero-slider:active {
  cursor: grabbing;
}

.hero-slider img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.7), rgba(27, 38, 59, 0.5));
  display: flex;
  align-items: center;
  justify-content: left;
  z-index: 2;
  padding-left: 90px; /* espacio para que no choque con la flecha */
}

.overlay-content {
  text-align: left;
  color: white;
  max-width: 2000px;
  padding: 40px;
}

.overlay h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 0px;
  letter-spacing: -0.5px;
}

.overlay h1y {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.overlay p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  opacity: 0.95;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 32px;
  padding: 15px 20px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: 30px;
}

.slider-btn.next {
  right: 30px;
}

.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.value-strip {
  background: var(--primary);
  padding: 0;
  overflow: hidden;
}

.value-strip-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.value-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.value-item:last-child {
  border-right: none;
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.value-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.value-text span {
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 500;
}

.section {
  padding: 80px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 300;
}

.servicios {
  background: var(--light);
}

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

.service-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  display: block;           /* Ocupa ancho completo */
  width: 100%;
  padding: 14px 20px;       /* Más grande */
  background-color: white;     /* Color primario */
  color: #D4A017;           /* Texto dorado */
  border: 2px solid #254568;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.service-link:hover {
  gap: 8px;
  color: #B8860B;
}

.gallery-section {
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 250px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-btn {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 100px 40px;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.footer {
  background: var(--primary);
  color: white;
  padding: 0;
}

.footer-container {
  max-width: 1500px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 60px 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h4 {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-col ul li a::before {
  content: '→';
  margin-right: 8px;
  opacity: 0;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer-col ul li a:hover::before {
  opacity: 1;
}

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

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(8px);
}

.contact-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-item span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.social-intro {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: rgba(212, 160, 23, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.social-link svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: var(--transition);
}

.social-link:hover svg {
  color: var(--primary);
}

.footer-divider {
  height: 1px;
  background: rgba(212, 160, 23, 0.2);
  margin: 0 40px;
}

.footer-bottom {
  padding: 30px 40px;
  text-align: center;
  border-top: 1px solid rgba(212, 160, 23, 0.2);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 40px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 15px 20px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  border-radius: 6px;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.lightbox-btn.prev {
  left: 30px;
}

.lightbox-btn.next {
  right: 30px;
}

@media (max-width: 900px) {
  .header {
    padding: 15px 30px;
  }

  .navbar {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .section {
    padding: 60px 30px;
  }

  .value-item {
    min-width: 50%;
    padding: 20px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 50px 30px;
  }
  .sello {
    height: 170px;
    object-fit: contain;
    background-color: #0D1B2A;
    align-content: center;
  }

  .sello-container {
    display: block;
    align-content: center;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 12px 20px;
  }

  .logo {
    height: 55px;
  }

  .section {
    padding: 50px 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid {
    gap: 20px;
  }

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

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

  .gallery-item {
    height: 200px;
  }

  .value-item {
    min-width: 100%;
    padding: 18px 15px;
    border-right: none !important;
    border-bottom: 1px solid rgba(13, 27, 42, 0.15);
  }

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

  .cta-section {
    padding: 60px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 35px;
  }

  .footer-bottom {
    padding: 20px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox img {
    max-width: 100%;
  }

   .overlay {
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }

  .overlay-content {
    max-width: 100%;
  }

  .overlay h1,
  .overlay h1y {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .overlay p {
    font-size: 1rem;
  }

  .sello {
    height: 170px;
    object-fit: contain;
    background-color: #0D1B2A;
    align-content: center;
  }

  .sello-container {
    display: block;
    align-content: center;
  }


}

.contact-page {
      min-height: 100vh;
      background: var(--light);
    }

    .contact-header {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      padding: 80px 40px;
      text-align: center;
    }

    .contact-header h1 {
      font-size: 2.8rem;
      font-weight: 800;
      margin-bottom: 15px;
    }

    .contact-header p {
      font-size: 1.1rem;
      opacity: 0.95;
      max-width: 600px;
      margin: 0 auto;
    }

    .contact-container {
      max-width: 900px;
      margin: -50px auto 80px;
      padding: 0 40px;
    }

    .form-wrapper {
      background: white;
      border-radius: 12px;
      box-shadow: var(--shadow-lg);
      padding: 60px;
    }

    .form-section {
      margin-bottom: 40px;
    }

    .form-section h3 {
      font-size: 1.3rem;
      color: var(--primary);
      margin-bottom: 25px;
      padding-bottom: 15px;
      border-bottom: 2px solid var(--accent);
    }

    .form-group {
      margin-bottom: 25px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--primary);
      font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.95rem;
      transition: var(--transition);
      background: white;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
    }

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

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

    .submit-section {
      display: flex;
      gap: 15px;
      margin-top: 40px;
      padding-top: 30px;
      border-top: 2px solid var(--light);
    }

    .btn-submit {
      background: var(--accent);
      color: var(--primary);
      border: none;
      padding: 14px 40px;
      border-radius: 6px;
      font-weight: 700;
      font-size: 0.95rem;
      cursor: pointer;
      transition: var(--transition);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      flex: 1;
    }

    .btn-submit:hover {
      background: #B8860B;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .btn-submit:active {
      transform: translateY(0);
    }

    .btn-back {
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      padding: 12px 40px;
      border-radius: 6px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: var(--transition);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

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

    .success-message {
      display: none;
      background: #4caf50;
      color: white;
      padding: 20px;
      border-radius: 8px;
      margin-bottom: 20px;
      text-align: center;
      animation: slideDown 0.3s ease;
    }

    .error-message {
      display: none;
      background: #f44336;
      color: white;
      padding: 20px;
      border-radius: 8px;
      margin-bottom: 20px;
      text-align: center;
      animation: slideDown 0.3s ease;
    }

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

    .loading {
      display: none;
      text-align: center;
      color: var(--accent);
    }

.whatsapp-contact {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(37, 211, 102, 0.15);
}

.whatsapp-content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.whatsapp-icon {
  width: 65px;
  height: 65px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.whatsapp-icon svg {
  width: 34px;
  height: 34px;
  color: white;
  display: block;
}

.whatsapp-text h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.whatsapp-text p {
  color: var(--text-light);
  margin: 0;
}

.whatsapp-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-2 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: breathe 2s ease-in-out infinite;
}

/*Estilos solo al icono whatsapp*/
.whatsapp-btn-2 i {
  color: #fff;
  font-size: 24px;
  animation: beat 2s ease-in-out infinite;
  text-decoration: none;
}

/*Estilos con animation contorno respirando*/
@keyframes breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/*Estilos de animacion del icono latiendo*/
@keyframes beat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {

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

}

    .loader {
      border: 4px solid var(--light);
      border-top: 4px solid var(--accent);
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 0 auto 15px;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .info-box {
      background: rgba(212, 160, 23, 0.1);
      border-left: 4px solid var(--accent);
      padding: 20px;
      border-radius: 6px;
      margin-bottom: 30px;
    }

    .info-box p {
      margin: 0;
      color: var(--primary);
      font-weight: 500;
    }

    @media (max-width: 768px) {
      .contact-header {
        padding: 50px 20px;
      }

      .contact-header h1 {
        font-size: 2rem;
      }

      .contact-container {
        margin: -40px 20px 60px;
      }

      .form-wrapper {
        padding: 40px 20px;
      }

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

      .service-options {
        grid-template-columns: 1fr;
      }

      .submit-section {
        flex-direction: column;
      }

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

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  
}

details summary {
  cursor: pointer;
  color: #D4A017;
  font-weight: 600;
}

details p {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

@media (max-width: 1024px) {
  .lightbox-btn {
    display: none;  /* Botones desaparecen en móvil/tablet */
  }
}

/* EN style.css - BOTÓN "VER MÁS" GRANDE */

.btn-more {
  display: block;           /* Ocupa ancho completo */
  width: 100%;
  padding: 14px 20px;       /* Más grande */
  background-color: white;     /* Color primario */
  color: #D4A017;           /* Texto dorado */
  border: 2px solid var(--primary);
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.btn-more:hover {
  background-color: #D4A017;  /* Al hover: fondo dorado */
  color: #0D1B2A;             /* Texto oscuro */
}

.btn-more.active {
  background-color: #D4A017;
  color: #0D1B2A;
}

.service-card p[style*="display"] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;  /* Animación suave */
}
.service-card p {
  transition: max-height 0.4s ease, opacity 0.4s ease;
}