@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/font-0.ttf) format("truetype");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/font-1.ttf) format("truetype");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/font-2.ttf) format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/font-3.ttf) format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/font-4.ttf) format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/font-5.ttf) format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/font-6.ttf) format("truetype");
}

:root {
  --navy: #071a34;
  --gold: #ad7e36;
  --paper: #fbf5ed;
  --muted: #5e6267;
  --border: #ded6cb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
.skip {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.header {
  max-width: 1344px;
  margin: auto;
  padding: 0 5%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbf5ed;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.header nav a:not(.button):hover,
.header nav a:not(.button).active {
  color: #8b5e21;
}
.button {
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: white;
  padding: 15px 25px;
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #193b62;
  transform: translateY(-2px);
}
.button.small {
  padding: 12px 22px;
  min-height: 40px;
  font-size: 13px;
}
.menu {
  display: none;
}
.hero {
  position: relative;
  max-width: 1344px;
  min-height: 650px;
  margin: auto;
  background: #f6eadb;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 54%;
  padding: 58px 0 145px 7%;
}
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(56px, 5.6vw, 79px);
  line-height: 1.03;
  letter-spacing: -2.3px;
  margin: 0;
}
.line {
  display: block;
  background: var(--gold);
  height: 2px;
  width: 75px;
  margin: 28px 0;
}
.hero-copy p {
  font-size: 19px;
  line-height: 1.6;
  max-width: 350px;
  font-weight: 500;
  margin-bottom: 29px;
}
.portrait {
  background-image: url("assets/referencia.png");
  background-repeat: no-repeat;
  background-size: 764.15% 339.51%;
  background-position: 84.87% 58.39%;
  background-color: #d7c0a6;
}
.hero-photo {
  position: absolute;
  left: 51%;
  top: 0;
  bottom: 0;
  right: 0;
}
.hero-features {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 26px 7%;
  background: #f6ebdf;
  gap: 30px;
}
.hero-features > span {
  display: grid;
  place-items: center;
  gap: 12px;
  font-size: 16px;
}
.hero-features > span + span {
  border-left: 1px solid #cbbba6;
}
.hero-features svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-features > span:nth-child(2) svg {
  stroke: var(--gold);
}
.section {
  max-width: 1200px;
  padding: 100px 30px;
  margin: auto;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #866027;
  margin: 0 0 22px;
}
h2 {
  font-size: clamp(38px, 4vw, 55px);
  line-height: 1.08;
  letter-spacing: -1.1px;
  margin: 0 0 20px;
}
h3 {
  font-size: 33px;
  line-height: 1.1;
  letter-spacing: -0.7px;
  margin: 0 0 18px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 45px;
}
.section-head > p {
  max-width: 340px;
  line-height: 1.7;
  color: var(--muted);
}
.service-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  gap: 30px;
}
.service-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 20px 0;
  margin-bottom: -1px;
  font-size: 16px;
  color: var(--muted);
  min-width: 200px;
  text-align: left;
}
.service-tabs button[aria-selected="true"] {
  color: var(--navy);
  border-color: var(--gold);
}
.service-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  padding: 50px;
  background: #f3ebdf;
  border: 1px solid #e5dbce;
  border-top: 0;
  min-height: 330px;
}
.service-panel h3 {
  font-size: 38px;
}
.service-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}
.service-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center;
}
.service-panel li {
  border-bottom: 1px solid #d9cbb8;
  padding: 17px 0;
  font-size: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.service-panel li:before {
  content: "↗";
  color: var(--gold);
  font-size: 21px;
}
.text-link {
  background: none;
  border: 0;
  padding: 12px 0;
  color: var(--navy);
  font-size: 15px;
  display: inline-flex;
  gap: 35px;
  align-items: center;
  border-bottom: 1px solid var(--gold);
  font-weight: 500;
}
.text-link:hover {
  color: #8b5e21;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.about-photo {
  height: 490px;
}
.about p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}
.about .text-link {
  margin-top: 15px;
}
.method {
  border-top: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
}
.steps article {
  border-top: 1px solid #c7b494;
  padding-top: 25px;
}
.steps article > span {
  font-family: Georgia, serif;
  font-size: 25px;
  color: #88652d;
}
.steps h3 {
  margin: 25px 0 15px;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.insights {
  background: #f1e9dd;
}
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.articles .eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
  margin: 24px 0 14px;
}
.articles h3 {
  font-size: 31px;
  max-width: 300px;
}
.article-art {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #d8c7af;
}
.article-art span {
  position: absolute;
  display: block;
}
.art-one span {
  width: 140px;
  height: 140px;
  border: 1px solid #745831;
  border-radius: 50%;
  top: 40px;
  left: 80px;
}
.art-one span:nth-child(2) {
  left: 115px;
  top: 65px;
}
.art-one span:nth-child(3) {
  left: 45px;
  top: 15px;
}
.art-two {
  background: #0d2744;
}
.art-two span {
  width: 50px;
  bottom: 35px;
  left: 55px;
  height: 65px;
  background: #d8c29e;
}
.art-two span:nth-child(2) {
  left: 125px;
  height: 105px;
}
.art-two span:nth-child(3) {
  left: 195px;
  height: 145px;
}
.art-three {
  background: #e5d9c7;
}
.art-three span {
  height: 1px;
  width: 180px;
  background: #a07d43;
  transform: rotate(-40deg);
  left: 65px;
  top: 145px;
}
.art-three span:nth-child(2) {
  top: 115px;
}
.art-three span:nth-child(3) {
  top: 85px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
}
.contact > div > p:not(.eyebrow) {
  line-height: 1.8;
  color: var(--muted);
  max-width: 380px;
}
.demo-note {
  display: flex;
  gap: 18px;
  margin-top: 35px;
  max-width: 360px;
}
.demo-note > span {
  color: var(--gold);
  font-size: 25px;
  padding-top: 6px;
}
.demo-note p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
form {
  display: grid;
  gap: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: grid;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}
