/*
 * ═══════════════════════════════════════════════════════════════
 *  SEND CONTACT MAIL — assets/css/layout_contact.css  v1.2
 *
 *  Todos los estilos del formulario de contacto BarnaColor.
 *  Las variables de color se inyectan desde index.php en <style>:root{...}
 * ═══════════════════════════════════════════════════════════════
 */
/******** InterVariable ******/
@font-face {
  font-family: 'InterVariable';
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  font-named-instance: 'Regular';
  src: url("../fonts/InterVariable/InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: 'BebasNeue';
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  font-named-instance: 'Regular';
  src: url("../fonts/InterVariable/BebasNeue-Regular.woff2") format("woff2");
}

@font-face {
  font-family: 'Touche';
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  font-named-instance: 'Regular';
  src: url("../fonts/Touche/touche-regular-webfont.woff2") format("woff2"),
    url("../fonts/Touche/touche-regular-webfont.woff") format("woff");
}

:root {
  --brand: #EC4811;
  --brand-dk: #993C1D;
  --brand-lt: #FAECE7;
  --brand-mid: #E8784F;
  --brand-light: #FAECE7;
  --brand-select-brd: #06AE87;
  --brand-select-bg: #DBFFF7;
  --accent: #1D9E75;
  --windswept: #c6edff;
  --freezy-breezy: rgba(61, 163, 253, 0.3);
  --accent-lt: #E1F5EE;
  --n50: #f5f5f5;
  --n100: #EDEBE5;
  --n200: #E6E5E2;
  --n300: #B8B6AE;
  --n400: #888780;
  --n700: #444441;
  --n900: #1A1A18;
  --white: #fff;
  --whiteout: #fbfbfb;
  --black: #000;
  --rubber-ducky: #FBD154;
  --sandy-day: #D7CEC1;
  --speed-light: #fbfaf8;
  --r: 14px;
  --r-sm: 4px;
  --r-xs: 6px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 14px;
  --radius-btn-rounded: 32px;
  --sh: 0px 2px 4px rgba(0, 0, 0, 0.3);
  --sh-md: 0 6px 28px rgba(0, 0, 0, .10);
  --err: #C0392B;
  --err-lt: #FDECEA;
  --ok: #1D9E75;
  --ok-lt: #E1F5EE;
  --warn: #B7770D;
  --warn-lt: #FEF3DC;

  --bc-gray: #888780;
  --bc-text: #1A1A18;
  --bc-border: #EDE9E3;
  --bc-white: #FFFFFF;
  --bc-success: #1D9E75;
  --bc-success-lt: #E1F5EE;

  /* Font Main Style */
  --font-body-family: "touche", system-ui, -apple-system, sans-serif;
  --font-heading-family: "touche", serif;
  --font-heading-style: normal;
  --font-heading-weight: 400;
  --font-heading-line-height: 1.4;
  --font-heading-letter-spacing: -0.1px;
  --font-heading-text-transform: none;
}

html {
  box-sizing: border-box;
  -ms-text-size-adjust: 100%
}

/* Activar scroll suave */
html {
  scroll-behavior: smooth;
}

body {
  /*font-family: 'InterVariable', system-ui, -apple-system, sans-serif;*/
  font-family: var(--font-body-family);
  background: var(--n50) !important;
  color: var(--black);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;

}

/* ── Base wrapper ────────────────────────────────────────────── */
.bc-contact-wrap {
  font-family: var(--font-body-family);
  color: var(--bc-text);
}

/* ── Steps bar ───────────────────────────────────────────────── */
.bc-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  max-width: 640px;
  margin: 0 auto;
}

.bc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}

.bc-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--bc-border);
  transition: background 0.4s;
}

.bc-step.done:not(:last-child)::after,
.bc-step.active:not(:last-child)::after {
  background: var(--bc-orange);
}

.bc-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bc-border);
  background: var(--bc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--bc-gray);
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.bc-step.active .bc-step-num {
  border-color: var(--bc-orange);
  background: var(--bc-orange);
  color: #fff;
}

.bc-step.done .bc-step-num {
  border-color: var(--bc-orange);
  background: var(--bc-orange-light);
  color: var(--bc-orange);
}

