/* ==========================================================================
   PITM | Proveedora de Insumos y Tecnología Médica - Stylesheet
   Palette & Design matching official branding & PDF presentations
   ========================================================================== */

:root {
  --pitm-blue: #004b93;
  --pitm-blue-dark: #00366b;
  --pitm-blue-deep: #072b4f;
  --pitm-blue-light: #2684ff;
  --pitm-blue-subtle: #e8f3fc;
  --pitm-blue-tint: #f4f9fd;
  
  --pitm-cyan: #38bdf8;
  --pitm-gray-cross: #8d9297;
  --pitm-gray-bg: #f8fafc;
  --pitm-gray-border: #e2e8f0;
  --pitm-text-main: #1e293b;
  --pitm-text-muted: #64748b;
  --pitm-white: #ffffff;
  
  --pitm-whatsapp: #25d366;
  --pitm-whatsapp-dark: #128c7e;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 75, 147, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 75, 147, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 75, 147, 0.12);
  --shadow-hover: 0 20px 40px rgba(0, 75, 147, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--pitm-text-main);
  background-color: var(--pitm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  margin-right: 1.5rem;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

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

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pitm-text-main);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--pitm-blue);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--pitm-blue);
}

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

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

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--pitm-blue);
  border-radius: 3px;
  transition: var(--transition-fast);
}

.mobile-drawer {
  display: none;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--pitm-blue);
  color: var(--pitm-white);
  box-shadow: 0 4px 14px rgba(0, 75, 147, 0.25);
}

.btn-primary:hover {
  background-color: var(--pitm-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 75, 147, 0.35);
  color: var(--pitm-white);
}

.nav-actions .btn-primary,
.nav-actions .btn-primary:hover {
  color: var(--pitm-white);
}

.btn-secondary {
  background-color: var(--pitm-blue-subtle);
  color: var(--pitm-blue);
}

.btn-secondary:hover {
  background-color: #d8ecfa;
  transform: translateY(-2px);
  color: var(--pitm-blue-dark);
}

.btn-outline {
  border: 2px solid var(--pitm-blue);
  color: var(--pitm-blue);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--pitm-blue);
  color: var(--pitm-white);
}

.btn-outline-sm {
  border: 1.5px solid var(--pitm-blue);
  color: var(--pitm-blue);
  background: transparent;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-outline-sm:hover {
  background: var(--pitm-blue);
  color: var(--pitm-white);
}

.btn-whatsapp {
  background-color: var(--pitm-whatsapp);
  color: var(--pitm-white);
  font-weight: 600;
}

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

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* ================= SECTION HEADINGS ================= */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pitm-blue);
  background-color: var(--pitm-blue-subtle);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--pitm-blue);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--pitm-text-muted);
  max-width: 680px;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

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

.section-header {
  margin-bottom: 3.5rem;
}

/* ================= 1. HERO SECTION (SLIDE 1) ================= */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0f7fe 0%, #ffffff 55%, #e6f1fc 100%);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 120%;
  background: linear-gradient(120deg, rgba(38, 132, 255, 0.08) 0%, rgba(0, 75, 147, 0.12) 100%);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pitm-white);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pitm-blue);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--pitm-blue-subtle);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--pitm-blue-light);
  box-shadow: 0 0 0 0 rgba(38, 132, 255, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(38, 132, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(38, 132, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(38, 132, 255, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--pitm-blue);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-divider {
  color: var(--pitm-gray-cross);
  font-weight: 400;
  margin: 0 0.2rem;
}

.hero-name {
  display: inline;
  color: var(--pitm-blue);
}

.hero-description {
  font-size: 1.25rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 2.2rem;
  font-weight: 400;
  border-left: 4px solid var(--pitm-blue-light);
  padding-left: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--pitm-gray-border);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-item i {
  font-size: 1.25rem;
  color: var(--pitm-blue);
  background: var(--pitm-blue-subtle);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
}

.feature-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--pitm-text-main);
}

.feature-item span {
  font-size: 0.75rem;
  color: var(--pitm-text-muted);
}

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

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.hero-photo-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--pitm-white);
  height: 480px;
  background-color: var(--pitm-blue-tint);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-main-img {
  transform: scale(1.03);
}

