/*
Theme Name: Mandato Consultores
Theme URI: https://mandatoconsultores.cl
Author: Mandato Consultores
Description: Tema oficial de Mandato Consultores. Version mobile-first para estudio tecnico-legal especializado en contratos de obra publica en Chile.
Version: 2.1.7-mobile-first
License: Privado
Tags: one-page, business, customizer, legal, mobile-first
Text Domain: mandato-consultores
*/

:root {
  --green: #1F3A2E;
  --green-soft: #2A4A3C;
  --copper: #D1A33A;
  --copper-soft: #F0C86C;
  --sand: #EDE7DA;
  --sand-light: #F7F4EC;
  --coal: #3A4A52;
  --text: #2C2C2A;
  --muted: #6B7280;
  --line: #E0DCD2;
  --white: #FFFFFF;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
canvas {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--copper);
  text-decoration: none;
}

a:hover {
  opacity: .78;
}

button,
input,
select,
textarea {
  font: inherit;
}

.serif,
h1,
h2,
h3 {
  font-family: 'Lora', Georgia, serif;
}

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

h1,
h2,
h3 {
  color: var(--green);
  font-weight: 500;
  line-height: 1.14;
}

h1 {
  font-size: clamp(32px, 9.6vw, 54px);
}

h2 {
  font-size: clamp(28px, 8vw, 42px);
}

h3 {
  font-size: 21px;
  line-height: 1.28;
}

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

.container {
  width: min(100% - 36px, 1180px);
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.9px;
  line-height: 1.35;
  text-transform: uppercase;
}

.lead {
  margin-top: 16px;
  color: var(--coal);
  font-size: 17px;
  line-height: 1.62;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 68px 0;
}

.section-sand {
  background: var(--sand-light);
}

.section-green {
  background: var(--green);
  color: var(--white);
}

.section-green h2,
.section-green h3 {
  color: var(--white);
}

.section-green p {
  color: rgba(255, 255, 255, .86);
}

/* Navigation */
nav.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 10px 0;
  border-bottom: 1px solid rgba(196, 155, 63, .22);
  background: rgba(20, 33, 25, .96);
  backdrop-filter: blur(10px);
}

nav.topbar.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, .26);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--white);
}

.brand-mark:hover {
  opacity: 1;
}

.brand-mark .mono {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: var(--copper);
}

.brand-mark .mono::before {
  content: 'MC';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  font-weight: 650;
}

.brand-mark .mono::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--green-soft);
}

.brand-mark .name {
  min-width: 0;
  color: var(--white);
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark .name span {
  display: block;
  margin-top: 2px;
  color: var(--copper);
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 3px;
}

.topbar .links {
  display: none;
}

.hamburger {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform .22s ease, opacity .22s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 82px 22px 30px;
  background: rgba(20, 33, 25, .985);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  width: 100%;
  padding: 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--white);
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(23px, 8vw, 34px);
  text-align: center;
}

.mobile-menu a.mobile-cta {
  width: fit-content;
  margin: 24px auto 0;
  padding: 14px 24px;
  border: 0;
  background: var(--copper);
  color: var(--green) !important;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.btn-cta,
.btn-primary,
.btn-ghost {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.4px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.btn-cta,
.btn-primary {
  background: var(--copper);
  color: var(--green) !important;
}

.btn-cta:hover,
.btn-primary:hover {
  background: var(--copper-soft);
  opacity: 1;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .34);
  color: var(--white) !important;
}

.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper) !important;
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 98px 0 46px;
  background-color: var(--green);
  background-image:
    linear-gradient(180deg, rgba(14, 28, 20, .96), rgba(31, 58, 46, .9)),
    linear-gradient(90deg, rgba(196, 155, 63, .16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(196, 155, 63, .10) 1px, transparent 1px);
  background-position: center;
  background-size: cover, 72px 72px, 72px 72px;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--copper);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 210px);
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 940px;
  margin-top: 10px;
  color: var(--white);
}

.hero .promise {
  max-width: 720px;
  margin-top: 18px;
  color: var(--copper-soft);
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.5;
}

.hero .actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero-stats .stat {
  min-width: 0;
}

.hero-stats .num {
  display: block;
  color: var(--copper);
  font-family: 'Lora', Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.hero-stats .lbl {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  line-height: 1.35;
}

/* Gallery */
.obras-gallery {
  overflow: hidden;
  background: var(--green);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 190px;
}

.gallery-item {
  position: relative;
  display: grid;
  padding: 28px 18px;
  align-content: end;
  min-height: 190px;
  overflow: hidden;
  border-right: 1px solid rgba(196, 155, 63, .16);
  border-bottom: 1px solid rgba(196, 155, 63, .16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)),
    radial-gradient(circle at 86% 14%, rgba(196, 155, 63, .18), transparent 34%),
    var(--green);
}

