.cotizador-page {
  --cot-bg: #f7efe9;
  --cot-card: #fffefc;
  --cot-text: #2d2a26;
  --cot-muted: #6b635a;
  --cot-primary: #c75b3b;
  --cot-primary-dark: #a84832;
  --cot-line: #ead8cf;
  --cot-shadow: 0 14px 40px rgba(45, 42, 38, 0.08);
  --field-bg: #fff;
  --field-border: #e6d6cc;
  --field-border-focus: #c75b3b;
  --field-radius: 10px;
  --field-height: 40px;
  --pkg-bg: #eef7ff;
  --pkg-border: #c9deef;
  --pkg-accent: #2f6f9c;
  --pkg-soft: #dfeefa;
  --ok-bg: #e8f7ee;
  --ok-text: #256a3f;
  --warn-bg: #fff4de;
  --warn-text: #8a5a00;
  --info-bg: #e9f4ff;
  --info-text: #1f5d87;
  --danger-bg: #fde8e5;
  --danger-text: #9d2f1e;
  --section-client: #2e6f9c;
  --section-days: #b95e3f;
  --section-conditions: #9c6a1d;
  --section-summary: #2f7b4f;
  --section-quotes: #5e5a7a;
  --section-catalog: #2c7568;
  background:
    radial-gradient(circle at 10% 10%, rgba(212, 168, 83, 0.2), transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(199, 91, 59, 0.18), transparent 42%),
    var(--cot-bg);
  color: var(--cot-text);
  padding: 2.4rem 1.25rem 4.5rem;
}

