
/* ESTILOS GENERALES */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #222;
}

/* ENCABEZADO */

header {
  background: #0d6efd;
  color: white;
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 20px;
}

.logo {
  font-size: 26px;
  font-weight: bold;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

nav a:hover {
  color: #0051ff;
}

/* INICIO */

.hero {
  background: linear-gradient(
    135deg,
    #0d6efd,
    #1e90ff
  );

  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* BOTÓN PRINCIPAL */

.btn {
  background: #ffdf00;
  color: #111;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.btn:hover {
  background: #0095ff;
}

/* PRODUCTOS */

.contenedor {
  padding: 65px 6%;
  text-align: center;
}

.contenedor h2 {
  font-size: 32px;
  margin-bottom: 35px;
}

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

.tarjeta {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 15px #00000018;
  transition: 0.3s;
}

.tarjeta:hover {
  transform: translateY(-6px);
}
 
.foto {
  width: 100%;
  height: 220px;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.foto img {
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tarjeta h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.tarjeta p {
  color: #666;
  font-size: 14px;
  min-height: 55px;
}

.tarjeta h4 {
  font-size: 22px;
  margin: 15px 0;
  color: #0d6efd;
}

.comprar {
  display: block;
  background: #0d6efd;
  color: white;
  padding: 12px;
  text-decoration: none;
  border-radius: 8px;
}

.comprar:hover {
  background: #084db3;
}

/* APPLE WATCH */

.reloj {
  background: #e8eeff;
}

.reloj span {
  font-size: 90px;
}

.no-disponible {
  display: block;
  background: #dddddd;
  color: #555;
  padding: 12px;
  border-radius: 8px;
}

/* SOBRE NOSOTROS */

.nosotros {
  background: #e9effc;
  padding: 65px 8%;
  text-align: center;
}

.nosotros h2 {
  margin-bottom: 20px;
}

.nosotros p {
  max-width: 650px;
  margin: auto;
  line-height: 1.8;
}

/* CONTACTO */

.contacto {
  background: white;
  padding: 65px 20px;
  text-align: center;
}

.contacto h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contacto p {
  color: #666;
  margin-bottom: 25px;
}

form {
  max-width: 450px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

input,
textarea {
  padding: 13px;
  border: 1px solid #ccc;
  border-radius: 7px;
  font: inherit;
  width: 100%;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

button {
  background: #0d6efd;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #084db3;
}

/* PIE DE PÁGINA */

footer {
  background: #0d1b2a;
  color: white;
  text-align: center;
  padding: 25px;
}

/* DISEÑO RESPONSIVO */

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

@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    justify-content: center;
    gap: 15px;
  }

  .hero {
    padding: 70px 20px;
  }

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

  .contenedor {
    padding: 45px 5%;
  }
}

/* TAMAÑO DE LAS IMÁGENES */

.foto {
  width: 100%;
  height: 180px;
  background: #f5f5f7;
  border-radius: 10px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ORGANIZACIÓN DE PRODUCTOS */

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

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


/* FONDO MINIMALISTA ESTILO APPLE */

/* Fondo general */
body {
  background: #ffffff;
  color: #1d1d1f;
}

/* Fondo de la portada */
.hero {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f5f5f7 100%
  );
}

/* Fondo del catálogo */
#productos {
  background: #ffffff;
}

/* Tarjetas de productos */
.tarjeta {
  background: #f5f5f7;
  border: 1px solid #eeeeee;
  box-shadow: none;
}

/* Fondo de las fotografías */
.foto {
  background: #ffffff;
}

/* Fondo de Sobre Nosotros */
.nosotros {
  background: #f5f5f7;
}

/* Fondo de contacto */
.contacto {
  background: #ffffff;
}

/* Fondo del menú superior */
header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e8e8ed;
}

/* Fondo del pie de página */
footer {
  background: #f5f5f7;
  color: #5d5d5d;
}


/* LETRAS NEGRAS ESTILO APPLE */

body {
  color: #1d1d1f;
}

h1, h2, h3, h4, p, span, label {
  color: #1d1d1f;
}

/* Menú de navegación */
.logo,
nav a {
  color: #1d1d1f;
}

/* Textos de productos */
.tarjeta h3,
.tarjeta h4,
.tarjeta p {
  color: #1d1d1f;
}

/* Textos de contacto */
.contacto h2,
.contacto p {
  color: #1d1d1f;
}

/* Mantener letras blancas en botones azules */
.btn,
.comprar,
button {
  color: white;
}


/* CORREGIR TARJETAS DE PRODUCTOS */

.tarjetas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.tarjeta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
  padding: 24px;
  overflow: hidden;
}

.tarjeta .foto {
  width: 100%;
  height: 230px;
  flex-shrink: 0;
}

.tarjeta h3,
.tarjeta h4,
.tarjeta p {
  width: 100%;
  text-align: center;
  overflow-wrap: break-word;
}

.tarjeta p {
  margin-bottom: 18px;
}

.tarjeta h4 {
  margin-top: auto;
}

@media (max-width: 900px) {
  .tarjetas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Ajustar imágenes de productos */
.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 18px;
}

.product-card {
    overflow: hidden;
}

/* Ajustar fotos de los productos */
.tarjeta .foto {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 18px;
}

.tarjeta .foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tarjeta .foto {
    width: 100%;
    height: 350px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.tarjeta .foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* REDES SOCIALES - AIRCONIC */

.redes-sociales {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f5f5f7;
    padding: 45px 20px;
    height: auto;
    min-height: 0;
    gap: 0;
}

.redes-sociales h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 12px;
}

.redes-sociales p {
    font-size: 16px;
    color: #6e6e73;
    margin: 0 0 25px;
}

.redes-enlaces {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.redes-enlaces .red-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    color: #1d1d1f;
    padding: 15px 25px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.redes-enlaces .red-social img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.redes-enlaces .red-social:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Corregir distribución de redes sociales */
section#nosotros.redes-sociales {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 35px 20px;
}

section#nosotros.redes-sociales h2,
section#nosotros.redes-sociales p {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

section#nosotros .redes-enlaces {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    margin: 0;
    padding: 0;
}