.bc-step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  text-align: center;
  white-space: nowrap;
}

.bc-step.active .bc-step-label {
  color: var(--bc-orange);
  font-weight: 600;
}

.bc-step.done .bc-step-label {
  color: var(--bc-orange-dark);
}

/* ── Card ────────────────────────────────────────────────────── */
.bc-card-wrap {
  max-width: 740px;
  margin: 2rem auto 4rem;
  padding: 0.25rem;
}

.bc-card {
  background: var(--bc-white);
  border-radius: 6px;
  border: 1px solid var(--bc-border);
  padding: 2.5rem;
  box-shadow: 0px 1px 2px rgba(26, 26, 24, 0.16);
  position: relative;
  overflow: hidden;
}

.bc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bc-orange), #F5A07A);
}

.bc-card-title {
  font-family: 'InterVariable', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--bc-text);
  margin: 0 0 6px;
  line-height: 1.2;
}

.bc-card-sub {
  font-size: 14px;
  color: var(--bc-gray);
  margin: 0 0 2rem;
}

/* ── Form fields ─────────────────────────────────────────────── */
.bc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.bc-fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.bc-fg label {
  font-size: 13px;
  font-weight: 500;
  color: var(--bc-text);
}

.bc-fg .bc-req {
  color: var(--bc-orange);
  margin-left: 2px;
}

.bc-fg input,
.bc-fg select,
.bc-fg textarea {
  font-family: var(--font-body-family);
  font-size: 16px;
  color: var(--bc-text);
  background: var(--speed-light);
  border: 1.5px solid var(--sandy-day);
  border-radius: 6px;
  padding: 11px 14px;
  outline: none;
  width: auto;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bc-fg input:focus,
.bc-fg select:focus,
.bc-fg textarea:focus {
  border-color: var(--bc-orange);
  box-shadow: 0 0 0 3px rgba(216, 90, 48, 0.12);
  background: #fff;
}

.bc-fg input.bc-err {
  border-color: #E24B4A;
}

.bc-field-err {
  font-size: 12px;
  color: #A32D2D;
  display: none;
}

.bc-field-err.show {
  display: block;
}

/* ── WhatsApp checkbox ───────────────────────────────────────── */
.bc-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #F0FFF8;
  border: 1.5px solid #9FE1CB;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: background 0.2s;
}

.bc-check-row:hover {
  background: var(--bc-success-lt);
}

.bc-check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1D9E75;
  flex-shrink: 0;
}

.bc-check-row .bc-check-text {
  font-size: 13px;
  color: #085041;
  font-weight: 500;
}

/* ── Asunto pills ─────────────────────────────────────────────── */
.bc-asunto-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--bc-text);
  margin-bottom: 10px;
}

.bc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.bc-pill {
  font-family: var(--font-body-family);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--bc-border);
  background: var(--speed-light);
  color: var(--black);
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}

.bc-pill:hover {
  border-color: var(--bc-orange-mid);
  color: var(--bc-orange-dark);
  background: var(--bc-orange-light);
}

