/* ==============================================
   PROFISCO — Estilos Globales v2
   ============================================== */

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

/* ===== VARIABLES ===== */
:root {
  --teal:         #4ECDC4;
  --teal-dark:    #45B7AA;
  --teal-deeper:  #3AA89F;
  --teal-light:   #F0FAFA;
  --teal-mid:     #C8EDEB;
  --dark:         #2C3E50;
  --dark-2:       #3D5166;
  --navy:         #1a2a4a;
  --white:        #FFFFFF;
  --text:         #2C3E50;
  --text-muted:   #5D7285;
  --text-light:   #8FA3B1;
  --border:       #D4EEEC;
  --border-light: #EBF8F7;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    24px;
  --shadow:       0 4px 20px rgba(78,205,196,0.10);
  --shadow-md:    0 8px 32px rgba(78,205,196,0.16);
  --shadow-dark:  0 4px 20px rgba(0,0,0,0.10);
  --transition:   0.25s ease;
  --font:         'Inter', system-ui, sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

section { scroll-margin-top: 80px; }

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

a { color: inherit; }

/* ===== HEADER ===== */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

#main-header.scrolled { box-shadow: 0 2px 24px rgba(78,205,196,0.14); }

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

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

.logo-link svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
}

.logo-brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #4ECDC4;
  font-size: 22px;
  letter-spacing: 0.5px;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

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

nav a.active {
  color: var(--teal-dark);
  font-weight: 600;
  background: var(--teal-light);
}

nav a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.btn-nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  margin-left: 8px;
  box-shadow: 0 3px 12px rgba(78,205,196,0.30);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
  cursor: pointer;
}

.btn-nav-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(78,205,196,0.40) !important;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV ===== */
#mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: 72px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 20px 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

#mobile-nav.open { display: flex; }

#mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

#mobile-nav a:hover { background: var(--teal-light); color: var(--teal-dark); }
#mobile-nav a.active { background: var(--teal-light); color: var(--teal-dark); font-weight: 600; }

#mobile-nav .btn-nav-cta {
  text-align: center;
  margin-top: 8px;
  margin-left: 0 !important;
  padding: 12px 22px !important;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-wrap {
  display: inline-flex;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin-bottom: 14px;
}

.footer-logo-wrap img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 18px;
}

.footer-email a {
  color: var(--teal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-email a:hover { color: #fff; }

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.30);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(78,205,196,0.30);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78,205,196,0.42);
}

.btn-secondary {
  background: #fff;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-white:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.50);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.80);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

/* ===== SECTION LABELS ===== */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  border: 1px solid var(--border);
  color: var(--teal-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.label-white {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.label-dark {
  background: rgba(78,205,196,0.12);
  border-color: rgba(78,205,196,0.25);
  color: var(--teal);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.badge-teal   { background: var(--teal); color: #fff; }
.badge-orange { background: #f59e0b; color: #fff; }
.badge-green  { background: #10b981; color: #fff; }
.badge-dark   { background: var(--dark); color: #fff; }

/* ===== SECTION HEADERS ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-title-white { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

.section-sub-white { color: rgba(255,255,255,0.75); }

.sec-hd { margin-bottom: 56px; }
.sec-hd.center { text-align: center; }
.sec-hd.center .section-sub { margin: 0 auto; }

/* ===== CARDS ===== */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-mid);
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-light);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(78,205,196,0.22);
  transform: scale(1.03);
}

.pricing-card.featured:hover { transform: scale(1.03) translateY(-5px); }

/* ===== PRICING: EXCLUSIVE ITEMS ===== */
.pf-exclusive-icon {
  background: #4ECDC4;
  color: #fff;
}

.pf-exclusive-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px 6px;
  flex: 1;
}

.pf-exclusive-text {
  font-weight: 600;
  color: var(--dark);
}

.pf-exclusive-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(78,205,196,0.14);
  border: 1px solid rgba(78,205,196,0.38);
  color: #1a9e96;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== PRICING: USAGE NOTE ===== */
.plan-usage-note {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #7F8C8D;
  line-height: 1.65;
}

/* ===== PRICING: TRUST SEALS ===== */
.plan-trust-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.plan-trust-seal {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

.plan-trust-seal svg {
  flex-shrink: 0;
  color: #4ECDC4;
}

/* Sub-note inside exclusive items (e.g., Registro Mercantil note) */
.pf-exclusive-sub {
  flex-basis: 100%;
  font-size: 11px;
  color: #7F8C8D;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 2px;
}

/* Addon / complement card */
.pricing-card.addon {
  background: #f7fffe;
  border: 1px solid rgba(78,205,196,0.16);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.pricing-card.addon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(78,205,196,0.10);
  border-color: rgba(78,205,196,0.28);
}

.addon-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 6px;
}

/* ===== FEATURE ROWS ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-img  { order: 1; }

.feature-img img {
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(78,205,196,0.14), 0 2px 12px rgba(0,0,0,0.10);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-img img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 56px rgba(78,205,196,0.20), 0 4px 20px rgba(0,0,0,0.12);
}

.feature-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ===== COMPARISON TABLE ===== */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comp-table th, .comp-table td {
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}

.comp-table th {
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.comp-table th.featured-col { background: var(--teal); }

.comp-table td:first-child { text-align: left; color: var(--text); font-weight: 500; }

.comp-table tr:nth-child(even) td { background: var(--teal-light); }

.comp-table td.featured-col { background: rgba(78,205,196,0.06) !important; font-weight: 600; }

.check-yes { color: var(--teal-dark); font-size: 18px; font-weight: 700; }
.check-no  { color: var(--text-light); font-size: 18px; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.13s; }
.stagger-3 { transition-delay: 0.21s; }
.stagger-4 { transition-delay: 0.29s; }
.stagger-5 { transition-delay: 0.37s; }
.stagger-6 { transition-delay: 0.45s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-row.reverse .feature-text { order: 0; }
  .feature-row.reverse .feature-img  { order: 0; }
}

@media (max-width: 640px) {
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-5px); }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { transition: none; opacity: 1; transform: none; }
  .btn, .card, nav a, .footer-col ul li a { transition: none; }
}