.gallery-item:nth-child(n + 3) {
  display: none;
}

.gallery-tag {
  position: absolute;
  inset: 14px auto auto 14px;
  z-index: 2;
  width: 30px;
  height: 3px;
  background: var(--copper);
}

.gallery-number {
  position: absolute;
  inset: 28px 18px auto auto;
  color: rgba(240, 200, 108, .42);
  font-family: 'Lora', Georgia, serif;
  font-size: 56px;
  line-height: 1;
}

.gallery-caption {
  position: relative;
  z-index: 2;
  padding: 0;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
}

.gallery-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(196, 155, 63, .18);
  background: var(--green-soft);
  text-align: center;
}

.gallery-footer span {
  color: var(--copper);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Layout blocks */
.col-eyebrow {
  max-width: 760px;
}

.grid-3,
.two-col,
.contact-grid,
.mod-grid-nuevo,
.tl-horiz-grid,
footer .ft-top,
.news-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.grid-3,
.two-col,
.timeline,
.mod-grid-nuevo,
.timeline-horiz,
.contact-grid,
.news-wrap {
  margin-top: 34px;
}

.tension-card,
.mod-nuevo,
.news-featured,
.news-item {
  background: var(--white);
}

.tension-card {
  padding: 26px 22px;
  border-top: 3px solid var(--copper);
}

.tension-card .n {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-family: 'Lora', Georgia, serif;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 3px;
}

.tension-card h3 {
  margin-bottom: 10px;
}

.tension-card p {
  color: var(--coal);
  font-size: 15px;
}

.quote {
  margin: 34px 0;
  padding: 22px 22px 22px 24px;
  border-left: 3px solid var(--copper);
  background: rgba(237, 231, 218, .58);
  color: var(--green);
  font-family: 'Lora', Georgia, serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.52;
}

.section-green .quote {
  background: rgba(255, 255, 255, .07);
  color: var(--copper-soft);
}

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

.two-col li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.two-col li::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--copper);
}

.section-green .two-col li {
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .86);
}

.diferenciador-banner {
  position: relative;
  min-height: 260px;
  margin-top: 34px;
  overflow: hidden;
}

.diferenciador-banner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: brightness(.45) saturate(.76);
}

.diferenciador-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(31, 58, 46, .28), rgba(14, 28, 20, .82));
}

.diferenciador-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 24px 18px;
}

.diferenciador-banner blockquote {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--copper);
  color: var(--white);
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
}

.diferenciador-banner cite {
  display: block;
  margin-top: 12px;
  color: var(--copper-soft);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

/* Services timeline */
.tl-row {
  display: grid;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.tl-row:last-child {
  border-bottom: 0;
}

.tl-row .num {
  color: var(--copper);
  font-family: 'Lora', Georgia, serif;
  font-size: 36px;
  line-height: 1;
}

.tl-row h3 {
  margin-bottom: 8px;
}

.tl-row .desc {
  color: var(--coal);
  font-size: 15px;
}

.tl-row .services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.tl-row .services span {
  display: inline-flex;
  align-items: center;
}

.tl-row .services span:not(:last-child)::after {
  content: '';
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--copper);
}

/* Commercial cards */
.mod-nuevo {
  position: relative;
  overflow: hidden;
  padding: 30px 22px;
  border: 1px solid var(--line);
}

.mod-nuevo::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--copper);
}

.mod-destacado {
  background: var(--green);
  border-color: var(--green);
}

.mod-bg-num {
  position: absolute;
  top: 8px;
  right: 16px;
  color: var(--copper);
  font-family: 'Lora', Georgia, serif;
  font-size: 70px;
  line-height: 1;
  opacity: .12;
}

.mod-destacado .mod-bg-num {
  color: var(--white);
}

.mod-nuevo-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--copper);
}

.mod-nuevo-title {
  margin-bottom: 6px;
  color: var(--green);
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  line-height: 1.22;
}

.mod-destacado .mod-nuevo-title {
  color: var(--white);
}

.mod-nuevo-badge {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mod-destacado .mod-nuevo-badge {
  color: var(--copper-soft);
}

.mod-nuevo-price {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--copper);
  font-family: 'Lora', Georgia, serif;
  font-size: 29px;
  line-height: 1;
}

.mod-destacado .mod-nuevo-price {
  border-color: rgba(255, 255, 255, .14);
}

