/* ============================================================
   Terratec — Sistema visual editorial
   Papel hueso · tinta · burdeos Terratec · gris del logotipo
   ============================================================ */

:root {
  --tt-paper: #faf8f6;
  --tt-paper-2: #f2ede9;
  --tt-paper-3: #e5ded8;
  --tt-ink: #201c1b;
  --tt-ink-2: #2e2826;
  --tt-navy: #6d2130;
  --tt-navy-dark: #4a1620;
  --tt-clay: #a8394b;
  --tt-clay-dark: #872939;
  --tt-rose: #e7c9cf;
  --tt-teal: #8c8c8e;
  --tt-cyan: #8c8c8e;
  --tt-sand: #e8e1db;
  --tt-muted: #6f6864;
  --tt-white: #ffffff;
  --tt-line: rgba(32, 28, 27, 0.12);
  --tt-line-strong: rgba(32, 28, 27, 0.28);
  --tt-line-light: rgba(255, 255, 255, 0.18);
  --tt-serif: "Sora", "Manrope", system-ui, sans-serif;
  --tt-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tt-shell: 1440px;
  --tt-ease: cubic-bezier(0.22, 0.8, 0.2, 1);

  /* Alias para componentes heredados del tema anterior */
  --clg-navy: #6d2130;
  --clg-navy-dark: #4a1620;
  --clg-navy-soft: #83303f;
  --clg-navy-line: #a04a5a;
  --clg-yellow: #a8394b;
  --clg-yellow-bright: #c85d70;
  --clg-yellow-dark: #872939;
  --clg-slate: #201c1b;
}

html {
  scroll-behavior: smooth;
}

body.tt-body {
  margin: 0;
  background: var(--tt-paper);
  color: var(--tt-ink);
  font-family: var(--tt-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* `clip` recorta el desborde horizontal sin crear un contenedor de scroll:
     con `hidden` los elementos position: sticky (efecto scroll-expand) se rompen. */
  overflow-x: clip;
}

.tt-body ::selection {
  background: var(--tt-clay);
  color: var(--tt-paper);
}

.tt-body h1,
.tt-body h2,
.tt-body h3,
.tt-body h4,
.tt-body h5 {
  font-family: var(--tt-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: inherit;
}

.tt-body p {
  margin: 0 0 1rem;
}

.tt-body a {
  color: inherit;
  transition: color 0.25s var(--tt-ease), border-color 0.25s var(--tt-ease), background 0.25s var(--tt-ease);
}

.tt-body img {
  max-width: 100%;
}

.tt-shell {
  width: 100%;
  max-width: var(--tt-shell);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

.tt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tt-main {
  min-height: 50vh;
}

/* ---------- Barra de progreso ---------- */

.tt-scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2200;
  width: 0;
  height: 2px;
  background: var(--tt-clay);
  transition: width 0.08s linear;
}

/* ---------- Header ---------- */

.tt-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--tt-paper);
}

.tt-topline {
  background: var(--tt-navy);
  color: var(--tt-paper);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
}

.tt-topline-loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}

.tt-pin {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tt-cyan);
  display: inline-block;
}

.tt-topline-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tt-topline-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.68;
}

.tt-topline-links a:hover {
  opacity: 1;
  color: var(--tt-clay);
}

.tt-nav {
  background: rgb(247, 243, 240, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--tt-line);
  transition: box-shadow 0.3s var(--tt-ease);
}

.tt-header.is-scrolled .tt-nav {
  box-shadow: 0 14px 34px rgb(32, 28, 27, 0.08);
}

.tt-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 84px;
}

.tt-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--tt-ink);
  flex-shrink: 0;
}

.tt-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 3px;
}

.tt-brand-word {
  display: block;
  line-height: 1;
}

.tt-brand-word strong {
  display: block;
  font-family: var(--tt-serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.88;
}

.tt-brand-word small {
  display: block;
  margin-top: 3px;
  font-family: var(--tt-sans);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tt-muted);
}

.tt-nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 34px);
  flex: 1;
}

.tt-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
}

.tt-nav-link {
  position: relative;
  padding: 8px 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tt-ink-2);
  white-space: nowrap;
}

.tt-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--tt-clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--tt-ease);
}

.tt-nav-link:hover,
.tt-nav-link.is-active {
  color: var(--tt-clay);
}

.tt-nav-link:hover::after,
.tt-nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.tt-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  background: var(--tt-navy);
  border: 1px solid var(--tt-navy);
  color: var(--tt-paper);
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tt-nav-cta:hover {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: var(--tt-paper);
}

.tt-nav-cta-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--tt-clay);
  color: var(--tt-paper);
  font-size: 0.56rem;
  letter-spacing: 0;
}

.tt-nav-cta-count.is-empty {
  opacity: 0.42;
}

.tt-arrow {
  font-size: 0.85rem;
  line-height: 1;
}

.tt-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--tt-line-strong);
  background: transparent;
  cursor: pointer;
}

.tt-menu-toggle span:not(.tt-sr-only) {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--tt-ink);
  transition: transform 0.3s var(--tt-ease), opacity 0.3s;
}

/* ---------- Tipografía y utilidades ---------- */

.tt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tt-clay);
}

.tt-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.tt-eyebrow--light {
  color: var(--tt-sand);
}

.tt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border: 1px solid var(--tt-ink);
  background: transparent;
  color: var(--tt-ink);
  font-family: var(--tt-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--tt-ease), color 0.25s var(--tt-ease), border-color 0.25s var(--tt-ease);
}

.tt-btn:hover {
  background: var(--tt-ink);
  border-color: var(--tt-ink);
  color: var(--tt-paper);
}

.tt-btn--solid {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-btn--solid:hover {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
}

.tt-btn--clay {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: var(--tt-paper);
}

.tt-btn--clay:hover {
  background: var(--tt-ink);
  border-color: var(--tt-ink);
}

.tt-btn--light {
  background: var(--tt-paper);
  border-color: var(--tt-paper);
  color: var(--tt-ink);
}

.tt-btn--light:hover {
  background: transparent;
  color: var(--tt-paper);
}

.tt-btn--ghost {
  border-color: var(--tt-line-strong);
  color: var(--tt-ink);
}

.tt-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--tt-ink);
  color: var(--tt-ink);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.tt-text-link:hover {
  color: var(--tt-clay);
  border-color: var(--tt-clay);
}

.tt-text-link--light {
  color: var(--tt-paper);
  border-color: var(--tt-paper);
}

.tt-text-link--light:hover {
  color: var(--tt-sand);
  border-color: var(--tt-sand);
}

/* ---------- Hero ---------- */

.tt-hero {
  padding: clamp(46px, 7vw, 100px) 0 clamp(36px, 5vw, 70px);
  background: var(--tt-paper);
}

.tt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: end;
}

.tt-hero h1 {
  margin: 0 0 28px;
  font-family: var(--tt-serif);
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.tt-hero h1 em {
  display: block;
  color: var(--tt-clay);
  font-style: italic;
  font-weight: 400;
}

.tt-hero-copy > p {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--tt-muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.tt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
}

.tt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--tt-line);
  color: var(--tt-muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tt-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tt-hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tt-cyan);
}

.tt-hero-media {
  position: relative;
  min-height: 520px;
}

.tt-hero-main {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--tt-sand);
}

.tt-hero-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-hero-small {
  position: absolute;
  left: -9%;
  bottom: 8%;
  width: 44%;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 10px solid var(--tt-paper);
  background: var(--tt-paper);
  box-shadow: 0 30px 60px rgb(32, 28, 27, 0.18);
}

.tt-hero-small img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-hero-caption {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 230px;
  padding: 16px 18px;
  border: 1px solid var(--tt-line);
  background: var(--tt-paper);
}

.tt-hero-caption span {
  display: block;
  margin-bottom: 8px;
  color: var(--tt-clay);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-hero-caption strong {
  display: block;
  font-family: var(--tt-serif);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.1;
}

.tt-hero-caption small {
  display: block;
  margin-top: 4px;
  color: var(--tt-muted);
  font-size: 0.66rem;
}

/* ---------- Ticker ---------- */

.tt-ticker {
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid var(--tt-clay);
  border-bottom: 1px solid var(--tt-clay);
  background: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-ticker-track {
  display: flex;
  width: max-content;
  animation: ttTicker 36s linear infinite;
}

.tt-ticker-group {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
}

.tt-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  color: var(--tt-paper);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tt-ticker-item::after {
  content: "✦";
  color: var(--tt-clay);
  font-size: 0.75rem;
}

@keyframes ttTicker {
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */

.tt-stats {
  border-bottom: 1px solid var(--tt-line);
  background: var(--tt-paper);
}

.tt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tt-stat {
  padding: 38px 24px;
  border-left: 1px solid var(--tt-line);
}

.tt-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.tt-stat strong {
  display: block;
  color: var(--tt-navy);
  font-family: var(--tt-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.tt-stat span {
  display: block;
  margin-top: 10px;
  color: var(--tt-muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Secciones ---------- */

.tt-section {
  padding: clamp(60px, 8vw, 118px) 0;
}

.tt-section--sand {
  background: var(--tt-paper-2);
}

.tt-section--ink {
  background: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-section--clay {
  background: var(--tt-clay);
  color: var(--tt-paper);
}

.tt-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.tt-section-head h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--tt-serif);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.tt-section-head p {
  max-width: 540px;
  margin: 16px 0 0;
  color: var(--tt-muted);
}

.tt-section--ink .tt-section-head p,
.tt-section--clay .tt-section-head p {
  color: rgb(247, 243, 240, 0.7);
}

.tt-section--ink .tt-eyebrow {
  color: var(--tt-clay);
}

.tt-section--clay .tt-eyebrow {
  color: var(--tt-paper);
}

/* ---------- Split / about ---------- */

.tt-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.tt-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--tt-sand);
}

.tt-media--tall { aspect-ratio: 4 / 5; }
.tt-media--wide { aspect-ratio: 4 / 3; }

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

.tt-media-label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 12px 16px;
  background: var(--tt-paper);
  color: var(--tt-ink);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-about-copy h2 {
  margin: 0 0 24px;
  font-family: var(--tt-serif);
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.tt-about-copy p {
  color: var(--tt-muted);
}

.tt-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tt-line);
}

.tt-values li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--tt-line);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tt-values li span {
  color: var(--tt-clay);
  font-family: var(--tt-serif);
  font-size: 1rem;
}

/* ---------- Servicios ---------- */

.tt-service-list {
  border-top: 1px solid var(--tt-line-light);
}

.tt-service-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.25fr) 34px;
  align-items: center;
  gap: 26px;
  padding: 25px 0;
  border-bottom: 1px solid var(--tt-line-light);
  color: inherit;
  text-decoration: none;
}

.tt-service-row:hover {
  color: var(--tt-clay);
}

.tt-service-num {
  color: var(--tt-clay);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.tt-service-title {
  font-family: var(--tt-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.tt-service-desc {
  color: rgb(247, 243, 240, 0.62);
  font-size: 0.86rem;
  line-height: 1.6;
}

.tt-service-arrow {
  justify-self: end;
  color: var(--tt-clay);
  font-size: 1.3rem;
}

/* ---------- Proyectos ---------- */

.tt-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 58px);
}

.tt-project-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tt-project-card:nth-child(even) {
  margin-top: clamp(28px, 5vw, 82px);
}

.tt-project-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tt-sand);
}

