:root {
  --blue: #082b72;
  --sky: #dceeff;
  --pale: #f5f9ff;
  --ink: #102f5d;
  --muted: #607693;
  --line: #cbdcf2;
  --gold: #69b7f2;
}

body,
button,
input,
select,
textarea {
  font-family: "Montserrat", Arial, sans-serif;
}

.hero h1,
.section h2,
.service-grid h3,
.price-panel h3,
.faq>h3,
.advice aside>strong,
.workshop-list strong,
.workshop-layout aside h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
}

.brand strong,
.brand small,
.nav-shell nav,
.button,
.eyebrow {
  font-family: "Montserrat", Arial, sans-serif;
}

.brand strong {
  font-weight: 800;
  letter-spacing: .03em;
}

.brand small {
  font-weight: 500;
  letter-spacing: .13em;
}

.nav-shell nav,
.button {
  font-weight: 600;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: .2em;
}

.brand>span {
  border-color: #79b9ed;
}

.brand img {
  display: block;
  width: 252px;
  height: auto;
}

.site-footer .brand img {
  width: 270px;
}

.nav-shell nav a:hover,
.eyebrow,
.service-grid footer a,
.workshop-list span {
  color: #0877e8;
}

.button:hover {
  background: #0877e8;
}

.hero {
  background: linear-gradient(135deg, #f8fbff 0 60%, #dceeff 60%);
}

.hero h1 em {
  color: #0877e8;
}

.sun {
  background: #8dccf7;
}

.arch {
  background: #b9ddfa;
}

.people i {
  background: #69b7f2;
}

.people i:nth-child(2) {
  background: #082b72;
}

.people i:nth-child(3) {
  background: #9ed4fa;
}

.floating-card {
  border-left-color: #0877e8;
}

.trust b {
  background: #e0efff;
  color: #0877e8;
}

.mediation {
  background: #eaf4ff;
}

.check-list li::before {
  color: #0877e8;
}

.price-panel {
  box-shadow: 0 25px 55px #082b7228;
}

.faq summary span {
  color: #0877e8;
}

.advice>div>p:last-child,
.advice aside>span,
.advice aside>small {
  color: #c5dcf5;
}

.contact {
  background: #e8f3ff;
}

.whatsapp>span {
  background: #dceeff;
  color: #0877e8;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus,
.guestbook input:focus,
.guestbook textarea:focus {
  border-color: #0877e8;
  box-shadow: 0 0 0 3px #0877e826;
}

.form-status {
  color: #0877e8;
}

.site-footer {
  background: #061f5a;
}

.site-footer>small {
  color: #9bbce0;
}

@media (max-width: 760px) {
  .nav-shell .brand img {
    width: 175px;
  }

  .site-footer .brand img {
    width: min(260px, 100%);
  }
}

/* Menú desplegable de servicios */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle span {
  font-size: 15px;
  transition: transform .2s ease;
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% - 2px);
  left: -22px;
  width: 285px;
  padding: 10px;
  border: 1px solid #dbe4e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(38, 61, 78, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  line-height: 1.35;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: #edf6f5;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle span,
.nav-dropdown:focus-within .nav-dropdown-toggle span {
  transform: rotate(180deg);
}

@media (max-width: 420px) {
  .nav-shell .brand img {
    width: 150px;
  }
}

/* Dirección editorial CIMA */
body {
  background: #f8fafc;
}

.nav-shell {
  max-width: none;
  padding-inline: max(28px, calc(50vw - 590px));
  background: #fff;
  border-bottom: 1px solid #d8e3f2;
}

.nav-shell nav a {
  position: relative;
}

.nav-shell nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: #0877e8;
  transition: right .2s ease;
}

.nav-shell nav a:hover::after {
  right: 0;
}

.button {
  border-radius: 0;
  letter-spacing: .01em;
}

.button:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: 710px;
  grid-template-columns: 1.08fr .72fr;
  gap: 88px;
  background: #f8fafc;
  border-bottom: 1px solid #d8e3f2;
}

.hero::before {
  content: "MEDIACIÓN · ACUERDOS · FAMILIA";
  position: absolute;
  right: 22px;
  top: 165px;
  color: #d7e4f4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  writing-mode: vertical-rl;
}

.hero h1 {
  max-width: 770px;
  font-size: clamp(52px, 6vw, 84px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-art {
  height: auto;
  align-self: stretch;
  padding: 46px 42px;
  color: #fff;
  background: #082b72;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-note {
  margin: 0 0 28px;
  color: #91c8fb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #ffffff2e;
}

.method-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  padding: 21px 0;
  border-bottom: 1px solid #ffffff2e;
}

.method-list span {
  grid-row: 1/3;
  color: #69b7f2;
  font-size: 12px;
}

.method-list strong {
  font-family: "Lora", serif;
  font-size: 25px;
  font-weight: 500;
}

.method-list small {
  color: #c6d8ed;
}

.hero-art blockquote {
  margin: 44px 0 0;
  padding-left: 20px;
  border-left: 3px solid #0877e8;
  color: #dce9f8;
  font-family: "Lora", serif;
  font-size: 17px;
  line-height: 1.55;
}

.sun,
.arch,
.floating-card {
  display: none;
}

.section {
  position: relative;
}

.section-heading {
  border-bottom: 1px solid #cbdcf2;
  padding-bottom: 32px;
}

.section-heading>p {
  max-width: 460px;
  justify-self: end;
}

.services {
  background: #fff;
}

.service-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #cbdcf2;
}

.service-grid article {
  min-height: 0;
  display: grid;
  grid-template-columns: 80px minmax(230px, .65fr) 1fr 210px;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid #cbdcf2;
  background: transparent;
}

.service-grid article:hover {
  transform: none;
  box-shadow: none;
  background: #f4f8fd;
}

.service-number {
  color: #0877e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.service-grid h3 {
  margin: 0;
}

.service-grid p {
  margin: 0;
  font-size: 14px;
}

.service-grid footer {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  justify-content: stretch;
  gap: 8px;
}

.service-grid footer a {
  border-bottom: 1px solid #0877e8;
  width: max-content;
}

.icon {
  display: none;
}

.mediation {
  background: #edf4fc;
}

