@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Cormorant+Garamond:ital,wght@0,700;1,700&family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f4f7f6;
  color: #2d3436;
  line-height: 1.6;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 6%;
  display: flex;
  align-items: center;
  background: #0a283c;
  z-index: 1000;
  transition: padding 0.4s ease, background-color 0.4s ease;
}

body:not(.contact-page):not(.about-page) .header {
  background: transparent;
}

body:not(.contact-page):not(.about-page) .header.scrolled {
  background: #0a283c;
  padding: 15px 6%;
}

.about-page .header,
.contact-page .header {
  padding: 15px 6%;
  background: #0a283c;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  letter-spacing: 1px;
  margin-right: 40px;
  cursor: pointer;
  transition: color 0.4s ease;
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 2px;
  background: #6fb1c7;
  border-radius: 2px;
}

.logo:hover { color: #6fb1c7; }

nav {
  display: flex;
  gap: 35px;
}

nav a {
  font-family: 'Montserrat', sans-serif;
  position: relative;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 0;
}

nav a::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #6fb1c7;
  visibility: hidden;
  transform: scaleX(0);
  transition: transform 0.3s ease, visibility 0.3s ease;
}

nav a:hover::before,
nav a.active::before {
  visibility: visible;
  transform: scaleX(1);
}

.menu-toggle {
  font-size: 24px;
  color: white;
  cursor: pointer;
  margin-left: auto;
  display: none;
  transition: transform 0.3s ease;
  z-index: 3000;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.menu-toggle:hover { transform: rotate(90deg); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  height: 75vh;
  min-height: 500px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a283c;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center 40%;
  pointer-events: none;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 40, 60, 0.7) 0%,
    rgba(10, 40, 60, 0.2) 50%,
    rgba(10, 40, 60, 0.1) 85%,
    rgba(244, 247, 246, 1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(35px, 8vw, 70px);
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  color: #ffffff;
}

.hero-content h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #6fb1c7;
  margin: 15px auto 0;
  border-radius: 2px;
}

.hero-content p {
  font-size: clamp(16px, 3vw, 22px);
  max-width: 700px;
  font-weight: 400;
  opacity: 0.9;
}

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
.gallery {
  padding: 80px 20px 20px;
  background: #f4f7f6;
}

.gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.gallery-header h2 {
  font-size: clamp(22px, 4vw, 30px);
  margin-bottom: 12px;
  font-weight: 600;
  color: #1a1a1a;
}

.gallery-header p {
  color: #666;
  line-height: 1.7;
  font-size: 15px;
}

.gallery-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #6fb1c7;
  margin: 10px auto 0;
  border-radius: 5px;
}

/* ══════════════════════════════════════
   CATÁLOGO
══════════════════════════════════════ */
.catalogo {
  padding: 80px 5%;
  background: #ffffff;
  max-width: 1400px;
  margin: 0 auto;
}

.catalogo-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.catalogo-header h2 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.catalogo-header p {
  color: #636e72;
  font-size: 16px;
  line-height: 1.6;
}

/* ══════════════════════════════════════
   FILTROS
══════════════════════════════════════ */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
}

.filtro-btn {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #2d3436;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filtro-btn:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

.filtro-btn.active {
  background: #2d3436;
  border-color: #2d3436;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ══════════════════════════════════════
   GRID PRODUCTOS
══════════════════════════════════════ */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 0 50px;
}

.section-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 60px 0 20px;
}

.section-divider h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  white-space: nowrap;
  margin: 0;
}

.section-divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, #e9ecef, transparent);
}

.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #e9ecef, transparent);
}

/* ══════════════════════════════════════
   CARD PRODUCTO
══════════════════════════════════════ */
.producto-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.producto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.08);
}

.hidden { display: none !important; }

.producto-card.visible {
  animation: cardIn 0.5s ease forwards;
}

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

/* ══════════════════════════════════════
   IMAGEN + VIDEO EN LA CARD
══════════════════════════════════════ */
.producto-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f8f9fa;
  flex-shrink: 0;
}