.tt-project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--tt-ease);
}

.tt-project-card:hover img {
  transform: scale(1.045);
}

.tt-project-tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 9px 13px;
  background: var(--tt-paper);
  color: var(--tt-clay);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-project-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--tt-line);
}

.tt-project-info h3 {
  margin: 0;
  font-family: var(--tt-serif);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.tt-project-info span {
  flex-shrink: 0;
  color: var(--tt-muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}

/* ---------- Productos ---------- */

.tt-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tt-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--tt-line);
  background: var(--tt-white);
  color: var(--tt-ink);
  text-decoration: none;
}

.tt-product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tt-paper-2);
}

.tt-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--tt-ease);
}

.tt-product-card:hover .tt-product-media img {
  transform: scale(1.04);
}

.tt-product-cat {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 11px;
  background: var(--tt-navy);
  color: var(--tt-paper);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tt-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.tt-product-body h3 {
  margin: 0;
  font-family: var(--tt-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.12;
}

.tt-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--tt-muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tt-product-price {
  font-family: var(--tt-serif);
  font-size: 1.2rem;
  color: var(--tt-ink);
}

.tt-product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tt-product-stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tt-teal);
}

.tt-product-stock.is-low::before { background: #c58a2a; }
.tt-product-stock.is-out::before { background: var(--tt-clay); }

.tt-product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.tt-product-actions .tt-btn {
  flex: 1;
  padding: 11px 12px;
  font-size: 0.56rem;
}

/* ---------- Cita ---------- */

.tt-quote-band {
  padding: clamp(60px, 8vw, 112px) 0;
  background: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-quote-band blockquote {
  max-width: 1050px;
  margin: 0 0 24px;
  font-family: var(--tt-serif);
  font-size: clamp(1.8rem, 3.6vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.tt-quote-band cite {
  color: rgb(247, 243, 240, 0.72);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- CTA con imagen ---------- */

.tt-cta-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(72vh, 700px);
  background-position: center;
  background-size: cover;
  color: var(--tt-paper);
}

.tt-cta-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(32, 28, 27, 0.08), rgb(32, 28, 27, 0.82));
}

.tt-cta-image .tt-shell {
  position: relative;
  padding-top: 140px;
  padding-bottom: 66px;
}

.tt-cta-image h2 {
  max-width: 800px;
  margin: 0 0 22px;
  font-family: var(--tt-serif);
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.tt-cta-image p {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgb(247, 243, 240, 0.78);
}

/* ---------- Page hero ---------- */

.tt-page-hero {
  padding: clamp(54px, 8vw, 108px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--tt-line);
}

.tt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
  color: var(--tt-muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.tt-breadcrumb a:hover {
  color: var(--tt-clay);
}

.tt-page-hero h1 {
  max-width: 1120px;
  margin: 0 0 20px;
  font-family: var(--tt-serif);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.tt-page-hero p {
  max-width: 700px;
  color: var(--tt-muted);
  font-size: 1.02rem;
}

.tt-page-hero--dark {
  background: var(--tt-ink);
  color: var(--tt-paper);
  border-bottom-color: var(--tt-line-light);
}

.tt-page-hero--dark p,
.tt-page-hero--dark .tt-breadcrumb {
  color: rgb(247, 243, 240, 0.68);
}

/* ---------- Detalle de proyecto ---------- */

.tt-project-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(78vh, 760px);
  background-position: center;
  background-size: cover;
  color: var(--tt-paper);
}

.tt-project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(32, 28, 27, 0.12), rgb(32, 28, 27, 0.8));
}

.tt-project-hero .tt-shell {
  position: relative;
  padding-top: 150px;
  padding-bottom: 58px;
}

.tt-project-hero .tt-breadcrumb {
  color: rgb(247, 243, 240, 0.72);
}

.tt-project-hero h1 {
  max-width: 1100px;
  margin: 0 0 16px;
  font-family: var(--tt-serif);
  font-size: clamp(2.8rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.tt-project-hero p {
  color: rgb(247, 243, 240, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.tt-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tt-gallery a {
  display: block;
  overflow: hidden;
  background: var(--tt-sand);
}

.tt-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--tt-ease);
}

.tt-gallery a:hover img {
  transform: scale(1.03);
}

.tt-gallery a:first-child {
  grid-column: 1 / -1;
}

.tt-gallery a:first-child img {
  aspect-ratio: 16 / 9;
}

.tt-project-aside {
  position: sticky;
  top: 120px;
  border-top: 1px solid var(--tt-line);
}

.tt-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--tt-line);
}

.tt-fact span {
  color: var(--tt-muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tt-fact strong {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.tt-project-description {
  white-space: pre-line;
  color: var(--tt-muted);
  line-height: 1.85;
}

.tt-project-actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.project-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.project-videos video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

/* ---------- Filtros de proyectos ---------- */

.tt-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tt-line);
}

.tt-filter-btn {
  padding: 10px 16px;
  border: 1px solid var(--tt-line);
  background: transparent;
  color: var(--tt-ink);
  font-family: var(--tt-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.tt-filter-btn:hover,
.tt-filter-btn.is-active {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-project-item.is-hidden {
  display: none;
}

/* ---------- Contacto ---------- */

.tt-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}

.tt-contact-info h2 {
  margin: 0 0 18px;
  font-family: var(--tt-serif);
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.tt-contact-info > p {
  color: var(--tt-muted);
  margin-bottom: 28px;
}

.tt-contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--tt-line);
  color: inherit;
  text-decoration: none;
}

.tt-contact-row:hover {
  color: var(--tt-clay);
}

.tt-contact-row strong {
  display: block;
  color: var(--tt-clay);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-contact-row span {
  font-size: 0.92rem;
  text-align: right;
}

.tt-form-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--tt-line);
  background: var(--tt-white);
}

.tt-form-card h2 {
  margin: 0 0 6px;
  font-family: var(--tt-serif);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 500;
}

.tt-form-card > p {
  margin-bottom: 26px;
  color: var(--tt-muted);
  font-size: 0.85rem;
}

.tt-form-card .form-label {
  margin-bottom: 6px;
  color: var(--tt-ink);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tt-form-card .form-control,
.tt-form-card .form-select {
  border: 1px solid var(--tt-line);
  border-radius: 0;
  background: var(--tt-paper);
  color: var(--tt-ink);
  padding: 12px 14px;
  font-family: var(--tt-sans);
  font-size: 0.9rem;
}

.tt-form-card .form-control:focus,
.tt-form-card .form-select:focus {
  border-color: var(--tt-clay);
  box-shadow: 0 0 0 1px var(--tt-clay);
  background: var(--tt-white);
}

.tt-form-card .form-control::placeholder {
  color: rgb(32, 28, 27, 0.38);
}

/* ---------- Cobertura ---------- */

.tt-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--tt-line);
}

.tt-coverage-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid var(--tt-line);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tt-coverage-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tt-cyan);
}

.tt-logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tt-logistics-card {
  padding: 26px 0;
  border-top: 1px solid var(--tt-line);
}

.tt-logistics-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--tt-clay);
  font-family: var(--tt-serif);
  font-size: 1.4rem;
}

.tt-logistics-card h3 {
  margin: 0 0 8px;
  font-family: var(--tt-serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.tt-logistics-card p {
  color: var(--tt-muted);
  font-size: 0.88rem;
}

/* ---------- Catálogo ---------- */

.tt-catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.tt-catalog-sidebar {
  position: sticky;
  top: 120px;
  border-top: 1px solid var(--tt-line);
}

.tt-catalog-side-title {
  margin: 20px 0 10px;
  color: var(--tt-muted);
  font-family: var(--tt-sans);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-catalog-cat {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--tt-line);
  color: var(--tt-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.tt-catalog-cat:hover,
.tt-catalog-cat.is-active {
  color: var(--tt-clay);
  padding-left: 8px;
}

.tt-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tt-line);
}

.tt-catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--tt-line);
  background: var(--tt-white);
  padding: 0 12px;
}

.tt-catalog-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 0;
  font-family: var(--tt-sans);
  font-size: 0.84rem;
  outline: none;
}

.tt-catalog-search button {
  border: 0;
  background: transparent;
  color: var(--tt-clay);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.tt-catalog-count {
  color: var(--tt-muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tt-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.tt-spec-table th,
.tt-spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--tt-line);
  text-align: left;
}

.tt-spec-table th {
  color: var(--tt-clay);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Ficha de producto ---------- */

.tt-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.tt-product-detail-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--tt-paper-2);
}

.tt-product-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-product-detail-info h1 {
  margin: 0 0 14px;
  font-family: var(--tt-serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
}

.tt-product-detail-info .tt-product-price {
  font-size: 2rem;
}

.tt-product-detail-info .tt-product-desc {
  color: var(--tt-muted);
  margin: 18px 0 24px;
}

.tt-product-detail-info .detail-facts {
  border-top: 1px solid var(--tt-line);
}

.tt-product-detail-info .detail-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--tt-line);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tt-product-detail-info .detail-facts span {
  color: var(--tt-muted);
}

/* ---------- Wizard de cotización ---------- */

.tt-body .wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tt-line);
  border-bottom: 1px solid var(--tt-line);
}

