/* ============================================
   ESC MEDICAMS ARGENTINA — STYLESHEET
   Fiel al diseño original escmedicams.com
   ============================================ */

/* Google Fonts cargadas de forma no bloqueante desde el HTML */

:root {
  --azul-oscuro: #1a2e4a;
  --azul-medio: #1e4080;
  --azul-claro: #2d6be4;
  --gris-claro: #f5f7fa;
  --gris-medio: #e8edf3;
  --gris-texto: #555e6d;
  --blanco: #ffffff;
  --negro: #1a1a2e;
  --sombra: 0 4px 20px rgba(0,0,0,0.10);
  --sombra-hover: 0 8px 30px rgba(0,0,0,0.18);
  --radio: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ============ HEADER / NAVBAR ============ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.navbar-logo img {
  height: 54px;
  width: auto;
  /* sin filtro — el logo oscuro funciona sobre fondo oscuro */
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.navbar-menu > li {
  position: relative;
}

.navbar-menu > li > a,
.navbar-menu > li > span {
  display: block;
  padding: 8px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  border-radius: var(--radio);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.navbar-menu > li > a:hover,
.navbar-menu > li > span:hover {
  background: rgba(255,255,255,0.10);
  color: var(--blanco);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #0a0a0a;
  min-width: 240px;
  border-radius: var(--radio);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
  display: none;
  z-index: 999;
}

.navbar-menu > li:hover .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 12px 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  color: rgba(255,255,255,0.88);
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--blanco);
}

.navbar-cta {
  background: var(--azul-claro) !important;
  color: var(--blanco) !important;
  border-radius: 30px !important;
  padding: 8px 22px !important;
}

.navbar-cta:hover {
  background: #4a83f0 !important;
  color: var(--blanco) !important;
}

/* Hamburger — líneas blancas sobre fondo oscuro */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-medio) 60%, var(--azul-claro) 100%);
  color: var(--blanco);
  padding: 90px 24px 80px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  padding: 5px 18px;
  font-size: 12px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: #7ec8ff;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blanco);
  color: var(--azul-medio);
  border: none;
  border-radius: 30px;
  padding: 13px 32px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 30px;
  padding: 11px 30px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--blanco);
}

/* Stats bar */
.stats-bar {
  background: var(--blanco);
  box-shadow: var(--sombra);
  padding: 28px 24px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

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

.stat-num {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--azul-claro);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gris-texto);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============ SECTION BASE ============ */
.section {
  padding: 70px 24px;
}

.section-gris {
  background: var(--gris-claro);
}

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

.section-tag {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-claro);
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--azul-oscuro);
  line-height: 1.2;
}

.section-header p {
  color: var(--gris-texto);
  margin-top: 12px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
}

/* ============ GRID DE PRODUCTOS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--blanco);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--gris-claro);
  padding: 16px;
}

.product-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card-body p {
  font-size: 13px;
  color: var(--gris-texto);
  flex: 1;
  line-height: 1.5;
}

/* Precio en tarjetas */
.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}
.price-tag {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--azul-medio);
}
.price-from {
  font-size: 11px;
  color: var(--gris-texto);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.price-note {
  font-size: 11px;
  color: #5a6470;
  margin-top: 2px;
}
.price-consult {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--azul-claro);
  margin-top: 10px;
  display: block;
  letter-spacing: .3px;
}

.product-card-footer {
  padding: 0 20px 18px;
  display: flex;
  gap: 8px;
}

.btn-ver {
  flex: 1;
  background: var(--azul-claro);
  color: var(--blanco);
  border: none;
  border-radius: 6px;
  padding: 9px 14px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  display: block;
}

.btn-ver:hover { background: var(--azul-medio); }

.btn-consultar {
  flex: 1;
  background: transparent;
  color: var(--azul-claro);
  border: 2px solid var(--azul-claro);
  border-radius: 6px;
  padding: 7px 14px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
}

.btn-consultar:hover {
  background: var(--azul-claro);
  color: var(--blanco);
}

/* ============ ABOUT / NOSOTROS ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--azul-oscuro);
  margin-bottom: 18px;
  line-height: 1.2;
}

.about-text p {
  color: var(--gris-texto);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--sombra-hover);
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--blanco);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--sombra);
  border-left: 4px solid var(--azul-claro);
}

.testimonial-card p {
  font-size: 14px;
  color: var(--gris-texto);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--azul-oscuro);
}

.testimonial-author span {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--gris-texto);
  margin-top: 2px;
}

/* ============ CONTACTO / WHATSAPP ============ */
.contact-section {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-medio) 100%);
  color: var(--blanco);
  padding: 70px 24px;
  text-align: center;
}