.hero-shape-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 75, 147, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: var(--pitm-white);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--pitm-blue-subtle);
  z-index: 10;
  animation: floatBadge 3.5s ease-in-out infinite alternate;
}

.badge-top {
  top: -15px;
  right: -15px;
}

.badge-bottom {
  bottom: -20px;
  left: -20px;
  animation-delay: 1.5s;
}

.floating-badge i {
  font-size: 1.6rem;
  color: var(--pitm-blue);
}

.floating-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--pitm-text-main);
}

.floating-badge span {
  font-size: 0.75rem;
  color: var(--pitm-text-muted);
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ================= 2. QUIÉNES SOMOS Y VALORES (SLIDE 2) ================= */
.about-section {
  background-color: var(--pitm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 3rem;
  align-items: stretch;
}

.about-card {
  background: var(--pitm-blue-tint);
  border: 1px solid var(--pitm-blue-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-text-content {
  margin: 1.5rem 0 2.5rem;
}

.about-text-content p {
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.about-text-content .highlight-p {
  font-size: 1.15rem;
  color: var(--pitm-blue-dark);
}

/* Values Card */
.values-card {
  background: var(--pitm-white);
  border: 1px solid var(--pitm-gray-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.values-main-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--pitm-blue);
  text-align: center;
  margin-bottom: 0.4rem;
}

.values-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--pitm-text-muted);
  margin-bottom: 2.2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1rem;
}

.value-item {
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.value-item:hover {
  background-color: var(--pitm-blue-tint);
  transform: translateY(-4px);
}

.value-icon-circle {
  width: 68px;
  height: 68px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: var(--pitm-blue-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pitm-blue);
  font-size: 1.6rem;
  transition: all var(--transition-fast);
}

.value-item:hover .value-icon-circle {
  background: var(--pitm-blue);
  color: var(--pitm-white);
  box-shadow: 0 6px 16px rgba(0, 75, 147, 0.3);
}

.value-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pitm-text-main);
  margin-bottom: 0.35rem;
}

.value-desc {
  font-size: 0.78rem;
  color: var(--pitm-text-muted);
  line-height: 1.4;
}

/* ================= 3. NUESTRAS LÍNEAS COMERCIALES (SLIDE 3) ================= */
.lines-section {
  background-color: var(--pitm-gray-bg);
}

.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.line-card {
  background: var(--pitm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--pitm-gray-border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.line-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.featured-line {
  border-color: var(--pitm-blue-light);
  box-shadow: var(--shadow-md);
  position: relative;
}

.line-img-holder {
  height: 230px;
  position: relative;
  overflow: hidden;
  background-color: var(--pitm-blue-tint);
}

.line-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.22);
  transform-origin: center center;
  padding: 0;
  transition: transform 0.5s ease;
}

.line-card:hover .line-img {
  transform: scale(1.28);
}

.line-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 75, 147, 0.9);
  color: var(--pitm-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.line-badge.badge-accent {
  background: var(--pitm-blue-light);
}

.line-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.line-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pitm-blue);
  margin-bottom: 0.6rem;
}

.line-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.4rem;
}

.line-bullets {
  margin-bottom: 1.8rem;
  margin-top: auto;
}

.line-bullets li {
  font-size: 0.85rem;
  color: var(--pitm-text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.line-bullets li i {
  color: var(--pitm-blue-light);
  font-size: 0.75rem;
}

.line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pitm-blue-subtle);
  color: var(--pitm-blue);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.line-btn:hover {
  background: var(--pitm-blue);
  color: var(--pitm-white);
}

/* ================= 4. PORTAFOLIO DE PRODUCTOS (SLIDE 4) ================= */
.portfolio-section {
  background-color: var(--pitm-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: var(--pitm-white);
  border: 1px solid var(--pitm-gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--pitm-blue-light);
}

.product-visual {
  height: 185px;
  position: relative;
  overflow: hidden;
  background-color: #eaf4fb;
  border-bottom: 1px solid var(--pitm-gray-border);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  image-rendering: auto;
}

.product-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pitm-blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pitm-blue);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--pitm-text-muted);
  line-height: 1.5;
  margin-bottom: 1.3rem;
  flex: 1;
}

.btn-quote {
  width: 100%;
  cursor: pointer;
}

.catalog-download-card {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--pitm-blue) 0%, var(--pitm-blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--pitm-white);
  box-shadow: var(--shadow-lg);
}