.two-col {
  align-items: start;
}

.price-panel {
  border-radius: 0;
  box-shadow: 16px 16px 0 #b9ddfa;
}

.faq {
  margin-left: 0;
  max-width: none;
  display: grid;
  grid-template-columns: .42fr 1fr;
  column-gap: 70px;
}

.faq>h3 {
  grid-row: 1/8;
  margin-top: 12px;
}

.advice {
  background: #061f5a;
}

.workshop-layout aside {
  border-radius: 0;
  border-top: 5px solid #0877e8;
}

.workshop-list>div {
  transition: padding-left .2s ease;
}

.workshop-list>div:hover {
  padding-left: 16px;
}

.contact {
  background: #eef5fd;
  align-items: start;
}

.contact-email {
  display: inline-flex;
  flex-direction: column;
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid #aac6e6;
  border-bottom: 1px solid #aac6e6;
}

.contact-email small {
  color: #607693;
}

.contact-email strong {
  color: #082b72;
}

.contact form {
  box-shadow: none;
  border-top: 5px solid #0877e8;
}

.contact input,
.contact select,
.contact textarea,
.guestbook input,
.guestbook textarea {
  border-radius: 0;
}

.guestbook {
  border-top: 1px solid #cbdcf2;
}

/* Asistente flotante de WhatsApp */
.wa-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  font-family: "Montserrat", sans-serif;
}

.wa-launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 18px 8px 9px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background: #082b72;
  box-shadow: 0 14px 35px #061f5a38;
  font-weight: 600;
  cursor: pointer;
}

.wa-launcher:hover {
  background: #0877e8;
}

.wa-mark {
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  transform: none;
}

.wa-mark img {
  display: block;
  width: 25px !important;
  height: 25px !important;
  max-width: 25px !important;
  max-height: 25px !important;
  object-fit: contain;
  transform: none !important;
}

.wa-chat[hidden] {
  display: none;
}

.wa-chat header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 20px;
  color: #fff;
  background: #082b72;
}

.wa-chat header div {
  display: flex;
  flex-direction: column;
}

.wa-chat header small {
  color: #9fd1ff;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.wa-chat header strong {
  font-family: "Lora", serif;
  font-size: 23px;
  font-weight: 500;
}

.wa-close {
  width: 36px;
  height: 36px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.wa-conversation {
  padding: 18px 18px 4px;
  background: #edf4fc;
}

.wa-bubble {
  max-width: 88%;
  margin: 0 0 10px;
  padding: 11px 13px;
  border-radius: 2px 14px 14px 14px;
  color: #19375c;
  background: #fff;
  box-shadow: 0 4px 12px #082b720c;
  font-size: 13px;
  line-height: 1.45;
}

.wa-form {
  padding: 16px 18px 18px;
}

.wa-form label {
  display: block;
  margin-bottom: 7px;
  color: #082b72;
  font-size: 11px;
  font-weight: 700;
}

.wa-form textarea {
  width: 100%;
  resize: vertical;
  padding: 11px;
  border: 1px solid #aac6e6;
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.wa-form textarea:focus {
  border-color: #0877e8;
  box-shadow: 0 0 0 3px #0877e81c;
}

.wa-form button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 13px 15px;
  border: 0;
  color: #fff;
  background: #0877e8;
  font-weight: 700;
  cursor: pointer;
}

.wa-form button:hover {
  background: #082b72;
}

.wa-form>small {
  display: block;
  margin-top: 9px;
  color: #70839b;
  font-size: 9px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-art {
    max-width: none;
  }

  .service-grid article {
    grid-template-columns: 50px 1fr;
  }

  .service-grid article p,
  .service-grid article footer {
    grid-column: 2;
  }

  .faq {
    grid-template-columns: 1fr;
  }

  .faq>h3 {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .hero::before {
    display: none;
  }

  .hero-art {
    padding: 34px 25px;
  }

  .service-grid article {
    gap: 16px;
  }

  .wa-widget {
    right: 16px;
    bottom: 16px;
  }

  .wa-launcher>span:last-child {
    display: none;
  }

  .wa-launcher {
    width: 56px;
    height: 56px;
    padding: 9px;
  }

  .wa-chat {
    bottom: 66px;
  }
}

/* Paleta oficial CIMA — julio 2026 */
:root {
  --blue: #2A4AB5;
  --bright-blue: #7BA7FC;
  --sky: #E8F0FF;
  --pale: #F7F9FF;
  --ink: #1E347C;
  --muted: #66749A;
  --line: #CFDAF4;
  --gold: #7BA7FC;
}

.nav-shell {
  border-bottom-color: #D6E0F8;
}

.nav-shell nav a::after,
.floating-card,
.contact form {
  border-color: #7BA7FC;
}

.nav-shell nav a:hover,
.eyebrow,
.service-grid footer a,
.workshop-list span,
.service-number,
.faq summary span,
.form-status {
  color: #2A4AB5;
}

.button,
.price-panel,
.hero-art,
.wa-launcher,
.wa-chat header,
.wa-form button {
  background: #2A4AB5;
}

.button:hover,
.wa-launcher:hover,
.wa-form button:hover {
  background: #7BA7FC;
  color: #18326F;
}

.hero h1 em {
  color: #2A4AB5;
}

.hero-art blockquote {
  border-left-color: #7BA7FC;
}

.hero-note,
.method-list span,
.wa-chat header small {
  color: #AFC9FF;
}

.hero::before {
  color: #DCE6FA;
}

.trust b {
  color: #2A4AB5;
  background: #E8F0FF;
}

.mediation,
.wa-conversation {
  background: #EDF3FF;
}

.check-list li::before {
  color: #2A4AB5;
}

.price-panel {
  box-shadow: 16px 16px 0 #BFD3FF;
}

.advice,
.site-footer {
  background: #213B91;
}

.workshop-layout aside {
  border-top-color: #7BA7FC;
  background: #E8F0FF;
}

.contact {
  background: #EEF3FF;
}

.contact-email strong,
.wa-form label {
  color: #2A4AB5;
}

.contact-email {
  border-color: #AFC4F0;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus,
.guestbook input:focus,
.guestbook textarea:focus,
.wa-form textarea:focus {
  border-color: #7BA7FC;
  box-shadow: 0 0 0 3px #7BA7FC33;
}

.wa-launcher {
  box-shadow: 0 14px 35px #2A4AB540;
}

.wa-mark {
  color: #2A4AB5;
}

.wa-chat {
  border-color: #B9CAF0;
  box-shadow: 0 22px 60px #2A4AB540;
}

.wa-bubble {
  color: #253B75;
  box-shadow: 0 4px 12px #2A4AB512;
}

.wa-form textarea {
  border-color: #AFC4F0;
}

.site-footer>small {
  color: #C7D7F9;
}

/* Variante minimalista: blanco predominante y color como acento */
body {
  background: #fff;
}

.nav-shell {
  background: #fff;
}

.hero {
  background: #fff;
  grid-template-columns: 1.15fr .65fr;
}

.hero-art {
  color: #24396F;
  background: #F8FAFF;
  border: 1px solid #D8E2F7;
  border-top: 5px solid #7BA7FC;
}

.hero-note {
  color: #2A4AB5;
}

.method-list {
  border-color: #D8E2F7;
}

.method-list li {
  border-color: #D8E2F7;
}

.method-list strong {
  color: #2A4AB5;
}

.method-list small {
  color: #66749A;
}

.method-list span {
  color: #7BA7FC;
}

.hero-art blockquote {
  color: #435684;
}

.section {
  background: #fff;
}

.services,
.workshops,
.guestbook {
  background: #fff;
}

.service-grid article:hover {
  background: #F9FBFF;
}

.mediation {
  background: #F8FAFF;
}

.price-panel {
  color: #24396F;
  background: #fff;
  border: 1px solid #C9D7F3;
  border-top: 5px solid #2A4AB5;
  box-shadow: none;
}

.price-panel h3 {
  color: #2A4AB5;
}

.price-panel ul,
.price-panel small {
  color: #66749A;
}

.price-panel hr {
  border-color: #D8E2F7;
}

.advice {
  color: #24396F;
  background: #fff;
  border-top: 1px solid #CFDAF4;
  border-bottom: 1px solid #CFDAF4;
}

.advice h2 {
  color: #2A4AB5;
}

.advice>div>p:last-child,
.advice aside>span,
.advice aside>small {
  color: #66749A;
}

.advice aside {
  border-color: #CFDAF4;
  border-top: 5px solid #7BA7FC;
}

.button.light {
  color: #fff;
  background: #2A4AB5;
}

.workshop-layout aside {
  background: #F5F8FF;
}

.contact {
  background: #F8FAFF;
}

.contact form {
  border: 1px solid #D8E2F7;
  border-top: 5px solid #7BA7FC;
}

.guestbook {
  border-top-color: #D8E2F7;
}

.wa-chat header {
  background: #2A4AB5;
}

.wa-conversation {
  background: #F5F8FF;
}

.site-footer {
  background: #2A4AB5;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

/* Hero fotográfico */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 35, 91, .92) 0%, rgba(21, 51, 117, .76) 48%, rgba(21, 51, 117, .24) 100%),
    url("/assets/video/mediacion-familiar-base.png") center 42% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(7, 25, 68, .18));
  pointer-events: none;
}

