/* ==========================================================================
   SPD Customs & Trade - Medical Expo 2026
   Clean, Streamlined, High-Converting Landing Page
   ========================================================================== */

:root {
  --navy-dark: #07152B;
  --navy: #0B2146;
  --navy-light: #163261;
  --blue-primary: #0066D6;
  --blue-hover: #0052B3;
  --teal: #00B4D8;
  --teal-light: #E0F7FA;
  --green: #10B981;
  
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-input: #FFFFFF;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  
  --border: #E2E8F0;
  --border-focus: #0066D6;
  --error: #EF4444;

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

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   Minimal Header
   ========================================================================== */
.minimal-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

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

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 38px;
  width: auto;
  display: block;
}

.header-event-partner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #F8FAFC;
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.partner-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.2px;
}

.header-expo-logo {
  height: 30px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #07152B;
  color: #FFFFFF;
  padding: 3.5rem 0 4.25rem;
  overflow: hidden;
}

/* Imagen de fondo centrada y visible */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('fondo-medical-expo.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.45;
  filter: contrast(1.1) brightness(0.95);
  pointer-events: none;
  z-index: 0;
}

/* Máscara de degradado y sombra para garantizar legibilidad */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, rgba(7, 21, 43, 0.86) 0%, rgba(7, 21, 43, 0.50) 45%, rgba(7, 21, 43, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 21, 43, 0.55) 0%, rgba(7, 21, 43, 0.25) 50%, rgba(7, 21, 43, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

/* Hero Left Event Badge & Logos */
.hero-event-badge-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.expo-logo-card {
  background: #FFFFFF;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero-expo-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #38BDF8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
}

.pill-dot {
  width: 6px;
  height: 6px;
  background-color: #38BDF8;
  border-radius: 50%;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(90deg, #38BDF8 0%, #2DD4BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Hero CTA Button */
.hero-cta-wrap {
  margin-bottom: 1.75rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #0284C7 0%, #0066D6 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 180ms ease;
}

.hero-cta-btn:hover {
  background: linear-gradient(135deg, #0369A1 0%, #0052B3 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.65);
  border-color: rgba(56, 189, 248, 0.6);
  color: #FFFFFF;
}

.hero-cta-btn svg {
  transition: transform 180ms ease;
}

.hero-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Compact Countdown */
.countdown-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  margin-bottom: 1.75rem;
  display: inline-block;
}

.countdown-caption {
  font-size: 0.74rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.countdown-boxes {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.c-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(7, 21, 43, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  min-width: 50px;
}

.c-num {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.c-lbl {
  font-size: 0.62rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.c-div {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #38BDF8;
}

/* Quick highlights */
.quick-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.qh-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #E2E8F0;
}

.qh-item svg {
  color: #2DD4BF;
  flex-shrink: 0;
}

/* ==========================================================================
   Striking & Clean Lead Form
   ========================================================================== */
.hero-form-side {
  position: relative;
}

.form-card {
  position: relative;
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem 1.75rem;
  box-shadow: 
    0 20px 45px -10px rgba(7, 21, 43, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 0 25px rgba(0, 180, 216, 0.18);
  border-top: 4px solid var(--blue-primary);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.form-card:hover {
  box-shadow: 
    0 25px 50px -10px rgba(7, 21, 43, 0.5),
    0 0 0 1px rgba(255, 255, 255, 1),
    0 0 35px rgba(0, 180, 216, 0.25);
}

.form-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
  letter-spacing: 0.3px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #0066D6;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.form-title-group {
  margin-bottom: 1.15rem;
}

.form-heading {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.form-subheading {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.clean-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fields-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

.form-field label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: 0.2px;
}

.form-field input,
.form-field select {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-main);
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  outline: none;
  transition: all 180ms ease;
  width: 100%;
}

/* Lighter & softer placeholder text */
.form-field input::placeholder,
.form-field select::placeholder,
.form-field textarea::placeholder {
  color: #94A3B8;
  opacity: 0.85;
  font-weight: 400;
}

.form-field input::-webkit-input-placeholder {
  color: #94A3B8;
  opacity: 0.85;
  font-weight: 400;
}

.form-field input::-moz-placeholder {
  color: #94A3B8;
  opacity: 0.85;
  font-weight: 400;
}

.form-field input:-ms-input-placeholder {
  color: #94A3B8;
  opacity: 0.85;
  font-weight: 400;
}

.form-field input:focus,
.form-field select:focus {
  background-color: #FFFFFF;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 214, 0.15);
}

.form-field input.is-invalid,
.form-field select.is-invalid {
  border-color: var(--error);
  background-color: #FEF2F2;
}

.error-msg {
  font-size: 0.7rem;
  color: var(--error);
  min-height: 0.85rem;
}

.error-msg:empty {
  display: none;
}

/* Privacy policy legend before submit */
.privacy-disclaimer {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.1rem;
  margin-bottom: 0.15rem;
  text-align: left;
}

.privacy-disclaimer a {
  color: var(--blue-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 150ms ease;
}

.privacy-disclaimer a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0066D6 0%, #004DB3 100%);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.82rem 1.4rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 102, 214, 0.35);
  transition: all 180ms ease;
  margin-top: 0.2rem;
  width: 100%;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #0052B3 0%, #003D8F 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 102, 214, 0.45);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.spin-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Concise Services Section
   ========================================================================== */
.services-section {
  padding: 4rem 0;
  background-color: #FFFFFF;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-primary);
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
}

.title-main {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

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

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

.service-box {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.35rem;
  transition: all 200ms ease;
}

.service-box:hover {
  transform: translateY(-3px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.service-box.highlight {
  border-color: #93C5FD;
  background: #F0F7FF;
}

.s-icon {
  width: 44px;
  height: 44px;
  background: #EBF5FF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin-bottom: 1rem;
}

.service-box h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Compact CTA Bar
   ========================================================================== */
.compact-cta-bar {
  background: var(--navy);
  color: #FFFFFF;
  padding: 2.75rem 0;
}

.cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-bar-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cta-bar-inner p {
  font-size: 0.92rem;
  color: #CBD5E1;
}

.cta-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-light {
  background: #FFFFFF;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 150ms ease;
}

.btn-light:hover {
  background: #F1F5F9;
}

.btn-wa {
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 150ms ease;
}

.btn-wa:hover {
  background: #1EBE5B;
}

/* ==========================================================================
   Clean Footer
   ========================================================================== */
.clean-footer {
  background: var(--navy-dark);
  color: #94A3B8;
  padding: 2rem 0;
  font-size: 0.82rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logos-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-logo {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-divider {
  color: #64748B;
  font-size: 1rem;
}

.footer-expo-logo {
  height: 26px;
  width: auto;
  background: #FFFFFF;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  display: block;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.8rem;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
}

.floating-wa a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 150ms ease;
}

.floating-wa a:hover {
  transform: scale(1.08);
  background-color: #1EBE5B;
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.clean-dialog {
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  max-width: 440px;
  width: 90%;
  margin: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  background: #FFFFFF;
}

.clean-dialog::backdrop {
  background: rgba(7, 21, 43, 0.7);
  backdrop-filter: blur(3px);
}

.dialog-box {
  padding: 2rem 1.75rem;
  text-align: center;
}

.dialog-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.dialog-box h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.dialog-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.dialog-summary {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.dialog-summary p {
  margin-bottom: 0.25rem;
}

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

.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-wa-dialog {
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  display: block;
}

.btn-wa-dialog:hover {
  background: #1EBE5B;
}

.btn-close-dialog {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-close-dialog:hover {
  background: #F8FAFC;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-heading {
    font-size: 2.15rem;
  }

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

  .cta-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .hero-heading {
    font-size: 1.85rem;
  }

  .fields-grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .header-event-tag {
    display: none;
  }
}
