/* ── Landing de Ciro Turnos ───────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(243, 245, 242, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 20px -14px rgba(13, 27, 42, 0.35);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none !important;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
}
.nav-links a:hover {
  color: var(--green);
  text-decoration: none;
}
.nav-cta {
  display: flex;
  gap: 12px;
  margin-left: 8px;
}
.nav-cta-mobile,
.nav-toggle {
  display: none;
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(13, 27, 42, 0.3);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 17px;
  }
  .nav-cta-mobile {
    display: grid;
    gap: 10px;
    margin-top: 16px;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 5.6vw, 66px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-micro {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  max-width: 520px;
}

.hero-visual {
  position: relative;
}
.agenda-card {
  background: var(--navy);
  color: #dce6ee;
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-lg);
}
.agenda-card-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8fa5bb;
  padding-bottom: 16px;
  border-bottom: 1px solid #22384f;
}
.agenda-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.agenda-rows li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px dashed #22384f;
}
.agenda-rows .t {
  color: #fff;
  font-weight: 600;
}
.agenda-rows .d {
  display: grid;
  line-height: 1.35;
}
.agenda-rows small {
  color: #7f96ad;
  font-size: 12px;
}
.agenda-rows .s {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.agenda-rows .ok {
  color: var(--green-light);
}
.agenda-rows .wait {
  color: var(--amber);
}
.agenda-rows .new {
  color: var(--navy);
  background: var(--green-light);
  border-radius: 5px;
  padding: 3px 7px;
}
.agenda-rows .is-new {
  background: rgba(29, 187, 140, 0.08);
  border-radius: 8px;
  animation: row-pulse 2.4s ease-in-out infinite;
}
@keyframes row-pulse {
  50% {
    background: rgba(29, 187, 140, 0.16);
  }
}
.agenda-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 18px;
}
.foot-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #8fa5bb;
}
.foot-value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.stamp {
  border: 1.5px solid var(--green-light);
  color: var(--green-light);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  transform: rotate(-4deg);
}
.float-notif {
  position: absolute;
  right: -22px;
  top: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 14px;
  animation: notif-in 0.6s 0.6s both cubic-bezier(0.2, 0.8, 0.2, 1.2);
}
.float-notif div {
  display: grid;
  line-height: 1.3;
}
.float-notif span:not(.float-notif-ic) {
  color: var(--text);
  font-size: 13px;
}
.float-notif-ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green);
}
@keyframes notif-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .float-notif {
    right: 12px;
  }
}
@media (max-width: 480px) {
  .lead {
    font-size: 17px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .agenda-card {
    padding: 20px 16px 18px;
  }
  .agenda-rows li {
    grid-template-columns: 48px 1fr auto;
    gap: 8px;
    font-size: 13px;
  }
  .agenda-rows .s {
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
}

/* ── Secciones ───────────────────────────────────────────── */
.section {
  padding: 96px 0;
}
.section-white {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(30px, 4vw, 44px);
}
.center-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.center-head .eyebrow {
  justify-content: center;
}
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.step-n {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--green-100);
  border-radius: 6px;
  background: var(--green-50);
}
.steps h3 {
  margin-top: 20px;
  font-size: 22px;
}
.steps p {
  margin-top: 10px;
  color: var(--text);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Cliente (teléfono) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.split-copy h2 {
  margin-top: 16px;
  font-size: clamp(30px, 4vw, 44px);
}
.ticks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.ticks li {
  position: relative;
  padding-left: 36px;
  color: var(--text);
  font-size: 17px;
}
.ticks li strong {
  color: var(--ink);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7A5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.phone {
  justify-self: center;
  width: 300px;
  padding: 12px;
  border-radius: 44px;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  border-radius: 34px;
  background: var(--bg);
  padding: 22px 16px 20px;
  font-size: 13px;
}
.ph-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.ph-head img {
  border-radius: 10px;
}
.ph-head div {
  display: grid;
  line-height: 1.3;
}
.ph-head strong {
  font-family: var(--font-display);
  font-size: 15px;
}
.ph-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.ph-label {
  margin: 14px 0 8px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.ph-service {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 6px;
  font-weight: 600;
}
.ph-service em {
  font-style: normal;
  color: var(--text);
  font-weight: 500;
}
.ph-service.is-on {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.ph-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
.ph-days span {
  display: grid;
  text-align: center;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
}
.ph-days small {
  font-weight: 500;
  color: var(--text);
  font-size: 10.5px;
}
.ph-days .is-on,
.ph-slots .is-on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.ph-days .is-on small {
  color: #cfe7de;
}
.ph-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ph-slots span {
  text-align: center;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.ph-btn {
  margin-top: 14px;
  padding: 12px;
  text-align: center;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .phone {
    order: 2;
  }
}

/* Funciones */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover {
  border-color: #b9c9bf;
  transform: translateY(-2px);
}
.feature-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green);
}
.feature h3 {
  margin-top: 16px;
  font-size: 19px;
}
.feature p {
  margin-top: 8px;
  color: var(--text);
  font-size: 15.5px;
}
@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Rubros */
.rubros {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rubros li {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  font-weight: 600;
  font-size: 15.5px;
}

/* QR + NFC */
.nfc-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: var(--radius-xl);
  background: var(--navy);
  color: #c9d4de;
  overflow: hidden;
}
.nfc-band h2 {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
}
.nfc-band p {
  margin: 18px 0 28px;
  font-size: 17px;
  max-width: 520px;
}
.eyebrow-light {
  color: var(--green-light);
}
.accent-light {
  color: var(--green-light);
}
.nfc-card {
  justify-self: center;
  width: 260px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, #1e293b, #13202e);
  border: 1px solid #2c4058;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(3deg);
  text-align: center;
}
.nfc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8fa5bb;
}
.nfc-card-top .logo-mark {
  background: #0d1b2a;
}
.nfc-qr {
  margin: 18px auto 14px;
  width: 150px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
}
.nfc-qr svg {
  width: 100%;
  height: auto;
}
.nfc-card-text {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--green-light);
}
.nfc-card-name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
}
@media (max-width: 860px) {
  .nfc-band {
    grid-template-columns: 1fr;
    padding: 36px 24px 48px;
  }
}