.catalog-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.catalog-text p {
  color: #e2e8f0;
  font-size: 0.95rem;
  max-width: 650px;
}

.catalog-btn .btn {
  background: var(--pitm-white);
  color: var(--pitm-blue);
  white-space: nowrap;
}

.catalog-btn .btn:hover {
  background: var(--pitm-blue-subtle);
  color: var(--pitm-blue-dark);
}

/* ================= 5. COMERCIALIZACIÓN Y ABASTECIMIENTO (SLIDE 5) ================= */
.process-section {
  background-color: var(--pitm-gray-bg);
}

.process-steps-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.8rem;
  position: relative;
  padding-top: 1rem;
}

.step-card {
  background: var(--pitm-white);
  border: 1px solid var(--pitm-gray-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.1rem 1.8rem;
  text-align: center;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 330px;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--pitm-blue-light);
  box-shadow: var(--shadow-md);
}

.step-badge {
  position: absolute;
  top: -14px;
  background: var(--pitm-blue);
  color: var(--pitm-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 75, 147, 0.3);
  border: 2px solid var(--pitm-white);
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pitm-blue-tint);
  border: 2px dashed var(--pitm-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--pitm-blue);
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  transition: all var(--transition-fast);
}

.step-card:hover .step-icon {
  background: var(--pitm-blue);
  color: var(--pitm-white);
  border-style: solid;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pitm-blue);
  margin-bottom: 0.6rem;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.step-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 75px;
  color: var(--pitm-blue-light);
  font-size: 1rem;
  width: 30px;
  height: 30px;
  background: var(--pitm-white);
  border-radius: 50%;
  border: 1px solid var(--pitm-gray-border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  z-index: 2;
  transition: all var(--transition-fast);
}

/* ================= 6. SECTORES A LOS QUE NOS DIRIGIMOS (SLIDE 6) ================= */
.sectors-section {
  background-color: var(--pitm-white);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sector-card {
  background: var(--pitm-white);
  border: 1px solid var(--pitm-gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pitm-blue-light);
}

.sector-img-wrap {
  height: 210px;
  position: relative;
  overflow: hidden;
  background-color: var(--pitm-blue-tint);
}

.sector-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-img {
  transform: scale(1.16);
}

.sector-icon-badge {
  position: absolute;
  bottom: -22px;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pitm-blue);
  color: var(--pitm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 75, 147, 0.35);
  border: 3px solid var(--pitm-white);
}

.sector-body {
  padding: 2.2rem 1.6rem 1.8rem;
}

.sector-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pitm-blue);
  margin-bottom: 0.5rem;
}

.sector-desc {
  font-size: 0.88rem;
  color: var(--pitm-text-muted);
  line-height: 1.5;
}

/* ================= 7. MARCAS CON LAS QUE TRABAJAMOS (SLIDE 7) ================= */
.brands-section {
  background-color: var(--pitm-gray-bg);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.brand-item {
  background: var(--pitm-white);
  border: 1px solid var(--pitm-gray-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.brand-item:hover {
  transform: translateY(-4px);
  border-color: var(--pitm-blue-light);
  box-shadow: var(--shadow-md);
}

.brand-img {
  max-height: 48px;
  width: auto;
  max-width: 85%;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: filter var(--transition-fast), opacity var(--transition-fast);
}

.brand-item:hover .brand-img {
  filter: grayscale(0%);
  opacity: 1;
}

.brands-footer-text {
  text-align: center;
  color: var(--pitm-text-muted);
  font-size: 0.9rem;
}

.brands-footer-text i {
  color: var(--pitm-blue);
  margin-right: 0.4rem;
}

/* ================= 8. INFORMACIÓN DE CONTACTO (SLIDE 8) ================= */
.contact-section {
  background-color: var(--pitm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--pitm-blue-tint);
  border: 1px solid var(--pitm-blue-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  transition: all var(--transition-fast);
}

a.contact-info-card:hover {
  background: var(--pitm-white);
  border-color: var(--pitm-blue-light);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.c-icon-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--pitm-blue);
  color: var(--pitm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(0, 75, 147, 0.25);
}

.c-info-text {
  display: flex;
  flex-direction: column;
}

.c-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--pitm-text-muted);
}

.c-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pitm-blue);
  margin: 0.15rem 0;
}

