/* PHARMA, S.A.S. de C.V. — sitio informativo B2B
   Paleta: navy / teal / blanco. Móvil primero. */

:root {
  --navy: #0b3d5c;
  --navy-dark: #072a40;
  --navy-mid: #0e4a6e;
  --teal: #1a8a8c;
  --teal-dark: #146f71;
  --teal-soft: #e6f4f4;
  --white: #ffffff;
  --off-white: #f5f8fa;
  --text: #1a2b33;
  --text-muted: #3d5560;
  --border: #cfdce3;
  --focus: #c45c26;
  --max: 68rem;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dark);
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* Header — white so Bosco’s navy logo is visible */
.site-header {
  background: var(--white);
  color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 3px solid var(--teal);
  box-shadow: 0 1px 0 rgba(11, 61, 92, 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--navy);
}

.brand img {
  height: 3.15rem;
  width: auto;
  max-width: 22rem;
  flex-shrink: 0;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  background: var(--teal-soft);
  color: var(--navy);
}

.site-nav a[aria-current="page"] {
  background: var(--teal);
  color: var(--white);
}

.header-phone {
  color: var(--navy) !important;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border);
}

.header-phone:hover {
  background: var(--teal) !important;
  color: var(--white) !important;
  border-color: var(--teal);
}

@media (max-width: 44rem) {
  .nav-toggle-label {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding-top: 0.35rem;
    gap: 0.2rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0.75rem;
  }
}

/* Main layout */
.page {
  min-height: calc(100vh - 14rem);
}

.hero {
  background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 3rem 1.25rem 3.25rem;
}

.hero-inner,
.section-inner,
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 40rem;
}

.hero .lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.08rem;
  color: #d5e6ee;
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ec8ca;
  margin-bottom: 0.65rem;
}

.section {
  padding: 2.5rem 1.25rem;
}

.section--alt {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  color: var(--navy);
}

.section p {
  margin: 0 0 1rem;
  max-width: 44rem;
  color: var(--text-muted);
}

.section p:last-child {
  margin-bottom: 0;
}

/* Audience cards */
.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .audience {
    grid-template-columns: 1fr 1fr;
  }
}

.audience li {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
  padding: 1rem 1.1rem;
}

.audience strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.audience span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.note {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--teal-soft);
  border-radius: 4px;
  color: var(--navy-dark);
  max-width: 44rem;
  font-size: 0.98rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.btn:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn--on-dark {
  background: var(--teal);
  color: var(--white);
  margin-top: 1.4rem;
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
}

/* Definition / fact blocks */
.facts {
  margin: 0;
  max-width: 44rem;
}

.facts dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.15rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.facts dt:first-child {
  margin-top: 0;
}

.facts dd {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.35rem 1.4rem;
}

.contact-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-list .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #c5d6df;
  padding: 2rem 1.25rem 1.5rem;
  font-size: 0.9rem;
  border-top: 3px solid var(--teal);
}

.site-footer a {
  color: #9fd4d6;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-name {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.2rem;
}

.footer-legal {
  margin: 0 0 1rem;
  color: #8aa8b6;
  font-size: 0.85rem;
}

.footer-meta {
  margin: 0 0 0.35rem;
  max-width: 40rem;
}

.footer-copy {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #1a445c;
  color: #7a96a4;
  font-size: 0.82rem;
}

/* Page title band for inner pages */
.page-band {
  background: var(--navy);
  color: var(--white);
  padding: 1.75rem 1.25rem;
}

.page-band h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.page-band p {
  margin: 0.4rem 0 0;
  color: #b8d4e0;
  max-width: 40rem;
}


/* Photos */
.photo {
  margin: 0 0 1.5rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.photo figcaption {
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--off-white);
}
.hero-photo {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.hero-photo img {
  aspect-ratio: 21 / 8;
  min-height: 12rem;
  object-fit: cover;
}
.photo-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
}
@media (min-width: 44rem) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

/* Form */
.contact-form {
  display: grid;
  gap: 0.85rem;
}
.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--navy);
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.form-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.form-row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 40rem) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #128c7e;
  color: #fff !important;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(11, 61, 92, 0.28);
}
.wa-float:hover { background: #075e54; color: #fff !important; }
.wa-float svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
@media (max-width: 40rem) {
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float { padding: 0.85rem; }
}


/* Value proposition cards */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

@media (min-width: 40rem) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: 6px;
  padding: 1.15rem 1.2rem;
}

.value-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.value-card span {
  color: var(--text-muted);
  font-size: 0.95rem;
}