.cotizador-shell {
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Hero ── */
.cotizador-hero {
  padding: 2rem 0 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--cot-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cotizador-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.08;
  background: linear-gradient(130deg, #2d2a26 0%, var(--cot-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cotizador-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cot-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cotizador-kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--cot-primary);
  border-radius: 2px;
}

.cotizador-hero > p:last-child {
  max-width: 640px;
  color: var(--cot-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.cotizador-grid {
  margin-top: 1.6rem;
  display: grid;
  column-gap: 1.8rem;
  row-gap: 1.25rem;
  grid-template-columns: minmax(0, 1.85fr) minmax(420px, 1fr);
  align-items: start;
}

.cot-card {
  background: var(--cot-card);
  border: 1px solid var(--cot-line);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.25rem;
  box-shadow: var(--cot-shadow);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

/* Left accent bar instead of top line */
.cot-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: #e9ddd6;
}

.cot-card h2 {
  margin: 0 0 0.1rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cot-text);
}

.cot-card--client,
.cot-card--days,
.cot-card--conditions,
.cot-card--quotes,
.cot-card--catalog {
  grid-column: 2;
}

.cot-card--summary {
  grid-column: 2;
  grid-row: 4;
  position: static;
}

.cot-card--quotes {
  grid-row: 5;
}

.cot-card--client {
  grid-row: 1;
}

.cot-card--days {
  grid-row: 2;
}

.cot-card--conditions {
  grid-row: 3;
}

.cot-card--catalog {
  grid-column: 1;
  grid-row: 1 / span 5;
}

.cot-card--client::before {
  background: linear-gradient(180deg, #72a8cf 0%, var(--section-client) 100%);
}

.cot-card--days::before {
  background: linear-gradient(180deg, #e7af98 0%, var(--section-days) 100%);
}

.cot-card--conditions::before {
  background: linear-gradient(180deg, #eccf92 0%, var(--section-conditions) 100%);
}

.cot-card--summary::before {
  background: linear-gradient(180deg, #9bd1b0 0%, var(--section-summary) 100%);
}

.cot-card--quotes::before {
  background: linear-gradient(180deg, #b7b5cb 0%, var(--section-quotes) 100%);
}

.cot-card--catalog::before {
  background: linear-gradient(180deg, #93d0c5 0%, var(--section-catalog) 100%);
}

.cot-fields {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cot-fields--conditions {
  grid-template-columns: 1fr;
}

.cot-card--client .cot-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cot-card--client .cot-fields label:nth-child(1),
.cot-card--client .cot-fields label:nth-child(2) {
  grid-column: 1 / -1;
}

.cot-card--client .cot-fields label {
  padding: 0.58rem 0.62rem;
  border: 1px solid #efddd3;
  border-radius: 12px;
  background: #fffaf6;
}

.cot-card--conditions .cot-fields label {
  padding: 0.58rem 0.62rem;
  border: 1px solid #efddd3;
  border-radius: 12px;
  background: #fffaf6;
}

.cot-fields label {
  display: grid;
  gap: 0.25rem;
}

.cot-fields label span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cot-muted);
}

.cot-fields input,
.cot-fields select,
.cot-table input,
.cot-table select,
.cot-day__schedule input {
  width: 100%;
  height: var(--field-height);
  border-radius: var(--field-radius);
  border: 1px solid var(--field-border);
  padding: 0.5rem 0.65rem;
  background: var(--field-bg);
  color: var(--cot-text);
  font-size: 0.92rem;
  line-height: 1.2;
  box-sizing: border-box;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.cot-fields input:focus,
.cot-fields select:focus,
.cot-table input:focus,
.cot-table select:focus,
.cot-day__schedule input:focus {
  outline: none;
  border-color: var(--field-border-focus);
  box-shadow: 0 0 0 3px rgba(199, 91, 59, 0.14);
  background: #fffdfb;
}

.cot-fields select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8a6a5d 50%),
    linear-gradient(135deg, #8a6a5d 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.cot-card__head {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.cot-helper {
  margin: 0 0 0.75rem;
  color: var(--cot-muted);
  font-size: 0.92rem;
}

.cot-package-plan {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  background: linear-gradient(150deg, #f5fbff 0%, var(--pkg-bg) 100%);
  border: 1px solid var(--pkg-border);
  border-radius: 12px;
  padding: 0.62rem;
}

.cot-package-plan__head {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--pkg-accent);
  font-weight: 700;
}

.cot-package-plan__list {
  display: grid;
  gap: 0.45rem;
}

.cot-package-plan__item {
  display: grid;
  gap: 0.56rem;
  border: 1px solid var(--pkg-border);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.58rem;
  box-shadow: 0 2px 10px rgba(47, 111, 156, 0.08);
  min-width: 0;
}

.cot-package-plan__item > * {
  min-width: 0;
}

.cot-package-plan__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: start;
  gap: 0.5rem;
  min-width: 0;
}

.cot-package-plan__title {
  margin: 0;
  font-weight: 800;
  font-size: 0.88rem;
  color: #2c3e4b;
  line-height: 1.25;
}

.cot-package-plan__meta {
  margin: 0.14rem 0 0;
  color: #587184;
  font-size: 0.75rem;
  line-height: 1.3;
  word-break: break-word;
}

.cot-package-plan__controls {
  display: grid;
  grid-template-columns: minmax(96px, 126px) minmax(118px, 156px);
  justify-content: space-between;
  align-items: end;
  gap: 0.5rem;
  min-width: 0;
}

.cot-package-plan__field {
  display: grid;
  gap: 0.2rem;
  background: #f4f9fe;
  border: 1px solid #d8e8f5;
  border-radius: 10px;
  padding: 0.34rem 0.45rem;
}

.cot-package-plan__field span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #537086;
}

.cot-package-plan__field input {
  height: 34px;
  border-color: #cfe1ef;
  background: #fff;
  font-weight: 700;
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cot-package-plan__total {
  margin: 0;
  font-weight: 800;
  color: #1f567b;
  font-size: 0.9rem;
  background: #edf6fd;
  border: 1px solid #d5e9f8;
  border-radius: 10px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  white-space: nowrap;
  justify-self: end;
}

.cot-days-list {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}

.cot-day {
  border: 1px solid #e9d7ce;
  border-radius: 16px;
  background: linear-gradient(160deg, #fffefc 0%, #fff8f3 100%);
  padding: 0.85rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(45, 42, 38, 0.05);
}

.cot-day.is-active {
  border-color: #d49f88;
  box-shadow: 0 0 0 2px rgba(199, 91, 59, 0.1), 0 10px 24px rgba(168, 72, 50, 0.12);
}

.cot-day__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px 34px;
  align-items: center;
  column-gap: 0.55rem;
  row-gap: 0.4rem;
  margin-bottom: 0.75rem;
  min-width: 0;
  padding: 0.1rem 0.1rem 0.6rem;
  border-bottom: 1px dashed #e7d7ce;
}

.cot-day__identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cot-day__select {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5e4dc 0%, #efd4c8 100%);
  color: var(--cot-primary-dark);
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.cot-day__count {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2f688f;
  background: #eaf4fd;
  border: 1px solid #cde1f2;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  white-space: nowrap;
}

.cot-day__schedule {
  display: block;
  min-width: 0;
  margin: 0;
}

.cot-day__schedule input {
  height: 36px;
  padding: 0.3rem 0.5rem;
  font-size: 0.88rem;
}

.cot-remove-day {
  align-self: center;
  justify-self: end;
}

.cot-empty {
  margin: 0.5rem 0;
  color: var(--cot-muted);
  font-size: 0.92rem;
}

.cot-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.cot-table {
  width: 100%;
  border-collapse: collapse;
}

.cot-table--day {
  min-width: 560px;
}

.cot-day-items {
  display: grid;
  gap: 0.55rem;
}

.cot-day-packages {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.cot-day-package-box {
  border: 1px solid #c6dff0;
  border-radius: 14px;
  background: linear-gradient(165deg, #f3faff 0%, #ecf6fd 100%);
  padding: 0.55rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
}

.cot-day-package-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px dashed #c5dcec;
  padding-bottom: 0.38rem;
  margin-bottom: 0.48rem;
}

.cot-day-package-box__title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: #235c84;
}

.cot-day-package-box__tag {
  display: inline-flex;
  padding: 0.12rem 0.46rem;
  border-radius: 999px;
  border: 1px solid #aacde4;
  background: #dceef9;
  color: #235c84;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.cot-day-package-box__items {
  display: grid;
  gap: 0.45rem;
}

.cot-day-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  grid-template-rows: auto auto;
  column-gap: 0.8rem;
  row-gap: 0.65rem;
  align-items: stretch;
  border: 1px solid #e9d8cf;
  border-radius: 14px;
  padding: 0.8rem 0.82rem;
  background: #fff;
  box-shadow: 0 4px 14px rgba(45, 42, 38, 0.04);
}

.cot-day-item.is-package-item {
  border-color: #cfe2f0;
  background: linear-gradient(160deg, #f8fcff 0%, #f2f9ff 100%);
  box-shadow: none;
  grid-template-rows: auto;
  row-gap: 0;
}

.cot-day-item__head {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-right: 0.15rem;
}

.cot-day-item__title {
  font-weight: 700;
  line-height: 1.3;
  color: #2f2a26;
  font-size: 0.96rem;
}

.cot-day-item__type {
  display: inline-flex;
  margin-top: 0;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a4a35;
  background: #f8e4da;
  border: 1px solid #ebc6b5;
  flex-shrink: 0;
}

.cot-day-item.is-package-item .cot-day-item__type {
  color: #235e88;
  background: var(--pkg-soft);
  border-color: #bed7e9;
}

.cot-day-item.is-package-item .cot-day-item__meta {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cot-day-item__meta {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 88px) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}

.cot-day-item__field {
  display: grid;
  gap: 0.2rem;
  border: 1px solid #ecd9ce;
  border-radius: 10px;
  background: #fff8f3;
  padding: 0.45rem 0.5rem;
  min-width: 0;
  min-height: 72px;
  align-content: center;
}

.cot-day-item__field span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cot-muted);
}

.cot-day-item__pax-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 36px;
  text-align: center;
  font-weight: 700;
}

.cot-day-item__price {
  display: grid;
  gap: 0.1rem;
  align-content: center;
  border: 1px solid #ecd9ce;
  border-radius: 10px;
  background: #fff8f3;
  padding: 0.45rem 0.5rem;
  min-height: 72px;
}

.cot-day-item__price small {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cot-muted);
}

.cot-day-item__price strong {
  font-size: 0.9rem;
  color: #2c2925;
  line-height: 1.2;
}

.cot-day-item__price--status strong.is-charge {
  color: var(--warn-text);
  background: var(--warn-bg);
  border: 1px solid #f1d69d;
  border-radius: 999px;
  padding: 0.12rem 0.46rem;
  display: inline-flex;
  width: fit-content;
}

.cot-day-item__price--status strong.is-included {
  color: var(--ok-text);
  background: var(--ok-bg);
  border: 1px solid #bfe5cc;
  border-radius: 999px;
  padding: 0.12rem 0.46rem;
  display: inline-flex;
  width: fit-content;
}

.cot-day-item__price--info strong {
  color: #4f6a7b;
  font-size: 0.78rem;
  font-weight: 600;
}

.cot-day-item .cot-btn-remove {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin-top: 0;
}

.cot-table th,
.cot-table td {
  border-bottom: 1px solid var(--cot-line);
  padding: 0.45rem 0.4rem;
  text-align: left;
  font-size: 0.84rem;
  vertical-align: middle;
}

.cot-table th {
  color: var(--cot-muted);
  text-transform: uppercase;
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}

.cot-tour-catalog {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cot-package-catalog {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cot-catalog-divider {
  margin: 0.9rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e7d6cd, transparent);
}

.cot-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8eff5;
}

.cot-catalog-tabs {
  display: inline-flex;
  gap: 0.3rem;
  width: fit-content;
  background: #e8f2fa;
  border: 1px solid #cfe0ee;
  border-radius: 12px;
  padding: 0.22rem;
}

.cot-catalog-tab {
  border: 0;
  border-radius: 9px;
  padding: 0.44rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #5a6d7b;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.cot-catalog-tab.is-active {
  background: #fff;
  color: #204e72;
  box-shadow: 0 1px 6px rgba(32, 78, 114, 0.14), 0 0 0 1px rgba(32,78,114,0.07);
}

.cot-catalog-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 180px;
  max-width: 320px;
  border: 1px solid #d2e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 0 0.62rem;
}

.cot-catalog-search::before {
  content: "🔍";
  font-size: 0.8rem;
  opacity: 0.5;
  flex-shrink: 0;
}

.cot-catalog-search span {
  display: none;
}

.cot-catalog-search input {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 10px;
  padding: 0.45rem 0;
  background: transparent;
  box-sizing: border-box;
  font-size: 0.88rem;
}

.cot-catalog-search input:focus {
  outline: none;
}

.cot-catalog-search:focus-within {
  border-color: #6aa6d2;
  box-shadow: 0 0 0 3px rgba(106, 166, 210, 0.18);
}

.cot-catalog-panel {
  max-height: 920px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.2rem;
}

.cot-catalog-panel[hidden] {
  display: none !important;
}

.cot-catalog-panel::-webkit-scrollbar {
  width: 10px;
}

.cot-catalog-panel::-webkit-scrollbar-track {
  background: #edf3f8;
  border-radius: 999px;
}

.cot-catalog-panel::-webkit-scrollbar-thumb {
  background: #c8dbe9;
  border-radius: 999px;
}

.cot-tour-card {
  border: 1px solid var(--cot-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  box-shadow: 0 4px 14px rgba(29, 70, 99, 0.07);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.cot-tour-card:hover {
  box-shadow: 0 10px 24px rgba(29, 70, 99, 0.13);
  border-color: #c8dff0;
}

.cot-tour-card--package {
  border-color: #d7e7f3;
  background: linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
}

.cot-tour-card__img {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.cot-tour-card__img img,
.cot-tour-card__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: block;
}

.cot-tour-card__img-placeholder {
  background: #e8f2fa;
  color: #4e6678;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cot-tour-card__body {
  padding: 0.8rem 0.82rem;
  display: grid;
  align-content: start;
}

.cot-tour-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.3;
  min-height: 2.5em;
}

.cot-tour-card__prices {
  margin: 0 0 0.72rem;
  display: grid;
  gap: 0.22rem;
  color: #5d7180;
  font-size: 0.82rem;
  background: #f4f9fd;
  border: 1px solid #d8e8f3;
  border-radius: 10px;
  padding: 0.48rem 0.52rem;
}

.cot-tour-card__prices strong {
  color: #1e4f73;
}

.cot-tour-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.cot-tour-card__actions .cot-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(22, 48, 69, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cot-btn__label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.cot-btn__price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e4f73;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.cot-tour-card__actions .cot-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(22, 48, 69, 0.14);
}

.cot-tour-card--package .cot-tour-card__actions {
  grid-template-columns: 1fr;
}

.cot-add-tour[data-type="grupal"] {
  background: #e8f5ef;
  color: #256343;
  border-color: #b8dfca;
}

.cot-add-tour[data-type="privado"] {
  background: #e9f3fd;
  color: #1f5d87;
  border-color: #bfd8ec;
}

.cot-add-package {
  background: #fff3df;
  color: #825100;
  border-color: #ebd2a0;
}

.cot-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  cursor: pointer;
  font-weight: 700;
}

.cot-btn--ghost {
  background: #e9f2fa;
  color: #295f85;
}

.cot-btn--danger {
  background: var(--danger-bg);
  color: var(--danger-text);
}

#cot-add-day {
  background: #eaf7ef;
  color: #2c6a44;
}

.cot-edit-quote {
  background: #fff1de;
  color: #8a5a00;
}

.cot-quote-brochure {
  background: #eaf4fd;
  color: #1f5d87;
  border: 1px solid #c7deef;
}

.cot-btn--primary {
  width: 100%;
  background: linear-gradient(135deg, var(--cot-primary), #d4703b);
  color: #fff;
  margin-top: 0.95rem;
}

.cot-btn-remove {
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--danger-bg);
  color: var(--danger-text);
  cursor: pointer;
  font-weight: 700;
}

.cot-summary {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-top: 0.25rem;
}

.cot-summary p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: #3f4f5a;
  border: 1px solid #e2ebf2;
  border-radius: 10px;
  background: #f5f9fd;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
}

.cot-summary strong {
  color: var(--cot-text);
  font-variant-numeric: tabular-nums;
}

.cot-summary p:nth-child(1) {
  border-color: #cfe3f4;
  background: #edf6ff;
}

.cot-summary p:nth-child(2) {
  border-color: #c9e9d6;
  background: #edf9f2;
}

.cot-summary p:nth-child(3) {
  border-color: #f0dbb0;
  background: #fff7e7;
}

.cot-summary p:nth-child(5) {
  border-color: #c7deef;
  background: #eaf4fd;
}

.cot-total {
  border: 2px solid #b8dbca !important;
  background: linear-gradient(135deg, #eef9f3 0%, #e4f6ec 100%) !important;
  border-radius: 12px !important;
  padding: 0.72rem 0.65rem !important;
  margin-top: 0.15rem;
}

.cot-total span {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e5c38;
}

.cot-total strong {
  color: var(--section-summary);
  font-size: 1.28rem;
  font-weight: 800;
}

.cot-btn--primary {
  width: 100%;
  background: linear-gradient(135deg, var(--cot-primary) 0%, #d4703b 100%);
  color: #fff;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(199, 91, 59, 0.28);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.cot-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(199, 91, 59, 0.38);
}

.cot-status {
  min-height: 1.5em;
  margin: 0.65rem 0 0;
  color: var(--info-text);
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--info-bg);
  border: 1px solid #c7deef;
  border-radius: 9px;
  padding: 0.5rem 0.65rem;
  text-align: center;
}

.cot-editbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.6rem 0 0.8rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid #f0dbb0;
  background: #fff7e7;
  color: #80520a;
  font-size: 0.85rem;
}

.cot-quote-list {
  display: grid;
  gap: 0.45rem;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.2rem;
}

.cot-quote-list::-webkit-scrollbar {
  width: 10px;
}

.cot-quote-list::-webkit-scrollbar-track {
  background: #f2e7e1;
  border-radius: 999px;
}

.cot-quote-list::-webkit-scrollbar-thumb {
  background: #dcb7a6;
  border-radius: 999px;
}

.cot-quote-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid #d8e4ef;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  background: #f8fbff;
}