.bc-pill.selected {
  border-color: var(--bc-orange);
  background: var(--bc-orange-light);
  color: var(--bc-orange);
  font-weight: 600;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.bc-alert {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 1.25rem;
  display: none;
  align-items: flex-start;
  gap: 8px;
}

.bc-alert.show {
  display: flex;
}

.bc-alert-error {
  background: #FCEBEB;
  border: 1px solid #F09595;
  color: #791F1F;
}

.bc-alert-success {
  background: var(--bc-success-lt);
  border: 1px solid #9FE1CB;
  color: #085041;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.bc-btn {
  width: 100%;
  padding: 14px;
  background: var(--bc-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body-family);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  transition: background 0.2s, transform 0.1s;
}

.bc-btn:hover {
  background: var(--bc-orange-dark);
}

.bc-btn:active {
  transform: scale(0.99);
}

.bc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.bc-btn-sec {
  padding: 10px 20px;
  background: transparent;
  color: var(--bc-orange);
  border: 1.5px solid var(--bc-orange-mid);
  border-radius: 10px;
  font-family: var(--font-body-family);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.bc-btn-sec:hover {
  background: var(--bc-orange-light);
  border-color: var(--bc-orange);
}

/* ── Spinner ─────────────────────────────────────────────────── */
.bc-spin {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bc-spin 0.7s linear infinite;
  display: none;
}

@keyframes bc-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── PIN inputs ──────────────────────────────────────────────── */
.bc-pin-wrap {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 2rem 0;
}

.bc-pin-digit {
  width: 64px;
  height: 72px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-body-family);
  color: var(--bc-orange);
  background: var(--bc-orange-light);
  border: 2px solid var(--bc-orange-mid);
  border-radius: 12px;
  outline: none;
  transition: all 0.2s;
}

.bc-pin-digit:focus {
  border-color: var(--bc-orange);
  box-shadow: 0 0 0 4px rgba(216, 90, 48, 0.15);
  background: #fff;
}

.bc-pin-info {
  background: var(--bc-orange-light);
  border: 1px solid var(--bc-orange-mid);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--bc-orange-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bc-pin-timer {
  font-size: 13px;
  color: var(--bc-gray);
  text-align: center;
  margin: -0.5rem 0 1rem;
}

.bc-pin-timer span {
  font-weight: 600;
  color: var(--bc-orange);
}

.bc-resend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.bc-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--bc-gray);
  margin-top: 1rem;
  display: block;
  width: 100%;
  text-align: center;
}

.bc-back-btn:hover {
  color: var(--bc-text);
}

/* ── Note text below button ──────────────────────────────────── */
.bc-note {
  font-size: 12.5px;
  color: var(--brand-dk);
  text-align: center;
  line-height: 1.6;
}

/* ── Divider ─────────────────────────────────────────────────── */
.bc-divider {
  border: none;
  border-top: 1px solid var(--bc-border);
  margin: 1.5rem 0;
}

/* ── Screen visibility ───────────────────────────────────────── */
.bc-screen {
  display: none;
}

.bc-screen.active {
  display: block;
}

/* ── Confirmation animation ──────────────────────────────────── */
.bc-confirm-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0 2rem;
}

.bc-confirm-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bc-success-lt);
  border: 3px solid var(--bc-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: bc-pop 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes bc-pop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  60% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.bc-check-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: bc-draw 0.6s 0.4s ease forwards;
}

@keyframes bc-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.bc-confirm-title {
  font-family: var(--font-body-family);
  font-size: 24px;
  font-weight: 700;
  color: var(--bc-success);
  text-align: center;
  animation: bc-up 0.5s 0.5s both;
}

.bc-confirm-msg {
  font-size: 14px;
  color: var(--black);
  text-align: center;
  margin-top: 6px;
  animation: bc-up 0.5s 0.65s both;
}

@keyframes bc-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Reference block ─────────────────────────────────────────── */
.bc-reg {
  background: var(--bc-orange-light);
  border: 1px solid var(--bc-orange-mid);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  animation: bc-up 0.5s 0.8s both;
}

.bc-reg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}

.bc-reg-label {
  color: var(--bc-gray);
}

.bc-reg-value {
  font-weight: 600;
  color: var(--bc-text);
}

.bc-reg-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--bc-orange);
  font-family: monospace;
}

/* ── Summary block ───────────────────────────────────────────── */
.bc-summary {
  background: var(--speed-light);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  animation: bc-up 0.5s 1s both;
}

.bc-sum-title {
  font-size: 12px;
  font-family: 'InterVariable', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 12px;
}

.bc-sum-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 5px 0;
  border-bottom: 1px solid var(--bc-border);
  gap: 1rem;
}

.bc-sum-row:last-child {
  border-bottom: none;
}

.bc-sum-label {
  color: var(--bc-gray);
  flex-shrink: 0;
}

.bc-sum-value {
  font-weight: 500;
  color: var(--bc-text);
  text-align: right;
}

.bc-wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #E1F5EE;
  color: #085041;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  margin-left: 8px;
}

/* ── Utility classes ─────────────────────────────────────────── */
.bc-resend-label {
  font-size: 13px;
  color: var(--bc-gray);
}