/* Precio */
.price-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.price-top {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.price-amount #price-value {
  font-size: 64px;
  line-height: 1;
}
.price-cur {
  font-size: 32px;
}
.price-per {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
}
.price-sub {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--green);
}
.price-list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.price-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-foot {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
}
@media (max-width: 480px) {
  .price-card {
    padding: 26px 20px;
  }
}

/* Demo */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.demo-card {
  display: block;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.demo-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.demo-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.demo-card h3 {
  margin-top: 18px;
  font-size: 22px;
}
.demo-card p {
  margin-top: 8px;
  color: var(--text);
}
.demo-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
}
.demo-tip {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  color: var(--text);
  font-size: 15px;
}
.demo-tip span {
  color: var(--amber-ink);
}
@media (max-width: 720px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .demo-card {
    padding: 24px;
  }
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
}
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-weight: 600;
  font-size: 16.5px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--green);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  padding: 0 20px 20px;
  color: var(--text);
}
@media (max-width: 860px) {
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.contact-title {
  margin-top: 16px;
  font-size: clamp(30px, 4vw, 44px);
}
.contact-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  word-break: break-word;
}
.contact-list a {
  color: var(--ink);
}
.c-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green);
  flex: none;
}
.contact-form {
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-foot {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text);
  text-align: center;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-form {
    padding: 22px;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.footer-inner {
  padding-bottom: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text);
  padding-right: 72px;
  padding-left: 72px;
}
@media (max-width: 640px) {
  .footer-inner {
    padding: 0 var(--gutter) 96px;
  }
}

/* Aparición suave */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (max-width: 480px) {
  .float-notif {
    display: none;
  }
}