.cot-quote-item__actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cot-quote-item__title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #2f2a26;
}

.cot-quote-item__meta {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: #7f746c;
}

.cot-quote-brochure {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* ─── Brochure page — editorial magazine layout ─── */

.cot-brochure-page {
  background: #fdfcf8;
  color: #1a1a1a;
  padding: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.cot-brochure {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.cot-brochure__error {
  max-width: 560px;
  margin: 4rem auto;
  text-align: center;
  padding: 2rem;
}

/* ── Cover (Hero) ── */
.cot-brochure-cover {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #1d5478 0%, #2f7ba2 42%, #d47749 100%);
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.cot-brochure-cover__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}

.cot-brochure-cover__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.cot-brochure-cover__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 820px;
  margin: 0 auto;
}

.cot-brochure-cover__eyebrow {
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.cot-brochure-cover__content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  background: none;
  -webkit-text-fill-color: #fff;
}

.cot-brochure-cover__divider {
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 0 auto 1rem;
}

.cot-brochure-cover__subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.cot-brochure-cover__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.cot-brochure-cover__chips span {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #f5fbff;
  font-size: 0.78rem;
  backdrop-filter: blur(4px);
}

.cot-brochure-cover__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  z-index: 2;
  animation: cot-scroll-bounce 2s ease-in-out infinite;
}

@keyframes cot-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Intro section ── */
.cot-brochure__intro {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  text-align: center;
  background: #fdfcf8;
}

.cot-brochure__intro-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cot-brochure__intro h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #5A5A40;
  margin: 0 0 1rem;
}