/* POR QUÉ ELEGIR AIRCONIC */

.beneficios {
    background: #f5f5f7;
    padding: 65px 20px;
    text-align: center;
    border-radius: 30px;
    overflow: hidden;
    margin: 20px;
}

.beneficios h2 {
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px;
}

.beneficios-subtitulo {
    color: #4d4b4b;
    font-size: 17px;
    margin: 0 0 35px;
}

.beneficios-contenedor {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.beneficio {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 22px;
    transition: 0.3s ease;
}

.beneficio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.beneficio-icono {
    font-size: 34px;
    color: #0071e3;
    margin-bottom: 20px;
}

.beneficio h3 {
    color: #1d1d1f;
    font-size: 21px;
    margin: 0 0 15px;
}

.beneficio p {
    color: #3c3a3a;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .beneficios-contenedor {
        grid-template-columns: 1fr;
    }
}
/* REDES SOCIALES - AIRCONIC */

#nosotros.redes-sociales {
    background: #ffffff;
    padding: 40px 20px;
    margin: 0;
    min-height: 0;
    height: auto;
    display: block;
    text-align: center;
}

/* BORDE DE REDES SOCIALES */

#nosotros .redes-caja {
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 28px;
    padding: 40px 25px;
    max-width: 1050px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* BORDES DE INSTAGRAM Y TIKTOK */

#nosotros .red-social {
    background: #f5f5f7;
    border: 1px solid #e5e5e7;
    border-radius: 16px;
    padding: 16px 28px;
}


/* AIRCONIC - DISEÑO MÓVIL CORREGIDO */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; }

/* Mantener imágenes de producto completas, sin cortes */
.tarjeta .foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.tarjeta .foto {
  background: #fff;
}