.hero h1,
.hero h1 em,
.hero .eyebrow,
.hero .lead,
.hero .text-link {
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, .86);
}

.hero .trust {
  border-top-color: rgba(255, 255, 255, .32);
}

.hero .trust small {
  color: rgba(255, 255, 255, .72);
}

.hero .trust b {
  color: #2A4AB5;
  background: #fff;
}

.hero-art {
  color: #fff;
  background: rgba(18, 48, 116, .76);
  border: 1px solid rgba(255, 255, 255, .28);
  border-top: 5px solid #7BA7FC;
  backdrop-filter: blur(10px);
}

.hero-note,
.method-list span {
  color: #AFC9FF;
}

.method-list,
.method-list li {
  border-color: rgba(255, 255, 255, .28);
}

.method-list strong,
.hero-art blockquote {
  color: #fff;
}

.method-list small {
  color: rgba(255, 255, 255, .74);
}

@media (max-width: 900px) {
  .hero {
    background-position: 58% center;
    background-image:
      linear-gradient(180deg, rgba(13, 35, 91, .9) 0%, rgba(21, 51, 117, .7) 100%),
      url("/assets/video/mediacion-familiar-base.png");
  }
}

/* Contenidos corregidos julio 2026 */
.price-panel h3 small {
  display: inline;
  color: inherit;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.price-panel .secondary-price {
  margin-top: -12px;
  font-size: 38px;
}

.price-panel>small {
  margin: -6px 0 17px;
  line-height: 1.45;
}

.price-panel .delivery-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #D8E2F7;
}

.why-cima {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 72px;
  border-top: 1px solid #D8E2F7;
  border-bottom: 1px solid #D8E2F7;
  background: #F8FAFF;
}

.why-cima>div>p:last-child {
  color: #66749A;
}

.why-cima ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #C9D7F3;
}

.why-cima li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, .8fr) 1fr;
  gap: 25px;
  padding: 21px 6px 21px 40px;
  border-bottom: 1px solid #C9D7F3;
}