.bc-btn-restart {
  margin-top: 1.75rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 520px) {
  .bc-card {
    padding: 1.75rem 1.25rem;
  }

  .bc-form-row {
    grid-template-columns: 1fr;
  }

  .bc-pin-digit {
    width: 56px;
    height: 64px;
    font-size: 26px;
  }

  .bc-card-title {
    font-size: 22px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v1.3 — Nuevos estilos: mensaje, imágenes, privacidad, calendario
   ═══════════════════════════════════════════════════════════════ */

/* ── Utility ─────────────────────────────────────────────────── */
.bc-hidden {
  display: none !important;
}

/* ── Textarea mensaje ────────────────────────────────────────── */
.bc-fg textarea {
  font-family: var(--font-body-family);
  font-size: 15px;
  color: var(--bc-text);
  background: var(--bc-cream);
  border: 1.5px solid var(--bc-border);
  border-radius: 6px;
  padding: 11px 14px;
  outline: none;
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: auto;
}

.bc-fg textarea:focus {
  border-color: var(--bc-orange);
  box-shadow: 0 0 0 3px rgba(216, 90, 48, 0.12);
  background: #fff;
}

.bc-req-opt {
  font-size: 12px;
  color: var(--black);
  font-weight: 400;
}

/* ── Imágenes — zona de drop ─────────────────────────────────── */
.bc-img-section {
  margin-bottom: 1.5rem;
}

.bc-img-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--bc-text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bc-img-drop {
  border: 2px dashed var(--bc-border);
  border-radius: 10px;
  padding: 22px 16px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  background: var(--bc-cream);
}

.bc-img-drop:hover,
.bc-img-drop.drag-over {
  border-color: var(--bc-orange-mid);
  background: var(--bc-orange-light);
}

.bc-img-drop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.bc-img-drop-inner svg {
  color: var(--bc-gray);
}

.bc-img-drop-inner span {
  font-size: 13px;
  color: var(--bc-gray);
}

.bc-img-hint {
  font-size: 11px !important;
  color: #AAAAAA !important;
}

.bc-img-err-msg {
  font-size: 12px;
  color: #A32D2D;
  margin-top: 6px;
  padding: 8px 12px;
  background: #FCEBEB;
  border-radius: 6px;
  border: 1px solid #F09595;
}

/* ── Previews de imágenes ────────────────────────────────────── */
.bc-img-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.bc-img-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--bc-border);
  background: var(--bc-cream);
  aspect-ratio: 1;
}

.bc-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bc-img-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}

.bc-img-thumb-remove:hover {
  background: rgba(192, 57, 43, 0.85);
}

.bc-img-thumb-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 10px;
  padding: 3px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Toggle privacidad ───────────────────────────────────────── */
.bc-privacy-wrap {
  background: #FFFBF5;
  border: 1.5px solid var(--bc-orange-mid);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 1.5rem;
}

.bc-switch-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 10px;
}

/* The pill-shaped track */
.bc-switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  margin-top: 2px;
}

.bc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

/* Track */
.bc-switch-thumb {
  position: absolute;
  inset: 0;
  background: #D3D1C7;
  border-radius: 99px;
  transition: background 0.28s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
}

/* Knob */
.bc-switch-thumb::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.28s cubic-bezier(.4, 0, .2, 1);
}

.bc-switch input:checked+.bc-switch-thumb {
  background: var(--bc-orange);
}

.bc-switch input:checked+.bc-switch-thumb::after {
  transform: translateX(20px);
}

.bc-switch input:focus-visible+.bc-switch-thumb {
  outline: 2px solid var(--bc-orange);
  outline-offset: 2px;
}

.bc-switch-text {
  font-size: 13.5px;
  color: var(--bc-text);
  line-height: 1.5;
}

.bc-privacy-legal {
  font-size: 11.5px;
  color: var(--bc-gray);
  line-height: 1.65;
  margin: 0;
  padding-left: 56px;
  /* align under switch text */
}

.bc-privacy-legal a {
  color: var(--bc-orange);
  text-decoration: none;
}

.bc-privacy-legal a:hover {
  text-decoration: underline;
}