.c-hint {
  font-size: 0.8rem;
  color: #64748b;
}

.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pitm-white);
  border: 1px solid var(--pitm-gray-border);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--pitm-text-main);
  transition: all var(--transition-fast);
}

.social-chip i {
  color: var(--pitm-blue);
}

.social-chip:hover {
  background: var(--pitm-blue);
  color: var(--pitm-white);
  border-color: var(--pitm-blue);
}

.social-chip:hover i {
  color: var(--pitm-white);
}

/* Form */
.form-wrapper {
  background: var(--pitm-white);
  border: 1px solid var(--pitm-gray-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 1.8rem;
}

.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pitm-blue);
  margin-bottom: 0.35rem;
}

.form-header p {
  font-size: 0.9rem;
  color: var(--pitm-text-muted);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pitm-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--pitm-gray-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--pitm-text-main);
  background-color: var(--pitm-gray-bg);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pitm-blue);
  background-color: var(--pitm-white);
  box-shadow: 0 0 0 3px rgba(0, 75, 147, 0.12);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.form-status {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  display: block;
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.form-status.error {
  display: block;
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

/* ================= 9. CIERRE Y ALIANZAS (SLIDE 9) ================= */
.closing-section {
  padding: 4.5rem 0;
  background: var(--pitm-white);
}

.closing-box {
  background: linear-gradient(135deg, var(--pitm-blue-tint) 0%, var(--pitm-blue-subtle) 100%);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  text-align: center;
  color: var(--pitm-text-main);
  box-shadow: 0 16px 40px rgba(0, 75, 147, 0.1);
  position: relative;
  overflow: hidden;
}

.closing-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 75, 147, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.closing-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.closing-subtitle {
  font-size: 1.2rem;
  color: var(--pitm-text-muted);
  margin-bottom: 1.5rem;
}

.closing-thanks {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pitm-blue-deep);
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 75, 147, 0.18);
  margin-bottom: 2.2rem;
}

.closing-logo-wrap {
  margin-bottom: 2.5rem;
}

.closing-logo {
  height: 52px;
  width: auto;
  margin: 0 auto;
}

/* ================= FOOTER ================= */
.footer {
  background-color: var(--pitm-blue-tint);
  color: var(--pitm-text-muted);
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.4fr;
  gap: 3rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(0, 75, 147, 0.12);
}

.footer-tagline {
  color: var(--pitm-blue);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-about {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pitm-blue-deep);
  margin-bottom: 1.2rem;
}

.contact-col .footer-heading,
.contact-col .footer-links {
  color: #000;
}

.footer-links li {
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-links li i {
  color: var(--pitm-blue);
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--pitm-blue);
  padding-left: 4px;
}

.footer-social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pitm-blue-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pitm-blue);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-social-row a:hover {
  background: var(--pitm-blue);
  color: var(--pitm-white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.6rem 0;
  font-size: 0.82rem;
  color: var(--pitm-text-muted);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--pitm-blue);
}

/* ================= FLOATING WHATSAPP & BACK TO TOP ================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--pitm-whatsapp);
  color: var(--pitm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--pitm-whatsapp-dark);
  color: var(--pitm-white);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--pitm-white);
  color: var(--pitm-text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--pitm-gray-border);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.back-to-top {
  position: fixed;
  bottom: 95px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pitm-white);
  color: var(--pitm-blue);
  border: 1px solid var(--pitm-gray-border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--pitm-blue);
  color: var(--pitm-white);
  transform: translateY(-3px);
}

/* ================= MODAL ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 43, 79, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--pitm-white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--pitm-text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pitm-blue);
  margin-bottom: 0.3rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--pitm-text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lines-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

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

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

  .process-steps-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .step-arrow {
    align-self: center;
    margin-top: 0;
    transform: rotate(90deg);
  }

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

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-actions .btn {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-drawer {
    display: block;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: var(--pitm-white);
    border-bottom: 2px solid var(--pitm-blue-light);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s ease;
  }

  .mobile-drawer.open {
    max-height: 520px;
    opacity: 1;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .mobile-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pitm-text-main);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--pitm-gray-border);
  }

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

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .catalog-download-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .closing-title {
    font-size: 1.7rem;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