.why-cima li::before {
  content: "✓";
  position: absolute;
  top: 19px;
  left: 6px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2A4AB5;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.why-cima li strong {
  color: #2A4AB5;
}

.why-cima li span {
  color: #66749A;
}

@media (max-width: 900px) {
  .why-cima {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 620px) {
  .price-panel h3 {
    font-size: 42px;
  }

  .price-panel .secondary-price {
    font-size: 34px;
  }

  .why-cima li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* Nueva identidad CIMA: #263D4E · #64A29E · #424242 */
:root {
  --blue: #263D4E;
  --bright-blue: #64A29E;
  --sky: #E1EFED;
  --pale: #F7FAF9;
  --ink: #263D4E;
  --muted: #64767A;
  --line: #CEDBD9;
  --gold: #64A29E;
}

body {
  color: #263D4E;
  background: #fff;
}

.nav-shell {
  min-height: 118px;
  height: auto;
  border-bottom-color: #D8E2E0;
}

.nav-shell .brand img {
  width: 318px;
  max-height: 104px;
  object-fit: contain;
}

.nav-shell nav a::after {
  background: #64A29E;
}

.nav-shell nav a:hover,
.eyebrow,
.service-grid footer a,
.service-number,
.workshop-list span,
.contact-email strong,
.wa-form label {
  color: #64A29E;
}

.button,
.button.light,
.wa-chat header,
.wa-form button,
.why-cima li::before {
  background: #263D4E;
}

.button:hover,
.button.light:hover,
.wa-form button:hover {
  color: #fff;
  background: #64A29E;
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(27, 48, 62, .94) 0%, rgba(38, 61, 78, .77) 50%, rgba(38, 61, 78, .28) 100%),
    url("/assets/video/mediacion-familiar-base.png");
}

.hero-art {
  background: rgba(38, 61, 78, .79);
  border-top-color: #64A29E;
}

.hero-note,
.method-list span {
  color: #A9D4D1;
}

.hero-art blockquote {
  border-left-color: #64A29E;
}

.hero .trust b {
  color: #263D4E;
}

.section h2,
.service-grid h3,
.faq>h3,
.workshop-layout aside h3,
.workshop-list strong,
.price-panel h3,
.why-cima li strong {
  color: #263D4E;
}

.service-grid article:hover {
  background: #F5F9F8;
}

.mediation,
.why-cima,
.contact {
  background: #F4F8F7;
}

.check-list li::before,
.faq summary span,
.form-status {
  color: #64A29E;
}

.price-panel {
  color: #263D4E;
  border-color: #C7D7D5;
  border-top-color: #64A29E;
  box-shadow: none;
}

.price-panel hr,
.price-panel .delivery-note {
  border-color: #D5E1DF;
}

.advice {
  color: #263D4E;
  border-color: #CEDBD9;
}

.advice h2 {
  color: #263D4E;
}

.advice aside {
  border-color: #CEDBD9;
  border-top-color: #64A29E;
}

.workshop-layout aside {
  background: #EAF3F2;
}

.contact form {
  border-color: #D5E1DF;
  border-top-color: #64A29E;
}

.contact-email {
  border-color: #BFD3D0;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus,
.guestbook input:focus,
.guestbook textarea:focus,
.wa-form textarea:focus {
  border-color: #64A29E;
  box-shadow: 0 0 0 3px rgba(100, 162, 158, .22);
}

.why-cima,
.why-cima ul,
.why-cima li {
  border-color: #CEDBD9;
}

.wa-launcher {
  background: #263D4E;
  box-shadow: 0 14px 35px rgba(38, 61, 78, .28);
}

.wa-mark {
  color: #64A29E;
}

.wa-chat {
  border-color: #BFD3D0;
  box-shadow: 0 22px 60px rgba(38, 61, 78, .3);
}

.wa-conversation {
  background: #F1F7F6;
}

.wa-bubble {
  color: #263D4E;
}

.wa-chat header small {
  color: #BFE0DD;
}

.wa-form textarea {
  border-color: #BFD3D0;
}

.site-footer {
  color: #52666A;
  background: #fff;
  border-top: 1px solid #CEDBD9;
}

.site-footer .brand img {
  width: 300px;
}

.site-footer nav a {
  color: #263D4E;
}

.site-footer>small {
  color: #718286;
  border-top-color: #DCE5E3;
}

@media (max-width: 900px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(27, 48, 62, .92) 0%, rgba(38, 61, 78, .72) 100%),
      url("/assets/video/mediacion-familiar-base.png");
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 96px;
  }

  .nav-shell .brand img {
    width: 215px;
    max-height: 82px;
  }

  .site-footer .brand img {
    width: min(290px, 100%);
  }
}

@media (max-width: 420px) {
  .nav-shell .brand img {
    width: 180px;
  }
}

/* Ritmo editorial y separadores entre contenidos */
.section {
  padding-block: 118px;
}

.services {
  padding-bottom: 138px;
}

.chapter-break {
  max-width: 1120px;
  margin: 0 auto;
  padding: 78px 0 34px;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 24px;
  color: #263D4E;
  background: #fff;
}

.chapter-break span {
  font-family: "Lora", Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  color: #64A29E;
}

.chapter-break i {
  height: 1px;
  background: linear-gradient(90deg, #64A29E, #D7E2E0);
}

.chapter-break small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
}

.chapter-break+.section {
  padding-top: 72px;
}

.mediation {
  border-bottom: 1px solid #CEDBD9;
}

.advice {
  margin-inline: max(28px, calc(50vw - 620px));
  padding-inline: 68px;
}

.workshops .section-heading {
  margin-bottom: 64px;
}

.why-cima {
  margin-block: 42px;
}

.contact-break {
  padding-top: 105px;
}

.contact {
  border-top: 1px solid #CEDBD9;
}

.guestbook {
  padding-top: 90px;
  border-top: 26px solid #F4F8F7;
}

@media (max-width: 1180px) {
  .chapter-break {
    margin-inline: 28px;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 90px;
  }

  .chapter-break {
    padding-top: 58px;
  }

  .chapter-break+.section {
    padding-top: 58px;
  }

  .advice {
    padding-inline: 42px;
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: 72px;
  }

  .chapter-break {
    margin-inline: 20px;
    padding: 50px 0 25px;
    grid-template-columns: 42px 1fr;
    gap: 15px;
  }

  .chapter-break span {
    font-size: 31px;
  }

  .chapter-break small {
    grid-column: 2;
    grid-row: 2;
  }

  .advice {
    margin-inline: 0;
    padding-inline: 20px;
  }

  .why-cima {
    margin-block: 24px;
  }
}

/* Diferenciación inequívoca de servicios */
.services {
  background: #fff;
  border-bottom: 1px solid #D4DFDD;
}

.mediation {
  background: #DFECEA;
  border-top: 10px solid #64A29E;
  border-bottom: 1px solid #BCD1CE;
}

.mediation .faq {
  margin-top: 92px;
  padding: 54px 60px;
  background: rgba(255, 255, 255, .72);
  border-left: 5px solid #64A29E;
}

.advice {
  color: #fff;
  background: #263D4E;
  border: 0;
  border-left: 10px solid #64A29E;
}

.advice h2,
.advice .eyebrow {
  color: #fff;
}

.advice>div>p:last-child,
.advice aside>span,
.advice aside>small {
  color: #C8D8D6;
}

.advice aside {
  border-color: rgba(255, 255, 255, .35);
  border-top-color: #64A29E;
}

.advice aside>strong {
  color: #fff;
}

.advice .button.light {
  color: #263D4E;
  background: #fff;
}

.advice .button.light:hover {
  color: #fff;
  background: #64A29E;
}

.workshops {
  background: #fff;
  border-top: 1px solid #D4DFDD;
  border-bottom: 1px solid #D4DFDD;
}

.workshops .workshop-list>div {
  transition: padding-left .2s ease, background .2s ease;
}

.workshops .workshop-list>div:hover {
  padding-left: 18px;
  background: #F2F7F6;
}

.why-cima {
  background: #F3F6F5;
}

.contact {
  background: #E8F2F0;
}

@media (max-width: 900px) {
  .mediation .faq {
    margin-top: 70px;
    padding: 40px;
  }

  .advice {
    border-left: 0;
    border-top: 10px solid #64A29E;
  }
}

@media (max-width: 620px) {
  .mediation {
    border-top-width: 7px;
  }

  .mediation .faq {
    margin-top: 52px;
    padding: 30px 22px;
  }

  .advice {
    border-top-width: 7px;
  }
}

/* Preguntas frecuentes al cierre de contenidos */
.faq-section {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 80px;
  align-items: start;
  background: #fff;
  border-top: 1px solid #D4DFDD;
}

.faq-intro {
  position: sticky;
  top: 40px;
}

.faq-intro>p:last-child {
  color: #64767A;
}

.faq-section .faq {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.faq-section .faq details:first-child {
  border-top: 1px solid #CEDBD9;
}

/* Páginas individuales de servicios */
.service-page {
  background: #F7FAF9;
}

.service-page main {
  min-height: 70vh;
}

.service-breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #CEDBD9;
  color: #64767A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.service-breadcrumb a {
  color: #263D4E;
}

.service-detail {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 0 125px;
  display: grid;
  grid-template-columns: 1.08fr .82fr;
  gap: 90px;
  align-items: start;
}

.service-detail-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #263D4E;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.service-detail-copy h2 {
  margin: 55px 0 12px;
  color: #263D4E;
  font-family: "Lora", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.service-lead {
  max-width: 700px;
  margin: 32px 0;
  color: #5F7276;
  font-size: 18px;
  line-height: 1.8;
}

.service-detail .price-panel {
  position: sticky;
  top: 35px;
}

.detail-price,
.workshop-detail-card {
  padding: 44px;
  color: #fff;
  background: #263D4E;
  border-top: 8px solid #64A29E;
}

.detail-price {
  position: sticky;
  top: 35px;
}

.detail-price>span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.detail-price>strong {
  display: block;
  margin: 8px 0 20px;
  font-family: "Lora", Georgia, serif;
  font-size: 72px;
  line-height: 1;
}

.detail-price p {
  color: #D1DFDD;
}

.detail-price hr,
.workshop-detail-card hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.detail-price small {
  color: #BFD1CF;
}

.legal-partner-link {
  display: inline-block;
  margin-top: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal-partner-link:hover {
  color: #BFE0DD;
}

/* Corrección final del encabezado y menú */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.nav-shell {
  width: 100%;
  min-height: 104px;
  padding: 12px max(24px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.nav-shell .brand {
  min-width: 0;
}

.nav-shell .brand img {
  width: min(100%, 290px);
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
}

.nav-shell>nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 40px);
  white-space: nowrap;
}

.nav-dropdown-toggle {
  padding: 16px 0;
}

.nav-dropdown-menu {
  top: calc(100% + 6px);
  left: 50%;
  width: 260px;
  padding: 8px;
  border-radius: 8px;
  transform: translate(-50%, 8px);
  pointer-events: none;
}

.nav-dropdown-menu a {
  padding: 12px 14px;
  font-size: 12px;
  white-space: normal;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-toggle span,
.nav-dropdown:focus-within .nav-dropdown-toggle span {
  transform: none;
}

.nav-dropdown.is-open .nav-dropdown-toggle span {
  transform: rotate(180deg);
}

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: minmax(190px, 245px) 1fr auto;
    gap: 22px;
  }

  .nav-shell .brand img {
    width: min(100%, 235px);
  }

  .nav-shell>nav {
    gap: 20px;
    font-size: 11px;
  }

  .nav-shell .button.small {
    padding-inline: 13px;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 82px;
    padding: 10px 20px;
    grid-template-columns: minmax(170px, 220px) auto;
  }

  .nav-shell .brand img {
    width: min(100%, 215px);
    max-height: 70px;
  }

  .nav-shell>nav {
    display: none;
  }

  .nav-shell>.button.small {
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .nav-shell {
    grid-template-columns: minmax(145px, 1fr) auto;
    gap: 12px;
    padding-inline: 14px;
  }

  .nav-shell .brand img {
    width: min(100%, 180px);
  }
}

/* Corrección visual: Cómo podemos ayudarte */
.services {
  padding-top: 100px;
  padding-bottom: 112px;
  background: #fff;
}

.services .section-heading {
  max-width: none;
  margin: 0 0 52px;
  display: block;
}

.services .section-heading>div {
  max-width: 780px;
}

.services .section-heading .eyebrow {
  margin-bottom: 14px;
}

.services .section-heading h2 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
}

.services .section-heading>p {
  max-width: 650px;
  margin: 0;
  justify-self: start;
  color: #64767A;
  font-size: 17px;
  line-height: 1.7;
}

.services .service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 0;
}

