:root {
  --wine: #670b16;
  --dark: #2e2625;
  --gold: #b49c75;
  --rose: #f5dfd1;
  --paper: #fcfaf7;
  --muted: #736966;
  --line: #dfd7cf;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--dark);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 108px;
  padding: 0 5.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

/* Al bajar por la página, la cabecera se queda fija y se compacta. */
header.is-scrolled {
  height: 76px;
  background: var(--paper);
  box-shadow: 0 6px 24px #2e262514;
}
header.is-scrolled .wordmark {
  font-size: 24px;
}
header.is-scrolled .mark {
  transform: scale(0.8);
  transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  header,
  header .wordmark,
  header .mark {
    transition:
      height 0.3s ease,
      background 0.3s ease,
      box-shadow 0.3s ease,
      font-size 0.3s ease,
      transform 0.3s ease;
  }
}
.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}
.mark {
  display: flex;
  gap: 5px;
  height: 45px;
  align-items: flex-end;
}
.mark i {
  width: 5px;
  background: var(--gold);
  height: 34px;
}
.mark i:nth-child(2) {
  height: 23px;
}
.mark i:nth-child(3) {
  height: 45px;
}
.mark i:nth-child(4) {
  height: 31px;
}
.wordmark {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.21em;
  font-size: 30px;
  color: var(--wine);
  line-height: 1.1;
}
.wordmark small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.26em;
  margin-top: 6px;
}
nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}
nav > a:not(.button):hover,
.text-link:hover {
  color: var(--wine);
}

