/* ============================================
   MOALCONVER — DESIGN SYSTEM & GLOBAL STYLES
   ============================================ */

:root {
  /* Colors */
  --primary: #0891B2;
  --primary-dark: #0C4A6E;
  --primary-deeper: #083344;
  --secondary: #22D3EE;
  --cta: #22C55E;
  --cta-hover: #16A34A;
  --bg-light: #F0FDFA;
  --bg-white: #FFFFFF;
  --bg-surface: #F8FAFC;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Typography */
  --font-heading: 'Figtree', sans-serif;
  --font-body: 'Noto Sans', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1280px;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   SECTION TAGS & TITLES
   ============================================ */

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding var(--transition-base);
}

.navbar.scrolled .nav-container {
  padding: 14px 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  transition: var(--transition-base);
}

.logo-white {
  display: block;
}

.logo-dark {
  display: none;
}

.navbar.scrolled .logo-white {
  display: none;
}

.navbar.scrolled .logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-link {
  color: var(--text-primary);
}

.nav-link:hover {
  color: #fff;
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--cta);
  padding: 10px 24px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .nav-hamburger span {
  background: var(--text-primary);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition-fast);
}

.mobile-link:hover {
  color: var(--secondary);
}

.mobile-cta {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--cta);
  padding: 14px 36px;
  border-radius: 8px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 40%, var(--primary) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.08);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-title-accent {
  background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 14px 0;
}

.btn-ghost:hover {
  color: #fff;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.hero-image {
  width: 100%;
  height: 480px;
  object-fit: contain;
  background: linear-gradient(135deg, #e8f4f8, #f0fdfa);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 74, 110, 0.4) 0%, transparent 60%);
}

.hero-floating-card {
  position: absolute;
  bottom: -24px;
  left: -40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  animation: floatUp 3s ease-in-out infinite alternate;
}

.hero-floating-card-2 {
  bottom: auto;
  left: auto;
  top: 40px;
  right: -24px;
  animation-delay: 1.5s;
}

@keyframes floatUp {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.floating-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.floating-card-text {
  display: flex;
  flex-direction: column;
}

.floating-card-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  line-height: 1.1;
}

.floating-card-label {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   BRAND BAR
   ============================================ */

.brand-bar {
  background: var(--bg-white);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.brand-bar-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.brand-bar-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

/* Brand Cards */
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
}

a.brand-card {
  cursor: pointer;
}

div.brand-card {
  cursor: default;
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(8, 145, 178, 0.1);
  transform: translateY(-6px);
}

.brand-card-logo {
  height: 56px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.brand-card:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-card-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.brand-card:hover .brand-card-type {
  color: var(--primary);
}

.brand-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition-base);
}

.brand-card:hover .brand-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ABOUT / QUIÉNES SOMOS
   ============================================ */

.about {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-intro-content {
  max-width: 520px;
}

.about-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-intro-image {
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

.about-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 200px;
  height: 200px;
  background: var(--bg-light);
  border-radius: 16px;
  z-index: -1;
}

/* Mission Block */
.mission-block {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 20px;
  padding: 64px 80px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.mission-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.mission-icon {
  color: var(--secondary);
  margin-bottom: 16px;
  display: inline-block;
}

.mission-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

.mission-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 28px);
  color: #fff;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* Differentiators */
.differentiators {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.diff-item {
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  grid-column: span 4;
}

.diff-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(8, 145, 178, 0.08);
  transform: translateY(-4px);
}

.diff-item-large {
  grid-column: span 5;
}

.diff-item-large + .diff-item {
  grid-column: span 4;
}

.diff-item-large + .diff-item + .diff-item {
  grid-column: span 3;
}

.diff-item-wide {
  grid-column: span 12;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--bg-light);
}

.diff-item-wide .diff-text {
  grid-column: 2 / -1;
}

.diff-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 48px;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
}

.diff-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.diff-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Quality Statement */
.quality-statement {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 4px;
}

.quality-inner {
  border: 2px dashed rgba(8, 145, 178, 0.15);
  border-radius: 18px;
  padding: 56px 64px;
  text-align: center;
}