.tt-body .wizard-step {
  flex: 1;
  min-width: 140px;
  padding: 16px 18px;
  border-left: 1px solid var(--tt-line);
  color: var(--tt-muted);
}

.tt-body .wizard-step:first-child {
  border-left: 0;
  padding-left: 0;
}

.tt-body .wizard-step.active {
  color: var(--tt-ink);
}

.tt-body .wizard-step-num {
  display: block;
  margin-bottom: 6px;
  color: var(--tt-clay);
  font-family: var(--tt-serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.tt-body .wizard-step-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-body .wizard-card,
.tt-body .cart-card,
.tt-body .quote-wizard-side .wizard-summary {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--tt-line);
  border-radius: 0;
  background: var(--tt-white);
  box-shadow: none;
}

.tt-body .wizard-card h2,
.tt-body .cart-card h2,
.tt-body .wizard-summary h2 {
  font-family: var(--tt-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.tt-body .wizard-card-lead,
.tt-body .cart-note,
.tt-body .cad-estimate-lead {
  color: var(--tt-muted);
}

.tt-body .cart-card-head {
  border-bottom: 1px solid var(--tt-line);
  padding-bottom: 14px;
}

.tt-body .cart-line {
  border-bottom: 1px solid var(--tt-line);
  border-radius: 0;
  padding: 14px 0;
}

.tt-body .cart-line-media {
  border-radius: 0;
  background: var(--tt-paper-2);
}

.tt-body .cart-line-name {
  font-family: var(--tt-serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.tt-body .cart-line-meta {
  color: var(--tt-muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tt-body .qty-control {
  border: 1px solid var(--tt-line);
  border-radius: 0;
  background: var(--tt-paper);
}

.tt-body .qty-btn {
  border-radius: 0;
  color: var(--tt-ink);
}

.tt-body .qty-input {
  border-radius: 0;
  background: transparent;
  color: var(--tt-ink);
}

.tt-body .quote-wizard-side {
  position: sticky;
  top: 120px;
}

.tt-body .wizard-summary {
  background: var(--tt-navy);
  color: var(--tt-paper);
  border-color: var(--tt-navy);
}

.tt-body .wizard-summary h2,
.tt-body .wizard-summary .section-kicker {
  color: var(--tt-paper);
}

.tt-body .wizard-summary-row {
  border-bottom: 1px solid var(--tt-line-light);
  color: rgb(247, 243, 240, 0.7);
}

.tt-body .wizard-summary-row strong {
  color: var(--tt-paper);
}

.tt-body .review-block {
  border: 1px solid var(--tt-line);
  border-radius: 0;
  background: var(--tt-paper);
}

.tt-body .review-head {
  border-bottom: 1px solid var(--tt-line);
  color: var(--tt-ink);
}

.tt-body .review-edit {
  color: var(--tt-clay);
}

.tt-body .review-total {
  border-top: 1px solid var(--tt-line);
  color: var(--tt-ink);
}

.tt-body .review-total strong {
  font-family: var(--tt-serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.tt-body .review-note {
  border: 1px solid var(--tt-line);
  border-radius: 0;
  background: var(--tt-paper);
  color: var(--tt-muted);
}

.tt-body .cad-shell {
  border-radius: 0;
  border: 1px solid var(--tt-line);
  background: var(--tt-paper);
}

.tt-body .cad-estimate {
  border: 1px solid var(--tt-line);
  border-radius: 0;
  background: var(--tt-paper);
}

.tt-body .wizard-actions {
  border-top: 1px solid var(--tt-line);
  padding-top: 18px;
}

/* ---------- Formularios globales ---------- */

.tt-body .form-control,
.tt-body .form-select {
  border-radius: 0;
  border-color: var(--tt-line);
  font-family: var(--tt-sans);
}

.tt-body .form-control:focus,
.tt-body .form-select:focus {
  border-color: var(--tt-clay);
  box-shadow: 0 0 0 1px var(--tt-clay);
}

.tt-body .btn {
  border-radius: 0;
  font-family: var(--tt-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 18px;
}

.tt-body .btn-clg {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: var(--tt-paper);
}

.tt-body .btn-clg:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-body .btn-outline-clg {
  border: 1px solid var(--tt-ink);
  color: var(--tt-ink);
  background: transparent;
}

.tt-body .btn-outline-clg:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-body .btn-dark-clg {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-body .btn-outline-dark-clg {
  border: 1px solid var(--tt-paper);
  color: var(--tt-paper);
  background: transparent;
}

.tt-body .btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

/* ---------- Páginas antiguas que conservan clases ---------- */

.tt-body .section {
  padding: clamp(56px, 7vw, 100px) 0;
}

.tt-body .section-alt {
  background: var(--tt-paper-2);
}

.tt-body .section-dark {
  background: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-body .section-title {
  font-family: var(--tt-serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.tt-body .section-lead {
  color: var(--tt-muted);
}

.tt-body .section-dark .section-lead,
.tt-body .section-dark .section-kicker {
  color: rgb(247, 243, 240, 0.7);
}

.tt-body .section-kicker,
.tt-body .page-kicker {
  color: var(--tt-clay);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tt-body .page-hero {
  padding: clamp(54px, 8vw, 108px) 0 clamp(36px, 5vw, 64px);
  background: var(--tt-paper);
  color: var(--tt-ink);
  border-bottom: 1px solid var(--tt-line);
}

.tt-body .page-title {
  font-family: var(--tt-serif);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.tt-body .page-lead {
  max-width: 700px;
  color: var(--tt-muted);
}

.tt-body .breadcrumbs {
  color: var(--tt-muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-body .breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.tt-body .service-card,
.tt-body .testimonial-card,
.tt-body .about-card,
.tt-body .logistics-card {
  border: 1px solid var(--tt-line);
  border-radius: 0;
  background: var(--tt-white);
  box-shadow: none;
}

.tt-body .process-step {
  border-top: 1px solid var(--tt-line);
  border-radius: 0;
  background: transparent;
  padding: 22px 0;
}

.tt-body .process-num {
  color: var(--tt-clay);
  font-family: var(--tt-serif);
}

.tt-body .accordion-item {
  border: 0;
  border-top: 1px solid var(--tt-line);
  border-radius: 0;
  background: transparent;
}

.tt-body .accordion-button {
  border-radius: 0;
  background: transparent;
  color: var(--tt-ink);
  font-family: var(--tt-serif);
  font-size: 1.05rem;
  font-weight: 500;
  box-shadow: none;
}

.tt-body .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--tt-clay);
}

.tt-body .accordion-body {
  color: var(--tt-muted);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.tt-footer {
  padding: clamp(58px, 8vw, 110px) 0 28px;
  background: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-footer-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding-bottom: clamp(36px, 5vw, 66px);
  border-bottom: 1px solid var(--tt-line-light);
}

.tt-footer-word span {
  display: block;
  font-family: var(--tt-serif);
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 500;
  line-height: 0.76;
  letter-spacing: -0.07em;
}

.tt-footer-word {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.tt-footer-logo {
  display: block;
  width: clamp(104px, 13vw, 170px);
  height: auto;
  padding: 6px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.tt-footer-word small {
  display: block;
  margin-top: 0;
  color: var(--tt-clay);
  font-family: var(--tt-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.tt-footer-note p {
  max-width: 460px;
  margin-top: 14px;
  color: rgb(247, 243, 240, 0.62);
  font-size: 0.9rem;
}

.tt-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 42px 0;
}

.tt-footer-col h4 {
  margin: 0 0 16px;
  color: var(--tt-clay);
  font-family: var(--tt-sans);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tt-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tt-footer-col li {
  margin-bottom: 8px;
  color: rgb(247, 243, 240, 0.62);
  font-size: 0.78rem;
}

.tt-footer-col a {
  color: inherit;
  text-decoration: none;
}

.tt-footer-col a:hover {
  color: var(--tt-paper);
}

.tt-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.tt-footer-social a {
  color: var(--tt-sand);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.tt-footer-social a:hover {
  color: var(--tt-clay);
}

.tt-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  padding-right: 170px;
  border-top: 1px solid var(--tt-line-light);
  color: rgb(247, 243, 240, 0.45);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {
  .tt-footer-bottom {
    padding-right: 0;
  }
}

.tt-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tt-footer-legal a {
  color: inherit;
  text-decoration: none;
}

.tt-footer-legal a:hover {
  color: var(--tt-paper);
}

.tt-footer-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tt-footer-credit {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.tt-footer-credit a {
  color: var(--tt-clay);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.tt-footer-credit a:hover {
  color: #fff;
}

/* ---------- Flotantes ---------- */

.tt-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  background: var(--tt-navy);
  color: #fff;
  text-decoration: none;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgb(32, 28, 27, 0.22);
}

.tt-wa:hover {
  background: var(--tt-clay);
  color: var(--tt-paper);
}

.tt-to-top {
  position: fixed;
  right: 22px;
  bottom: 78px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--tt-line-strong);
  background: var(--tt-paper);
  color: var(--tt-ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, background 0.25s, color 0.25s;
}

.tt-to-top.is-visible,
.tt-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.tt-to-top:hover {
  background: var(--tt-ink);
  color: var(--tt-paper);
}

.tt-cookie {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 2100;
  max-width: 420px;
  padding: 20px;
  border: 1px solid var(--tt-line-strong);
  background: var(--tt-white);
  color: var(--tt-ink);
  box-shadow: 0 24px 60px rgb(32, 28, 27, 0.18);
}

.tt-cookie p {
  margin: 0 0 14px;
  font-size: 0.78rem;
  line-height: 1.6;
}

.tt-cookie a {
  color: var(--tt-clay);
}

.tt-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tt-cookie-actions .tt-btn {
  padding: 10px 14px;
  font-size: 0.54rem;
}

/* ---------- Reveal ---------- */

.tt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--tt-ease), transform 0.8s var(--tt-ease);
  transition-delay: var(--tt-delay, 0s);
}

.tt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tt-reveal,
  .tt-ticker-track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .tt-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

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

  .tt-nav-links {
    gap: 14px;
  }

  .tt-nav-link {
    font-size: 0.56rem;
  }
}

@media (max-width: 991px) {
  .tt-topline-links {
    display: none;
  }

  .tt-topline-inner {
    justify-content: center;
  }

  .tt-menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .tt-nav-inner {
    min-height: 72px;
  }

  .tt-brand img {
    width: 38px;
    height: 38px;
  }

  .tt-brand-word strong {
    font-size: 1.4rem;
  }

  .tt-nav-panel {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 22px;
    padding: 100px clamp(22px, 6vw, 50px) 36px;
    background: var(--tt-navy-dark);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transition: opacity 0.3s var(--tt-ease), visibility 0.3s var(--tt-ease);
  }

  .tt-header.is-menu-open .tt-nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .tt-header.is-menu-open .tt-menu-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .tt-header.is-menu-open .tt-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .tt-header.is-menu-open .tt-menu-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .tt-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .tt-nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: var(--tt-serif);
    font-size: clamp(1.55rem, 6vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-transform: none;
  }

  .tt-nav-link::after {
    display: none;
  }

  .tt-nav-cta {
    justify-content: center;
    padding: 16px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }

  .tt-menu-lock {
    overflow: hidden;
  }

  .tt-hero-grid,
  .tt-split,
  .tt-project-layout,
  .tt-contact-grid,
  .tt-product-detail {
    grid-template-columns: 1fr;
  }

  .tt-hero-media {
    min-height: 0;
    margin-top: 10px;
  }

  .tt-hero-main {
    aspect-ratio: 16 / 11;
  }

  .tt-hero-small {
    left: 0;
    bottom: -8%;
    width: 42%;
  }

  .tt-hero-caption {
    top: auto;
    right: 0;
    bottom: -8%;
  }

  .tt-project-grid {
    grid-template-columns: 1fr;
  }

  .tt-project-card:nth-child(even) {
    margin-top: 0;
  }

  .tt-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tt-stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .tt-service-row {
    grid-template-columns: 44px 1fr 26px;
    gap: 16px;
  }

  .tt-service-desc {
    display: none;
  }

  .tt-project-aside {
    position: static;
  }

  .tt-catalog-layout {
    grid-template-columns: 1fr;
  }

  .tt-catalog-sidebar {
    position: static;
  }

  .tt-footer-head {
    grid-template-columns: 1fr;
  }

  .tt-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tt-coverage-grid,
  .tt-logistics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tt-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .tt-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tt-hero-actions .tt-btn,
  .tt-hero-actions .tt-text-link {
    justify-content: center;
  }

  .tt-hero-small {
    display: none;
  }

  .tt-hero-caption {
    position: static;
    max-width: none;
    margin-top: 10px;
  }

  .tt-stats-grid,
  .tt-footer-grid,
  .tt-product-grid,
  .tt-catalog-grid,
  .tt-gallery,
  .tt-project-videos,
  .tt-coverage-grid,
  .tt-logistics-grid {
    grid-template-columns: 1fr;
  }

  .tt-stat {
    border-left: 0;
    border-top: 1px solid var(--tt-line);
    padding-left: 0;
    padding-right: 0;
  }

  .tt-stat:first-child {
    border-top: 0;
  }

  .tt-values {
    grid-template-columns: 1fr;
  }

  .tt-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .tt-cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .tt-wa span {
    display: none;
  }

  .tt-wa {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }

  .tt-to-top {
    right: 22px;
    bottom: 80px;
  }

  .tt-page-hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }
}

/* ---------- Servicios (página) ---------- */

.tt-service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(30px, 5vw, 70px);
}

.tt-service-card {
  padding: clamp(24px, 4vw, 40px) 0;
  border-top: 1px solid var(--tt-line);
}

.tt-service-card h2 {
  margin: 0 0 10px;
  font-family: var(--tt-serif);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.tt-service-card p {
  max-width: 520px;
  color: var(--tt-muted);
}

.tt-service-card .tt-service-num {
  display: block;
  margin-bottom: 10px;
}

/* ---------- Proceso ---------- */

.tt-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tt-process-step {
  padding-top: 18px;
  border-top: 1px solid var(--tt-line);
}

.tt-process-step > span {
  display: block;
  margin-bottom: 10px;
  color: var(--tt-clay);
  font-family: var(--tt-serif);
  font-size: 1.5rem;
}

.tt-process-step h3 {
  margin: 0 0 8px;
  font-family: var(--tt-serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.tt-process-step p {
  color: var(--tt-muted);
  font-size: 0.86rem;
}

/* ---------- Testimonios ---------- */

.tt-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tt-testimonial {
  padding: 26px 0 0;
  border-top: 1px solid var(--tt-line);
}

.tt-testimonial-mark {
  display: block;
  color: var(--tt-clay);
  font-family: var(--tt-serif);
  font-size: 3rem;
  line-height: 0.6;
}

.tt-testimonial p {
  margin: 16px 0 20px;
  color: var(--tt-ink);
  font-family: var(--tt-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
}

.tt-testimonial footer strong {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-testimonial footer span {
  display: block;
  margin-top: 4px;
  color: var(--tt-muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Carrito del catálogo ---------- */

.tt-cart-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-cart-strip strong {
  display: block;
  font-family: var(--tt-serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.tt-cart-strip span {
  color: rgb(247, 243, 240, 0.68);
  font-size: 0.72rem;
}

.tt-cart-strip .tt-btn {
  border-color: var(--tt-paper);
  background: var(--tt-paper);
  color: var(--tt-ink);
}

.tt-cart-strip .tt-btn:hover {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: var(--tt-paper);
}

@media (max-width: 991px) {
  .tt-service-cards,
  .tt-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tt-testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tt-service-cards,
  .tt-process-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Confirmación de solicitud ---------- */

.tt-thanks {
  max-width: 860px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--tt-line);
  background: var(--tt-white);
}

.tt-thanks h2 {
  margin: 0 0 14px;
  font-family: var(--tt-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.tt-thanks > p {
  max-width: 640px;
  color: var(--tt-muted);
}

.tt-thanks-folio {
  display: inline-block;
  margin: 4px 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--tt-line);
  color: var(--tt-ink) !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tt-thanks-folio strong {
  color: var(--tt-clay);
}

.tt-thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--tt-line);
}

.tt-thanks-steps > div > span {
  display: block;
  margin-bottom: 8px;
  color: var(--tt-clay);
  font-family: var(--tt-serif);
  font-size: 1.3rem;
}

.tt-thanks-steps strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tt-thanks-steps small {
  display: block;
  margin-top: 5px;
  color: var(--tt-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .tt-thanks-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Legal ---------- */

.tt-legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.tt-legal-aside {
  position: sticky;
  top: 120px;
}

.tt-legal-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--tt-line);
}

.tt-legal-nav a {
  padding: 11px 0;
  border-bottom: 1px solid var(--tt-line);
  color: var(--tt-muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.tt-legal-nav a:hover {
  color: var(--tt-clay);
}

.tt-legal-content h2 {
  margin: 46px 0 14px;
  font-family: var(--tt-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.tt-legal-content > h2:first-of-type {
  margin-top: 0;
}

.tt-legal-content h3 {
  margin: 26px 0 10px;
  font-family: var(--tt-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.tt-legal-content p,
.tt-legal-content li {
  color: var(--tt-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.tt-legal-content ul {
  padding-left: 18px;
}

.tt-legal-content a {
  color: var(--tt-clay);
}

.tt-legal-updated {
  display: inline-block;
  margin-bottom: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tt-line);
  color: var(--tt-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.tt-legal-content th,
.tt-legal-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--tt-line);
  text-align: left;
}

.tt-legal-content th {
  color: var(--tt-clay);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-legal-content code {
  color: var(--tt-ink);
  background: var(--tt-paper-2);
  padding: 1px 5px;
}

@media (max-width: 991px) {
  .tt-legal-layout {
    grid-template-columns: 1fr;
  }

  .tt-legal-aside {
    position: static;
  }
}

/* ---------- Panel de administración ---------- */

.admin-body {
  background: var(--tt-paper);
  color: var(--tt-ink);
  font-family: var(--tt-sans);
}

.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body h4,
.admin-body h5,
.admin-body h6 {
  font-family: var(--tt-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.admin-navbar {
  background: var(--tt-navy);
  border-bottom: 3px solid var(--tt-clay);
}

.admin-navbar .brand-logo {
  border-radius: 3px;
}

.admin-navbar .brand-text strong {
  font-family: var(--tt-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.admin-navbar .brand-text small {
  color: rgb(247, 243, 240, 0.58);
}

.admin-navbar .nav-link {
  font-family: var(--tt-sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-navbar .nav-link.active {
  color: var(--tt-clay);
}

.admin-card {
  border-radius: 0;
  border-color: var(--tt-line);
  background: var(--tt-white);
  box-shadow: none;
}

.admin-card > .card-header {
  background: var(--tt-white);
  border-bottom-color: var(--tt-line);
  font-family: var(--tt-serif);
  font-weight: 500;
  color: var(--tt-ink);
}

.admin-footer {
  background: var(--tt-navy);
  color: rgb(247, 243, 240, 0.5);
}

.stat-card {
  border-radius: 0;
  box-shadow: none;
}

.stat-yellow {
  background: var(--tt-clay);
  color: var(--tt-paper);
}

.stat-navy {
  background: var(--tt-navy);
  color: var(--tt-paper);
}

.stat-amber {
  background: var(--tt-teal);
  color: var(--tt-paper);
}

.stat-green {
  background: var(--tt-paper-3);
  color: var(--tt-ink);
}

.admin-body .btn {
  border-radius: 0;
  font-family: var(--tt-sans);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-body .btn-clg {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: var(--tt-paper);
}

.admin-body .btn-clg:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
}

.admin-body .btn-outline-secondary {
  border-color: var(--tt-line-strong);
  color: var(--tt-ink);
}

.admin-body .btn-outline-secondary:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: var(--tt-paper);
}

.admin-body .form-control,
.admin-body .form-select {
  border-radius: 0;
  border-color: var(--tt-line);
  font-family: var(--tt-sans);
}

.admin-body .form-control:focus,
.admin-body .form-select:focus {
  border-color: var(--tt-clay);
  box-shadow: 0 0 0 1px var(--tt-clay);
}

.admin-body .table > :not(caption) > * > * {
  border-bottom-color: var(--tt-line);
}

.admin-body .table thead th {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tt-clay);
}

.admin-body .badge {
  font-family: var(--tt-sans);
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* ---------- Login ---------- */

.tt-login-body {
  background: var(--tt-paper);
  color: var(--tt-ink);
  font-family: var(--tt-sans);
}

.tt-login-body .login-card {
  border-radius: 0;
  border: 1px solid var(--tt-line);
  background: var(--tt-white);
  box-shadow: 0 30px 70px rgb(32, 28, 27, 0.12);
}

.tt-login-body .login-logo {
  border-radius: 3px;
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.tt-login-body .btn-astro {
  border-radius: 0;
  background: var(--tt-navy);
  border: 1px solid var(--tt-navy);
  color: var(--tt-paper);
  font-family: var(--tt-sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tt-login-body .btn-astro:hover {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
}

.tt-login-body h1 {
  font-family: var(--tt-serif);
  font-weight: 500;
}

.tt-login-body .form-control {
  border-radius: 0;
  border-color: var(--tt-line);
  font-family: var(--tt-sans);
}

.tt-login-body .form-control:focus {
  border-color: var(--tt-clay);
  box-shadow: 0 0 0 1px var(--tt-clay);
}

/* ---------- Corrección de color en enlaces con clase de botón ---------- */

.tt-body a.tt-btn--solid,
.tt-body button.tt-btn--solid {
  color: var(--tt-paper);
}

.tt-body a.tt-btn--clay,
.tt-body button.tt-btn--clay {
  color: var(--tt-paper);
}

.tt-body a.tt-btn--light,
.tt-body button.tt-btn--light {
  color: var(--tt-ink);
}

.tt-body a.tt-btn--ghost,
.tt-body button.tt-btn--ghost {
  color: var(--tt-ink);
}

.tt-body a.tt-text-link {
  color: var(--tt-ink);
}

.tt-body a.tt-text-link--light {
  color: var(--tt-paper);
}

.tt-body a.tt-nav-cta {
  color: var(--tt-paper);
}

.tt-body a.tt-wa {
  color: #fff;
}

/* ---------- Guías / onboarding ---------- */

.tt-tour-card {
  border-radius: 0;
  border: 1px solid var(--tt-line);
  background: var(--tt-white);
  color: var(--tt-ink);
}

.tt-tour-title {
  font-family: var(--tt-serif);
  font-weight: 500;
  color: var(--tt-ink);
}

.tt-tour-kicker {
  color: var(--tt-clay);
}

.tt-tour-text {
  color: var(--tt-muted);
}

.tt-tour-btn {
  border-radius: 0;
  font-family: var(--tt-sans);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tt-tour-btn--primary {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: var(--tt-paper);
}

.tt-tour-btn--primary:hover {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
}

.tt-tour-progress span {
  background: var(--tt-clay);
}

body.tt-tour-open .tt-cookie,
body.tt-tour-open .tt-wa,
body.tt-tour-open .tt-to-top {
  visibility: hidden !important;
}

/* ==========================================================================
   TEMA EDITORIAL — hero cinematográfico, header burdeos y tarjetas suaves
   ========================================================================== */

.tt-header {
  background: var(--tt-navy-dark);
}

.tt-topline {
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.82);
}

.tt-nav {
  background: rgb(74, 22, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tt-header.is-scrolled .tt-nav {
  background: rgb(74, 22, 32, 0.99);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.tt-brand {
  color: #fff;
}

.tt-brand img {
  width: 48px;
  height: 48px;
  padding: 2px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.tt-brand-word strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tt-brand-word small {
  color: rgba(255, 255, 255, 0.55);
}

.tt-nav-link {
  color: rgba(255, 255, 255, 0.76);
}

.tt-nav-link::after {
  height: 2px;
  border-radius: 999px;
  background: var(--tt-clay);
}

.tt-nav-link:hover,
.tt-nav-link.is-active {
  color: #fff;
}

.tt-nav-cta {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: #fff;
  border-radius: 999px;
  padding: 14px 22px;
  box-shadow: 0 10px 24px rgb(168, 57, 75, 0.28);
}

.tt-nav-cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tt-navy-dark);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.tt-menu-toggle {
  border-color: rgba(255, 255, 255, 0.32);
  border-radius: 12px;
}

.tt-menu-toggle span:not(.tt-sr-only) {
  background: #fff;
  height: 2px;
  border-radius: 999px;
}

/* ---------- Hero con slider ---------- */

.tt-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 840px);
  padding: clamp(96px, 12vw, 150px) 0 clamp(76px, 9vw, 110px);
  overflow: hidden;
  color: #fff;
  background: var(--tt-navy-dark);
}

.tt-hero-slider,
.tt-hero-slide {
  position: absolute;
  inset: 0;
}

.tt-hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 8s ease;
  will-change: opacity, transform;
}

.tt-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.tt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(32, 28, 27, 0.9) 0%, rgb(32, 28, 27, 0.62) 44%, rgb(32, 28, 27, 0.1) 100%),
    linear-gradient(0deg, rgb(32, 28, 27, 0.86) 0%, rgb(32, 28, 27, 0) 52%);
}

.tt-hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  z-index: 1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(168, 57, 75, 0.5) 0%, rgb(168, 57, 75, 0) 68%);
  filter: blur(8px);
  pointer-events: none;
}

.tt-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  width: 100%;
}

.tt-hero-copy {
  max-width: 860px;
}

.tt-hero .tt-eyebrow {
  color: var(--tt-rose);
}

.tt-hero h1 {
  color: #fff;
  font-family: var(--tt-sans);
  font-size: clamp(2.9rem, 6.6vw, 6.2rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 14ch;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.tt-hero h1 em {
  display: block;
  color: var(--tt-rose);
  font-style: normal;
}

.tt-hero-copy > p {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
}

.tt-hero-actions {
  margin-top: 32px;
}

.tt-hero .tt-btn--solid {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: #fff;
  box-shadow: 0 16px 34px rgb(168, 57, 75, 0.32);
}

.tt-hero .tt-btn--solid:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tt-navy-dark);
}

.tt-hero .tt-text-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.tt-hero .tt-text-link:hover {
  color: var(--tt-clay);
  border-color: var(--tt-clay);
}

.tt-hero-meta {
  margin-top: 38px;
  border-top-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.66);
}

.tt-hero-meta span::before {
  background: var(--tt-cyan);
}

.tt-hero-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s var(--tt-ease), background 0.3s, border-color 0.3s;
}

.tt-hero-feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.tt-hero-feature-kicker {
  color: var(--tt-rose);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-hero-feature strong {
  font-family: var(--tt-sans);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.tt-hero-feature small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.tt-hero-feature-arrow {
  margin-top: 10px;
  color: var(--tt-rose);
  font-size: 1.25rem;
  line-height: 1;
}

.tt-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.tt-hero-dots span {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.3s var(--tt-ease), background 0.3s;
}

.tt-hero-dots span.is-active {
  width: 46px;
  background: var(--tt-clay);
}

/* ---------- Encabezados de página ---------- */

.tt-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) 0 clamp(58px, 7vw, 88px);
  background: linear-gradient(135deg, var(--tt-navy-dark) 0%, var(--tt-navy) 100%);
  color: #fff;
  border-bottom: 0;
}

.tt-page-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(168, 57, 75, 0.38) 0%, transparent 68%);
  pointer-events: none;
}

.tt-page-hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(140, 140, 142, 0.3) 0%, transparent 68%);
  pointer-events: none;
}

.tt-page-hero > .tt-shell {
  position: relative;
  z-index: 1;
}

.tt-page-hero h1 {
  color: #fff;
  font-family: var(--tt-sans);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.tt-page-hero p {
  color: rgba(255, 255, 255, 0.72);
}

.tt-page-hero .tt-eyebrow {
  color: var(--tt-cyan);
}

.tt-page-hero .tt-breadcrumb,
.tt-page-hero .tt-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
}

.tt-page-hero .tt-breadcrumb a:hover {
  color: #fff;
}

/* ---------- Títulos y tarjetas ---------- */

.tt-body .tt-section-head h2,
.tt-body .tt-about-copy h2,
.tt-body .tt-page-hero h1,
.tt-body .tt-project-info h3,
.tt-body .tt-product-body h3,
.tt-body .tt-service-card h2,
.tt-body .tt-process-step h3,
.tt-body .tt-footer-word span {
  font-family: var(--tt-sans);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.tt-stats {
  background: transparent;
}

.tt-stats-grid {
  gap: 16px;
  padding: 34px 0;
}

.tt-stat {
  padding: 26px 24px;
  border: 1px solid var(--tt-line);
  border-left: 1px solid var(--tt-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgb(109, 33, 48, 0.07);
  transition: transform 0.3s var(--tt-ease), box-shadow 0.3s;
}

.tt-stat:first-child {
  padding-left: 24px;
  border-left: 1px solid var(--tt-line);
}

.tt-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgb(109, 33, 48, 0.12);
}

.tt-stat strong {
  font-family: var(--tt-sans);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--tt-navy) 20%, var(--tt-clay) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tt-project-card figure {
  border-radius: 20px;
  box-shadow: 0 22px 52px rgb(109, 33, 48, 0.13);
}

.tt-project-info {
  padding-top: 15px;
  border-bottom: 0;
}

.tt-project-tag {
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}

.tt-service-cards {
  gap: 20px;
}

.tt-service-card {
  padding: 26px;
  border: 1px solid var(--tt-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgb(109, 33, 48, 0.06);
  transition: transform 0.3s var(--tt-ease), box-shadow 0.3s, border-color 0.3s;
}

.tt-service-card:hover {
  transform: translateY(-5px);
  border-color: rgb(168, 57, 75, 0.35);
  box-shadow: 0 26px 54px rgb(109, 33, 48, 0.12);
}

.tt-service-card .tt-service-num {
  color: var(--tt-clay);
}

.tt-process-grid {
  gap: 16px;
}

.tt-process-step {
  padding: 24px;
  border: 1px solid var(--tt-line);
  border-top: 1px solid var(--tt-line);
  border-radius: 16px;
  background: #fff;
}

.tt-testimonial {
  padding: 26px;
  border: 1px solid var(--tt-line);
  border-top: 1px solid var(--tt-line);
  border-radius: 18px;
  background: #fff;
}

.tt-quote-band {
  background: linear-gradient(135deg, var(--tt-navy-dark) 0%, var(--tt-navy) 100%);
}

.tt-quote-band blockquote {
  font-family: var(--tt-sans);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tt-btn,
.tt-nav-cta,
.tt-filter-btn,
.tt-text-link {
  border-radius: 999px;
}

.tt-text-link {
  padding-bottom: 2px;
}

.tt-form-card {
  border-radius: 20px;
  box-shadow: 0 26px 64px rgb(109, 33, 48, 0.1);
}

.tt-catalog-sidebar {
  padding: 22px;
  border: 1px solid var(--tt-line);
  border-radius: 18px;
  background: #fff;
}

.tt-product-card {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgb(109, 33, 48, 0.07);
}

.tt-product-detail-media,
.tt-thanks {
  border-radius: 20px;
}

.tt-footer {
  background: var(--tt-navy-dark);
}

/* Servicios del home como tarjetas */
.tt-section--ink .tt-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}

.tt-section--ink .tt-service-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.tt-section--ink .tt-service-row:hover {
  padding-left: 26px;
  border-color: rgb(168, 57, 75, 0.45);
  background: rgb(168, 57, 75, 0.14);
  color: #fff;
}

.tt-section--ink .tt-service-num {
  color: var(--tt-cyan);
}

.tt-section--ink .tt-service-title {
  padding-right: 34px;
  font-family: var(--tt-sans);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tt-section--ink .tt-service-desc {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  line-height: 1.6;
}

.tt-section--ink .tt-service-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--tt-clay);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .tt-hero-inner {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .tt-section--ink .tt-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  /* backdrop-filter en .tt-nav lo convierte en contenedor de position:fixed:
     el panel del menú quedaba recortado a la altura de la barra. */
  .tt-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .tt-hero {
    min-height: auto;
    padding: 104px 0 84px;
  }

  .tt-hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .tt-hero h1 {
    max-width: 16ch;
  }

  .tt-hero-feature {
    max-width: 340px;
  }

  .tt-nav-panel {
    background: var(--tt-navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .tt-nav-link {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .tt-nav-link:hover,
  .tt-nav-link.is-active,
  .tt-body .tt-nav-link.is-active {
    color: var(--tt-rose);
  }

  .tt-body .tt-nav-link.is-active {
    font-weight: 700;
  }
}

@media (max-width: 767px) {
  .tt-section--ink .tt-service-list {
    grid-template-columns: 1fr;
  }

  .tt-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }
}

@media (max-width: 575px) {
  .tt-hero-feature {
    display: none;
  }

  .tt-hero-dots {
    bottom: 16px;
  }

  .tt-brand img {
    width: 42px;
    height: 42px;
  }

  .tt-brand-word strong {
    font-size: 1.4rem;
  }
}

/* Enlaces del header y del hero: suben especificidad frente a `.tt-body a` */
.tt-body .tt-nav-link {
  color: rgba(255, 255, 255, 0.78);
}

.tt-body .tt-nav-link:hover,
.tt-body .tt-nav-link.is-active {
  color: #fff;
}

.tt-body a.tt-nav-cta {
  color: #fff;
}

.tt-body a.tt-nav-cta:hover {
  color: var(--tt-navy-dark);
}

.tt-body .tt-hero a.tt-text-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.tt-body .tt-hero a.tt-text-link:hover {
  color: var(--tt-clay);
  border-color: var(--tt-clay);
}

/* ==========================================================================
   Cotizador de obras
   ========================================================================== */

.tt-quote-hero-section {
  padding-bottom: clamp(58px, 7vw, 96px);
}

.tt-quote-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: clamp(30px, 5vw, 82px);
  margin-top: clamp(24px, 4vw, 48px);
}

.tt-quote-hero-copy h1 {
  max-width: 15ch;
  margin: 10px 0 0;
  font-size: clamp(2.7rem, 5.4vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.tt-quote-hero-copy h1 em {
  display: block;
  color: var(--tt-rose);
  font-style: normal;
}

.tt-quote-hero-copy > p {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.7;
}

.tt-quote-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.tt-body .tt-quote-hero .tt-btn--solid {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: #fff;
  box-shadow: 0 14px 30px rgb(168, 57, 75, 0.3);
}

.tt-body .tt-quote-hero .tt-btn--solid:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tt-navy-dark);
}

.tt-body .tt-quote-hero .tt-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.tt-body .tt-quote-hero .tt-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.tt-quote-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-quote-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tt-quote-hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tt-cyan);
}

.tt-quote-hero-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tt-quote-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: var(--tt-clay);
}

.tt-quote-hero-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(140, 140, 142, 0.24), transparent 70%);
  pointer-events: none;
}

.tt-quote-hero-card > * {
  position: relative;
  z-index: 1;
}

.tt-quote-hero-card-kicker {
  display: block;
  margin-top: 10px;
  color: var(--tt-cyan);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tt-quote-hero-card strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-family: var(--tt-sans);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.tt-quote-hero-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tt-quote-hero-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tt-quote-hero-steps li > span {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--tt-cyan);
  font-size: 0.55rem;
  font-weight: 800;
}

.tt-quote-hero-steps b {
  display: block;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.tt-quote-hero-steps small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.4;
}

.tt-quote-hero-card-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ----- Página / pasos ----- */

#quoteForm {
  scroll-margin-top: 110px;
}

.quote-page-section {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(64px, 8vw, 110px);
  background:
    radial-gradient(circle at 12% 0%, rgb(140, 140, 142, 0.08), transparent 34%),
    linear-gradient(180deg, #edf2f7 0%, #ffffff 34%, #f6f9fb 100%);
}

.quote-page-section .container {
  max-width: 1180px;
}

.tt-body .wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  border: 0;
}

.tt-body .wizard-step {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid var(--tt-line);
  border-radius: 14px;
  background: #fff;
  color: var(--tt-muted);
  box-shadow: 0 8px 22px rgb(109, 33, 48, 0.04);
  transition: transform 0.25s var(--tt-ease), box-shadow 0.25s, border-color 0.25s, background 0.25s;
}

.tt-body .wizard-step:first-child {
  padding-left: 15px;
  border-left: 1px solid var(--tt-line);
}

.tt-body .wizard-step:hover {
  transform: translateY(-2px);
  border-color: rgb(140, 140, 142, 0.35);
  box-shadow: 0 14px 28px rgb(109, 33, 48, 0.08);
}

.tt-body .wizard-step-num {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 50%;
  background: var(--tt-paper-2);
  color: var(--tt-navy);
  font-family: var(--tt-sans);
  font-size: 0.7rem;
  font-weight: 800;
}

.tt-body .wizard-step-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tt-body .wizard-step.active {
  background: linear-gradient(135deg, var(--tt-navy) 0%, var(--tt-navy-dark) 100%);
  border-color: var(--tt-navy);
  color: #fff;
  box-shadow: 0 16px 34px rgb(109, 33, 48, 0.22);
}

.tt-body .wizard-step.active .wizard-step-num {
  background: var(--tt-clay);
  color: #fff;
}

.tt-body .wizard-step.done {
  border-color: rgb(140, 140, 142, 0.4);
  color: var(--tt-navy);
}

.tt-body .wizard-step.done .wizard-step-num {
  background: var(--tt-cyan);
  color: #fff;
}

/* ----- Tarjetas del formulario ----- */

.tt-body .wizard-card {
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid rgb(32, 28, 27, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgb(109, 33, 48, 0.08);
}

.tt-body .wizard-card h2 {
  margin-bottom: 8px;
  font-family: var(--tt-sans);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--tt-ink);
}

.tt-body .wizard-card-lead {
  max-width: 64ch;
  margin-bottom: 22px;
  color: var(--tt-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.tt-body .wizard-card .form-label {
  margin-bottom: 6px;
  color: var(--tt-navy);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tt-body .wizard-card .form-control,
.tt-body .wizard-card .form-select {
  border: 1px solid var(--tt-line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  background-color: #fff;
  color: var(--tt-ink);
  font-size: 0.88rem;
  box-shadow: none;
}

.tt-body .wizard-card .form-control::placeholder {
  color: #9aa8b3;
}

.tt-body .wizard-card .form-control:focus,
.tt-body .wizard-card .form-select:focus {
  border-color: var(--tt-clay);
  box-shadow: 0 0 0 3px rgb(168, 57, 75, 0.12);
}

.tt-body .wizard-card .form-text {
  color: var(--tt-muted);
  font-size: 0.7rem;
}

/* ----- Tipos de proyecto ----- */

.tt-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.tt-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 44px 16px 15px;
  border: 1px solid var(--tt-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.25s var(--tt-ease), border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.tt-choice:hover {
  transform: translateY(-2px);
  border-color: rgb(168, 57, 75, 0.4);
  box-shadow: 0 12px 26px rgb(109, 33, 48, 0.08);
}

.tt-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tt-choice-num {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tt-paper-2);
  color: var(--tt-navy);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.25s, color 0.25s;
}

.tt-choice-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tt-choice-copy strong {
  color: var(--tt-ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.tt-choice-copy small {
  color: var(--tt-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.tt-choice-check {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--tt-line-strong);
  border-radius: 50%;
  transition: border-color 0.25s, background 0.25s;
}

.tt-choice-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--tt-ease);
}

.tt-choice:has(input:checked) {
  border-color: var(--tt-clay);
  background: linear-gradient(135deg, #ffffff 0%, #faf5f3 100%);
  box-shadow: 0 12px 28px rgb(168, 57, 75, 0.12);
}

.tt-choice:has(input:checked) .tt-choice-num {
  background: var(--tt-clay);
  color: #fff;
}

.tt-choice:has(input:checked) .tt-choice-check {
  border-color: var(--tt-clay);
  background: var(--tt-clay);
}

.tt-choice:has(input:checked) .tt-choice-check::after {
  transform: rotate(45deg) scale(1);
}

.tt-choice input:focus-visible + .tt-choice-num {
  outline: 2px solid var(--tt-clay);
  outline-offset: 2px;
}

.tt-project-type-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--tt-cyan);
  border-radius: 0 12px 12px 0;
  background: var(--tt-paper);
  color: var(--tt-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.tt-project-type-note strong {
  color: var(--tt-navy);
}

/* ----- Acciones ----- */

.tt-body .wizard-actions {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--tt-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgb(109, 33, 48, 0.05);
}

.tt-body .wizard-actions .btn {
  border-radius: 999px;
  font-weight: 800;
}

.tt-body .wizard-actions .btn-clg {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: #fff;
}

.tt-body .wizard-actions .btn-clg:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: #fff;
}

.tt-body .wizard-actions .btn-outline-clg {
  border-color: var(--tt-line-strong);
  color: var(--tt-ink);
}

.tt-body .wizard-actions .btn-outline-clg:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: #fff;
}

/* ----- Resumen lateral ----- */

.tt-body .quote-wizard-side .wizard-summary {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.5vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(160deg, var(--tt-navy) 0%, var(--tt-navy-dark) 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgb(74, 22, 32, 0.24);
}

.tt-body .quote-wizard-side .wizard-summary::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -55px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(168, 57, 75, 0.36), transparent 70%);
  pointer-events: none;
}

.tt-body .quote-wizard-side .wizard-summary > * {
  position: relative;
  z-index: 1;
}

.tt-body .quote-wizard-side .wizard-summary .section-kicker {
  color: var(--tt-cyan);
}

.tt-body .quote-wizard-side .wizard-summary h2 {
  margin: 4px 0 18px;
  color: #fff;
  font-family: var(--tt-sans);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.tt-body .quote-wizard-side .wizard-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tt-body .quote-wizard-side .wizard-summary-row strong {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.tt-body .quote-wizard-side .wizard-summary hr {
  margin: 18px 0;
  border-color: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.tt-body .quote-wizard-side .wizard-summary-note {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.73rem;
  line-height: 1.65;
}

.tt-body .quote-wizard-side .wizard-summary-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tt-body .quote-wizard-side .wizard-summary-steps span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.tt-body .quote-wizard-side .wizard-summary-steps span.active {
  border-color: var(--tt-clay);
  background: var(--tt-clay);
  color: #fff;
  box-shadow: 0 8px 18px rgb(168, 57, 75, 0.28);
}

/* ----- Responsive ----- */

@media (max-width: 991px) {
  .tt-quote-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tt-quote-hero-card {
    max-width: 420px;
  }

  .tt-body .wizard-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Todos los botones rosados con texto blanco (incluye btn-clg de site.css) */
.tt-body .btn-clg,
.tt-body .btn-clg:hover,
.tt-body .btn-astro,
.tt-body .btn-astro:hover,
.admin-body .btn-clg,
.admin-body .btn-clg:hover,
.tt-login-body .btn-astro,
.tt-login-body .btn-astro:hover {
  color: #fff !important;
}

@media (max-width: 767px) {
  .tt-quote-hero-card {
    display: none;
  }

  .tt-quote-hero-copy h1 {
    max-width: 100%;
  }

  .tt-quote-hero-actions .tt-btn {
    width: 100%;
  }

  .tt-body .wizard-step-label {
    display: block;
  }

  .tt-choice-grid {
    grid-template-columns: 1fr;
  }

  .tt-body .wizard-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .tt-body .wizard-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tt-body .wizard-actions .ms-auto {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 0 !important;
  }

  .tt-body .wizard-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Panel de administración — tema Terratec
   ========================================================================== */

.admin-body {
  background:
    radial-gradient(900px 520px at 100% 0%, rgb(140, 140, 142, 0.09), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgb(168, 57, 75, 0.05), transparent 60%),
    #eef3f8;
  color: var(--tt-ink);
  font-family: var(--tt-sans);
}

.admin-body .admin-navbar {
  background: linear-gradient(120deg, #08222e 0%, #4a1620 52%, #6d2130 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgb(32, 28, 27, 0.2);
  padding: 0.55rem 0;
}

.admin-body .admin-navbar .container-xxl {
  gap: 18px;
}

.admin-body .admin-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.admin-body .admin-navbar .brand-logo {
  width: 42px;
  height: 42px;
  padding: 3px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.admin-body .admin-navbar .brand-text strong {
  display: block;
  font-family: var(--tt-sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
  line-height: 1.2;
}

.admin-body .admin-navbar .brand-text small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.admin-body .admin-navbar .navbar-nav {
  gap: 4px;
}

.admin-body .admin-navbar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 0.78rem !important;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--tt-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.admin-body .admin-navbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.admin-body .admin-navbar .nav-link.active {
  background: var(--tt-clay);
  color: #fff;
  box-shadow: 0 8px 20px rgb(168, 57, 75, 0.3);
}

.admin-body .admin-nav-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  opacity: 0.8;
}

.admin-body .admin-navbar .nav-link.active .admin-nav-icon {
  opacity: 1;
}

.admin-body .admin-navbar .badge {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.28em 0.5em;
}

.admin-body .admin-navbar .nav-link.active .badge {
  background: rgba(255, 255, 255, 0.26) !important;
}

.admin-body .admin-navbar .btn-outline-light {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
}

.admin-body .admin-navbar .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.admin-body .admin-navbar .dropdown-menu {
  border: 1px solid var(--tt-line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgb(32, 28, 27, 0.18);
  padding: 6px;
}

.admin-body .admin-navbar .dropdown-item {
  border-radius: 9px;
  font-size: 0.8rem;
  padding: 0.55rem 0.7rem;
}

.admin-body .admin-navbar .dropdown-item:hover {
  background: var(--tt-paper);
  color: var(--tt-navy);
}

.admin-body main.container-xxl {
  max-width: 1280px;
  padding-top: 28px !important;
  padding-bottom: 54px !important;
}

.admin-body main h1,
.admin-body main .h3 {
  color: var(--tt-ink);
  font-family: var(--tt-sans);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.admin-body main h1.h3,
.admin-body main .h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
}

.admin-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.admin-eyebrow {
  display: block;
  color: var(--tt-clay);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.admin-page-head h1 {
  margin: 6px 0 4px;
  color: var(--tt-ink);
  font-family: var(--tt-sans);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.admin-page-head p {
  margin: 0;
  color: var(--tt-muted);
  font-size: 0.85rem;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.admin-body .btn {
  border-radius: 10px;
  font-weight: 700;
}

.admin-body .btn-clg {
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: #fff !important;
  box-shadow: 0 10px 24px rgb(168, 57, 75, 0.22);
}

.admin-body .btn-clg:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: #fff !important;
  box-shadow: 0 12px 26px rgb(109, 33, 48, 0.2);
}

.admin-body .btn-outline-secondary {
  border-radius: 999px;
  border-color: var(--tt-line-strong);
  color: var(--tt-navy);
  padding: 0.62rem 1.1rem;
  background: #fff;
}

.admin-body .btn-outline-secondary:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
  color: #fff;
}

.admin-body .btn-sm {
  border-radius: 9px;
}

/* Tarjetas de indicadores */

.admin-body .stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 142px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgb(109, 33, 48, 0.12);
  transition: transform 0.25s var(--tt-ease), box-shadow 0.25s;
}

.admin-body .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgb(109, 33, 48, 0.17);
}

.admin-body .stat-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -52px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

.admin-body .stat-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.admin-body .stat-icon svg {
  width: 19px;
  height: 19px;
}

.admin-body .stat-value {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-family: var(--tt-sans);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.admin-body .stat-label {
  position: relative;
  z-index: 1;
  max-width: 78%;
  margin-top: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.78);
}

.admin-body .stat-pink,
.admin-body .stat-yellow {
  background: linear-gradient(135deg, #a8394b 0%, #872939 100%);
  color: #fff;
}

.admin-body .stat-navy {
  background: linear-gradient(135deg, #6d2130 0%, #4a1620 100%);
  color: #fff;
}

.admin-body .stat-cyan,
.admin-body .stat-amber {
  background: linear-gradient(135deg, #8c8c8e 0%, #55504d 100%);
  color: #fff;
}

.admin-body .stat-soft,
.admin-body .stat-green {
  border-color: rgb(32, 28, 27, 0.08);
  background: #fff;
  color: var(--tt-ink);
  box-shadow: 0 14px 32px rgb(109, 33, 48, 0.06);
}

.admin-body .stat-soft .stat-label,
.admin-body .stat-green .stat-label {
  color: var(--tt-muted);
}

.admin-body .stat-soft .stat-value,
.admin-body .stat-green .stat-value {
  color: var(--tt-ink);
}

.admin-body .stat-soft .stat-icon,
.admin-body .stat-green .stat-icon {
  background: var(--tt-paper-2);
  color: var(--tt-navy);
}

.admin-body .stat-soft::after,
.admin-body .stat-green::after {
  background: rgb(109, 33, 48, 0.05);
}

.admin-body .stat-yellow .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Tarjetas y listas */

.admin-body .admin-card {
  overflow: hidden;
  border: 1px solid rgb(32, 28, 27, 0.07);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgb(109, 33, 48, 0.06);
}

.admin-body .admin-card > .card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgb(32, 28, 27, 0.07);
  background: #fff;
  color: var(--tt-navy);
  font-family: var(--tt-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.admin-body .admin-card > .card-header .small {
  color: var(--tt-clay);
  font-weight: 700;
  text-decoration: none;
}

.admin-body .admin-card > .card-header .small:hover {
  color: var(--tt-navy);
}

.admin-body .list-group-item {
  border-color: rgb(32, 28, 27, 0.06);
  padding: 0.9rem 1.25rem;
}

.admin-body .list-group-item-action {
  transition: background 0.2s, transform 0.2s;
}

.admin-body .list-group-item-action:hover {
  background: #f6fafc;
}

.admin-body .quote-folio {
  border-radius: 999px;
  background: var(--tt-paper-2);
  color: var(--tt-navy);
  font-family: var(--tt-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.65rem;
}

.admin-body .badge {
  border-radius: 999px;
  padding: 0.38em 0.68em;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.admin-body .admin-thumb {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  box-shadow: 0 6px 14px rgb(109, 33, 48, 0.12);
}

/* Tablas */

.admin-body .admin-card .table {
  margin-bottom: 0;
}

.admin-body .admin-card .table thead th {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--tt-line);
  background: #faf7f5;
  color: var(--tt-muted);
  font-family: var(--tt-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-body .admin-card .table tbody td {
  padding: 0.9rem 1rem;
  border-color: rgb(32, 28, 27, 0.06);
  vertical-align: middle;
}

.admin-body .admin-card .table tbody tr:hover {
  background: #faf7f5;
}

.admin-body .admin-card .table tfoot td {
  background: #faf7f5;
}

/* Formularios */

.admin-body .form-label {
  margin-bottom: 5px;
  color: var(--tt-navy);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-body .form-control,
.admin-body .form-select {
  border: 1px solid var(--tt-line);
  border-radius: 10px;
  padding: 0.62rem 0.8rem;
  color: var(--tt-ink);
  font-size: 0.86rem;
  box-shadow: none;
}

.admin-body .form-control:focus,
.admin-body .form-select:focus {
  border-color: var(--tt-clay);
  box-shadow: 0 0 0 3px rgb(168, 57, 75, 0.1);
}

.admin-body .form-text {
  color: var(--tt-muted);
  font-size: 0.7rem;
}

.admin-body .card-body {
  padding: 1.25rem;
}

/* Footer */

.admin-body .admin-footer {
  border-top: 1px solid var(--tt-line);
  background: transparent;
  color: var(--tt-muted);
  font-size: 0.68rem;
}

.admin-body .admin-footer .btn-link {
  color: var(--tt-clay) !important;
  font-weight: 700;
  text-decoration: none;
}

/* Login */

.tt-login-body {
  background:
    radial-gradient(820px 520px at 86% 8%, rgb(168, 57, 75, 0.22), transparent 62%),
    radial-gradient(620px 420px at 8% 92%, rgb(140, 140, 142, 0.18), transparent 62%),
    linear-gradient(150deg, #071e29 0%, #4a1620 55%, #6d2130 100%);
}

.tt-login-body .login-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  padding: 2.8rem 2.4rem;
}

.tt-login-body .login-logo {
  width: 96px;
  height: 96px;
  padding: 4px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 30px rgb(109, 33, 48, 0.14);
}

.tt-login-body h1 {
  font-family: var(--tt-sans);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.tt-login-body .btn-astro {
  border-radius: 999px;
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: #fff !important;
  box-shadow: 0 12px 26px rgb(168, 57, 75, 0.24);
}

.tt-login-body .btn-astro:hover {
  background: var(--tt-navy);
  border-color: var(--tt-navy);
}

.tt-login-body .form-control {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

/* Guías */

.tt-tour-card {
  border-radius: 18px;
  box-shadow: 0 30px 70px rgb(74, 22, 32, 0.25);
}

.tt-tour-btn {
  border-radius: 999px;
}

@media (max-width: 1199px) {
  .admin-body .admin-navbar .nav-link {
    padding: 0.5rem 0.55rem !important;
    font-size: 0.64rem;
  }

  .admin-body .admin-nav-icon {
    display: none;
  }
}

@media (max-width: 991px) {
  .admin-body .admin-navbar .navbar-collapse {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.16);
  }

  .admin-body .admin-navbar .nav-link {
    border-radius: 9px;
    padding: 0.65rem 0.8rem !important;
    font-size: 0.76rem;
  }

  .admin-body .admin-page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .admin-body .admin-page-actions {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .admin-body main.container-xxl {
    padding-top: 18px !important;
  }

  .admin-page-head h1 {
    font-size: 1.9rem;
  }

  .admin-body .stat-card {
    min-height: 124px;
  }
}

/* Menú móvil: el enlace de la página actual se distingue del resto */
@media (max-width: 991px) {
  body.tt-body #ttMenu .tt-nav-link.is-active {
    color: var(--tt-rose);
    font-weight: 700;
  }

  body.tt-body #ttMenu .tt-nav-link:focus-visible {
    outline: 2px solid var(--tt-rose);
    outline-offset: 4px;
  }
}

/* ==========================================================================
   Scroll expand — marco de medios que se abre a pantalla completa al hacer scroll
   ========================================================================== */

.tt-expand {
  position: relative;
  background: var(--tt-navy-dark);
  /* Altura total: recorrido de expansión + tiempo de permanencia */
  height: 200vh;
}

.tt-expand-pin {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.tt-expand-frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 42%;
  height: 58%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--tt-navy);
  transform: translateZ(0);
  will-change: width, height, border-radius;
}

.tt-expand-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  transform-origin: center;
  will-change: transform;
}

.tt-expand-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(20, 15, 14, 0.5) 0%, rgb(20, 15, 14, 0) 34%),
    linear-gradient(0deg, rgb(20, 15, 14, 0.92) 0%, rgb(20, 15, 14, 0.62) 30%, rgb(20, 15, 14, 0.18) 55%, rgb(20, 15, 14, 0) 72%);
  opacity: 0.34;
  pointer-events: none;
}

.tt-expand-intro,
.tt-expand-outro {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(22px, 4vw, 56px);
  color: #fff;
}

.tt-expand-intro h2 {
  margin: 12px 0 0;
  max-width: 18ch;
  font-family: var(--tt-sans);
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
}

.tt-expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tt-rose);
}

.tt-expand-hint span {
  animation: tt-expand-bounce 1.8s var(--tt-ease) infinite;
}

.tt-expand-outro {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 14px;
  justify-items: start;
  opacity: 0;
  pointer-events: none;
}

.tt-expand-outro p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.tt-expand-outro .tt-btn {
  margin-top: 6px;
}

@keyframes tt-expand-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 767px) {
  .tt-expand {
    height: 180vh;
  }

  .tt-expand-frame {
    width: 82%;
    height: 56%;
    border-radius: 20px;
  }

  .tt-expand-intro h2 {
    max-width: 14ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-expand {
    height: 100vh;
    height: 100svh;
  }

  .tt-expand-frame {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
  }

  .tt-expand-media {
    transform: none !important;
  }

  .tt-expand-intro {
    display: none;
  }

  .tt-expand-outro {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .tt-expand-hint span {
    animation: none;
  }
}

/* Legibilidad del texto sobre la foto del bloque scroll-expand */
.tt-expand .tt-eyebrow {
  color: var(--tt-rose);
  text-shadow: 0 1px 14px rgb(0, 0, 0, 0.6);
}

.tt-expand-intro h2,
.tt-expand-outro p,
.tt-expand-hint {
  text-shadow: 0 2px 24px rgb(0, 0, 0, 0.5);
}

/* ==========================================================================
   Galería de obra — carrusel horizontal con parallax
   ========================================================================== */

.tt-carousel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.tt-carousel-head h2 {
  margin: 0;
  font-family: var(--tt-sans);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.tt-carousel-navs {
  display: flex;
  gap: 10px;
}

.tt-carousel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--tt-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--tt-ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--tt-ease), color 0.25s var(--tt-ease), border-color 0.25s var(--tt-ease);
}

.tt-carousel-nav:hover:not([disabled]) {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
  color: #fff;
}

.tt-carousel-nav[disabled] {
  opacity: 0.35;
  cursor: default;
}

.tt-carousel {
  position: relative;
  overflow: hidden;
  padding: 4px 0 0;
  touch-action: pan-y;
  outline-offset: 6px;
}

.tt-carousel-track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 1.8vw, 26px);
  padding-inline: clamp(20px, 4vw, 72px);
  cursor: grab;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.tt-carousel.is-dragging .tt-carousel-track {
  cursor: grabbing;
}

.tt-carousel-card {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: clamp(230px, 27vw, 340px);
  height: clamp(300px, 36vw, 450px);
  border-radius: 18px;
  overflow: hidden;
  background: var(--tt-paper-3);
  text-decoration: none;
  box-shadow: 0 22px 46px rgb(32, 28, 27, 0.14);
  transform: translateZ(0);
}

.tt-carousel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(20, 15, 14, 0.5) 0%, rgb(20, 15, 14, 0) 46%);
  opacity: 0;
  transition: opacity 0.3s var(--tt-ease);
  pointer-events: none;
}

.tt-carousel-card:hover::after,
.tt-carousel-card:focus-visible::after {
  opacity: 1;
}

.tt-carousel-card img {
  width: 132%;
  height: 100%;
  max-width: none;
  margin-left: -16%;
  object-fit: cover;
  transform: translate3d(var(--tt-parallax, 0px), 0, 0);
  will-change: transform;
  pointer-events: none;
}

.tt-carousel-index {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s var(--tt-ease);
}

.tt-carousel-card:hover .tt-carousel-index,
.tt-carousel-card:focus-visible .tt-carousel-index {
  opacity: 1;
}

.tt-carousel-bar {
  position: relative;
  height: 3px;
  margin: 26px auto 0;
  width: min(320px, 60%);
  border-radius: 999px;
  background: var(--tt-line);
  overflow: hidden;
}

.tt-carousel-bar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--tt-clay);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.tt-carousel-hint {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--tt-muted);
}

.tt-carousel.is-static .tt-carousel-nav,
.tt-carousel.is-static .tt-carousel-bar,
.tt-carousel.is-static .tt-carousel-hint,
[data-carousel-section].is-static .tt-carousel-navs {
  display: none;
}

@media (max-width: 767px) {
  .tt-carousel-card {
    width: 74vw;
    height: 62vh;
    max-height: 470px;
  }

  .tt-carousel-navs {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-carousel-track {
    transition: none;
  }
}

/* La galería de la obra respira distinto: menos aire abajo para unirla con la ficha */
.tt-section--gallery {
  padding-bottom: clamp(18px, 2.6vw, 34px);
}

.tt-section--gallery + .tt-section {
  padding-top: clamp(18px, 2.6vw, 34px);
}

/* Visor de imagen ampliada de la galería */
body.tt-lightbox-open {
  overflow: hidden;
}

.tt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2vw, 26px);
  padding: clamp(14px, 3vw, 40px);
  background: rgb(16, 11, 10, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tt-lightbox.is-open {
  display: flex;
  animation: tt-lightbox-fade 0.25s var(--tt-ease);
}

@keyframes tt-lightbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tt-lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}

.tt-lightbox-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1180px, 92vw);
  max-height: 82vh;
  border-radius: 10px;
  background: #1b1412;
  box-shadow: 0 34px 90px rgb(0, 0, 0, 0.55);
}

.tt-lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tt-lightbox-close {
  position: absolute;
  top: clamp(12px, 2vw, 22px);
  right: clamp(12px, 2vw, 22px);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--tt-ease);
}

.tt-lightbox-close:hover {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
}

.tt-lightbox-close:focus-visible,
.tt-lightbox-nav:focus-visible {
  outline: 2px solid var(--tt-rose);
  outline-offset: 3px;
}

.tt-lightbox-nav {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--tt-ease);
}

.tt-lightbox-nav:hover {
  background: var(--tt-clay);
  border-color: var(--tt-clay);
}

.tt-lightbox-nav[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .tt-lightbox {
    padding: 56px 10px 18px;
  }

  .tt-lightbox-figure img {
    max-height: 76vh;
  }

  .tt-lightbox-nav {
    display: none;
  }
}
