@media (max-width: 600px) {
  #servicios .grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #servicios .card {
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 auto 12px auto;
  }
}
@media (max-width: 600px) {
  #servicios .grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #servicios .card {
    margin: 0;
  }
}
@media (max-width: 600px) {
  .topbar {
    display: none !important;
  }
}
/* Botonera de productos alineada a la izquierda */
.producto__botonera {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  justify-content: flex-end;
  margin-bottom: 10px;
}

article {
  padding-bottom: 0 !important;
  position: relative;
}
/* Ocultar CTA de nav en móvil, mostrar en tablet y desktop */
@media (max-width: 700px) {
  .nav__cta {
    display: none !important;
  }
}
@media (min-width: 701px) {
  .nav__cta {
    display: block;
  }
}
/* Mapa responsive para sección contacto */
.mapa-responsive {
  width: 100%;
  aspect-ratio: 4/3;
  max-width: 100%;
  background: #e0e7ef;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.mapa-responsive iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}
@media (max-width: 700px) {
  .mapa-responsive {
    aspect-ratio: 1/1;
    min-height: 180px;
  }
}
/* Sección contacto responsive */
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 0;
}
.contacto__form {
  display: grid;
  gap: 12px;
  background: #fff;
}
.contacto__datos {
  min-width: 0;
}
@media (max-width: 900px) {
  .contacto__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contacto__form, .contacto__datos {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 600px) {
  .contacto__grid {
    gap: 12px;
    padding: 0;
  }
  .contacto__form {
    gap: 8px;
    padding: 8px;
  }
}
/* Mostrar/ocultar menú en móvil */
@media (max-width: 900px) {
  .nav__menu {
    display: none;
    flex-direction: column;
    background: #0c4a6e;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .nav__menu.nav__menu--open {
    display: flex;
  }
  .hamb {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0c4a6e;
    cursor: pointer;
    margin-left: 12px;
    z-index: 101;
  }
}
@media (min-width: 901px) {
  .nav__menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  .hamb {
    display: none;
  }
}
/* === TOPBAR === */
.topbar {
  background: #0c4a6e;
  color: #f0f9ff;
  font-size: .95rem;
  padding: 6px 0;
}
.topbar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar__contact {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar__contact span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topbar__contact img {
  height: 16px;
  width: 16px;
  vertical-align: middle;
  margin-right: 4px;
}
.topbar__social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.topbar__social img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
}
/* Botón al pie de cada card de servicios */
.card-servicio {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.card-servicio .muted {
    margin-bottom: 16px;
    flex-grow: 1;
}
  

.card-servicio .btn {
  margin-top: auto;
  align-self: flex-start;
}
/* Viñetas destacadas para textos de servicios */
.bullets-servicios {
  margin: 0 0 12px 0;
  padding-left: 22px;
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.6;
}
.bullets-servicios li {
  margin-bottom: 6px;
  list-style-type: disc;
}
/* Unificación de tamaño para imágenes de productos en 2500fc.html */
#listado-productos img {
  width: 220px;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  margin: 12px auto;
  box-sizing: border-box;
  background: #f8fafc;
  display: block;
}
@media (max-width: 700px) {
  .productos-responsive {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .productos-responsive .card {
    margin: 8px 0;
    padding: 10px;
  }
  .productos-responsive .img-ajustada img {
    margin: 8px 0;
    border-radius: 8px;
    max-height: 160px;
  }
  .productos-responsive .segment__thumb {
    height: auto;
    min-height: unset;
    padding: 0;
  }
}
@media (max-width: 480px) {
  .productos-responsive .card {
    margin: 4px 0;
    padding: 6px;
  }
  .productos-responsive .img-ajustada img {
    margin: 4px 0;
    border-radius: 6px;
    max-height: 120px;
  }
}
/* Animación de letras para 'Refrigeración' en el header */

/* Nueva animación: desarmar y rearmar letras */

/* Animación tipo ola para las letras de 'Refrigeración' */
.logo .anim-refrigeracion span {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.5s;
}
.logo .anim-refrigeracion:hover span {
  animation: letra-ola 0.7s forwards;
}
@keyframes letra-ola {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  30% { transform: translateY(-30px) scale(1.2); opacity: 0.7; }
  60% { transform: translateY(30px) scale(0.8); opacity: 0.7; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Delays para efecto ola de izquierda a derecha */
.logo .anim-refrigeracion span:nth-child(1) { animation-delay: 0.02s; }
.logo .anim-refrigeracion span:nth-child(2) { animation-delay: 0.06s; }
.logo .anim-refrigeracion span:nth-child(3) { animation-delay: 0.10s; }
.logo .anim-refrigeracion span:nth-child(4) { animation-delay: 0.14s; }
.logo .anim-refrigeracion span:nth-child(5) { animation-delay: 0.18s; }
.logo .anim-refrigeracion span:nth-child(6) { animation-delay: 0.22s; }
.logo .anim-refrigeracion span:nth-child(7) { animation-delay: 0.26s; }
.logo .anim-refrigeracion span:nth-child(8) { animation-delay: 0.30s; }
.logo .anim-refrigeracion span:nth-child(9) { animation-delay: 0.34s; }
.logo .anim-refrigeracion span:nth-child(10) { animation-delay: 0.38s; }
.logo .anim-refrigeracion span:nth-child(11) { animation-delay: 0.42s; }
.logo .anim-refrigeracion span:nth-child(12) { animation-delay: 0.46s; }
.logo .anim-refrigeracion span:nth-child(13) { animation-delay: 0.50s; }
/* Logo portada */
.img-portada {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}
@media (max-width: 600px) {
  .img-portada {
    max-width: 100%;
    border-radius: 8px;
  }
}

/* Logo responsivo */
.logo img {
  height: 48px;
  max-width: 100%;
}

@media (max-width: 600px) {
  .logo img {
    height: 32px;
  }
}
/* Grid específico para servicios responsivo */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: var(--gap, 20px);
}

@media (max-width: 900px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }
}

@media (max-width: 600px) {
  .servicios-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
  }
}
/* styles.css */
:root { --bg:#f8fafc; --fg:#727d97; --muted:#64748b; --brand:#0ea5e9; --brand-2:#0284c7; --card:#ffffff; --ring:#bae6fd; --gap: clamp(16px, 2vw, 28px); --radius: 14px; --shadow: 0 6px 24px rgba(2,8,23,.08); }
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji";color:var(--fg);background:var(--bg)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
/* .container ancho original */
.container{width:min(1200px,92%);margin-inline:auto}
/* Fin revert */

.grid{display:grid;gap:var(--gap)}
.btn{display:inline-block;padding:.9rem 1.1rem;border-radius:12px;background:var(--brand);color:#fff;font-weight:600;box-shadow:var(--shadow)}
.btn--outline {
  background: #e0f2fe;
  color: var(--brand-2);
  outline: 2px solid var(--brand-2);
  border: none;
  transition: background 0.2s;
}
.btn--outline:hover {
  background: var(--brand-2);
  color: #fffefe;
}
.section{padding:clamp(32px,6vw,50px) 0}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:clamp(16px,2vw,22px)}
.muted{color:var(--muted)}
.title{font-size:clamp(26px,3.6vw,38px);line-height:1.2;font-weight:700;margin:0 0 12px}
.subtitle{font-size:1.2rem;color:var(--muted)}

/* Layout especifico */
.topbar{background:#0c4a6e;color:#f0f9ff;font-size:.9rem;padding:6px 0}
.topbar__row{display:flex;justify-content:space-between;align-items:center}
.topbar__contact{display:flex;gap:16px;flex-wrap:wrap}
.topbar__social a{margin-left:10px;color:#f0f9ff}

header{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.05);position:sticky;top:0;z-index:999}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0}
@media (max-width: 700px) {
  .nav {
    width: 100vw;
    margin-left: -4vw;
    margin-right: -4vw;
    box-sizing: border-box;
    padding-left: 4vw;
    padding-right: 4vw;
  }
}
.nav__menu{display:flex;gap:20px;align-items:center}
.nav__menu a{font-weight:500;color:var(--fg)}
.logo{font-weight:800;font-size:1.4rem}
.hamb{display:none;font-size:1.6rem;background:none;border:none;cursor:pointer}

.hero{display:flex;align-items:center;justify-content:space-between;min-height:60vh}
.hero__wrap{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.hero__media{background:#e0f2fe;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;padding:20px}

@media(max-width:820px){
  .hero__wrap{grid-template-columns:1fr}
  .nav__menu{display:none}
  .hamb{display:block}
}

/* Grids */
.segments__grid,.products__grid,.benefits__grid,.news__grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.why__grid{grid-template-columns:1fr 1fr;gap:40px}

@media(max-width:820px){
  .why__grid{grid-template-columns:1fr}
}

/* Alinear botones en productos destacados */
.products__grid .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.products__grid .product__thumb, .segments__grid .segment__thumb {
  background: #e0f2fe;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  overflow: hidden;
}

/* Imagenes de productos destacados */
.products__grid .product__thumb img {
/* Botonera alineada en productos destacados */
.products__grid .card > div {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  justify-content: flex-start;
}

.products__grid .card .btn,
.products__grid .card .btn--outline {
  min-width: 120px;
  text-align: center;
}
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* Footer */
footer{background:#0f172a;color:#e2e8f0}
.footer__grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.footer__bottom{text-align:center;padding-top:20px;font-size:.9rem;color:#94a3b8}

#listado-productos,
#capacidades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

#listado-productos article,
#capacidades article {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

#listado-productos img,
#capacidades img {
  max-width: 100%;
  height: auto;
}
main section > div {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

main section img {
  max-width: 300px;
  border: 1px solid #ccc;
}

main section ul {
  list-style: disc;
  padding-left: 20px;
}
a {
  text-decoration: none;
  color: #004080;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px 0;
  background: #004080;
  color: #fff;
  border-radius: 4px;
}

.btn:hover {
  background: #0066cc;
}

.btn-outline {
  background: transparent;
  border: 1px solid #004080;
  color: #004080;
}

.btn-outline:hover {
  background: #004080;
  color: #fff;
}
/* === FORMULARIOS ESTILIZADOS === */
form.form {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.form__row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.control {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.control label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.control input,
.control textarea,
.control select {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.control input:focus,
.control textarea:focus,
.control select:focus {
  border-color: var(--brand-2, #004080);
  box-shadow: 0 0 4px rgba(0, 64, 128, 0.3);
  outline: none;
}

textarea {
  resize: vertical;
}

/* Botones dentro de formularios */
form.form .btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

form.form .btn[type="submit"] {
  background: var(--brand-2, #004080);
  color: #fff;
  border: none;
}

form.form .btn[type="submit"]:hover {
  background: #0066cc;
}

form.form .btn[type="reset"] {
  background: #f5f5f5;
  border: 1px solid #ccc;
  color: #333;
}

form.form .btn[type="reset"]:hover {
  background: #eee;
}