.mod-nuevo-unit {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.mod-destacado .mod-nuevo-unit {
  color: rgba(255, 255, 255, .58);
}

.mod-nuevo-desc {
  margin-top: 16px;
  color: var(--coal);
  font-size: 14px;
}

.mod-destacado .mod-nuevo-desc {
  color: rgba(255, 255, 255, .82);
}

/* Horizontal process */
.timeline-horiz {
  position: relative;
}

.tl-connector {
  display: none;
}

.tl-hstep {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px 14px;
  align-items: start;
}

.tl-hstep h3,
.tl-hstep p {
  grid-column: 1 / -1;
}

.tl-circle {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--copper);
  border-radius: 50%;
  background: var(--sand-light);
  color: var(--copper);
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
}

.tl-step-time {
  display: block;
  align-self: center;
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tl-hstep p {
  margin-top: 0;
  color: var(--coal);
  font-size: 14px;
}

/* Photo and blueprint bands */
.photo-divider {
  position: relative;
  height: 160px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 20, 14, .98), rgba(24, 52, 40, .96)),
    linear-gradient(90deg, rgba(240, 200, 108, .32) 1px, transparent 1px),
    linear-gradient(0deg, rgba(240, 200, 108, .22) 1px, transparent 1px);
  background-size: cover, 54px 54px, 54px 54px;
}

.photo-divider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.05) brightness(.68);
}

.photo-divider.has-photo .photo-divider-overlay {
  background:
    linear-gradient(90deg, rgba(14, 28, 20, .76), rgba(14, 28, 20, .36)),
    linear-gradient(0deg, rgba(14, 28, 20, .38), rgba(14, 28, 20, .12));
}

.document-pattern {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 18px;
  opacity: 1;
}

.document-pattern span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 200, 108, .55);
  background: rgba(255, 255, 255, .035);
  color: rgba(240, 200, 108, .95);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.photo-divider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 58, 46, .05), rgba(14, 28, 20, .20));
  pointer-events: none;
}

.plano-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(240, 200, 108, .34);
  border-bottom: 1px solid rgba(240, 200, 108, .34);
  background: #07130d;
}

#blueprintCanvas {
  display: block;
  width: 100%;
  height: 230px;
}

