/* ==========================================================================
   YourDrugs Pharma LLC - Clean, Responsive, High-Performance Stylesheet
   Strictly authentic, fast, and responsive across all devices.
   ========================================================================== */

:root {
  --font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --color-primary: #0a2540;
  --color-blue: #0066cc;
  --color-blue-hover: #004d99;
  
  --text-main: #0a2540;
  --text-body: #334155;
  --text-muted: #556987;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0a2540;
  
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;
  
  --container-width: 1160px;
  --radius: 8px;
  --transition: 0.15s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.55;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  height: 64px;
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.nav a:hover {
  color: var(--color-blue);
}

.header-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: #ffffff;
  padding: 3.5rem 0 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-company {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.hero-img-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.hero-img-box img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: #ffffff;
}

.hero-btn:hover {
  background-color: var(--color-blue-hover);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 3.5rem 0;
}

.section-white {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 800px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
}

.product-img {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-page);
  border-radius: var(--radius);
  padding: 0.5rem;
  margin-bottom: 0.85rem;
}

.product-img img {
  max-height: 110px;
  object-fit: contain;
}

.product-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.product-active-sub {
  font-size: 0.825rem;
  color: var(--color-blue);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.product-info {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.45;
  flex-grow: 1;
}

/* Logistics & License Cards */
.logistics-box {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.logistics-box h3 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.logistics-box p {
  color: #cbd5e1;
  font-size: 0.975rem;
  line-height: 1.6;
}

.logistics-box img {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.license-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 2rem;
}

.license-box img {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.license-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.license-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-blue);
  border-bottom: 1px solid var(--color-blue);
  padding-bottom: 2px;
}

.btn-link:hover {
  color: var(--color-blue-hover);
  border-bottom-color: var(--color-blue-hover);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.team-member {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-member:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: #f8fafc;
  border: 3px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

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

.team-details {
  width: 100%;
  text-align: center;
}

.team-details h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.team-details .team-pos {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

.team-details .team-bio {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
}

/* Contact Block */
.contact-block {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-channel-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--bg-page);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-channel-link:hover {
  border-color: var(--color-primary);
  background: #ffffff;
}

.contact-channel-link strong {
  color: var(--text-main);
}

/* Form */
.simple-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-field input, .form-field textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  font-size: 0.9rem;
  background: #ffffff;
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

.form-submit-btn {
  padding: 0.75rem;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit-btn:hover {
  background-color: var(--color-blue-hover);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 3rem 0 1.5rem 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.55;
  margin-top: 0.75rem;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: #cbd5e1;
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   Mobile & Tablet Responsiveness (Clean, No Stretches)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logistics-box {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
  .license-box {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .contact-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2.25rem 0 2rem 0;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-img-box img {
    height: 220px;
  }
  .section {
    padding: 2.5rem 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  
  .header-phone {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: none;
  }
  .nav.active {
    display: flex;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-avatar {
    width: 130px;
    height: 130px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
