/* Dichro Soluciones Ópticas - Master Stylesheet */
:root {
  --opt-dark: #0B132B;
  --opt-navy: #1C2541;
  --opt-slate: #3A506B;
  --opt-cyan: #00B4D8;
  --opt-cyan-bright: #48CAE4;
  --opt-magenta: #E01E79;
  --opt-violet: #7209B7;
  --opt-amber: #F77F00;
  --opt-light-bg: #F8F9FA;
  --opt-card-bg: #FFFFFF;
  --opt-border: #E2E8F0;
  --opt-text: #1E293B;
  --opt-text-muted: #64748B;
  --opt-radius: 8px;
  --opt-shadow: 0 4px 20px rgba(11, 19, 43, 0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--opt-text);
  background-color: #FFFFFF;
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

/* Header & Navigation */
.header-top {
  background-color: var(--opt-dark);
  color: #CBD5E1;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-top a {
  color: var(--opt-cyan-bright);
  text-decoration: none;
}
.header-top a:hover {
  text-decoration: underline;
}

.main-navbar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--opt-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--opt-dark);
}
.brand-logo svg {
  width: 42px;
  height: 42px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--opt-dark);
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--opt-cyan);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--opt-navy);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--opt-cyan);
}
.nav-cta-btn {
  background: linear-gradient(135deg, var(--opt-cyan) 0%, var(--opt-violet) 100%);
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: var(--opt-radius);
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.3);
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}
.nav-cta-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--opt-border);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}
@media (max-width: 991px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 16px 0;
    gap: 12px;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Light Ticker - White / Light background required */
.optical-ticker {
  background-color: #FFFFFF;
  border-top: 1px solid var(--opt-border);
  border-bottom: 1px solid var(--opt-border);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-content {
  display: inline-block;
  animation: tickerSlide 35s linear infinite;
  font-size: 0.84rem;
  color: var(--opt-slate);
  font-weight: 500;
}
.ticker-item {
  display: inline-block;
  margin-right: 32px;
}
.ticker-item strong {
  color: var(--opt-dark);
}
.ticker-badge {
  background-color: rgba(0, 180, 216, 0.12);
  color: var(--opt-cyan);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  margin-right: 6px;
}
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #F0F4F8 0%, #FFFFFF 100%);
  padding: 50px 0 60px 0;
  border-bottom: 1px solid var(--opt-border);
}
.hero-tag {
  display: inline-block;
  background: rgba(0, 180, 216, 0.1);
  color: var(--opt-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 180, 216, 0.25);
}
.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--opt-dark);
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.12rem;
  color: var(--opt-slate);
  margin-bottom: 28px;
  max-width: 580px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary-optical {
  background-color: var(--opt-navy);
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: var(--opt-radius);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(11, 19, 43, 0.15);
  transition: background-color 0.2s ease;
}
.btn-primary-optical:hover {
  background-color: var(--opt-dark);
  color: #FFFFFF;
}
.btn-secondary-optical {
  background-color: #FFFFFF;
  color: var(--opt-navy);
  border: 1px solid var(--opt-border);
  padding: 12px 24px;
  border-radius: var(--opt-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.btn-secondary-optical:hover {
  background-color: var(--opt-light-bg);
}
.hero-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 19, 43, 0.12);
  border: 1px solid var(--opt-border);
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature & Service Cards */
.feature-card {
  background-color: var(--opt-card-bg);
  border: 1px solid var(--opt-border);
  border-radius: var(--opt-radius);
  padding: 28px;
  box-shadow: var(--opt-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--opt-cyan);
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--opt-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--opt-dark);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 0.94rem;
  color: var(--opt-text-muted);
  line-height: 1.6;
}

/* Archetype 1: Optical Estimator Calculator */
.calculator-box {
  background-color: #FFFFFF;
  border: 1px solid var(--opt-border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--opt-shadow);
}
.calc-field-group {
  margin-bottom: 20px;
}
.calc-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--opt-navy);
  margin-bottom: 8px;
}
.calc-select, .calc-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--opt-border);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--opt-text);
  background-color: #FFFFFF;
}
.calc-select:focus, .calc-input:focus {
  outline: none;
  border-color: var(--opt-cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}
.calc-result-panel {
  background: linear-gradient(145deg, var(--opt-dark) 0%, var(--opt-navy) 100%);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 24px;
  margin-top: 24px;
}
.calc-price-display {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--opt-cyan-bright);
  line-height: 1.2;
}
.calc-disclaimer {
  font-size: 0.76rem;
  color: #94A3B8;
  margin-top: 10px;
}

/* Content Sections */
.section-header {
  text-align: center;
  margin-bottom: 45px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--opt-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--opt-dark);
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--opt-slate);
  max-width: 650px;
  margin: 10px auto 0 auto;
}

/* Interactive Accordion for FAQ */
.faq-item {
  border: 1px solid var(--opt-border);
  border-radius: 6px;
  margin-bottom: 12px;
  background-color: #FFFFFF;
}
.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--opt-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 20px 18px 20px;
  color: var(--opt-text-muted);
  font-size: 0.95rem;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

/* Revocation Modal & Botón de Arrepentimiento */
.revocation-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 43, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.revocation-content {
  background: #FFFFFF;
  border-radius: 12px;
  width: 90%;
  max-width: 540px;
  padding: 30px;
  max-height: 90vh;
  overflow-y: auto;
}
.revocation-header {
  border-bottom: 1px solid var(--opt-border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Footer & Legal */
.site-footer {
  background-color: var(--opt-dark);
  color: #94A3B8;
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
  border-top: 3px solid var(--opt-cyan);
}
.footer-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--opt-cyan-bright);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 40px;
  font-size: 0.82rem;
}
.footer-legal-badge {
  display: flex;
  align-items: center;
  gap: 15px;
}
.afip-logo-img {
  width: 58px;
  height: auto;
  background-color: #FFFFFF;
  padding: 2px;
  border-radius: 4px;
}
.btn-arrepentimiento {
  display: inline-block;
  border: 1px solid #E2E8F0;
  color: #F8FAFC !important;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
}
.btn-arrepentimiento:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
}