/* ── Calendario visita ───────────────────────────────────────── */
.bc-visita-wrap {
  background: var(--bc-orange-light);
  border: 1.5px solid var(--bc-orange-mid);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 1.5rem;
}

.bc-visita-head {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bc-orange-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.bc-cal-legend {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.bc-cal-leg-item {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
}

.bc-cal-leg-ok {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #4ADE80;
}

.bc-cal-leg-busy {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #F87171;
}

.bc-cal-leg-sel {
  background: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #60A5FA;
}

.bc-fecha-display {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1E40AF;
  background: #DBEAFE;
  border: 1.5px solid #60A5FA;
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Franja horaria ── */
.bc-franja-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--bc-text, #1A1A18);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bc-franja-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 1rem;
}

.bc-franja-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 10px;
  background: #FFF;
  border: 2px solid #FDCAB6;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
  text-align: center;
}

.bc-franja-btn:hover {
  border-color: #F5C4B3;
  background: #FAECE7;
}

.bc-franja-btn.selected {
  border-color: #D85A30;
  background: #FAECE7;
  box-shadow: 0 0 0 3px rgba(216, 90, 48, 0.12);
}

.bc-franja-icon {
  font-size: 22px;
  line-height: 1;
}

.bc-franja-time {
  font-size: 15px;
  font-weight: 700;
  color: #D85A30;
  font-family: monospace;
}

.bc-franja-name {
  font-size: 12px;
  font-weight: 500;
  color: #888780;
}

.bc-franja-btn.selected .bc-franja-name {
  color: #993C1D;
  font-weight: 600;
}

/* Calendar widget (same CSS pattern as example index.php, scoped) */
#bc-calendarWidget .cal-widget {
  background: #fff;
  border: 1.5px solid #D3D1C7;
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

#bc-calendarWidget .cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: #F7F6F3;
  border-bottom: 1px solid #EDEBE5;
}

#bc-calendarWidget .cal-nav-title {
  font-weight: 700;
  font-size: .9rem;
  color: #1A1A18;
  text-transform: capitalize;
}

#bc-calendarWidget .cal-nav-btn {
  background: #fff;
  border: 1.5px solid #D3D1C7;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  color: #444441;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
  line-height: 1;
}

#bc-calendarWidget .cal-nav-btn:hover:not(:disabled) {
  border-color: #D85A30;
  color: #D85A30;
}

#bc-calendarWidget .cal-nav-btn:disabled {
  opacity: .3;
  cursor: default;
}

#bc-calendarWidget .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 9px;
}

#bc-calendarWidget .cal-dow {
  font-size: 10px;
  font-weight: 700;
  color: #888780;
  text-align: center;
  text-transform: uppercase;
  padding: 3px 0;
}

#bc-calendarWidget .cal-day {
  border-radius: 5px;
  text-align: center;
  padding: 6px 2px;
  font-size: 13px;
  cursor: pointer;
  transition: all .12s;
  font-weight: 500;
  border: 1px solid transparent;
  line-height: 1.3;
}

#bc-calendarWidget .cal-day.empty {
  cursor: default;
  visibility: hidden;
}

#bc-calendarWidget .cal-day.past {
  color: #D3D1C7;
  cursor: not-allowed;
  background: none !important;
  border-color: transparent !important;
}

#bc-calendarWidget .cal-day.disponible {
  background: #DCFCE7;
  color: #166534;
  border-color: #4ADE80;
}

#bc-calendarWidget .cal-day.disponible:hover {
  background: #BBF7D0;
  transform: scale(1.06);
}

#bc-calendarWidget .cal-day.ocupada {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #F87171;
  cursor: not-allowed;
  font-size: 11px;
}

#bc-calendarWidget .cal-day.seleccionado {
  background: #DBEAFE;
  color: #1E40AF;
  border-color: #60A5FA;
  font-weight: 700;
  transform: scale(1.08);
}

#bc-calendarWidget .cal-day.hoy {
  outline: 2px solid #D85A30;
  outline-offset: 1px;
}

/* ── Responsive extras ───────────────────────────────────────── */
@media (max-width: 520px) {
  .bc-img-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bc-privacy-legal {
    padding-left: 0;
  }

  .bc-cal-legend {
    gap: 6px;
  }
}