.quality-icon {
  color: var(--primary);
  margin-bottom: 20px;
}

.quality-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   PRODUCTS
   ============================================ */

.products {
  padding: var(--section-padding) 0;
  background: var(--bg-surface);
}

.products-header {
  margin-bottom: 48px;
}

/* Product Tabs */
.product-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-white);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  max-width: 480px;
}

.product-tab {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.product-tab:hover {
  color: var(--primary);
}

.product-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* Product Panels */
.product-panel {
  display: none;
}

.product-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Category Header */
.product-category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.category-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.category-description {
  font-size: 15px;
  color: var(--text-secondary);
}

.brand-badge {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(8, 145, 178, 0.15);
  white-space: nowrap;
}

.brand-badge-accent {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Category Brand Logos in Products */
.category-brand {
  flex-shrink: 0;
}

.category-logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.category-logo-img:hover {
  transform: scale(1.05);
}

/* Product Grid */
.product-grid {
  display: grid;
  gap: 16px;
}

.product-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.product-grid-artroscopia {
  grid-template-columns: repeat(3, 1fr);
}

/* Product Cards */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(8, 145, 178, 0.1);
  transform: translateY(-4px);
}

.product-card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 12px;
  flex: 1;
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.product-card:hover .product-card-link {
  gap: 12px;
  color: var(--cta);
}

/* Dark Product Cards (Artroscopia) */
.product-card-dark {
  background: var(--primary-dark);
  border-color: rgba(34, 211, 238, 0.1);
}

.product-card-dark:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.12);
}

.product-card-dark .product-card-title {
  color: #fff;
  font-size: 15px;
}

.product-card-dark .product-card-link {
  color: var(--secondary);
}

.product-card-wide {
  grid-column: span 2;
}

/* Featured Product Cards (Ortopedia) */
.product-card-featured {
  background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
  padding: 48px 36px;
  text-align: center;
  align-items: center;
}

.product-card-featured .product-card-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.product-card-featured .product-card-title {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Feature Image (Artroscopia) */
.product-feature-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  height: auto;
  max-height: 360px;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(135deg, #e8f4f8, #f0fdfa);
}

.feature-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 74, 110, 0.7), transparent 60%);
}

.feature-img-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-img-label span:first-child {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
}

.feature-img-label span:last-child {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.services-header {
  margin-bottom: 64px;
}

.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-block {
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-block:hover {
  transform: translateY(-4px);
}

.service-block-image {
  position: relative;
  height: auto;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: linear-gradient(135deg, #e8f4f8, #f0fdfa);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary) 0%, transparent 100%);
}

.service-img-overlay-dark {
  background: linear-gradient(to top, var(--primary-dark) 0%, transparent 100%);
}

.service-block-teal .service-block-content {
  background: var(--primary);
  color: #fff;
}

.service-block-dark .service-block-content {
  background: var(--primary-dark);
  color: #fff;
}

.service-block-content {
  padding: 40px 36px;
  flex: 1;
}

.service-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 16px;
}

.service-text {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 24px;
}

.service-partner {
  padding-top: 20px;
}

.service-partner-line {
  width: 40px;
  height: 2px;
  background: var(--secondary);
  margin-bottom: 16px;
}

.service-partner-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.service-partner-desc {
  display: block;
  font-size: 13px;
  opacity: 0.7;
}

.service-partner-logo-link {
  display: inline-block;
  transition: all var(--transition-base);
}

.service-partner-logo-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.service-partner-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 6px;
}

/* Service Items (Médicos) */
.service-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(8, 145, 178, 0.3);
  border-radius: 12px;
  padding: 20px;
}

.service-item-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: 6px;
  flex-shrink: 0;
}

.service-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
}

.service-item-text {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
}

.final-cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 50%, var(--primary) 100%);
}

.final-cta-container {
  position: relative;
  z-index: 1;
}

.final-cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.final-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--primary-deeper);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--secondary);
}

