@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 560 680;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #263238;
  --muted: #3e4e56;
  --teal: #00838f;
  --deep: #005e66;
  --mist: #e1f5fe;
  --paper: #f3efe7;
  --card: #fffdf8;
  --brass: #8d6b34;
  --line: rgba(38, 50, 56, 0.14);
  --danger: #8e2f2f;
  --ok: #1d6b45;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --header: 4.4rem;
  --banner: 0px;
  --shadow: 0 16px 40px rgba(38, 50, 56, 0.08);
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--deep); }

a:hover { color: #01383d; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.9rem, 8vw, 4.4rem); margin: 0 0 0.8rem; overflow-wrap: break-word; }

h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: 0 0 0.7rem; }

h3 { font-size: 1.45rem; margin: 0 0 0.4rem; }

p { margin: 0 0 0.9rem; }

:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}

::selection { background: #b7e3ea; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.te-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--card);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 80;
}

.te-skip:focus { top: 0.6rem; }

.te-wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.te-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 231, 0.94);
  border-bottom: 1px solid var(--line);
}

.te-header__in {
  width: min(var(--wrap), calc(100% - 1.5rem));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.te-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.te-logo img { width: 44px; height: 44px; }

.te-logo__name {
  display: block;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.te-logo__sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep);
  font-weight: 600;
}

.te-nav-toggle {
  min-height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0 0.9rem;
  font: inherit;
  font-weight: 600;
}

.te-nav { display: none; }

.te-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
  box-shadow: var(--shadow);
}

.te-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.te-nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0.75rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-weight: 560;
}

.te-nav a[aria-current="page"] { color: var(--deep); }

.te-header__cta { display: none; }

.te-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  gap: 0.4rem;
}