.services .service-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 34px;
  border: 1px solid #D5E1DF;
  border-top: 5px solid #64A29E;
  background: #fff;
  box-shadow: none;
}

.services .service-grid article:nth-child(2) {
  border-top-color: #263D4E;
}

.services .service-grid article:nth-child(3) {
  border-top-color: #8EBDBA;
}

.services .service-grid h3 {
  margin: 0 0 18px;
  color: #263D4E;
  font-size: clamp(25px, 2vw, 31px);
  line-height: 1.2;
}

.services .service-grid p {
  margin: 0;
  color: #64767A;
  font-size: 14px;
  line-height: 1.75;
}

.services .service-grid footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  align-items: center;
  gap: 15px;
  border-top-color: #D5E1DF;
}

.services .service-grid footer strong {
  color: #263D4E;
  font-size: 13px;
}

.services .service-grid footer a {
  color: #528E8A;
  font-size: 12px;
  white-space: nowrap;
}

.services .service-grid article:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: #BFD3D0;
  box-shadow: 0 18px 42px rgba(38, 61, 78, .09);
}

@media (max-width: 900px) {
  .services {
    padding-block: 82px;
  }

  .services .section-heading {
    margin-bottom: 38px;
  }

  .services .service-grid {
    grid-template-columns: 1fr;
  }

  .services .service-grid article {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .services {
    padding: 68px 20px;
  }

  .services .section-heading h2 {
    font-size: 39px;
  }

  .services .section-heading>p {
    font-size: 15px;
  }

  .services .service-grid {
    gap: 16px;
  }

  .services .service-grid article {
    min-height: 0;
    padding: 27px 24px;
  }

  .services .service-grid footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Preguntas frecuentes: acordeón simple y legible */
.faq-section {
  display: block;
  padding-top: 100px;
  padding-bottom: 110px;
  background: #F1F6F5;
  border-top: 1px solid #D2DFDD;
  border-bottom: 1px solid #D2DFDD;
}

.faq-intro {
  position: static;
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.faq-intro .eyebrow {
  margin-bottom: 14px;
}

.faq-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 4.5vw, 62px);
}

.faq-intro>p:last-child {
  max-width: 520px;
  margin: 0 auto;
  color: #64767A;
  font-size: 16px;
}

.faq-section .faq {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  display: block;
  background: #fff;
  border: 1px solid #CEDBD9;
}

.faq-section .faq details,
.faq-section .faq details:first-child {
  border: 0;
  border-bottom: 1px solid #CEDBD9;
}

.faq-section .faq details:last-child {
  border-bottom: 0;
}

.faq-section .faq summary {
  min-height: 76px;
  padding: 23px 28px;
  align-items: center;
  gap: 24px;
  color: #263D4E;
  font-size: 16px;
  line-height: 1.45;
}

.faq-section .faq summary:hover {
  background: #F7FAF9;
}

.faq-section .faq summary span {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #BFD3D0;
  color: #528E8A;
  font-size: 20px;
  font-weight: 500;
}

.faq-section .faq details[open] summary {
  color: #528E8A;
  background: #F7FAF9;
}

.faq-section .faq details p {
  max-width: 790px;
  margin: 0;
  padding: 0 72px 28px 28px;
  color: #5F7276;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 620px) {
  .faq-section {
    padding: 72px 20px;
  }

  .faq-intro {
    margin-bottom: 34px;
    text-align: left;
  }

  .faq-intro h2 {
    font-size: 42px;
  }

  .faq-intro>p:last-child {
    margin-left: 0;
  }

  .faq-section .faq summary {
    min-height: 68px;
    padding: 19px 18px;
    font-size: 14px;
  }

  .faq-section .faq details p {
    padding: 0 54px 23px 18px;
    font-size: 14px;
  }
}

/* Formulario de opinión */
.guestbook {
  padding-top: 96px;
  padding-bottom: 96px;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 90px;
  background: #fff;
  border-top: 0;
}

.guestbook-heading {
  max-width: 500px;
}

.guestbook-heading h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.06;
}