.plano-band-caption {
  display: block;
  padding: 12px 22px 14px;
  border-top: 1px solid rgba(196, 155, 63, .22);
  background: #07130d;
  color: rgba(240, 200, 108, .98);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.6px;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

/* Contact */
.contact-info p {
  color: rgba(255, 255, 255, .86);
}

.contact-info .info-block {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.contact-info .info-block:last-child {
  border-bottom: 0;
}

.info-label {
  display: block;
  margin-bottom: 6px;
  color: var(--copper);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.info-value,
.info-value a {
  color: var(--white);
}

.contact-form form {
  display: grid;
  gap: 16px;
}

.form-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--copper);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

.form-notice-error {
  border-left-color: #d96b5f;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--copper);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(196, 155, 63, .35);
  outline-offset: 2px;
}

.contact-form select option {
  color: var(--text);
}

.contact-form button {
  min-height: 50px;
  border: 0;
  background: var(--copper);
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* News */
.news-header {
  display: grid;
  gap: 14px;
}

.news-ver-todas,
.news-leer {
  color: var(--copper);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.news-wrap {
  border-top: 1px solid var(--line);
}

.news-featured {
  padding-top: 26px;
}

.news-featured-img {
  height: 210px;
  margin-bottom: 22px;
  overflow: hidden;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.82) saturate(.85);
}

.news-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 8px;
  background: var(--copper);
  color: var(--white);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.news-date {
  color: var(--muted);
  font-size: 12px;
}

.news-featured h3,
.news-item h3 {
  margin-top: 12px;
  color: var(--green);
}

.news-resumen {
  margin-top: 10px;
  color: var(--coal);
  font-size: 14px;
}

.news-leer {
  display: inline-flex;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
}

.news-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

/* Footer and posts */
footer.site {
  padding: 50px 0 28px;
  border-top: 1px solid rgba(196, 155, 63, .2);
  background: #142119;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}

footer .ft-top {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

footer h4 {
  margin-bottom: 12px;
  color: var(--copper);
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

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

footer li {
  padding: 5px 0;
}

footer a {
  color: rgba(255, 255, 255, .68);
}

footer .legal {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  text-align: center;
}

.post-content {
  width: min(100% - 36px, 800px);
  margin-inline: auto;
  padding: 104px 0 68px;
}

.post-content h1 {
  margin-bottom: 20px;
}

.post-meta {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.post-body {
  font-size: 17px;
  line-height: 1.72;
}

.post-body p {
  margin-bottom: 22px;
}

.post-body h2,
.post-body h3 {
  margin: 34px 0 14px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Motion */
.reveal,
.reveal-group > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  .reveal-group > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
  }

  .reveal-group.visible > * {
    opacity: 1;
    transform: none;
  }

  .reveal-group.visible > *:nth-child(2) { transition-delay: .06s; }
  .reveal-group.visible > *:nth-child(3) { transition-delay: .12s; }
  .reveal-group.visible > *:nth-child(4) { transition-delay: .18s; }
  .reveal-group.visible > *:nth-child(5) { transition-delay: .24s; }
}

.admin-bar nav.topbar {
  top: 46px;
}

.admin-bar .mobile-menu {
  padding-top: 118px;
}

/* Tablet */
@media (min-width: 720px) {
  .container {
    width: min(100% - 56px, 1180px);
  }

  .section {
    padding: 86px 0;
  }

  .hero {
    padding-top: 132px;
  }

  .hero .actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }

  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(3) {
    display: block;
  }

  .grid-3,
  .mod-grid-nuevo,
  .tl-horiz-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .contact-grid,
  footer .ft-top,
  .news-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .tl-row {
    grid-template-columns: 86px 1fr;
    gap: 24px;
  }

  .news-wrap {
    gap: 34px;
  }

  .news-list {
    border-left: 1px solid var(--line);
    padding-left: 34px;
  }

  .tl-hstep {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .tl-hstep p {
    max-width: 240px;
  }

  footer .legal {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .admin-bar nav.topbar {
    top: 32px;
  }
}

/* Desktop */
@media (min-width: 960px) {
  h1 {
    font-size: clamp(52px, 5.2vw, 68px);
  }

  .section {
    padding: 104px 0;
  }

  nav.topbar {
    padding: 14px 0;
  }

  nav.topbar.scrolled {
    padding: 10px 0;
  }

  .hamburger,
  .mobile-menu {
    display: none;
  }

  .topbar .links {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .topbar .links a {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
  }

  .topbar .links a:hover {
    color: var(--copper);
    opacity: 1;
  }

  .hero {
    min-height: 760px;
    padding: 170px 0 110px;
    background-image:
      linear-gradient(135deg, rgba(14, 28, 20, .97), rgba(31, 58, 46, .9) 60%, rgba(31, 58, 46, .82)),
      linear-gradient(90deg, rgba(196, 155, 63, .16) 1px, transparent 1px),
      linear-gradient(0deg, rgba(196, 155, 63, .10) 1px, transparent 1px);
  }

  .hero .container {
    min-height: 480px;
  }

  .hero .promise {
    font-size: 22px;
  }

  .hero-stats {
    margin-top: 84px;
    padding-top: 42px;
  }

  .hero-stats .num {
    font-size: 38px;
  }

  .gallery-strip {
    grid-template-columns: repeat(5, 1fr);
    min-height: 280px;
  }

  .gallery-item {
    min-height: 280px;
  }

  .gallery-item:nth-child(n) {
    display: block;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .two-col,
  .contact-grid {
    gap: 64px;
  }

  .mod-grid-nuevo {
    grid-template-columns: 1.55fr 1fr 1fr 1fr;
    gap: 20px;
  }

  .tl-horiz-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .tl-connector {
    position: absolute;
    top: 27px;
    left: 12%;
    right: 12%;
    z-index: 0;
    display: block;
    height: 1px;
    background: linear-gradient(90deg, var(--copper), rgba(196, 155, 63, .25));
  }

  .tl-horiz-grid {
    position: relative;
    z-index: 1;
  }

  .diferenciador-banner {
    min-height: 320px;
  }

  .diferenciador-banner img {
    height: 320px;
  }

  .diferenciador-banner-content {
    align-items: center;
    padding: 0 64px;
  }

  .diferenciador-banner blockquote {
    max-width: 760px;
    font-size: 24px;
  }

  .photo-divider {
    height: 240px;
  }

  #blueprintCanvas {
    height: 340px;
  }

  .news-wrap {
    grid-template-columns: 1fr 380px;
    gap: 0;
  }

  .news-featured {
    padding: 40px 48px 40px 0;
  }

  .news-list {
    padding-left: 40px;
  }

  footer .ft-top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

@media (hover: hover) {
  .btn-primary,
  .btn-cta,
  .btn-ghost,
  .mod-nuevo,
  .tension-card {
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  }

  .btn-primary:hover,
  .btn-cta:hover,
  .btn-ghost:hover,
  .mod-nuevo:hover,
  .tension-card:hover {
    transform: translateY(-3px);
  }

  .mod-nuevo:hover,
  .tension-card:hover {
    box-shadow: 0 18px 46px rgba(31, 58, 46, .10);
  }

  .news-featured-img img {
    transition: transform .5s ease, filter .5s ease;
  }

  .news-featured-img:hover img {
    transform: scale(1.045);
    filter: brightness(.82) saturate(.95);
  }
}
