:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-800: #92400e;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 80px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-900);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.container-sm {
  max-width: 768px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
}

.brand svg {
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
}

.nav a:hover {
  color: var(--teal-700);
}

@media (max-width: 767px) {
  [id] {
    scroll-margin-top: 110px;
  }

  .header-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
}

.hero {
  background: linear-gradient(to bottom, var(--teal-50), #fff);
  border-bottom: 1px solid var(--slate-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.pill {
  display: inline-block;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 42px;
  }
}

.hero p {
  font-size: 18px;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--teal-700);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border: 1px solid var(--teal-700);
  transition: background 0.15s;
}

.btn:hover {
  background: var(--teal-800);
}

.btn-outline {
  background: #fff;
  color: var(--teal-700);
}

.btn-outline:hover {
  background: var(--teal-50);
}

.hero-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--slate-100);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  background: var(--teal-800);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.stats span {
  display: block;
  font-size: 14px;
  color: var(--teal-100);
  margin-top: 6px;
  line-height: 1.4;
}

.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 32px;
  }
}

.section-lead {
  color: var(--slate-600);
  font-size: 17px;
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 40px;
}

.rooms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .rooms {
    grid-template-columns: 1fr 1fr;
  }
}

.room {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.room-img {
  height: 200px;
  background: var(--slate-100);
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-body {
  padding: 24px;
}

.room h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tips {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tips li {
  position: relative;
  padding-left: 28px;
  color: var(--slate-700);
  line-height: 1.6;
}

.tips li + li {
  margin-top: 14px;
}

.tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f766e'%3E%3Cpath d='M8.1 13.3 4.8 10l-1.1 1.1 4.4 4.4 8.2-8.2-1.1-1.1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.tips strong {
  color: var(--slate-900);
}

.save {
  display: inline-block;
  margin-left: 4px;
  border-radius: 6px;
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 12px;
  font-weight: 600;
  padding: 1px 8px;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}

th {
  background: var(--slate-50);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

tr:last-child td {
  border-bottom: 0;
}

td.num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .table-wrap {
    border: 0;
    background: none;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
  }

  tr {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    background: #fff;
    padding: 8px 16px;
  }

  tr + tr {
    margin-top: 12px;
  }

  td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    text-align: right;
  }

  td::before {
    content: attr(data-label);
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-500);
    text-align: left;
    flex-shrink: 0;
  }

  td:first-child {
    font-size: 17px;
    padding-top: 10px;
  }

  td:first-child::before {
    content: none;
  }

  tr:last-child td {
    border-bottom: 1px solid var(--slate-200);
  }

  tr td:last-child {
    border-bottom: 0;
  }

  td.num {
    white-space: normal;
  }
}

td.good {
  color: var(--teal-700);
  font-weight: 700;
}

.note {
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 12px;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-700);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step ol {
  margin: 0;
  padding-left: 20px;
  color: var(--slate-700);
  line-height: 1.6;
}

.step li + li {
  margin-top: 6px;
}

.callout {
  margin-top: 24px;
  border: 1px solid var(--amber-200);
  background: var(--amber-50);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--slate-700);
  line-height: 1.65;
}

.callout strong {
  color: var(--amber-800);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.box {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
}

.box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.calc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .calc {
    grid-template-columns: 1fr 1fr;
  }
}

.field + .field {
  margin-top: 18px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field small {
  display: block;
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 4px;
}

.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--slate-900);
  padding: 10px 12px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  background: #fff;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--teal-600);
  outline-offset: 1px;
  border-color: var(--teal-600);
}

.result {
  position: sticky;
  top: 96px;
}

.result-total {
  font-size: 40px;
  font-weight: 800;
  color: var(--teal-700);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.result-sub {
  color: var(--slate-600);
  margin-top: 6px;
  line-height: 1.6;
}

.bars {
  margin-top: 24px;
}

.bar + .bar {
  margin-top: 14px;
}

.bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--slate-100);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--teal-600);
  width: 0;
  transition: width 0.3s;
}

.verdict {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  background: var(--teal-50);
  color: var(--teal-800);
  line-height: 1.6;
  font-size: 15px;
}

.verdict.warn {
  background: var(--amber-50);
  color: var(--amber-800);
}

.prose {
  color: var(--slate-700);
  line-height: 1.75;
}

.prose p + p {
  margin-top: 16px;
}

.prose h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  margin: 20px 0 6px;
}

.prose a {
  color: var(--teal-700);
  font-weight: 500;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-grid .section-title {
  font-size: 24px;
}

.info-grid .prose p {
  font-size: 15px;
}

.updated {
  font-size: 13px;
  color: var(--slate-500);
}


.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 32px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-grid .brand {
  color: #fff;
  margin-bottom: 12px;
}

.footer-grid p {
  font-size: 14px;
  line-height: 1.65;
}

.footer-grid h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.footer-grid li + li {
  margin-top: 8px;
}

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

.footer-bottom {
  border-top: 1px solid var(--slate-700);
  padding-top: 20px;
  padding-bottom: 32px;
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Páginas internas */

.nav a.active {
  color: var(--teal-700);
}

.page-hero {
  background: linear-gradient(to bottom, var(--teal-50), #fff);
  border-bottom: 1px solid var(--slate-200);
  padding-top: 48px;
  padding-bottom: 40px;
}

.page-hero h1 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 40px;
  }
}

.page-hero p {
  font-size: 17px;
  color: var(--slate-600);
  line-height: 1.65;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 36px 0 10px;
  line-height: 1.3;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose ul + p,
.prose p + ul {
  margin-top: 16px;
}

.contact-card {
  margin-top: 28px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
  padding: 24px;
}

.contact-card h2 {
  margin-top: 0;
}

.contact-email {
  display: inline-block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-700);
  word-break: break-all;
}

.not-found {
  text-align: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.not-found strong {
  display: block;
  font-size: 72px;
  font-weight: 800;
  color: var(--teal-700);
  line-height: 1;
  margin-bottom: 16px;
}

.not-found p {
  color: var(--slate-600);
  font-size: 17px;
  margin: 12px 0 28px;
}