.footer-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 0;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom strong {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* ============================================
   RESPONSIVE — TABLET (768px)
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-floating-card {
    left: -8px;
    bottom: -16px;
  }

  .hero-floating-card-2 {
    right: -8px;
    top: 24px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-intro-content {
    max-width: 100%;
  }

  .mission-block {
    padding: 48px 40px;
  }

  .differentiators {
    grid-template-columns: repeat(6, 1fr);
  }

  .diff-item {
    grid-column: span 3 !important;
  }

  .diff-item-wide {
    grid-column: span 6 !important;
    grid-template-columns: 1fr;
  }

  .diff-item-wide .diff-text {
    grid-column: auto;
  }

  .product-grid-3,
  .product-grid-artroscopia {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card-wide {
    grid-column: span 2;
  }

  .services-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

/* ============================================
   RESPONSIVE — MOBILE (375px)
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .container {
    padding: 0 20px;
  }

  /* Navbar mobile */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-container {
    padding: 16px 20px;
  }

  /* Hero mobile */
  .hero {
    padding-top: 60px;
  }

  .hero-image {
    height: auto;
  }

  .hero-floating-card {
    display: none;
  }

  .hero-floating-card-2 {
    display: none;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Brand bar mobile */
  .brand-bar-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .brand-card {
    padding: 24px 16px 20px;
  }

  .brand-logo-img {
    height: 40px;
  }

  .brand-card-link {
    display: none;
  }

  /* Differentiators mobile */
  .differentiators {
    grid-template-columns: 1fr;
  }

  .diff-item,
  .diff-item-wide {
    grid-column: span 1 !important;
    grid-template-columns: 1fr !important;
  }

  /* Products mobile */
  .product-tabs {
    max-width: 100%;
  }

  .product-tab {
    padding: 12px 12px;
    font-size: 14px;
  }

  .product-grid-3,
  .product-grid-2,
  .product-grid-artroscopia {
    grid-template-columns: 1fr;
  }

  .product-card-wide {
    grid-column: span 1;
  }

  .product-feature-image {
    height: auto;
    max-height: none;
  }

  /* Services mobile */
  .services-split {
    grid-template-columns: 1fr;
  }

  .service-block-image {
    height: auto;
  }

  /* Quality statement mobile */
  .quality-inner {
    padding: 40px 28px;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* CTA mobile */
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CONTACT PAGE SPECIFIC STYLES
   ============================================ */

.contact-hero {
  background: linear-gradient(135deg, var(--primary-deeper), var(--primary-dark));
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.contact-hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 52px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.contact-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* Contact Form Area */
.contact-main {
  padding: 80px 0 var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 48px;
}

.contact-form-container {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 36px;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  background: var(--bg-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--cta);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 12px;
  transition: all var(--transition-fast);
}

.form-submit:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

/* Contact Info Blocks */
.contact-info-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-block {
  padding: 32px;
  border-radius: 16px;
  color: #fff;
}

.contact-info-block:nth-child(1) { background: var(--primary-dark); }
.contact-info-block:nth-child(2) { background: var(--primary); }
.contact-info-block:nth-child(3) { background: var(--primary-dark); }

.contact-info-accent {
  width: 48px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  margin-bottom: 16px;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.contact-info-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
}

.contact-info-sub {
  font-size: 14px;
  opacity: 0.55;
  margin-top: 4px;
}

/* Map Section */
.contact-map {
  margin: 0 auto;
  max-width: var(--container-max);
  padding: 0 32px;
  margin-bottom: 80px;
}

.contact-map-inner {
  background: var(--bg-light);
  border-radius: 16px;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--border);
}

.contact-map-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
}

.contact-map-address {
  font-size: 15px;
  color: var(--text-secondary);
}

/* CTA Strip */
.cta-strip {
  background: var(--primary);
  padding: 48px 0;
  text-align: center;
  color: #fff;
}

.cta-strip-label {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.cta-strip-phone {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
}

.cta-strip-address {
  font-size: 14px;
  opacity: 0.6;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 32px 24px;
  }

  .contact-hero {
    padding: 120px 0 60px;
  }
}
