/* HIIT Group Fitness - Estilos Institucionales */
:root {
  --primary: #0b0f19;
  --primary-light: #151d30;
  --accent: #f97316;
  --accent-secondary: #ef4444;
  --accent-hover: #ea580c;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --success: #15803d;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 14px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: var(--primary);
  color: #e2e8f0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-quick {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-quick a {
  color: #ffffff;
  font-weight: 500;
}

.top-bar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-arrepentimiento {
  background: #dc2626;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.top-arrepentimiento:hover {
  background: #b91c1c;
  color: #ffffff;
}

.top-wa {
  background: #25d366;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.top-wa:hover {
  background: #20ba5a;
  color: #ffffff;
}

.top-cta {
  background: var(--accent);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.top-cta:hover {
  background: var(--accent-hover);
}

.main-header {
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  background: var(--primary);
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 6px;
  border: 2px solid var(--accent);
  letter-spacing: 1px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-subtitle {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-list a {
  color: var(--text-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-list a:hover {
  color: var(--accent);
  background: var(--bg-light);
}

.nav-list a.active {
  color: #ffffff;
  background: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

/* Hero Section */
.hero-banner {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11,15,25,0.92) 0%, rgba(11,15,25,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,0.18);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-pretitle {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  align-items: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-icon {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--accent);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Image Card */
.img-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.img-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.img-card-body {
  padding: 24px;
}

/* Stats Counter Bar */
.stats-bar {
  background: var(--primary);
  color: #ffffff;
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Split Content */
.split-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.split-img {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-text {
  flex: 1;
}

.split-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.split-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 16px;
}

.feature-list {
  list-style: none;
  margin: 20px 0;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-dark);
}

.feature-list li::before {
  content: "✔";
  color: var(--accent);
  font-weight: 800;
}

/* Legal & Compliance Boxes */
.compliance-box {
  background: #f1f5f9;
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 4px;
  margin: 30px 0;
}

.compliance-box h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 16px;
}

.compliance-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Calculator & Forms */
.calc-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 860px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-results {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 30px;
  border: 1px solid var(--border);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}

.calc-result-row.total {
  border-bottom: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  margin-top: 10px;
  padding-top: 15px;
  border-top: 2px solid var(--accent);
}

/* FAQ Accordion */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}

.accordion-header {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: #ffffff;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-header::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.2s;
}

.accordion-item.open .accordion-header::after {
  content: "-";
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.accordion-item.open .accordion-body {
  padding: 16px 24px 24px 24px;
  max-height: 500px;
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #cbd5e1;
  font-size: 14px;
}

.footer-top {
  padding: 60px 0 40px 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-mark {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.footer-logo .brand-title {
  color: #ffffff;
}

.company-desc {
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #94a3b8;
}

.compliance-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--accent);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  display: inline-block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 13.5px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.contact-item {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
}

.contact-item strong {
  color: #e2e8f0;
}

.contact-item a {
  color: #e2e8f0;
}

.footer-legal-bar {
  background: #060910;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.legal-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.legal-links a {
  color: #94a3b8;
  font-size: 13px;
}

.legal-links a:hover {
  color: #ffffff;
}

.legal-btn-arrepentimiento {
  background: #dc2626;
  color: #ffffff !important;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
}

.legal-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #64748b;
  text-align: justify;
}

.legal-disclaimer strong {
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-list a {
    width: 100%;
    padding: 10px;
  }
  .hero-title {
    font-size: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
