/* ArcaOne — Estilos para el sistema de Planes, Suscripciones y Pricing (Aesthetic Light) */

:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfa;
  --bg-highlight: #ffffff;
  --ink: #172018;
  --muted: #53614d;
  --muted-light: #78866f;
  --green: #88a80d;
  --green-bright: #637d09;
  --green-glow: rgba(136, 168, 13, 0.16);
  --line: #dce4d1;
  --line-strong: #c2cbb5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body.arca-pricing-page {
  background: #ffffff;
  color: var(--ink);
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.pricing-wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 4%;
  box-sizing: border-box;
}

/* Header */
.pricing-header {
  height: 90px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.pricing-header .logo {
  width: 160px;
  height: 52px;
  object-fit: contain;
}

.pricing-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pricing-back-btn {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 99px;
  padding: 12px 24px;
  color: var(--ink);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.pricing-back-btn:hover {
  background: var(--green);
  color: #101110;
  border-color: var(--green);
}

.back-btn-short {
  display: none;
}

/* Hero */
.pricing-hero {
  padding: 64px 0 36px;
  text-align: center;
  position: relative;
}

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-bright);
  font-weight: 700;
  margin-bottom: 18px;
}

.pricing-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}

.pricing-hero h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 20px;
}

.pricing-hero h1 em {
  font-style: normal;
  color: var(--green-bright);
}

.pricing-hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 34px;
}

/* Selector Tabs */
.vertical-selector-section {
  padding: 10px 0 36px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.vertical-selector-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-bright);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.vertical-tabs-track {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 12px 6px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  scroll-behavior: smooth;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .vertical-tabs-track {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.vertical-tab {
  background: #f7f9f3;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}

.vertical-tab:hover {
  border-color: var(--green);
  color: var(--ink);
  background: #edf3e5;
}

.vertical-tab.active {
  background: var(--green);
  color: #101110;
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(136, 168, 13, 0.25);
  font-weight: 700;
}

.vertical-tab .tab-badge {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 99px;
  background: #edf3e5;
  color: #283a0a;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.vertical-tab.active .tab-badge {
  background: #172018;
  color: #ffffff;
}

/* Current Vertical Banner */
.current-vertical-banner {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 32px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.current-vertical-info h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--ink);
}

.current-vertical-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
}

.current-vertical-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.current-vertical-link {
  font-size: 13px;
  color: var(--green-bright);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--green);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.current-vertical-link:hover {
  color: #283a0a;
}

.public-app-pill {
  background: #edf3e5;
  border: 1px solid var(--line);
  color: #283a0a;
  font-size: 11px;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 99px;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Segment Control (Empresas vs Personal) */
.pricing-segment-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 34px;
  gap: 14px;
}

.pricing-segment-control {
  background: #f7f9f3;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 99px;
  display: inline-flex;
  gap: 6px;
}

.segment-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}

.segment-svg-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
}

.segment-btn:hover {
  color: var(--ink);
  background: #ffffff;
}

.segment-btn.active {
  background: var(--green);
  color: #101110;
  box-shadow: 0 2px 10px rgba(136, 168, 13, 0.2);
  font-weight: 700;
}

.segment-btn .segment-pill-tag {
  background: #edf3e5;
  color: #283a0a;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.segment-btn.active .segment-pill-tag {
  background: #172018;
  color: #ffffff;
}

/* Personal Single Showcase Layout */
.pricing-grid.single-view {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.pricing-grid.single-view .pricing-card {
  max-width: 480px;
  width: 100%;
}

.personal-switch-notice {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.personal-switch-notice button {
  background: none;
  border: none;
  color: var(--green-bright);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-bottom: 60px;
  align-items: stretch;
}

@media (min-width: 1100px) {
  .pricing-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 680px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Card */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(136, 168, 13, 0.12);
}

.pricing-card.highlight {
  background: #ffffff;
  border: 2px solid var(--green);
  box-shadow: 0 10px 32px rgba(136, 168, 13, 0.15);
}

.pricing-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: #edf3e5;
  color: #283a0a;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.pricing-card.highlight .pricing-card-badge {
  background: var(--green);
  color: #101110;
  border-color: var(--green);
}

.pricing-card.single-card .pricing-card-badge {
  background: #fef7e0;
  color: #7d5a00;
  border-color: #f0db99;
}

.pricing-card-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin: 0 0 4px;
}

.pricing-card-subtitle {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  min-height: 36px;
  margin: 0 0 18px;
}

/* Price block */
.pricing-card-price-box {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 20px;
}

.pricing-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-currency {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--ink);
  line-height: 1;
}

.pricing-period {
  font-size: 13px;
  color: var(--muted);
}

.pricing-setup-row {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pricing-setup-fee {
  font-weight: 600;
  color: var(--ink);
}

.pricing-setup-fee.bonificado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: right;
  flex-shrink: 0;
}

.setup-orig-price {
  text-decoration: line-through;
  color: var(--muted);
  opacity: 0.75;
  font-size: 11px;
}