.contact-section h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-section p {
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-wa {
  background: #1a9e4a;
  color: var(--blanco);
  border: none;
  border-radius: 30px;
  padding: 13px 32px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-mail {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 30px;
  padding: 11px 30px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.btn-mail:hover { background: rgba(255,255,255,0.12); }

.contact-info-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-info-item {
  text-align: center;
}

.contact-info-item .label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-info-item .value {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

/* ============ FOOTER ============ */
footer {
  background: var(--negro);
  color: rgba(255,255,255,0.88);
  padding: 50px 24px 30px;
}

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

footer h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 16px;
}

footer p, footer a {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  display: block;
}

footer a:hover { color: var(--blanco); }

.footer-logo {
  height: 48px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  max-width: 1200px;
  margin: 0 auto;
}

/* ============ PÁGINA DE PRODUCTO INDIVIDUAL ============ */
.product-hero {
  background: var(--gris-claro);
  padding: 50px 24px;
}

.product-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-hero-imgs img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--sombra);
}

.product-hero-info .breadcrumb {
  font-size: 12px;
  color: var(--gris-texto);
  margin-bottom: 14px;
}

.product-hero-info .breadcrumb a {
  color: var(--azul-claro);
}

.product-hero-info h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--azul-oscuro);
  line-height: 1.2;
  margin-bottom: 16px;
}

.product-hero-info .desc {
  color: var(--gris-texto);
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-cta-btns .btn-wa {
  font-size: 14px;
  padding: 11px 26px;
}

.product-cta-btns .btn-mail {
  color: var(--azul-claro);
  border-color: var(--azul-claro);
  font-size: 14px;
  padding: 9px 24px;
}

.product-cta-btns .btn-mail:hover {
  background: var(--azul-claro);
  color: var(--blanco);
}

/* Specs table */
.specs-section {
  padding: 60px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.specs-section h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--azul-oscuro);
  margin-bottom: 24px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table tr:nth-child(even) { background: var(--gris-claro); }

.specs-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gris-medio);
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--azul-oscuro);
  width: 40%;
}

/* Modelos grid dentro de página categoría */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============ ABOUT PAGE ============ */
.about-page-hero {
  background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-medio));
  color: var(--blanco);
  text-align: center;
  padding: 70px 24px;
}

.about-page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
}

.about-page-hero p {
  opacity: 0.85;
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background: var(--blanco);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--sombra);
  text-align: center;
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--gris-texto);
  line-height: 1.6;
}

/* ============ CONTACT PAGE ============ */
.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-box h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--azul-oscuro);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--azul-oscuro);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1.5px solid var(--gris-medio);
  border-radius: var(--radio);
  padding: 10px 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--negro);
  background: var(--blanco);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--azul-claro);
}

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

.btn-submit {
  width: 100%;
  background: var(--azul-claro);
  color: var(--blanco);
  border: none;
  border-radius: 30px;
  padding: 13px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.btn-submit:hover { background: var(--azul-medio); }

.contact-info-box h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--azul-oscuro);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail-icon {
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail-text .ctd-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--azul-claro);
  margin-bottom: 3px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 14px;
  color: var(--gris-texto);
  line-height: 1.5;
}

/* ============ PAGE HERO GENÉRICA ============ */
.page-hero {
  background: linear-gradient(120deg, var(--azul-oscuro) 0%, var(--azul-medio) 100%);
  color: var(--blanco);
  padding: 55px 24px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.page-hero p {
  opacity: 0.85;
  max-width: 580px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Breadcrumb global */
.breadcrumb-bar {
  background: var(--gris-claro);
  padding: 10px 24px;
  font-size: 12.5px;
  color: var(--gris-texto);
}

.breadcrumb-bar a { color: var(--azul-claro); }
.breadcrumb-bar a:hover { text-decoration: underline; }

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1a9e4a;
  color: var(--blanco);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: transform 0.2s;
  font-size: 26px;
}

.wa-float:hover { transform: scale(1.1); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid,
  .product-hero-inner,
  .contact-page { grid-template-columns: 1fr; }

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

@media (max-width: 700px) {
  .navbar-menu { display: none; }
  .navbar-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    padding: 16px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 999;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .navbar-menu.open > li > a,
  .navbar-menu.open > li > span {
    border-radius: 0;
    padding: 12px 24px;
    color: rgba(255,255,255,0.85);
  }
  .navbar-menu.open > li > a:hover,
  .navbar-menu.open > li > span:hover {
    background: rgba(255,255,255,0.07);
    color: var(--blanco);
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-left: 16px;
    background: rgba(0,0,0,0.15);
    border-radius: 0;
  }
  .dropdown a { color: rgba(255,255,255,0.82); }
  .hamburger { display: flex; }
  .stats-inner { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}