/* Selector de idioma ES / EN. */
.lang-switch {
  display: flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.lang-switch a {
  padding: 4px 2px;
  color: var(--muted);
}
.lang-switch a + a:before {
  content: "/";
  margin: 0 8px 0 6px;
  color: #c6b398;
}
.lang-switch a:hover {
  color: var(--wine);
}
.lang-switch a[aria-current] {
  color: var(--wine);
  font-weight: 600;
}
@media (max-width: 760px) {
  .lang-switch {
    padding: 12px 0;
    font-size: 14px;
  }
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 25px;
  background: var(--wine);
  color: white;
  border: 1px solid var(--wine);
  font-size: 14px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #470610;
  transform: translateY(-2px);
}
.button.small {
  padding: 12px 20px;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 57% 43%;
  min-height: 720px;
}
.hero-copy {
  padding: 58px 7% 27px 9.65%;
}
.eyebrow {
  display: block;
  color: var(--wine);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow > span {
  width: 26px;
  height: 1px;
  background: var(--gold);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(52px, 5.1vw, 80px);
  margin-bottom: 28px;
}
h1 em,
h2 em {
  font-weight: 400;
  color: var(--wine);
}
.hero-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid var(--gold);
  padding: 7px 0;
}
.hero-foot {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 21px;
  font-size: 12px;
  color: var(--muted);
}
.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background: #ae9a7e;
}
.hero-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  filter: brightness(0.82);
  object-position: center;
}
.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(39, 22, 13, 0.63), transparent 65%);
}
.image-caption {
  position: absolute;
  bottom: 42px;
  left: 42px;
  color: white;
  z-index: 1;
}
.image-caption > span:first-child {
  font-size: 11px;
  letter-spacing: 0.2em;
}
.image-caption p {
  font-family: "Playfair Display", serif;
  font-size: 31px;
  line-height: 1.3;
  margin-top: 13px;
  margin-bottom: 20px;
}
.caption-line {
  display: block;
  width: 70px;
  height: 1px;
  background: #d8bea0;
}
.section {
  padding: 95px 7.5%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 50px;
}
h2 {
  font-size: clamp(37px, 3.7vw, 55px);
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 355px;
  color: var(--muted);
  margin-bottom: 3px;
  font-size: 15px;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.area-card {
  padding: 29px 31px 24px;
  text-align: left;
  background: transparent;
  color: var(--dark);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.area-card:hover {
  background: #f2e8de;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.line-icon {
  font-family: Georgia, serif;
  font-size: 29px;
  color: var(--gold);
  line-height: 1;
}
.area-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 15px;
  letter-spacing: -0.035em;
}
.area-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  min-height: 74px;
}
.card-link {
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
}
.card-link > span {
  font-size: 21px;
  line-height: 1;
}
.area-card.featured {
  background: var(--wine);
  color: #fff7f0;
}
.featured .card-top,
.featured p {
  color: #dfc4be;
}
.featured .card-link {
  border-color: #93434b;
}
.featured:hover {
  background: #510a12;
}
.family {
  background: var(--wine);
  color: #f9ece2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  padding-top: 85px;
  padding-bottom: 85px;
}
.family .eyebrow {
  color: #d2b49a;
}
.family h2 em {
  color: #ddbc9d;
}
.family-title > p {
  color: #e0c7c3;
  font-size: 15px;
  max-width: 395px;
  margin: 26px 0;
}
.light {
  color: var(--wine);
  background: var(--rose);
  border-color: var(--rose);
}
.light:hover {
  background: white;
}
.family-topics {
  align-self: center;
}
.family-topics article {
  display: flex;
  gap: 27px;
  border-top: 1px solid #91404a;
  padding: 27px 0;
}
.family-topics article:last-child {
  border-bottom: 1px solid #91404a;
}
.family-topics article > span {
  color: #d3b18d;
  font-size: 12px;
  padding-top: 6px;
}
.family-topics h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 23px;
  margin: 0 0 10px;
}
.family-topics p {
  font-size: 14px;
  color: #dfc4be;
  margin: 0;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10%;
}
.large-copy {
  font-family: "Playfair Display", serif;
  font-size: 29px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.about-content > p:not(.large-copy) {
  color: var(--muted);
}
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 30px;
}
.values h3 {
  font-size: 16px;
  color: var(--wine);
  margin-bottom: 8px;
}
.values p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.process {
  background: #f2ece5;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.steps article {
  border-top: 1px solid #cdbfac;
  padding-top: 24px;
}
.steps article > span {
  font-family: "Playfair Display", serif;
  color: #ad9576;
  font-size: 35px;
}
.steps h3 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 18px;
  margin-bottom: 12px;
}
.steps p {
  font-size: 15px;
  color: var(--muted);
  max-width: 330px;
  margin-bottom: 0;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10%;
}
.questions details {
  border-bottom: 1px solid var(--line);
}
.questions details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 22px 28px 22px 0;
  position: relative;
  list-style: none;
  font-size: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--wine);
  font-size: 22px;
  top: 16px;
}
details[open] summary:after {
  content: "−";
}
.questions p {
  font-size: 15px;
  color: var(--muted);
  padding: 0 24px 10px 0;
}
.contact {
  background: var(--rose);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10%;
}
.contact h2 {
  margin-bottom: 25px;
}
.contact > div > p {
  font-size: 15px;
  color: #6f5950;
}
.contact-note {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 50px;
}
.contact-note p {
  font-family: "Playfair Display", serif;
  color: var(--wine);
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #bca596;
  background: transparent;
  border-radius: 0;
  color: var(--dark);
  font-size: 15px;
  outline-offset: 5px;
}
input::placeholder,
textarea::placeholder {
  color: #856f64;
}
textarea {
  resize: vertical;
}
.optional {
  font-weight: 400;
  color: #6f5950;
}
.form-note {
  font-size: 12px;
  color: #715b52;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--wine);
}
/* Campo trampa para robots: invisible para las personas. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#form-status.is-error {
  background: #fbeaea;
}
.contact .button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.contact .button {
  width: 100%;
}
#form-status {
  background: #fff6ed;
  padding: 14px;
  color: var(--wine);
  font-size: 14px;
  margin-top: 16px;
}
footer {
  padding: 50px 7.5% 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
footer > p,
footer > a:not(.brand) {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  font-size: 12px;
  color: var(--muted);
}

/* Datos de contacto en el pie */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  width: 100%;
  font-size: 13px;
}
.footer-contact a {
  color: var(--dark);
}
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--wine);
}