.producto-img-wrap img,
.producto-img-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.producto-img-wrap img {
  z-index: 1;
  opacity: 1;
}

.producto-img-wrap video {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.producto-img-wrap.playing video { opacity: 1; }
.producto-img-wrap.playing img   { opacity: 0; }

@media (hover: hover) {
  .producto-img-wrap:hover video { opacity: 1; }
  .producto-img-wrap:hover img   { opacity: 0; }
}

.producto-img-wrap video::-webkit-media-controls {
  display: none !important;
}

/* TAG */
.producto-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255,255,255,0.9);
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 3;
}

/* HOVER HINT */
.hover-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 40, 60, 0.6);
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 4;
}

.producto-card:hover .hover-hint { opacity: 1; }

.hover-hint i {
  font-size: 14px;
  color: #6fb1c7;
}

/* ══════════════════════════════════════
   INFO DE LA CARD
══════════════════════════════════════ */
.producto-info {
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.producto-info h4 {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
  line-height: 1.3;
  min-height: 44px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.producto-info p {
  font-size: 14px;
  color: #555;
  margin: 0 0 20px;
  line-height: 1.6;
  min-height: 67px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* ══════════════════════════════════════
   BOTÓN REQUEST INFO
══════════════════════════════════════ */
.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  width: 100%;
  box-shadow: 0 4px 12px rgba(37,211,102,0.2);
  margin-top: auto;
}

.btn-buy:hover {
  background: #1ebe5b;
  transform: scale(1.02);
}

.btn-buy i { font-size: 14px; }

/* ══════════════════════════════════════
   MODAL VIDEO
══════════════════════════════════════ */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.video-modal.show {
  opacity: 1;
  visibility: visible;
}

.video-modal-box {
  background: #0a283c;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  position: relative;
  transform: scale(0.9) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.video-modal.show .video-modal-box {
  transform: scale(1) translateY(0);
}

.video-modal-box video {
  width: 100%;
  display: block;
  max-height: 60vh;
  background: #000;
  object-fit: contain;
}

#modalVideo::-webkit-media-controls-mute-button,
#modalVideo::-webkit-media-controls-volume-slider,
#modalVideo::-webkit-media-controls-volume-control-container,
#modalVideo::-webkit-media-controls-overflow-button {
  display: none !important;
}

#modalVideo::-webkit-media-controls-enclosure {
  overflow: hidden;
}

#modalVideo::-webkit-media-controls-panel {
  width: calc(100% + 30px);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
  line-height: 1;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-modal-footer {
  padding: 14px 18px;
  display: flex;
  justify-content: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 11px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
  justify-content: center;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  transform: scale(1.02);
}

/* ══════════════════════════════════════
   FADE IN
══════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   PROCESO — DESKTOP
   Video a la derecha, sin bordes negros
══════════════════════════════════════ */
.process-pro {
  padding: 70px 20px;
  background: linear-gradient(to right, #f8f9fa, #eef1f4);
}

.process-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.process-text h2 {
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 18px;
}

.process-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 15px;
}

.material-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.material-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.material-list li i {
  color: #6fb1c7;
  font-size: 16px;
}

/* ══════════════════════════════════════
   PROCESS VIDEO — aspect-ratio fijo recorta
   las barras negras quemadas en el archivo
══════════════════════════════════════ */
.process-video {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  background: #eef1f4;
  max-width: 340px;
  margin: 0 auto;
}

/* object-fit cover + inset 0 recorta las barras sin dejar negro */
.process-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  display: block;
  transition: transform 0.5s ease;
}

.process-video:hover video { transform: scale(1.04); }

.process-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
  pointer-events: none;
}


/* ══════════════════════════════════════
   TRABAJOS
══════════════════════════════════════ */
.trabajos {
  padding: 80px 20px;
  background: #f8fbfb;
  text-align: center;
}