.guestbook-heading>p:last-child {
  max-width: 430px;
  margin: 0;
  color: #64767A;
  font-size: 16px;
  line-height: 1.7;
}

.guestbook form {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
  background: #F5F8F7;
  border-top: 5px solid #64A29E;
}

.guestbook form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #263D4E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guestbook .guestbook-message {
  grid-column: 1 / -1;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.guestbook input,
.guestbook textarea {
  height: auto;
  padding: 14px 15px;
  color: #263D4E;
  background: #fff;
  border: 1px solid #C8D7D5;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.guestbook textarea {
  min-height: 118px;
  resize: vertical;
}

.guestbook form .button {
  min-height: 50px;
  justify-content: space-between;
  padding-inline: 20px;
}

.guestbook form small,
.guestbook-status {
  align-self: center;
  margin: 0;
  color: #718286;
  font-size: 11px;
  line-height: 1.5;
}

.guestbook-status:not(:empty) {
  min-height: 34px;
}

/* Footer institucional */
.site-footer {
  padding: 70px max(28px, calc(50vw - 640px)) 28px;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr .65fr .9fr;
  align-items: start;
  gap: 55px;
  color: #DCE8E6;
  background: #263D4E;
  border-top: 7px solid #64A29E;
}

.site-footer .footer-brand {
  padding: 8px 0;
  background: transparent;
}