.cot-brochure__intro p {
  color: #5c5c4a;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.cot-brochure__client {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.cot-brochure-pill {
  background: #f5f3ee;
  border: 1px solid #e0dbd2;
  color: #3a3a2a;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* ── Days itinerary ── */
.cot-brochure__itinerary {
  padding: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 7rem);
}

.cot-brochure-day {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  border: none;
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

@media screen and (min-width: 48em) {
  .cot-brochure-day {
    grid-template-columns: 1fr 1fr;
  }

  .cot-brochure-day--reverse .cot-brochure-day__media {
    order: 2;
  }

  .cot-brochure-day--reverse .cot-brochure-day__content {
    order: 1;
  }
}

.cot-brochure-day__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #d6e7f3, #ecf5fb);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cot-brochure-day__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.cot-brochure-day__media:hover img {
  transform: scale(1.04);
}

.cot-brochure-day__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #41637a;
  font-weight: 700;
  font-size: 1.2rem;
}

.cot-brochure-day__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cot-brochure-day__badge-date {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: #5A5A40;
  line-height: 1.2;
}

.cot-brochure-day__badge-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

/* Content side */
.cot-brochure-day__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cot-brochure-day__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(90, 90, 64, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
}

.cot-brochure-day__eyebrow-line {
  flex-shrink: 0;
  width: 32px;
  height: 1px;
  background: rgba(90, 90, 64, 0.3);
  display: block;
}

