:root {
  --ink: #17151a;
  --deep: #24182b;
  --deep2: #30203a;
  --paper: #fbfaf7;
  --soft: #f2eee7;
  --white: #fff;
  --muted: #6f6a70;
  --line: #e4dfd7;
  --gold: #b28b45;
  --gold-light: #d1b276;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(26, 20, 28, 0.08);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: auto;
}
.section {
  padding: 105px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow-light {
  color: var(--gold-light);
}
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
}
h1 {
  font-size: clamp(55px, 6.2vw, 88px);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(42px, 4.4vw, 64px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 32px;
}
em {
  font-style: normal;
  color: var(--gold);
}
p {
  font-size: 15px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  font:
    700 11px Manrope,
    sans-serif;
  letter-spacing: 0.02em;
  transition: 0.25s;
}
.btn-dark {
  background: var(--deep);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--deep2);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--white);
  color: var(--deep);
}
.btn-light:hover {
  transform: translateY(-2px);
}
.btn-outline {
  border-color: #cfc7bc;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--deep);
  background: var(--deep);
  color: var(--white);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  font-size: 11px;
  font-weight: 800;
  border-bottom: 1px solid #d4cdbf;
  padding-bottom: 5px;
}
.text-link span {
  font-size: 16px;
  transition: 0.2s;
}
.text-link:hover span {
  transform: translateX(4px);
}
/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.brand-logo {
  width: 205px;
  height: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-links > a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
}
.nav-links > a:not(.nav-mobile-cta):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: 0.2s;
}
.nav-links > a:hover:after,
.nav-links > a.active:after {
  width: 100%;
}
.nav-cta {
  min-height: 42px;
}
.nav-mobile-cta {
  display: none;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 5px auto;
}
/* hero */
.hero {
  padding: 0 0 0;
  background: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 620px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 65px 70px 0;
}
.hero-copy h1 {
  max-width: 700px;
  margin-top: 20px;
}
.hero-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}
.hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(36, 24, 43, 0.08),
    transparent 30%,
    transparent 70%,
    rgba(36, 24, 43, 0.08)
  );
  pointer-events: none;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  background: rgba(36, 24, 43, 0.92);
  color: #fff;
  padding: 13px 17px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* trust */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  min-height: 100px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child {
  border-right: 0;
}
.trust-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #d7d0c6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: 0 0 auto;
}
.trust-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-item span:not(.trust-icon) {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}
/* headings */
.section-heading {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-heading h2 {
  margin-top: 15px;
}
.section-heading.compact {
  margin-bottom: 45px;
}
/* about */
.section-about {
  background: var(--soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}
.about-media {
  position: relative;
  min-height: 390px;
  background: linear-gradient(135deg, #e9e4dc, #f7f5f0);
  border: 1px solid var(--line);
  overflow: hidden;
}
.about-media:before {
  content: "ABAD ABOGADOS";
  position: absolute;
  inset: auto 20px 18px;
  color: rgba(36, 24, 43, 0.12);
  font:
    600 52px/1 "Cormorant Garamond",
    serif;
  white-space: nowrap;
}
.about-video {
  min-height: 0;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  background: #171717;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-video:before {
  content: none;
}
.about-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}
.about-video-fallback {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  width: fit-content;
  margin: 0 auto;
  padding: 9px 13px;
  border-radius: 4px;
  background: rgba(36, 24, 43, 0.88);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}
.about-video-fallback:hover {
  background: rgba(36, 24, 43, 1);
}
.about-copy h2 {
  margin-top: 17px;
  max-width: 620px;
}
.about-copy p {
  max-width: 610px;
  margin-top: 20px;
  color: var(--muted);
}
.about-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.about-point {
  border: 1px solid #d9d2c7;
  padding: 9px 13px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
/* services */
.section-services {
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 345px;
  padding: 34px;
  border: 1px solid #806b87;
  border-top: 3px solid var(--deep2);
  background: var(--soft);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #806b87;
  background: #e9e4db;
}
.service-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(48, 32, 58, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 21px;
}
.card-number {
  display: block;
  margin-top: 27px;
  color: #8c6d36;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.service-card h3 {
  margin-top: 6px;
}
.service-card p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
}
.service-card .text-link {
  color: var(--ink);
  border-color: #c6bacb;
}
.service-list-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}
.service-list-mini span {
  font-size: 9px;
  border: 1px solid #ddd6cc;
  padding: 5px 7px;
  color: #6d666c;
}
/* strategy */
.strategy-section {
  background: var(--deep);
  color: #fff;
  padding: 90px 0;
}
.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.strategy-section h2 {
  max-width: 620px;
  margin-top: 16px;
  font-size: clamp(48px, 5vw, 72px);
}
.strategy-section p {
  max-width: 550px;
  color: #a9a0b1;
  font-size: 14px;
}
.strategy-section .btn {
  margin-top: 28px;
}
/* principles */
.section-principles {
  background: var(--white);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principle {
  min-height: 130px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.principle:last-child {
  border-right: 0;
}
.principle i {
  color: var(--gold);
  font-size: 20px;
}
.principle span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* team */
.section-team {
  background: var(--paper);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.person-photo {
  aspect-ratio: 1/1.08;
  background: #eee9e1;
  overflow: hidden;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-photo-yaneli img {
  transform: scale(1.17);
}
.person-photo-close img {
  transform: scale(1.12);
  transform-origin: center top;
}
.person-body {
  padding: 25px 26px 28px;
}
.person-area {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.person-body h3 {
  margin-top: 10px;
}
.person-body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
/* cases */
.section-cases {
  background: var(--soft);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.case-media {
  aspect-ratio: 16/9;
  background: #ebe7e0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-media i {
  font-size: 22px;
  color: #aaa49b;
}
.case-body {
  padding: 24px;
}
.case-body > span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-body h3 {
  margin-top: 8px;
}
.case-body p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}
/* cta */
.consultation-cta {
  background: #ebe6de;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.consultation-inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 24px;
}
.consultation-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #cfc8bd;
  font-size: 24px;
  color: #655e66;
}
.consultation-inner h2 {
  margin-top: 5px;
  font-size: 34px;
}
.consultation-inner p {
  color: var(--muted);
  font-size: 12px;
}
.consultation-inner .eyebrow:before {
  display: none;
}
/* contact */
.section-contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.contact-copy h2 {
  margin-top: 15px;
}
.contact-list {
  margin-top: 36px;
  display: grid;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--muted);
  font-size: 12px;
}
.contact-item i {
  width: 22px;
  color: var(--gold);
  text-align: center;
  font-size: 16px;
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.map-wrap {
  min-width: 0;
}
.map-wrap iframe {
  width: 100%;
  aspect-ratio: 16/10;
  border: 0;
  display: block;
  filter: grayscale(0.25);
}
.map-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
/* footer */
.site-footer {
  background: var(--deep);
  color: #d2cad9;
}
.footer-top {
  padding: 70px 0 55px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 45px;
}
.footer-logo img {
  width: 190px;
}
.footer-brand p {
  max-width: 290px;
  margin-top: 18px;
  color: #a9a0b1;
  font-size: 12px;
}
.footer-col h3 {
  font-family: Manrope, sans-serif;
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 17px;
}
.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: #bdb4c4;
  font-size: 11px;
}
.footer-col a:hover {
  color: var(--gold-light);
}
.social-links {
  display: flex;
  gap: 8px;
}
.social-links a {
  width: 32px;
  height: 32px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 9px;
  color: #9f96a7;
}
.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
/* internal pages */

.page-hero {
  background: var(--deep);
  color: #fff;
  padding: 105px 0 95px;
}
.page-hero h1 {
  max-width: 850px;
  margin-top: 18px;
}
.page-hero p {
  max-width: 680px;
  color: #f0eaf2;
  margin-top: 24px;
  font-size: 16px;
}
.breadcrumb {
  font-size: 10px;
  color: #aaa0b0;
  margin-top: 28px;
}
.content-narrow {
  max-width: 900px;
}
.content-narrow h2 {
  margin: 55px 0 18px;
}
.content-narrow h3 {
  margin: 34px 0 10px;
}
.content-narrow p {
  color: var(--muted);
  margin-top: 14px;
}
.content-narrow ul {
  margin: 18px 0 0 20px;
  color: var(--muted);
  columns: 2;
  column-gap: 45px;
}
.content-narrow li {
  margin: 7px 0;
  break-inside: avoid;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}
.service-sidebar {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 28px;
  height: max-content;
  position: sticky;
  top: 110px;
}
.service-sidebar h3 {
  font-size: 30px;
}
.service-sidebar a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #ddd7cf;
  font-size: 11px;
  font-weight: 800;
}
.profile-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.profile-photo {
  background: var(--soft);
  aspect-ratio: 1/1.08;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa49b;
  overflow: hidden;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.profile-photo i {
  font-size: 34px;
}
.profile-meta {
  display: grid;
  gap: 12px;
  margin: 25px 0;
}
.profile-meta div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
}
.profile-meta strong {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.profile-meta span {
  font-size: 13px;
}
.notice {
  background: #f1ece4;
  border-left: 3px solid var(--gold);
  padding: 18px 20px;
  color: #6d666c;
  font-size: 12px;
  margin-top: 25px;
}
.case-detail {
  max-width: 950px;
}
.case-hero-box {
  height: 300px;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: #aaa49b;
  margin-bottom: 45px;
}
.case-hero-box i {
  font-size: 40px;
}
.case-detail .meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form {
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--soft);
}
.contact-form label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8d1c7;
  background: #fff;
  padding: 12px 13px;
  margin-bottom: 18px;
  font: 13px Manrope;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
@media (max-width: 1050px) {
  .wrap {
    width: min(var(--max), calc(100% - 48px));
  }
  .nav {
    gap: 18px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-cta {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr 0.95fr;
  }
  .services-grid,
  .team-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card:last-child {
    grid-column: 1/-1;
  }
  .principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .principle:nth-child(4) {
    border-right: 0;
  }
  .principle:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }
  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 36px));
  }
  .nav {
    min-height: 70px;
  }
  .brand-logo {
    width: 170px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    padding: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    box-shadow: 0 14px 24px rgba(25, 21, 29, 0.07);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 10px;
  }
  .nav-links a:after {
    display: none;
  }
  .nav-mobile-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--deep);
    color: #fff !important;
    margin-top: 7px;
  }
  .hero-grid,
  .about-grid,
  .strategy-grid,
  .contact-grid,
  .service-detail-grid,
  .profile-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-copy {
    padding: 58px 0 20px;
  }
  .hero h1 {
    font-size: clamp(48px, 13vw, 70px);
  }
  .hero-media {
    min-height: 430px;
  }
  .hero-caption {
    left: 16px;
    bottom: 16px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item:nth-child(2) {
    border-right: 0;
  }
  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .section {
    padding: 76px 0;
  }
  .services-grid,
  .team-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .service-card:last-child {
    grid-column: auto;
  }
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .principle:nth-child(3),
  .principle:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .principle:nth-child(2),
  .principle:nth-child(4),
  .principle:nth-child(6) {
    border-right: 0;
  }
  .principle:nth-child(7) {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .consultation-inner {
    grid-template-columns: 54px 1fr;
    padding: 30px 0;
  }
  .consultation-inner .btn {
    grid-column: 1/-1;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding: 55px 0 40px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom .wrap {
    flex-direction: column;
  }
  .page-hero {
    padding: 75px 0;
  }
  .content-narrow ul {
    columns: 1;
  }
  .service-sidebar {
    position: static;
  }
  .profile-photo {
    max-width: 480px;
  }
  .case-hero-box {
    height: 230px;
  }
}
@media (max-width: 460px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: 0;
  }
  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-col {
    grid-column: auto;
  }
  .about-media {
    min-height: 280px;
  }
}

/* Casos de éxito detallados */
.case-section {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--line);
}
.case-section h2 {
  font-size: clamp(30px, 3vw, 42px);
  margin-bottom: 15px;
}
.case-section p {
  max-width: 850px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.case-status {
  display: block;
  margin-top: 10px;
  color: var(--deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.case-body .text-link {
  display: flex;
  width: max-content;
}

.page-hero {
  background: var(--deep);
  color: #fff;
  padding: 105px 0 95px;
}
.page-hero h1 {
  max-width: 850px;
  margin-top: 18px;
}
.page-hero p {
  max-width: 680px;
  color: #f0eaf2;
  margin-top: 24px;
  font-size: 16px;
}
.breadcrumb {
  font-size: 10px;
  color: #aaa0b0;
  margin-top: 28px;
}
.content-narrow {
  max-width: 900px;
}
.content-narrow h2 {
  margin: 55px 0 18px;
}
.content-narrow h3 {
  margin: 34px 0 10px;
}
.content-narrow p {
  color: var(--muted);
  margin-top: 14px;
}
.content-narrow ul {
  margin: 18px 0 0 20px;
  color: var(--muted);
  columns: 2;
  column-gap: 45px;
}
.content-narrow li {
  margin: 7px 0;
  break-inside: avoid;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}
.service-sidebar {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 28px;
  height: max-content;
  position: sticky;
  top: 110px;
}
.service-sidebar h3 {
  font-size: 30px;
}
.service-sidebar a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #ddd7cf;
  font-size: 11px;
  font-weight: 800;
}
.profile-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.profile-photo {
  background: var(--soft);
  aspect-ratio: 1/1.08;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa49b;
  overflow: hidden;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.profile-photo i {
  font-size: 34px;
}
.profile-meta {
  display: grid;
  gap: 12px;
  margin: 25px 0;
}
.profile-meta div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
}
.profile-meta strong {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.profile-meta span {
  font-size: 13px;
}
.notice {
  background: #f1ece4;
  border-left: 3px solid var(--gold);
  padding: 18px 20px;
  color: #6d666c;
  font-size: 12px;
  margin-top: 25px;
}
.case-detail {
  max-width: 950px;
}
.case-hero-box {
  height: 300px;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: #aaa49b;
  margin-bottom: 45px;
}
.case-hero-box i {
  font-size: 40px;
}
.case-detail .meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form {
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--soft);
}
.contact-form label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8d1c7;
  background: #fff;
  padding: 12px 13px;
  margin-bottom: 18px;
  font: 13px Manrope;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
@media (max-width: 1050px) {
  .wrap {
    width: min(var(--max), calc(100% - 48px));
  }
  .nav {
    gap: 18px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-cta {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr 0.95fr;
  }
  .services-grid,
  .team-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card:last-child {
    grid-column: 1/-1;
  }
  .principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .principle:nth-child(4) {
    border-right: 0;
  }
  .principle:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }
  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 36px));
  }
  .nav {
    min-height: 70px;
  }
  .brand-logo {
    width: 170px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    padding: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    box-shadow: 0 14px 24px rgba(25, 21, 29, 0.07);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 10px;
  }
  .nav-links a:after {
    display: none;
  }
  .nav-mobile-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--deep);
    color: #fff !important;
    margin-top: 7px;
  }
  .hero-grid,
  .about-grid,
  .strategy-grid,
  .contact-grid,
  .service-detail-grid,
  .profile-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-copy {
    padding: 58px 0 20px;
  }
  .hero h1 {
    font-size: clamp(48px, 13vw, 70px);
  }
  .hero-media {
    min-height: 430px;
  }
  .about-video {
    width: min(100%, 360px);
    justify-self: center;
  }
  .hero-caption {
    left: 16px;
    bottom: 16px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item:nth-child(2) {
    border-right: 0;
  }
  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .section {
    padding: 76px 0;
  }
  .services-grid,
  .team-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .service-card:last-child {
    grid-column: auto;
  }
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .principle:nth-child(3),
  .principle:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .principle:nth-child(2),
  .principle:nth-child(4),
  .principle:nth-child(6) {
    border-right: 0;
  }
  .principle:nth-child(7) {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .consultation-inner {
    grid-template-columns: 54px 1fr;
    padding: 30px 0;
  }
  .consultation-inner .btn {
    grid-column: 1/-1;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding: 55px 0 40px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom .wrap {
    flex-direction: column;
  }
  .page-hero {
    padding: 75px 0;
  }
  .content-narrow ul {
    columns: 1;
  }
  .service-sidebar {
    position: static;
  }
  .profile-photo {
    max-width: 480px;
  }
  .case-hero-box {
    height: 230px;
  }
}
@media (max-width: 460px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: 0;
  }
  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-col {
    grid-column: auto;
  }
  .about-media {
    min-height: 280px;
  }
}

.person-photo-full img {
  object-fit: cover;
  object-position: center top;
}

/* Active navigation item: indicates the current page/section */
.nav-links > a.active:not(.nav-mobile-cta) {
  color: var(--gold);
  font-weight: 800;
}
.nav-links > a.active:not(.nav-mobile-cta):after {
  width: 100%;
}
@media (max-width: 760px) {
  .nav-links > a.active:not(.nav-mobile-cta) {
    background: rgba(178, 139, 69, 0.1);
    color: var(--deep);
    border-left: 3px solid var(--gold);
  }
}

/* Legal pages and footer links */
.footer-legal { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.footer-legal a { color:#c8bfce; text-decoration:underline; text-underline-offset:3px; }
.footer-legal a:hover { color:var(--gold-light); }
.legal-content { max-width:900px; }
.legal-content p { color:var(--muted); margin:14px 0; line-height:1.85; }
.legal-content h2 { margin:38px 0 12px; font-size:clamp(21px,2.5vw,28px); }
.legal-content ul { margin:12px 0 20px 22px; color:var(--muted); }
.legal-content li { margin:8px 0; line-height:1.7; }
.legal-content a { text-decoration:underline; text-underline-offset:3px; }
.legal-updated { font-size:12px; letter-spacing:.02em; }
.legal-note { margin-top:32px!important; padding:18px 20px; background:var(--soft); border-left:3px solid var(--gold-light); font-size:13px; }
@media(max-width:700px){ .footer-bottom .wrap { flex-direction:column; align-items:flex-start; } .footer-legal { gap:10px 16px; } }