.site-footer .footer-brand .brand img {
  width: 100%;
  max-width: 310px;
  max-height: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.footer-message p {
  margin: 4px 0 14px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 27px;
  line-height: 1.25;
}

.footer-message span {
  color: #B9CDCA;
  font-size: 13px;
  line-height: 1.75;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  margin: 5px 0 18px;
  color: #8FC2BE;
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.site-footer .footer-links nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer .footer-links nav {
  justify-content: flex-start;
}

.site-footer .footer-links a,
.footer-contact a {
  color: #E7EFEE;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer .footer-links a:hover,
.footer-contact a:hover {
  color: #8FC2BE;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .17);
}

.footer-bottom small {
  color: #9FB4B1;
  font-size: 10px;
}

@media (max-width: 1000px) {
  .guestbook {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .footer-brand {
    max-width: 330px;
  }
}

@media (max-width: 620px) {
  .guestbook {
    padding: 72px 20px;
  }

  .guestbook-heading h2 {
    font-size: 42px;
  }

  .guestbook form {
    padding: 25px 20px;
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 55px 20px 25px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer .footer-brand {
    max-width: 290px;
  }

  .footer-bottom {
    grid-column: 1;
    flex-direction: column;
    gap: 6px;
  }
}

/* Portada inspirada en la nueva referencia */
.nav-shell {
  min-height: 82px;
  padding-top: 9px;
  padding-bottom: 9px;
  grid-template-columns: minmax(150px, 205px) 1fr auto;
  border-bottom: 0;
}

.nav-shell .brand img {
  width: min(100%, 190px);
  max-height: 64px;
}

.nav-shell>nav {
  justify-self: center;
}

.nav-shell>.button.small {
  padding: 11px 21px;
  border-radius: 999px;
  background: #2EA99F;
}

.nav-shell>.button.small:hover {
  background: #263D4E;
}

.hero {
  position: relative;
  min-height: 610px;
  padding: 76px max(28px, calc(50vw - 640px)) 112px;
  display: block;
  color: #fff;
  background: #193D4D;
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero::after {
  content: none;
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero .eyebrow {
  margin-bottom: 20px;
  color: #65BBB4;
  font-size: 10px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.hero h1 em {
  color: #35B3A8;
}

.hero .lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: #D6E2E1;
  font-size: 16px;
  line-height: 1.75;
}

.hero .actions {
  margin: 30px 0 38px;
}

.hero .actions .button {
  padding: 13px 22px;
  border-radius: 999px;
  background: #2EA99F;
}

.hero .actions .button:hover {
  background: #fff;
  color: #193D4D;
}

.hero .text-link {
  color: #fff;
}

.hero .text-link:hover {
  color: #75CBC4;
}

.hero-benefits {
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-benefits article {
  min-height: 88px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid rgba(210, 232, 229, .28);
  background: rgba(255, 255, 255, .035);
}

.hero-benefits article>span {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2EA99F;
  font-size: 13px;
  font-weight: 800;
}

.hero-benefits article div {
  display: flex;
  flex-direction: column;
}

.hero-benefits strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.hero-benefits small {
  margin-top: 4px;
  color: #BFD0CE;
  font-size: 11px;
  line-height: 1.5;
}

.hero-rings {
  position: absolute;
  z-index: 2;
  top: 52px;
  right: max(-55px, calc(50vw - 760px));
  width: 390px;
  height: 390px;
  border: 1px solid rgba(53, 179, 168, .42);
  border-radius: 50%;
}

.hero-rings i:first-child {
  position: absolute;
  inset: 78px;
  border: 1px solid rgba(151, 190, 187, .3);
  border-radius: 50%;
}

.hero-rings i:last-child {
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: #35B3A8;
  transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
  .nav-shell {
    grid-template-columns: minmax(160px, 220px) auto;
  }

  .hero {
    min-height: auto;
    padding-block: 70px 108px;
  }

  .hero-rings {
    right: -190px;
    opacity: .6;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    min-height: 74px;
  }

  .nav-shell .brand img {
    width: min(100%, 170px);
  }

  .hero {
    padding: 60px 20px 100px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero .lead {
    font-size: 15px;
  }

  .hero .actions {
    align-items: flex-start;
    gap: 20px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .hero-rings {
    top: 110px;
    right: -270px;
  }
}

/* Header definitivo */
.nav-shell {
  min-height: 116px;
  padding-top: 13px;
  padding-bottom: 13px;
  grid-template-columns: minmax(190px, 250px) 1fr auto;
}

.nav-shell .brand img {
  width: min(100%, 235px);
  max-height: 88px;
}

.hero {
  padding-top: 80px;
}

@media (max-width: 1100px) {
  .nav-shell {
    min-height: 104px;
    grid-template-columns: minmax(175px, 225px) 1fr auto;
  }

  .nav-shell .brand img {
    width: min(100%, 215px);
    max-height: 80px;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 94px;
    grid-template-columns: minmax(170px, 220px) auto;
  }

  .nav-shell .brand img {
    width: min(100%, 210px);
    max-height: 74px;
  }
}

@media (max-width: 520px) {
  .nav-shell {
    min-height: 84px;
  }

  .nav-shell .brand img {
    width: min(100%, 180px);
    max-height: 66px;
  }
}

/* Fotografía institucional en la portada */
.hero {
  background-color: #193D4D;
  background-image:
    linear-gradient(90deg,
      #193D4D 0%,
      rgba(25, 61, 77, .98) 34%,
      rgba(25, 61, 77, .86) 53%,
      rgba(25, 61, 77, .52) 72%,
      rgba(25, 61, 77, .36) 100%),
    linear-gradient(180deg, rgba(25, 61, 77, .12), rgba(25, 61, 77, .58)),
    url("/assets/tribunal-de-justicia.png");
  background-position: center, center, right -180px center;
  background-size: cover, cover, auto 115%;
  background-repeat: no-repeat;
}

.hero-rings {
  right: max(-120px, calc(50vw - 830px));
  opacity: .45;
}

@media (max-width: 900px) {
  .hero {
    background-image:
      linear-gradient(90deg, rgba(25, 61, 77, .97), rgba(25, 61, 77, .76)),
      linear-gradient(180deg, rgba(25, 61, 77, .2), rgba(25, 61, 77, .62)),
      url("/assets/tribunal-de-justicia.png");
    background-position: center, center, right -120px center;
    background-size: cover, cover, auto 110%;
  }
}

@media (max-width: 620px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(25, 61, 77, .94), rgba(25, 61, 77, .88)),
      url("/assets/tribunal-de-justicia.png");
    background-position: center, 58% center;
    background-size: cover, cover;
  }
}

/* Talleres formativos */
.workshops .section-heading {
  margin-bottom: 48px;
  padding-bottom: 38px;
  border-bottom-color: #CEDBD9;
}

.workshop-topics {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workshop-topics article {
  min-height: 185px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  background: #F5F8F7;
  border: 1px solid #D4E0DE;
  border-top: 4px solid #64A29E;
}

.workshop-topics article>span {
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #64A29E;
  font-size: 13px;
  font-weight: 800;
}

.workshop-topics h3 {
  margin: 0 0 10px;
  color: #263D4E;
  font-family: "Lora", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.workshop-topics p {
  margin: 0;
  color: #64767A;
  font-size: 13px;
  line-height: 1.7;
}

.workshop-experience {
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 75px;
  color: #fff;
  background: #263D4E;
  border-left: 8px solid #64A29E;
}

.workshop-experience .eyebrow {
  color: #8FC2BE;
}

.workshop-experience h3 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.1;
}

.workshop-experience-copy>p:not(.eyebrow) {
  max-width: 590px;
  color: #D1DFDD;
  font-size: 15px;
}

.workshop-experience ul {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 24px;
  list-style: none;
}

.workshop-experience li {
  color: #DCE8E6;
  font-size: 13px;
}

.workshop-experience li::before {
  content: "✓";
  margin-right: 9px;
  color: #78C3BD;
  font-weight: 800;
}

.workshop-prices {
  padding-left: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.workshop-prices>div {
  display: flex;
  flex-direction: column;
}

.workshop-prices small {
  color: #8FC2BE;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.workshop-prices strong {
  margin-top: 3px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.workshop-prices span {
  color: #B9CDCA;
  font-size: 12px;
}

.workshop-prices .button {
  align-self: flex-start;
  color: #263D4E;
  background: #fff;
}

.workshop-prices .button:hover {
  color: #fff;
  background: #64A29E;
}

@media (max-width: 900px) {
  .workshop-topics {
    grid-template-columns: 1fr;
  }

  .workshop-topics article {
    min-height: 0;
  }

  .workshop-experience {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .workshop-prices {
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
  }
}

@media (max-width: 620px) {
  .workshop-topics article {
    padding: 24px 20px;
  }

  .workshop-experience {
    padding: 36px 25px;
    border-left-width: 6px;
  }

  .workshop-experience ul {
    grid-template-columns: 1fr;
  }
}

/* Franja jurídica de ancho completo */
.advice {
  width: 100%;
  margin-inline: 0;
  padding: 105px max(28px, calc(50vw - 560px));
  border-left: 0;
  border-top: 8px solid #64A29E;
}

@media (max-width: 900px) {
  .advice {
    padding: 82px 28px;
  }
}

@media (max-width: 620px) {
  .advice {
    padding: 68px 20px;
    border-top-width: 6px;
  }
}

/* Talleres: versión editorial y liviana */
.workshop-topics {
  margin-bottom: 58px;
  gap: 0;
  border-top: 1px solid #CEDBD9;
  border-bottom: 1px solid #CEDBD9;
}

.workshop-topics article {
  min-height: 165px;
  padding: 30px 32px;
  gap: 15px;
  background: transparent;
  border: 0;
  border-right: 1px solid #CEDBD9;
}

.workshop-topics article:last-child {
  border-right: 0;
}

.workshop-topics article>span {
  width: 10px;
  height: 10px;
  flex-basis: 10px;
  margin-top: 8px;
  overflow: hidden;
  color: transparent;
  background: #64A29E;
}

.workshop-topics h3 {
  font-size: 25px;
}

.workshop-topics p {
  max-width: 330px;
}

.workshop-experience {
  padding: 54px 58px;
  color: #263D4E;
  background: #E8F2F0;
  border: 0;
  border-top: 6px solid #64A29E;
}

.workshop-experience .eyebrow {
  color: #528E8A;
}

.workshop-experience h3 {
  color: #263D4E;
}

.workshop-experience-copy>p:not(.eyebrow) {
  color: #52676B;
}

.workshop-experience li {
  color: #40565B;
}

.workshop-experience li::before {
  color: #528E8A;
}

.workshop-prices {
  border-left-color: #B8CECB;
}

.workshop-prices small {
  color: #528E8A;
}

.workshop-prices strong {
  color: #263D4E;
}

.workshop-prices span {
  color: #64767A;
}

.workshop-prices .button {
  color: #fff;
  background: #263D4E;
}

.workshop-prices .button:hover {
  color: #fff;
  background: #64A29E;
}

@media (max-width: 900px) {
  .workshop-topics {
    border-bottom: 0;
  }

  .workshop-topics article {
    border-right: 0;
    border-bottom: 1px solid #CEDBD9;
  }

  .workshop-experience {
    padding: 45px 38px;
  }

  .workshop-prices {
    border-top-color: #B8CECB;
  }
}

@media (max-width: 620px) {
  .workshop-topics {
    margin-bottom: 38px;
  }

  .workshop-topics article {
    padding: 25px 4px;
  }

  .workshop-experience {
    padding: 36px 24px;
    border-top-width: 5px;
  }
}

.service-process {
  margin: 52px 0 42px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #CEDBD9;
}

.service-process>div {
  padding-block: 22px;
  border-bottom: 1px solid #CEDBD9;
}

.service-process strong {
  color: #263D4E;
  font-family: "Lora", Georgia, serif;
  font-size: 24px;
}

.service-process p {
  margin: 4px 0 0;
  color: #64767A;
}

.workshop-detail-card h2 {
  margin-top: 0;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 36px;
  font-weight: 500;
}

.workshop-detail-card>p,
.workshop-detail-card li {
  color: #D1DFDD;
}

.workshop-detail-card .button {
  color: #263D4E;
  background: #fff;
}

.workshop-detail-card .button:hover {
  color: #fff;
  background: #64A29E;
}

.service-detail-workshops .workshop-list>div {
  grid-template-columns: 1fr;
}

@media (max-width: 1180px) {

  .service-breadcrumb,
  .service-detail {
    margin-inline: 28px;
  }
}

@media (max-width: 900px) {
  .faq-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .faq-intro {
    position: static;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .service-detail .price-panel,
  .detail-price {
    position: static;
  }
}

@media (max-width: 620px) {
  .service-breadcrumb {
    margin-inline: 20px;
    padding-top: 38px;
  }

  .service-detail {
    margin-inline: 20px;
    padding: 55px 0 85px;
  }

  .service-detail-copy h1 {
    font-size: 46px;
  }

  .service-lead {
    font-size: 16px;
  }

  .detail-price,
  .workshop-detail-card {
    padding: 32px 25px;
  }

  .detail-price>strong {
    font-size: 58px;
  }
}

.wa-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  overflow: hidden;
  border-radius: 50%;
  background: #64a29e;
  transform: none;
}

.wa-mark img {
  display: block;
  width: 72%;
  height: 72%;
  object-fit: contain;
}