@font-face {
  font-family: "DM Sans";
  src: url("/fuentes/dm-sans.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fuentes/instrument-serif.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root { color-scheme: light; --papel: #f7f8f6; --tinta: #192627; --verde: #154e4a; --filete: #becac4; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: "DM Sans", Arial, sans-serif; line-height: 1.5; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #ba6c38; outline-offset: 5px; }
.ancho { width: min(1190px, 89%); margin-inline: auto; }
.cabecera, .firma, .pie { display: flex; align-items: center; }
.cabecera { justify-content: space-between; padding-block: 1.35rem; border-bottom: 1px solid var(--filete); }
.firma { gap: .75rem; font-size: 1.05rem; letter-spacing: -.025em; }
.monograma { display: grid; place-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--verde); color: white; font: italic 1.8rem/1 "Instrument Serif", Georgia, serif; }
.cabecera a { font-size: .95rem; }
.portada { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 8vw, 7.5rem); }
h1, h2, p, dl, dd, figure { margin: 0; }
h1 { font-size: clamp(3rem, 5.85vw, 5.35rem); line-height: 1; letter-spacing: -.07em; font-weight: 400; }
h1 em { color: var(--verde); font-family: "Instrument Serif", Georgia, serif; font-size: 1.13em; letter-spacing: -.035em; }
.presentacion > p { max-width: 33rem; margin-block: 1.65rem 2rem; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.55; }
.boton { display: inline-block; padding: .9rem 1.6rem; border-radius: .35rem; background: var(--verde); color: white; text-decoration: none; }
.boton:hover { background: #103935; }
.ejemplo { background: #deebe3; border: 1px solid #becec2; border-radius: 1.4rem; padding: clamp(1.4rem, 3vw, 2.6rem); }
figcaption { font-size: .95rem; margin-bottom: 1.4rem; color: #34564c; }
.mensajes { display: grid; gap: .85rem; }
.mensaje { max-width: 88%; padding: .9rem 1.1rem; font-size: 1.06rem; line-height: 1.35; }
.mensaje span { display: block; margin-bottom: .3rem; font-size: .88rem; }
.consulta { background: #fbfdfb; border-radius: 1.05rem 1.05rem 1.05rem .2rem; justify-self: start; }
.consulta span { color: #476251; }
.asesor { background: var(--verde); color: white; justify-self: end; border-radius: 1.05rem 1.05rem .2rem 1.05rem; }
.asesor span { color: #cae5d7; }
.corto { max-width: 83%; }
.servicios { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 6rem); padding-block: 3rem 5rem; border-top: 1px solid var(--filete); }
h2 { font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.65rem); line-height: 1.1; letter-spacing: -.055em; }
dl > div { padding-block: 1.15rem; border-bottom: 1px solid var(--filete); }
dl > div:first-child { padding-top: 0; }
dt { margin-bottom: .35rem; font-size: 1.25rem; letter-spacing: -.035em; }
dd { color: #46524d; max-width: 39rem; }
.contacto { background: #153d37; color: #f6faf7; padding-block: 3rem; }
.pie { justify-content: space-between; gap: 1.5rem; }
.pie p { margin-top: .7rem; }
.pie > a { overflow-wrap: anywhere; font-size: clamp(1rem, 2.2vw, 1.55rem); }
@media (max-width: 760px) {
  .portada, .servicios { grid-template-columns: 1fr; }
  .portada { padding-block: 3rem; }
  .servicios { padding-block: 2.25rem 3.5rem; gap: 1.8rem; }
  .pie { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 400px) {
  .ancho { width: 90%; }
  .firma { font-size: .95rem; gap: .45rem; }
  .monograma { width: 2.15rem; height: 2.15rem; }
  .ejemplo { padding: 1rem; }
}