.te-btn--solid { background: var(--deep); color: #fff; }

.te-btn--solid:hover { background: #01484f; color: #fff; }

.te-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.te-btn--ghost:hover { background: var(--ink); color: #fff; }

.te-btn--light { background: var(--mist); color: var(--deep); }

.te-btn--light:hover { background: #fff; color: var(--deep); }

.te-hero {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 1.2rem auto 0;
  display: grid;
  gap: 1.2rem;
}

.te-kicker {
  margin: 0 0 0.7rem;
  color: var(--deep);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.te-lead { font-size: 1.15rem; max-width: 38rem; color: var(--muted); }

.te-hero__actions, .te-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.te-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.te-figure { margin: 0; }

.te-figure img {
  width: 100%;
  border-radius: 1.4rem 0.35rem 1.4rem 0.35rem;
  object-fit: cover;
  background: var(--mist);
}

.te-figure figcaption,
.te-cap {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.te-ticket {
  background: var(--card);
  border: 1px dashed var(--deep);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1rem;
  position: relative;
}

.te-ticket::before,
.te-ticket::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  left: -9px;
}

.te-ticket::before { top: 22px; }
.te-ticket::after { bottom: 22px; }

.te-ticket strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 640; }

.te-ticket p { margin: 0.35rem 0; }

.te-section { padding: 3.2rem 0; }

.te-section--mist { background: var(--mist); }

.te-section--ink { background: var(--ink); color: #f7f4ef; }

.te-section--ink a { color: var(--mist); }

.te-section__head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
  max-width: 40rem;
}

.te-tarifa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.8rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.te-tarifa > a { min-width: 0; color: inherit; text-decoration: none; }

.te-tarifa__name { display: block; font-weight: 650; }

.te-tarifa__meta {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.te-section--ink .te-tarifa__meta { color: #d5e6ea; }

.te-tarifa__price {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 640;
  color: var(--deep);
  text-align: right;
}

.te-section--ink .te-tarifa__price { color: #fff; }

.te-tarifa:hover .te-tarifa__name { color: var(--deep); }

.te-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--deep);
}

.te-steps li {
  padding: 0 0 1.3rem 1rem;
  position: relative;
}

.te-steps li::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--deep);
  position: absolute;
  left: -7px;
  top: 0.35rem;
}

.te-steps span {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.te-split {
  display: grid;
  gap: 1.3rem;
}

.te-note {
  background: #fff8e8;
  border-left: 4px solid var(--brass);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}

.te-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.te-chip {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--deep);
  background: transparent;
  color: var(--deep);
  font: inherit;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.te-chip[aria-pressed="true"],
.te-chip.is-on { background: var(--deep); color: #fff; }

.te-search {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0 1rem;
  font: inherit;
  color: var(--ink);
}

.te-filters { display: grid; gap: 0.8rem; margin-bottom: 1rem; }

.te-empty {
  padding: 1rem;
  background: var(--card);
  border-radius: 1rem;
}

.te-band {
  display: grid;
  gap: 0.8rem;
  background: var(--deep);
  color: #fff;
  border-radius: 1.4rem;
  padding: 1.3rem;
}

.te-band a { color: #fff; }

.te-band h2 { color: #fff; }

.te-year {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.85;
  margin: 0;
  color: var(--deep);
}

.te-year span { display: block; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--sans); color: var(--muted); margin-bottom: 0.4rem; }

.te-feature {
  display: grid;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.te-feature h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

.te-stack { display: grid; gap: 1.2rem; }

.te-mini {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.te-mini img { width: 108px; height: 80px; object-fit: cover; border-radius: 0.7rem; }

.te-crumbs {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1rem 0;
}

.te-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; }

.te-crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--brass); }

.te-prose { max-width: 44rem; }

.te-prose h2 { margin-top: 1.6rem; }

.te-pricebox {
  background: var(--card);
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.te-pricebox b {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 650;
  color: var(--deep);
  line-height: 1;
}

.te-table { width: 100%; border-collapse: collapse; background: var(--card); }

.te-table th, .te-table td {
  text-align: left;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.te-table th { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }

.te-gallery {
  display: grid;
  gap: 0.8rem;
}

.te-gallery button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
  font: inherit;
}

.te-gallery img { width: 100%; border-radius: 1rem; aspect-ratio: 4 / 3; object-fit: cover; }

.te-gallery figure:first-child img { aspect-ratio: 16 / 10; }

.te-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}

.te-faq summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }

.te-form, .te-quote { display: grid; gap: 0.85rem; }

.te-field { display: grid; gap: 0.3rem; }

.te-field label { font-weight: 650; }

.te-field input, .te-field textarea, .te-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9c2b6;
  border-radius: 0.8rem;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.te-field textarea { min-height: 140px; resize: vertical; }

.te-field.is-invalid input,
.te-field.is-invalid textarea { border-color: var(--danger); }

.te-err { color: var(--danger); font-size: 0.9rem; min-height: 1.1em; }

.te-check { display: flex; gap: 0.6rem; align-items: flex-start; }

.te-check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; }

.te-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.te-status {
  background: var(--card);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
}

.te-status.is-ok { border-color: var(--ok); }

.te-status.is-bad { border-color: var(--danger); }

.te-quote__row {
  display: grid;
  grid-template-columns: auto 1fr 4.5rem;
  gap: 0.6rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.te-total {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 0.4rem 0;
}

body:has(.te-banner:not([hidden])) { --banner: 9rem; }

.te-footer {
  background: var(--ink);
  color: #f3efe7;
  padding: 2.5rem 0 calc(7rem + var(--banner));
}

.te-footer h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.te-footer a { color: var(--mist); text-decoration: none; }

.te-footer a:hover { text-decoration: underline; }

.te-footer__grid { display: grid; gap: 1.4rem; }

.te-footer .te-logo { color: #fff; }
.te-footer .te-logo__sub { color: var(--mist); }

.te-footer ul { list-style: none; margin: 0; padding: 0; }

.te-footer li { margin: 0.3rem 0; }

.te-legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.92rem;
  color: #d5e0e4;
}

.te-dock {
  position: fixed;
  z-index: 35;
  left: 0.75rem;
  bottom: calc(0.75rem + var(--banner));
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.te-dock a {
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.te-dock__wa { background: #127a56; color: #fff; }
.te-dock__tel { background: var(--card); color: var(--ink); }
.te-dock svg { width: 22px; height: 22px; display: block; }

body.te-chat-open .te-dock { visibility: hidden; }

.te-chat-launcher {
  position: fixed;
  z-index: 36;
  right: 0.75rem;
  bottom: calc(0.75rem + var(--banner));
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0 1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.te-chat {
  position: fixed;
  z-index: 37;
  right: 0.75rem;
  bottom: calc(4.4rem + var(--banner));
  width: min(400px, calc(100vw - 1.5rem));
  max-height: min(70vh, 560px);
  background: var(--card);
  color: var(--ink);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}

.te-chat.is-open { display: flex; }

.te-chat__head {
  background: var(--deep);
  color: #fff;
  padding: 0.8rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.te-chat__head p { margin: 0; font-size: 0.82rem; color: var(--mist); }

.te-chat__head button, .te-chat__tools button {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  min-height: 36px;
  font: inherit;
  padding: 0 0.6rem;
  cursor: pointer;
}

.te-chat__log {
  padding: 0.8rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.te-bubble {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.9rem;
  max-width: 95%;
}

.te-bubble--bot { background: var(--mist); }

.te-bubble--user { background: #efe7da; align-self: flex-end; }

.te-bubble a { font-weight: 700; }

.te-quick { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0 0.8rem 0.5rem; }

.te-quick button {
  border: 1px solid var(--deep);
  background: #fff;
  color: var(--deep);
  border-radius: 999px;
  min-height: 36px;
  font: inherit;
  padding: 0.2rem 0.65rem;
  cursor: pointer;
}

.te-chat__form {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid var(--line);
}

.te-chat__form input {
  flex: 1;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #c9c2b6;
  padding: 0 0.8rem;
  font: inherit;
}

.te-chat__form button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0 0.85rem;
  cursor: pointer;
}

.te-banner {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffdf8;
  border-top: 1px solid var(--line);
  padding: 0.8rem 1rem;
  box-shadow: 0 -8px 24px rgba(38, 50, 56, 0.08);
}

.te-banner[hidden] { display: none; }

.te-banner__in {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.te-banner p { margin: 0; font-size: 0.95rem; }

.te-banner__actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.te-lightbox {
  border: 0;
  padding: 0;
  width: min(960px, calc(100vw - 1.5rem));
  background: transparent;
  color: #fff;
}

.te-lightbox::backdrop { background: rgba(38, 50, 56, 0.86); }

.te-lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: #111; border-radius: 0.6rem; }

.te-lightbox figcaption { color: #fff; margin-top: 0.4rem; }

.te-lightbox__bar { display: flex; gap: 0.4rem; justify-content: flex-end; margin-bottom: 0.4rem; }

.te-lightbox__bar button {
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 0.8rem;
  cursor: pointer;
}

.te-related { display: grid; gap: 0.4rem; }

.te-related a { text-decoration: none; font-weight: 650; }

@media (min-width: 760px) {
  .te-split { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .te-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .te-gallery { grid-template-columns: 1.4fr 1fr; }
  .te-gallery figure:first-child { grid-row: span 2; }
  .te-gallery figure:first-child img { height: 100%; aspect-ratio: auto; min-height: 420px; }
  .te-bloghome { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1.4rem; align-items: start; }
  .te-contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.5rem; align-items: start; }
  .te-banner__in { grid-template-columns: 1fr auto; align-items: center; }
}

main { padding-bottom: calc(var(--banner) + 1.25rem); }

body:has(.te-banner:not([hidden])) .te-dock,
body:has(.te-banner:not([hidden])) .te-chat-launcher { display: none; }

@media (min-width: 760px) {
  .te-dock { display: none; }
}

@media (min-width: 980px) {
  .te-nav-toggle { display: none; }
  .te-nav { display: block; position: static; background: transparent; border: 0; padding: 0; box-shadow: none; }
  .te-nav__list { display: flex; gap: 0.2rem; }
  .te-nav a { border: 0; padding: 0.4rem 0.55rem; }
  .te-header__cta { display: flex; gap: 0.4rem; }
  .te-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .te-steps { grid-template-columns: repeat(4, 1fr); border-left: 0; border-top: 2px solid var(--deep); }
  .te-steps li { padding: 1rem 0.8rem 0 0; }
  .te-steps li::before { left: 0; top: -7px; }
}

@media (max-width: 759px) {
  .te-dock__tel span, .te-dock__wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .te-dock a { width: 48px; padding: 0; }
}