input,
textarea,
select {
  width: 100%;
  background: #fffcf7;
  border: 1px solid #c8bcad;
  border-radius: 3px;
  color: var(--navy);
  padding: 12px;
  min-height: 45px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.consent input {
  width: 17px;
  min-width: 17px;
  min-height: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--navy);
}
form .button {
  justify-content: space-between;
}
.form-error {
  font-size: 13px;
  color: #a22323;
}
footer {
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 40px 30px;
}
footer p,
footer > a:last-child {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
footer .brand {
  font-size: 25px;
}
dialog {
  width: calc(100% - 30px);
  max-width: 680px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 50px;
  background: var(--paper);
  color: var(--navy);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: rgba(4, 17, 30, 0.65);
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 39px;
  max-width: 90%;
}
.close {
  position: absolute;
  right: 18px;
  top: 9px;
  font-size: 30px;
  border: 0;
  background: none;
  color: var(--navy);
}
#article-body p,
dialog > p:not(.eyebrow) {
  line-height: 1.8;
  color: var(--muted);
}
#article-body h3 {
  font-size: 27px;
  margin-top: 25px;
}
pre {
  font:
    14px/1.8 "DM Sans",
    Arial,
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 20px;
  background: #f0e7db;
}
#copy-status {
  min-height: 22px;
  font-size: 12px;
}
.summary-actions {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.summary-actions .text-link {
  font-size: 13px;
}
[hidden] {
  display: none !important;
}
.modal-open {
  overflow: hidden;
}
@media (max-width: 800px) {
  .header {
    height: 78px;
    padding: 0 6%;
  }
  .brand {
    font-size: 27px;
  }
  .menu {
    display: block;
    background: none;
    border: 0;
    font-size: 25px;
    color: var(--navy);
    padding: 8px;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 25px;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
  }
  .header nav.open {
    display: flex;
  }
  .hero {
    min-height: 600px;
  }
  .hero-copy {
    padding: 55px 0 145px 6%;
    width: 57%;
  }
  h1 {
    font-size: 57px;
  }
  .hero-copy p {
    font-size: 16px;
    max-width: 280px;
  }
  .hero-photo {
    left: 52%;
  }
  .hero-features {
    padding: 25px 4%;
    gap: 15px;
  }
  .hero-features > span {
    font-size: 13px;
  }
  .section {
    padding: 65px 24px;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-head > p {
    max-width: 500px;
  }
  .service-tabs {
    gap: 15px;
  }
  .service-tabs button {
    min-width: 0;
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
    padding: 15px 0;
  }
  .service-panel {
    gap: 25px;
    padding: 30px;
    grid-template-columns: 1fr;
  }
  .service-panel h3 {
    font-size: 32px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-photo {
    max-width: 420px;
    height: 440px;
    width: 100%;
  }
  .steps {
    gap: 25px;
  }
  .articles {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-art {
    height: 210px;
  }
  .articles h3 {
    max-width: 100%;
  }
  .art-one span {
    left: calc(50% - 70px);
  }
  .art-one span:nth-child(2) {
    left: calc(50% - 35px);
  }
  .art-one span:nth-child(3) {
    left: calc(50% - 105px);
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .demo-note {
    max-width: 100%;
  }
  .contact > div > p:not(.eyebrow) {
    max-width: 100%;
  }
  footer {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  dialog {
    padding: 40px 26px;
  }
}
@media (max-width: 480px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy {
    padding: 38px 7% 30px;
    width: 100%;
  }
  h1 {
    font-size: 57px;
    letter-spacing: -1.8px;
  }
  .hero-copy p {
    font-size: 16px;
    max-width: 290px;
  }
  .hero-photo {
    position: relative;
    inset: auto;
    height: 340px;
    order: 2;
    width: 100%;
  }
  .hero-features {
    position: relative;
    order: 3;
    padding: 25px 8px;
    gap: 6px;
  }
  .hero-features > span {
    font-size: 12px;
  }
  .line {
    margin: 23px 0;
  }
  .section {
    padding: 60px 24px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .steps h3 {
    margin-top: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .service-panel {
    padding: 25px;
  }
  .about-photo {
    height: 390px;
  }
}
.portrait {
  overflow: hidden;
  background-image: none;
}
.portrait:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 212/286;
  background-image: url("assets/referencia.png");
  background-repeat: no-repeat;
  background-size: 764.15% 339.51%;
  background-position: 84.87% 58.39%;
}
.about-photo {
  position: relative;
}
@media (max-width: 480px) {
  h1 {
    font-size: 49px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