.setup-bonif-badge {
  background: #edf3e5;
  color: var(--green-bright);
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Limits */
.pricing-limits-box {
  background: #f7f9f3;
  border: 1px solid #e0e5d9;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: #35412e;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-limit-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-limit-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-bright);
  flex-shrink: 0;
}

/* Features */
.pricing-features-title {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-bright);
  font-weight: 700;
  margin: 0 0 12px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.pricing-features-list li {
  font-size: 13px;
  line-height: 1.45;
  color: #35412e;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features-list li svg {
  width: 15px;
  height: 15px;
  stroke: var(--green-bright);
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-features-list li.single-note {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  margin-top: 4px;
}

.pricing-support-text {
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* CTA */
.pricing-card-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s;
  cursor: pointer;
  border: 1px solid var(--green);
  background: #edf3e5;
  color: #283a0a;
  box-sizing: border-box;
}

.pricing-card-btn:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  color: #ffffff;
}

.pricing-card.highlight .pricing-card-btn {
  background: var(--green);
  color: #101110;
  border-color: var(--green);
  font-weight: 700;
}

.pricing-card.highlight .pricing-card-btn:hover {
  background: var(--green-bright);
  color: #ffffff;
  border-color: var(--green-bright);
}

.pricing-card.single-card .pricing-card-btn {
  background: #edf3e5;
  color: #283a0a;
  border-color: var(--green);
}

.pricing-card.single-card .pricing-card-btn:hover {
  background: var(--green-bright);
  color: #ffffff;
}

/* Policy Section */
.pricing-policy-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 38px;
  margin: 30px 0 55px;
  background: #fcfdfa;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

@media (max-width: 990px) {
  .policy-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .pricing-policy-section {
    padding: 24px 20px;
  }
}

.policy-item h3 {
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--ink);
}

.policy-item p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.policy-multipliers {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.multiplier-pill {
  background: #edf3e5;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #35412e;
  white-space: nowrap;
}

.multiplier-pill del {
  color: var(--muted);
  opacity: 0.7;
  margin-right: 3px;
}

.multiplier-pill strong {
  color: var(--green-bright);
  font-weight: 700;
}

/* Comparison Table */
.pricing-matrix-section {
  padding: 40px 0 60px;
}

.pricing-matrix-heading {
  text-align: center;
  margin-bottom: 34px;
}

.pricing-matrix-heading h2 {
  font-size: 32px;
  letter-spacing: -1px;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 10px;
}

.pricing-matrix-heading p {
  color: var(--muted);
  font-size: 15px;
}

.pricing-table-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.pricing-table th {
  background: #f7f9f3;
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table tr:hover td {
  background: #fcfdfa;
}

/* FAQ */
.pricing-faq-section {
  padding: 60px 0 70px;
  border-top: 1px solid var(--line);
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
}

@media (max-width: 860px) {
  .pricing-faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.pricing-faq-heading h2 {
  font-size: 34px;
  letter-spacing: -1.2px;
  color: var(--ink);
  font-weight: 700;
  margin: 12px 0 16px;
}

.pricing-faq-heading p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.pricing-faq-item {
  border-bottom: 1px solid var(--line);
}

.pricing-faq-item:first-child {
  border-top: 1px solid var(--line);
}

.pricing-faq-item summary {
  padding: 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.pricing-faq-item summary::-webkit-details-marker {
  display: none;
}

.pricing-faq-item summary::after {
  content: '+';
  color: var(--green-bright);
  font-size: 22px;
  font-weight: 700;
  transition: transform .2s;
}

.pricing-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.pricing-faq-item p {
  padding: 0 0 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-header {
    height: 74px;
    padding: 0 4%;
  }
  .pricing-header .logo {
    width: 136px;
    height: 44px;
  }
  .pricing-back-btn {
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .pricing-hero {
    padding: 42px 0 24px;
  }
  .pricing-hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
    word-break: break-word;
  }
  .pricing-hero p.lead {
    font-size: 15px;
  }
  .current-vertical-banner {
    padding: 20px;
  }
  .current-vertical-info h2 {
    font-size: 22px;
  }
  .pricing-card {
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  .pricing-header {
    height: 64px;
    padding: 0 12px;
  }
  .pricing-header .logo {
    width: 118px;
    height: 38px;
  }
  .pricing-header-actions {
    gap: 8px;
  }
  .pricing-back-btn {
    padding: 6px 12px;
    font-size: 11px;
    gap: 5px;
  }
  .back-btn-full {
    display: none;
  }
  .back-btn-short {
    display: inline;
  }
  .pricing-hero {
    padding: 32px 0 20px;
  }
  .pricing-hero h1 {
    font-size: 25px;
    letter-spacing: -0.6px;
    line-height: 1.15;
  }
  .pricing-hero p.lead {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .current-vertical-banner {
    padding: 16px;
  }
  .current-vertical-info h2 {
    font-size: 19px;
  }
  .current-vertical-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .pricing-card {
    padding: 20px 16px;
  }
  .pricing-segment-control {
    width: 100%;
    max-width: 380px;
    display: flex;
  }
  .segment-btn {
    flex: 1 1 50%;
    justify-content: center;
    padding: 8px 6px;
    font-size: 11px;
    gap: 5px;
  }
  .segment-btn .segment-pill-tag {
    padding: 1px 5px;
    font-size: 9px;
  }
  .pricing-policy-section {
    padding: 20px 14px;
  }
}