.trabajos-title {
  font-size: clamp(26px, 5vw, 36px);
  margin-bottom: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.trabajos-subtitle {
  color: #666;
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-size: 16px;
  line-height: 1.6;
}

.trabajos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: auto;
}

.trabajo-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.trabajo-card:hover {
  border-color: #6fb1c7;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.trabajo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.trabajo-info {
  background: #fff;
  padding: 20px;
  text-align: left;
}

.trabajo-info h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

.trabajo-info p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: #0a1b26;
  color: #ffffff;
  padding: 80px 5% 40px;
  margin-top: 100px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 25px;
  height: 2px;
  background: #6fb1c7;
}

.footer-section p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-section a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-section a:hover {
  color: #6fb1c7;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

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

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

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

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #0a283c;
  border-color: #6fb1c7;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-page { background-color: #fcfcfc; }

.contact-hero {
  padding: 160px 5% 80px;
  background: linear-gradient(135deg, #0a283c 0%, #1a3a5c 100%);
  color: white;
  text-align: center;
}

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

.contact-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.contact-hero p {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-main-section {
  padding: 80px 5%;
  margin-top: -40px;
}

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

.contact-card-pro {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  position: sticky;
  top: 120px;
}

.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-method:last-of-type { margin-bottom: 45px; }

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(10,40,60,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a283c;
  font-size: 20px;
  flex-shrink: 0;
}

.method-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.method-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.contact-link {
  font-size: 16px;
  font-weight: 600;
  color: #0a283c;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover { color: #6fb1c7; }

.social-connect {
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.social-connect p {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.social-links-pro a {
  width: 40px;
  height: 40px;
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a283c;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links-pro a:hover {
  background: #0a283c;
  color: white;
  border-color: #0a283c;
  transform: translateY(-3px);
}

.section-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.location-item {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  margin-bottom: 40px;
  border: 1px solid rgba(0,0,0,0.02);
}

.location-header { padding: 30px; }

.location-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #0a283c;
}

.location-title i { font-size: 18px; }
.location-title h3 { font-size: 18px; font-weight: 700; }

.location-header p {
  color: #555;
  font-size: 15px;
  margin-bottom: 15px;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: #6fb1c7;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.text-link:hover { border-bottom-color: #6fb1c7; }

.map-wrapper {
  height: 350px;
  width: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════ */
.legal-page { background-color: #fcfcfc; }
.legal-content { padding-top: 120px; }

.legal-hero {
  background: #0a283c;
  color: white;
  padding: 80px 5% 60px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
}

.legal-hero p {
  opacity: 0.7;
  font-size: 14px;
}

.legal-text {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.legal-block { margin-bottom: 40px; }

.legal-block h2 {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-weight: 700;
}

.legal-block p {
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

.contact-list-legal {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.contact-list-legal li {
  margin-bottom: 10px;
  color: #0a283c;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list-legal li i {
  color: #6fb1c7;
  width: 20px;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-section {
  padding: 100px 20px 70px;
  max-width: 1200px;
  margin: auto;
}

.about-intro {
  text-align: center;
  margin-bottom: 50px;
}

.about-intro h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
}

.about-intro p {
  color: #666;
  max-width: 600px;
  margin: auto;
  font-size: 15px;
  line-height: 1.7;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.about-block.reverse { direction: rtl; }
.about-block.reverse .about-text { direction: ltr; }

.about-text h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: #1a1a1a;
}

.about-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 10px;
  font-size: 15px;
}

.about-img img,
.about-video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  display: block;
}

.about-img {
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.about-video {
  max-width: 350px;
  margin: 0 auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.value-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (max 1100px)
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .trabajos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (max 968px)
══════════════════════════════════════ */
@media (max-width: 968px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-card-pro { position: static; }
  .contact-hero { padding: 140px 5% 60px; }
  .contact-main-section { padding: 50px 5%; }
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (max 900px)
   El video pasa a columna única, centrado
══════════════════════════════════════ */
@media (max-width: 900px) {
  .process-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }


  .about-block { grid-template-columns: 1fr; gap: 24px; }
  .about-block.reverse { direction: ltr; }
  .about-values { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MÓVIL (max 768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  .logo { font-size: 20px; margin-right: 20px; }

  .menu-toggle { display: block; font-size: 28px; }

  nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a283c;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    gap: 30px;
    z-index: 2000;
    animation: fadeIn 0.3s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  nav.active { display: flex; }

  nav a {
    font-size: 20px;
    letter-spacing: 2px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  nav a:last-child { border-bottom: none; }

  .header.scrolled { background: #0a283c; }

  .hero { height: 75vh; min-height: 500px; }

  .gallery { padding: 50px 16px 20px; }

  .catalogo { padding: 36px 14px 50px; }
  .catalogo-header { margin-bottom: 30px; }

  .filtros { gap: 8px; }
  .filtro-btn { padding: 7px 14px; font-size: 0.78rem; }

  .productos-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .section-divider { padding: 30px 0 10px; }
  .section-divider h3 { font-size: 14px; }

  .producto-card { box-shadow: 0 2px 10px rgba(0,0,0,0.1); will-change: auto; }
  .producto-card:hover { transform: none; }

  .hover-hint {
    opacity: 1;
    top: auto;
    bottom: 15px;
    left: 15px;
    transform: none;
    font-size: 10px;
    padding: 6px 12px;
  }
  .producto-img-wrap.playing .hover-hint { opacity: 0; }

  .btn-buy { width: 100%; align-self: stretch; }

  /* ─── PROCESO EN MÓVIL ─── */
  .process-pro { padding: 50px 16px; }
  .material-list { grid-template-columns: 1fr; }


  .trabajos { padding: 50px 16px; }
  .trabajos-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .trabajo-card img { height: 200px; }
  .trabajo-info { padding: 15px; }

  .footer { padding: 60px 20px 30px; margin-top: 60px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-container { grid-template-columns: 1fr; gap: 28px; }
  .social-icons { justify-content: center; }

  .about-section { padding: 80px 16px 50px; }
  .about-values { grid-template-columns: 1fr; }
  .about-img { max-width: 100%; }
  .about-video { max-width: 100%; }

  .contact-hero { padding: 120px 5% 50px; }
  .contact-hero p { font-size: 16px; }
  .contact-card-pro { padding: 25px; }
  .map-wrapper { height: 250px; }

  .legal-hero { padding: 60px 20px 40px; }

  .video-modal-footer { flex-direction: column; text-align: center; }
  .btn-whatsapp { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MÓVIL PEQUEÑO (max 600px)
══════════════════════════════════════ */
@media (max-width: 600px) {
  .trabajos-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MÓVIL PEQUEÑO (max 500px)
══════════════════════════════════════ */
@media (max-width: 500px) {
  .video-modal { padding: 12px; }
  .video-modal-box {
    max-width: 100%;
    border-radius: 16px;
  }
  .video-modal-box video { max-height: 55vh; }

  .process-video {
    max-width: 240px; /* aún más compacto en pantallas muy chicas */
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — MÓVIL MUY PEQUEÑO (max 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
  .productos-grid { grid-template-columns: 1fr; gap: 16px; }
  .trabajo-card img { height: 220px; }
  .filtros { gap: 6px; }
  .filtro-btn { padding: 6px 12px; font-size: 0.75rem; }
  .catalogo-header h2 { font-size: 20px; }
  .contact-card-pro { padding: 20px; }
  .map-wrapper { height: 220px; }
  .footer-links { gap: 15px; }
  .footer-links a { font-size: 12px; }
}

/* ══════════════════════════════════════
   PANTALLAS MUY GRANDES (min 1400px)
══════════════════════════════════════ */
@media (min-width: 1400px) {
  .productos-grid { grid-template-columns: repeat(4, 1fr); }
}