/* Datos de contacto en la página de Contacto */
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 46px 0 0;
  padding-top: 34px;
  border-top: 1px solid #e0c7c3;
}
.contact-details dt {
  margin-bottom: 10px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.contact-details dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--wine);
}
.contact-details small {
  color: #6f5950;
  font-size: 12px;
}
dialog {
  background: var(--paper);
  color: var(--dark);
  border: 1px solid var(--gold);
  max-width: 620px;
  width: calc(100% - 32px);
  padding: 52px;
  max-height: 85vh;
  overflow: auto;
}
dialog::backdrop {
  background: #28131699;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 40px;
  margin-bottom: 24px;
}
dialog p,
dialog li {
  font-size: 16px;
  color: var(--muted);
}
dialog ul {
  padding-left: 22px;
  margin-bottom: 30px;
}
dialog li {
  padding: 5px 0;
}
.close-dialog {
  position: absolute;
  top: 10px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 30px;
  color: var(--wine);
}
@media (min-width: 1600px) {
  body {
    max-width: 1800px;
    margin: auto;
  }
}
@media (max-width: 1100px) {
  nav {
    gap: 20px;
  }
  .hero-copy {
    padding-top: 44px;
  }
  .hero-actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero-foot {
    gap: 14px;
  }
  .hero {
    min-height: 690px;
  }
  .section {
    padding: 75px 6%;
  }
  .area-card {
    padding: 26px 22px;
  }
  .family {
    gap: 8%;
  }
}
@media (max-width: 760px) {
  header {
    height: 85px;
    padding: 0 6%;
  }
  header.is-scrolled {
    height: 68px;
  }
  .wordmark {
    font-size: 26px;
  }
  header.is-scrolled .wordmark {
    font-size: 22px;
  }
  .mark {
    transform: scale(0.86);
    transform-origin: left center;
  }
  .menu-toggle {
    display: block;
    color: var(--wine);
    border: 1px solid var(--line);
    background: none;
    padding: 8px 16px;
    font-size: 14px;
  }
  /* Menú móvil: aparece deslizándose suavemente bajo la cabecera. */
  nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 25px 6%;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px #2e262514;
    align-items: stretch;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s linear 0.25s;
  }
  nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }
  nav > a {
    opacity: 0;
    transform: translateY(-4px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  nav.open > a {
    opacity: 1;
    transform: none;
  }
  nav.open > a:nth-child(2) {
    transition-delay: 0.04s;
  }
  nav.open > a:nth-child(3) {
    transition-delay: 0.08s;
  }
  nav.open > a:nth-child(4) {
    transition-delay: 0.12s;
  }
  nav.open > a:nth-child(5) {
    transition-delay: 0.16s;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 40px 6% 30px;
  }
  h1 {
    font-size: 56px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 24px;
  }
  .hero-foot {
    font-size: 11px;
    justify-content: space-between;
    gap: 8px;
    margin-top: 32px;
  }
  .hero-image {
    min-height: 360px;
  }
  .hero-image img {
    object-position: 50% 44%;
  }
  .image-caption {
    left: 6%;
    bottom: 25px;
  }
  .image-caption p {
    font-size: 27px;
  }
  .section {
    padding: 60px 6%;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 24px;
    max-width: none;
  }
  .section-heading > .text-link {
    display: inline-block;
    margin-top: 20px;
  }
  h2 {
    font-size: 39px;
  }
  .area-grid {
    grid-template-columns: 1fr 1fr;
  }
  .area-card {
    padding: 23px 18px;
  }
  .area-card h3 {
    font-size: 23px;
  }
  .area-card p {
    min-height: 120px;
    font-size: 14px;
  }
  .card-top {
    margin-bottom: 20px;
  }
  .family,
  .about,
  .faq,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .family h2 br:last-of-type {
    display: none;
  }
  .family-title > p {
    max-width: none;
  }
  .family-topics article {
    padding: 22px 0;
  }
  .values {
    gap: 22px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .steps article {
    padding-top: 17px;
  }
  .steps h3 {
    margin-top: 6px;
  }
  .steps p {
    max-width: none;
  }
  .contact-note {
    margin-top: 28px;
  }
  .contact-details {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 32px;
    padding-top: 26px;
  }
  .footer-contact {
    flex-direction: column;
  }
  .form-row {
    gap: 18px;
  }
  footer {
    padding: 38px 6% 24px;
  }
  footer > p {
    display: none;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
  dialog {
    padding: 44px 26px;
  }
  dialog h2 {
    font-size: 34px;
  }
}
@media (max-width: 380px) {
  h1 {
    font-size: 48px;
  }
  .area-grid {
    grid-template-columns: 1fr;
  }
  .area-card p {
    min-height: 0;
  }
  .hero-foot {
    flex-wrap: wrap;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

nav a[aria-current="page"]:not(.button) {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: var(--gold);
}
.area-card {
  display: block;
}
.breadcrumb {
  padding: 24px 7.5% 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--wine);
}
.breadcrumb + .section {
  padding-top: 55px;
}
.page-cta {
  text-align: center;
  padding: 75px 6%;
  background: var(--rose);
}
.page-cta p {
  margin: 24px auto;
  color: var(--muted);
  max-width: 560px;
}
.service-intro {
  background: var(--paper);
  max-width: 1050px;
}
.service-intro h1 {
  font-size: clamp(46px, 6vw, 76px);
  color: var(--wine);
  max-width: 900px;
}
.service-intro > p {
  max-width: 680px;
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 30px;
}
.service-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  background: #f2ece5;
}
.service-list article {
  padding: 23px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: baseline;
}
.service-list article:last-child {
  border-bottom: 1px solid var(--line);
}
.service-list article > span {
  font-size: 13px;
  color: var(--wine);
}
.service-list h3 {
  font-weight: 400;
  font-family: "Playfair Display", serif;
  font-size: 23px;
  margin: 0;
}
.related h2 {
  font-size: 40px;
}
.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 32px 0;
  gap: 25px;
}
.related-links a {
  border-top: 1px solid var(--line);
  padding: 23px 0;
  color: var(--wine);
  font-family: "Playfair Display", serif;
  font-size: 22px;
}
.related-links a:hover {
  text-decoration: underline;
}
footer {
  gap: 24px;
}
header nav {
  gap: 25px;
}
@media (max-width: 900px) {
  header nav {
    gap: 16px;
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .breadcrumb {
    padding: 22px 6% 0;
  }
  .service-scope {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .related-links {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-cta {
    padding: 55px 6%;
  }
  .service-intro > p {
    font-size: 18px;
  }
  .related h2 {
    font-size: 34px;
  }
  .breadcrumb + .section {
    padding-top: 38px;
  }
  header nav {
    gap: 20px;
    font-size: 15px;
  }
}

/* Practice areas: longer supplied names and nine services. */
.area-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.area-card .card-link {
  margin-top: auto;
}
.area-card h3,
.service-intro h1,
.service-list h3,
.related-links a {
  overflow-wrap: break-word;
  hyphens: auto;
}
.area-card h3 {
  line-height: 1.3;
}
.service-intro h1 {
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.12;
}
.service-intro > p {
  max-width: 850px;
}
.service-list article > span {
  flex-shrink: 0;
}
.service-list h3 {
  line-height: 1.45;
}
.related-links > a {
  min-width: 0;
}
@media (max-width: 760px) {
  .area-grid {
    grid-template-columns: 1fr;
  }
  .area-card p {
    min-height: 0;
  }
  .service-intro h1 {
    font-size: 38px;
  }
  .service-list h3 {
    font-size: 21px;
  }
  .related-links {
    grid-template-columns: 1fr;
  }
}

/* Brand details and team presentation. */
.home .hero {
  padding: 28px 3.5% 28px 0;
  background: linear-gradient(105deg, #fcfaf7 62%, #f1e3d7 62%);
  position: relative;
}
.home .hero-copy {
  padding-top: 35px;
  padding-left: 10.3%;
}
.home .hero-image {
  border-radius: 210px 210px 0 0;
  min-height: 660px;
  outline: 1px solid #b49c7580;
  outline-offset: 9px;
  margin: 10px;
}
.home .hero-image:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid #f5dfd155;
  border-radius: 195px 195px 0 0;
  z-index: 1;
  pointer-events: none;
}
.home .image-caption {
  left: 35px;
  bottom: 38px;
}
.home .hero-copy:before {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 26px;
}
.home .hero-foot {
  border-top: 0;
  margin-top: 30px;
}
.brand-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 25px 7.5%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f2e9df;
  color: var(--wine);
  font-family: "Playfair Display", serif;
  font-size: 19px;
}
.brand-band i {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.home .areas {
  position: relative;
}
.home .areas:before {
  content: "";
  position: absolute;
  top: 0;
  left: 7.5%;
  height: 35px;
  width: 1px;
  background: var(--gold);
}
.card-top {
  justify-content: flex-end;
}
.home .area-grid {
  gap: 15px;
  border: 0;
}
.home .area-card {
  border: 1px solid var(--line);
  background: white;
}
.home .area-card.featured {
  background: var(--wine);
}
.home .area-card:hover {
  background: #f2e8de;
}
.home .area-card.featured:hover {
  background: #510a12;
}
.brand-statement {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10%;
  align-items: center;
  background: var(--wine);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.brand-statement:after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid #b49c7540;
  pointer-events: none;
}
.statement-monogram {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  border-right: 1px solid #b49c7555;
  color: var(--rose);
}
.statement-monogram > .mark {
  height: 130px;
  gap: 15px;
  transform: none;
}
.statement-monogram .mark i {
  width: 14px;
  height: 95px;
}
.statement-monogram .mark i:nth-child(2) {
  height: 65px;
}
.statement-monogram .mark i:nth-child(3) {
  height: 130px;
}
.statement-monogram .mark i:nth-child(4) {
  height: 90px;
}
.statement-monogram > span:last-child {
  font-family: Manrope, sans-serif;
  font-size: 74px;
  letter-spacing: 0.24em;
  margin-top: 12px;
  padding-left: 0.24em;
}
.statement-copy {
  position: relative;
  z-index: 1;
}
.statement-copy .eyebrow {
  color: #d2b49a;
}
.statement-copy h2 {
  font-size: clamp(35px, 3.6vw, 54px);
}
.statement-copy h2 em {
  color: #dfbea5;
}
.statement-copy p {
  max-width: 480px;
  margin: 28px 0 18px;
  color: #e0c7c3;
}
.statement-copy .text-link {
  display: inline-block;
  color: var(--rose);
}
.team {
  background: #f2ece5;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 980px;
  margin: 0 auto;
}
.team-card {
  min-width: 0;
}
.team-portrait {
  aspect-ratio: 3/4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  background: #e8ded2;
  border: 1px solid #c6b398;
  overflow: hidden;
  font: inherit;
  cursor: pointer;
}
.team-portrait:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}
.team-portrait > .team-cv-hint {
  top: 50%;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, 70px);
  padding: 9px 16px;
  background: var(--wine);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.team-portrait:hover > .team-cv-hint,
.team-portrait:focus-visible > .team-cv-hint {
  opacity: 1;
}

/* Currículum del equipo: ventana que se abre al pulsar un retrato. */
.cv-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(88vh, 900px);
  padding: 0;
  border: 1px solid var(--gold);
  background: var(--paper);
  color: var(--dark);
}
.cv-dialog[open] {
  display: flex;
  flex-direction: column;
}
.cv-dialog::backdrop {
  background: #2e2625b3;
}

/* Entrada y salida de la ventana del perfil. */
.cv-dialog[open] {
  animation: cv-in 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cv-dialog[open]::backdrop {
  animation: cv-fade-in 0.32s ease;
}
.cv-dialog[open] .cv-profile {
  animation: cv-content-in 0.45s ease 0.12s both;
}
.cv-dialog.is-closing {
  animation: cv-out 0.2s ease forwards;
}
.cv-dialog.is-closing::backdrop {
  animation: cv-fade-out 0.2s ease forwards;
}
@keyframes cv-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}
@keyframes cv-out {
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}
@keyframes cv-content-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes cv-fade-in {
  from {
    opacity: 0;
  }
}
@keyframes cv-fade-out {
  to {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cv-dialog[open],
  .cv-dialog[open]::backdrop,
  .cv-dialog[open] .cv-profile {
    animation: none;
  }
}
.cv-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 2px solid var(--gold);
}
.cv-head img {
  width: 64px;
  height: 64px;
  flex: none;
  object-fit: cover;
  object-position: 50% 22%;
  background: #e8ded2;
  border: 1px solid #c6b398;
}
.cv-head h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 4px;
}
.cv-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.cv-close {
  margin-left: auto;
  align-self: flex-start;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cv-close:hover,
.cv-close:focus-visible {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
}
.cv-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 32px 32px;
}
.cv-profile {
  max-width: 680px;
}
.cv-lead {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--wine);
  margin: 0 0 8px;
}
.cv-profile h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 28px 0 12px;
}
.cv-profile p {
  line-height: 1.65;
  margin: 0;
}
.cv-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cv-points li {
  position: relative;
  padding: 0 0 0 22px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.cv-points li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}