.cot-brochure-day__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0;
}

/* Activities list */
.cot-brochure-day__activities {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

.cot-brochure-activity {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.cot-brochure-activity__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(90, 90, 64, 0.28);
  margin-top: 0.45rem;
}

.cot-brochure-activity__dot--highlight {
  background: #c9a227;
}

.cot-brochure-activity__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cot-brochure-activity__type {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #888;
}

.cot-brochure-activity__type--highlight {
  color: #9a7800;
}

.cot-brochure-activity__name {
  margin: 0;
  font-weight: 600;
  font-size: 0.97rem;
  color: #1a1a1a;
  line-height: 1.35;
}

.cot-brochure-activity__excerpt {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.cot-brochure-activity__price {
  margin: 0;
  font-size: 0.82rem;
  color: #5a5a3a;
  font-variant-numeric: tabular-nums;
}

.cot-brochure-activity__price strong {
  color: #2a4a1a;
}

.cot-brochure-item__included {
  color: #2a6d46;
  background: #e7f6ee;
  border: 1px solid #bfe4cf;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  display: inline-flex;
  font-size: 0.78rem;
}

/* ── Notes section (dark olive) ── */
.cot-brochure__notes {
  background: #5A5A40;
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.cot-brochure__notes-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.cot-brochure__notes-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.cot-brochure__notes-line {
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.cot-brochure__notes-inner h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin: 0 0 2rem;
}

.cot-brochure__notes-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media screen and (min-width: 48em) {
  .cot-brochure__notes-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.cot-brochure__notes-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
}

.cot-brochure__notes-card h4 {
  font-weight: 600;
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.cot-brochure__notes-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.cot-brochure__notes-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.75rem;
  font-weight: 400;
}

.cot-brochure__notes-badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 500;
}

/* ── Print button + totals ── */
.cot-brochure__actions {
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem 1.5rem 0;
  max-width: 860px;
  margin: 0 auto;
}

.cot-brochure__totals {
  max-width: 860px;
  margin: 1rem auto 0;
  border: 1px solid #d8e7f3;
  border-radius: 18px;
  background: linear-gradient(155deg, #ffffff 0%, #f6fbff 100%);
  padding: 1.25rem;
}

.cot-brochure__totals h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  margin: 0 0 0.85rem;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1f4f74;
}

.cot-brochure__totals p {
  margin: 0.42rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid #deebf5;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  background: #f6fbff;
  font-size: 0.9rem;
}

.cot-brochure__totals .cot-total {
  border: 1px solid #c7e1d2;
  background: #eaf8f0;
}

.cot-brochure__totals .cot-total strong {
  color: #236745;
  font-size: 1.05rem;
}

/* ── Footer ── */
.cot-brochure__footer {
  text-align: center;
  padding: 3rem 1.5rem;
  color: rgba(90, 90, 64, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-top: 1px solid #e8e4dc;
  margin-top: 2rem;
}

.cot-brochure__footer p {
  margin: 0;
}

@media (max-width: 1260px) {
  .cot-tour-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cot-package-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1140px) {
  .cotizador-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cot-card--client,
  .cot-card--days,
  .cot-card--conditions,
  .cot-card--quotes,
  .cot-card--catalog,
  .cot-card--summary {
    grid-column: 1;
  }

  .cot-card--client,
  .cot-card--days,
  .cot-card--conditions,
  .cot-card--quotes,
  .cot-card--catalog,
  .cot-card--summary {
    grid-row: auto;
  }
}

@media (max-width: 780px) {
  .cot-fields {
    grid-template-columns: 1fr;
  }

  .cot-card--client .cot-fields {
    grid-template-columns: 1fr;
  }

  .cot-tour-card {
    grid-template-columns: 1fr;
  }

  .cot-catalog-search {
    max-width: 100%;
  }

  .cot-day__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding-bottom: 0.5rem;
  }

  .cot-day__identity {
    flex-wrap: wrap;
  }

  .cot-day__schedule {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cot-day__schedule input {
    width: 100%;
    height: 36px;
  }

  .cot-day-item {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .cot-day-item__head {
    grid-column: 1 / -1;
  }

  .cot-day-item__meta {
    grid-template-columns: 1fr;
  }

  .cot-day-item .cot-btn-remove {
    grid-column: 1;
    grid-row: auto;
    justify-self: end;
  }

  .cot-package-plan__item {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0.4rem;
  }

  .cot-package-plan__controls {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    align-items: stretch;
  }

  .cot-package-plan__field {
    max-width: 180px;
  }

  .cot-package-plan__total {
    justify-content: flex-start;
    width: fit-content;
    justify-self: start;
  }

  .cot-remove-package {
    justify-self: end;
  }

  .cot-table--day {
    min-width: 0;
  }

  .cot-brochure-cover {
    min-height: 50vh;
  }

  .cot-quote-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cot-quote-item__actions {
    justify-content: flex-start;
  }
}

/* ── Print styles for brochure ── */
@media print {
  .site-header,
  .site-footer,
  .cot-brochure-cover__scroll,
  .cot-brochure__actions { display: none !important; }

  body, .cot-brochure-page {
    background: #fff !important;
    padding: 0 !important;
  }

  .cot-brochure-cover {
    min-height: 260px;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .cot-brochure-day {
    grid-template-columns: 1fr 1fr;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .cot-brochure__notes,
  .cot-brochure__totals {
    break-inside: avoid;
    page-break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .cot-brochure__itinerary {
    gap: 2rem;
  }
}

/* ── Print button in brochure view ── */
.cot-brochure-print {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  background: #f5f3ee;
  border: 1px solid #e0dbd2;
  color: #3a3a2a;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.cot-brochure-print:hover {
  background: #ece9e2;
  border-color: #cec8be;
}