/* Botones más legibles y cómodos */
.comprar {
  margin-top: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn {
  background: #0071e3;
  color: #fff;
}

/* Diseño para tablets */
@media (max-width: 900px) {
  .tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beneficios-contenedor { grid-template-columns: 1fr; }
}

/* Diseño para celulares */
@media (max-width: 600px) {
  header {
    position: relative;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    text-align: center;
  }
  .logo { font-size: 24px; }
  nav {
    width: 100%;
    justify-content: center;
    gap: 4px 16px;
  }
  nav a {
    font-size: 13px;
    padding: 8px 0;
    line-height: 1.4;
  }
  .hero {
    padding: 52px 20px 48px;
  }
  .hero h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.15;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.6;
  }
  .contenedor {
    padding: 38px 18px;
  }
  .contenedor h2,
  .beneficios h2 { font-size: 27px; }
  .tarjetas {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 390px;
    margin: 0 auto;
    gap: 18px;
  }
  .tarjeta {
    padding: 18px;
    border-radius: 20px;
    gap: 0;
  }
  .tarjeta .foto {
    height: 195px;
    margin-bottom: 12px;
    border-radius: 14px;
  }
  .tarjeta .foto img { object-fit: contain; }
  .tarjeta h3 { font-size: 20px; margin-bottom: 8px; }
  .tarjeta p {
    font-size: 14px;
    line-height: 1.5;
    min-height: 0;
    margin-bottom: 10px;
  }
  .tarjeta h4 {
    font-size: 21px;
    margin: 0;
  }
  .comprar, .no-disponible {
    width: 100%;
    min-height: 44px;
    margin-top: 14px;
  }
  #nosotros.redes-sociales { padding: 24px 16px; }
  #nosotros .redes-caja {
    padding: 28px 16px;
    border-radius: 22px;
  }
  .redes-sociales h2 { font-size: 24px; }
  .redes-sociales p {
    font-size: 14px;
    line-height: 1.6;
  }
  #nosotros .redes-enlaces {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  #nosotros .red-social {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 14px;
  }
  .beneficios {
    margin: 12px 16px 24px;
    padding: 34px 16px;
    border-radius: 22px;
  }
  .beneficios-contenedor {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .beneficio { padding: 24px 18px; }
  footer {
    padding: 24px 16px;
    line-height: 1.5;
    font-size: 13px;
  }
}


/* AIRCONIC - AJUSTE FINAL DE FOTOS Y TARJETAS */
@media (max-width: 600px) {
  #productos .tarjetas {
    width: 100%;
    max-width: 360px;
    gap: 16px;
  }

  #productos .tarjeta {
    padding: 14px 14px 18px;
    border-radius: 18px;
  }

  #productos .tarjeta .foto {
    width: 100%;
    height: 205px;
    margin: 0 0 12px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
  }

  /* Ampliar la fotografía y reducir el margen blanco visible */
  #productos .tarjeta .foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* El Apple Watch no tiene fotografía: conservar su icono completo */
  #productos .tarjeta .foto.reloj {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #productos .tarjeta h3 { margin: 0 0 6px; }
  #productos .tarjeta p { margin: 0 0 8px; }
  #productos .tarjeta h4 { margin: 0; }
  #productos .tarjeta .comprar,
  #productos .tarjeta .no-disponible { margin-top: 12px; }
}

/* AIRCONIC - TARJETAS COMPACTAS SIN RECORTAR IMAGENES */
@media (max-width: 600px) {
  #productos .tarjeta {
    padding: 12px;
  }

  #productos .tarjeta .foto {
    height: 145px;
    margin: 0 0 8px;
    background: #ffffff;
  }

  #productos .tarjeta .foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}


/* AIRCONIC - FOTO VERTICAL SIN FRANJAS LATERALES */
@media (max-width: 600px) {
  #productos .tarjeta .foto:not(.reloj) {
    width: 175px;
    max-width: 100%;
    height: 220px;
    margin: 0 auto 10px;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
  }

  #productos .tarjeta .foto:not(.reloj) img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  #productos .tarjeta {
    padding: 12px 14px 16px;
  }

  #productos .tarjeta .foto.reloj {
    height: 145px;
  }
}

/* AIRCONIC - IMAGEN AMPLIADA HASTA LAS MARCAS */
@media (max-width: 600px) {
  #productos .tarjeta .foto:not(.reloj) {
    width: min(100%, 270px);
    height: 300px;
    margin: 0 auto 8px;
    padding: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 12px;
  }

  #productos .tarjeta .foto:not(.reloj) img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}


/* AVISO DISCRETO DE ORIGINALIDAD EN EL PIE DE PÁGINA */
footer .aviso-originalidad {
  max-width: 680px;
  margin: 10px auto 0;
  color: #606068;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}