.cv-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cv-areas a {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #c6b398;
  background: #f2ece5;
  color: var(--dark);
  font-size: 13px;
  text-decoration: none;
}
.cv-areas a:hover,
.cv-areas a:focus-visible {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
}
.cv-foot {
  flex: none;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}
.cv-foot a {
  padding: 10px 18px;
  border: 1px solid var(--wine);
  color: var(--wine);
  font-size: 13px;
  text-decoration: none;
}
.cv-foot a:last-child {
  background: var(--wine);
  color: var(--paper);
}
@media (max-width: 760px) {
  .cv-dialog {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
  }
  .cv-body {
    padding: 20px 16px 24px;
  }
  .cv-lead {
    font-size: 18px;
  }
  .cv-head {
    padding: 16px;
  }
  .cv-head h2 {
    font-size: 20px;
  }
  .cv-foot {
    padding: 12px 16px;
  }
  .cv-foot a {
    flex: 1;
    text-align: center;
  }
}
.team-card:nth-child(even) .team-portrait {
  background: #ead7cb;
}
.team-portrait:after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #b49c7540;
  pointer-events: none;
}
.team-portrait img {
  width: 59%;
  height: auto;
  opacity: 0.72;
}
/* Fotografías reales del equipo: ocupan todo el marco. */
.team-portrait img.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 1;
}
.team-portrait:has(.team-photo):after {
  z-index: 1;
  border-color: #fcfaf766;
}
.team-portrait > .team-photo ~ .team-cv-hint {
  z-index: 2;
  top: auto;
  bottom: 26px;
  transform: translateX(-50%);
}
.team-portrait > span {
  position: absolute;
  bottom: 21px;
  font-size: 10px;
  letter-spacing: 0.19em;
  color: #796651;
}
.team-info {
  border-top: 2px solid var(--gold);
  padding-top: 17px;
  margin-top: 16px;
}
.team-info h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.team-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.home .page-cta {
  background: var(--paper);
  position: relative;
}
.home .page-cta:before {
  content: "";
  display: block;
  width: 65px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 30px;
}
@media (max-width: 1100px) {
  .team-grid {
    gap: 15px;
  }
  .team-info h3 {
    font-size: 19px;
  }
  .brand-band {
    font-size: 16px;
  }
  .home .hero {
    padding-right: 3%;
  }
}
@media (max-width: 760px) {
  .home .hero {
    padding: 0;
    background: var(--paper);
  }
  .home .hero-copy {
    padding: 32px 6%;
  }
  .home .hero-copy:before {
    margin-bottom: 23px;
  }
  .home .hero-image {
    margin: 8px 7% 28px;
    min-height: 430px;
    border-radius: 180px 180px 0 0;
  }
  .home .hero-image:before {
    border-radius: 165px 165px 0 0;
  }
  .brand-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    padding: 22px 6%;
    font-size: 16px;
  }
  .brand-band i {
    display: none;
  }
  .brand-band > span {
    border-left: 2px solid var(--gold);
    padding-left: 12px;
  }
  .brand-statement {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 48px;
  }
  .statement-monogram {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #b49c7555;
    padding-bottom: 30px;
    flex-direction: row;
    gap: 25px;
  }
  .statement-monogram > .mark {
    height: 58px;
    gap: 6px;
  }
  .statement-monogram .mark i {
    width: 6px;
    height: 43px;
  }
  .statement-monogram .mark i:nth-child(2) {
    height: 29px;
  }
  .statement-monogram .mark i:nth-child(3) {
    height: 58px;
  }
  .statement-monogram .mark i:nth-child(4) {
    height: 40px;
  }
  .statement-monogram > span:last-child {
    font-size: 43px;
    padding-left: 0;
    margin: 0;
  }
  .brand-statement:after {
    inset: 12px;
  }
  .statement-copy h2 {
    font-size: 35px;
  }
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    max-width: 340px;
  }
  .team-portrait {
    aspect-ratio: 4/5;
  }
  .team-info h3 {
    font-size: 20px;
  }
  .home .area-grid {
    gap: 14px;
  }
  .home .hero-foot {
    margin-top: 26px;
  }
  .home .image-caption {
    left: 27px;
    bottom: 28px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .team-portrait img {
    transition: transform 0.35s ease;
  }
  .team-card:hover .team-portrait img {
    transform: translateY(-4px);
  }
  .team-portrait img.team-photo {
    transition: transform 0.6s ease;
  }
  .team-card:hover .team-portrait img.team-photo {
    transform: scale(1.03);
  }
}

/* Equal emphasis at rest; burgundy on pointer hover and keyboard focus. */
.area-card,
.home .area-card {
  background: var(--paper);
  color: var(--dark);
  transition:
    background 0.2s,
    color 0.2s;
}
.home .area-card {
  background: white;
}
@media (hover: hover) {
  .area-card:hover,
  .home .area-card:hover {
    background: var(--wine);
    color: #fff7f0;
  }
  .area-card:hover p,
  .area-card:hover .card-top {
    color: #dfc4be;
  }
  .area-card:hover .card-link {
    border-color: #93434b;
  }
}
.area-card:focus-visible,
.home .area-card:focus-visible {
  background: var(--wine);
  color: #fff7f0;
}
.area-card:focus-visible p,
.area-card:focus-visible .card-top {
  color: #dfc4be;
}
.area-card:focus-visible .card-link {
  border-color: #93434b;
}
