@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap");

:root {
  --base-container: 1280px;
  --gutter-desktop: 40px;
  --gutter-tablet: 28px;
  --gutter-mobile: 20px;

  --bg-page: #F0F0EC;
  --bg-surface: #F8F4F0;

  --text-main: #13231D;
  --text-muted: #5F726B;

  --border-soft: rgba(19, 35, 29, .08);
  --border-mid: rgba(19, 35, 29, .22);

  --primary: #82B194;
  --primary-hover: #739F84;
  --primary-text: #13231D;

  --radius-card: 32px;
  --radius-card-sm: 24px;
  --radius-button: 20px;
  --radius-button-header: 18px;

  --shadow-soft: 0 18px 48px rgba(18, 34, 29, .04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
}

body {
  color: var(--text-main);
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body *,
body *::before,
body *::after {
  font-style: normal;
}

code,
pre,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.preview-body {
  background: var(--bg-page);
}

.preview-main {
  min-height: calc(100vh - 220px);
  padding: 72px 0 48px;
}

.preview-container,
.header-inner,
.footer-wrap {
  width: min(100%, var(--base-container));
  margin: 0 auto;
}

.preview-container {
  padding-left: var(--gutter-desktop);
  padding-right: var(--gutter-desktop);
}

.header-inner {
  padding-left: 40px;
  padding-right: 16px;
}

.footer-wrap {
  padding-left: 40px;
  padding-right: 40px;
}

.preview-hero {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 56px 56px 64px;
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow-soft);
}

.preview-eyebrow {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6A6E67;
}

.preview-title {
  margin: 0;
  max-width: 11ch;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 700;
  color: var(--text-main);
}

.preview-copy {
  margin: 0;
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card-sm);
  padding: 28px;
  display: grid;
  gap: 14px;
}

.preview-card h2,
.preview-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--text-main);
}

.preview-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6A6E67;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.preview-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--border-mid);
}

.preview-component-note {
  margin: 18px 0 0;
  color: #6A6E67;
  font-size: 14px;
  line-height: 1.6;
}

.preview-footer-demo {
  padding-top: 0;
}

/* =========================================================
   BOTONES
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid rgba(130, 177, 148, .35);
  outline-offset: 2px;
}

.btn-green {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-text);
}

.btn-green:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  border-color: rgba(130, 177, 148, .95);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(130, 177, 148, .10);
  border-color: rgba(130, 177, 148, .95);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(130, 177, 148, .12);
}

/* =========================================================
   HEADER
========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 240, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 35, 29, .05);
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.header.header-scrolled {
  background: rgba(248, 244, 240, .97);
  border-bottom-color: rgba(19, 35, 29, .08);
  box-shadow: 0 10px 24px rgba(18, 34, 29, .06);
}

.header-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 388px;
  align-items: center;
  column-gap: 44px;
  padding-top: 24px;
  padding-bottom: 24px;
  transition: padding .24s ease, column-gap .24s ease;
}

.header.header-scrolled .header-inner {
  column-gap: 38px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.logo img {
  width: auto;
  height: 42px;
  max-width: none;
  transition: height .24s ease;
}

.header.header-scrolled .logo img {
  height: 38px;
}

.nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 24px;
  flex-wrap: nowrap;
  transition: gap .24s ease;
}

.header.header-scrolled .nav {
  gap: 22px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 4px;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text-main);
  font-weight: 600;
  border-radius: 12px;
  transition: color .2s ease, background-color .2s ease, opacity .2s ease, min-height .24s ease;
}

.header.header-scrolled .nav a {
  min-height: 36px;
}

.nav a:hover {
  color: var(--primary);
  background: transparent;
}

.nav a:focus-visible {
  outline: 2px solid rgba(130, 177, 148, .35);
  outline-offset: 2px;
}

.nav a[aria-current="page"] {
  color: var(--primary);
  background: transparent;
}

.actions {
  width: 388px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 22px;
  white-space: nowrap;
  transition: gap .24s ease;
}

.header.header-scrolled .actions {
  gap: 20px;
}

.lang-switch,
.login-link,
.header-btn {
  white-space: nowrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--text-main);
  cursor: pointer;
  font-weight: 600;
}

.lang-switch img {
  width: 16px;
  height: 16px;
  opacity: .78;
}

.lang-switch span {
  line-height: 1;
}

.login-link {
  font-size: 16px;
  line-height: 1.2;
  color: var(--text-main);
  font-weight: 600;
}

.header-btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid rgba(130, 177, 148, .95);
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  transition: min-height .24s ease, padding .24s ease, border-color .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.header.header-scrolled .header-btn {
  min-height: 42px;
  padding: 0 18px;
}

/* =========================================================
   MOBILE MENU TOGGLE & OVERLAY
========================================================= */
.header-nav-actions {
  display: contents;
  /* Keeps nav and actions as direct grid children on desktop */
}

/* Hidden by default on desktop */
.mobile-menu-overlay,
.mobile-menu-header,
.mobile-lang-switch {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 101;
  /* Above mobile menu */
}

.hamburger-box {
  display: block;
  width: 24px;
  height: 20px;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0s ease 0.3s;
  border-radius: 4px;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.1s ease;
}

.hamburger-inner::before {
  content: "";
  top: -8px;
  left: 0;
  transition: top 0.2s ease 0.2s, transform 0.2s ease 0s;
}

.hamburger-inner::after {
  content: "";
  bottom: -8px;
  left: 0;
  transition: bottom 0.2s ease 0.2s, transform 0.2s ease 0s;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-inner {
  background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-inner::before {
  top: 0;
  transform: rotate(45deg);
  transition: top 0.2s ease 0s, transform 0.2s ease 0.2s;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-45deg);
  transition: bottom 0.2s ease 0s, transform 0.2s ease 0.2s;
}

body.overflow-hidden {
  overflow: hidden;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  margin-top: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-soft);
}

.footer-wrap {
  padding-top: 34px;
  padding-bottom: 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: start;
  column-gap: 48px;
  row-gap: 24px;
  padding: 0 0 26px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand img {
  width: auto;
  height: 58px;
  max-width: none;
}

.footer-brand p {
  margin: 18px 0 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-aside {
  width: 360px;
  display: grid;
  grid-template-columns: 170px 118px;
  column-gap: 42px;
  justify-content: end;
  justify-self: end;
  justify-items: start;
  align-items: start;
  margin-top: 34px;
}

.footer-links,
.footer-social {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.footer-links h3,
.footer-social h3 {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: left;
  color: var(--text-main);
}

.footer-links a,
.footer-social a {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  color: var(--text-main);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  gap: 16px;
}

.footer-bottom>div:first-child {
  justify-self: start;
}

.footer-bottom> :nth-child(2) {
  justify-self: center;
}

.footer-bottom> :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.footer-bottom a,
.footer-contact,
.footer-copy {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-main);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .preview-title {
    font-size: 46px;
    max-width: none;
  }

  .header-inner {
    grid-template-columns: 190px minmax(0, 1fr) 348px;
    column-gap: 28px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .nav {
    gap: 20px;
  }

  .actions {
    width: 348px;
    gap: 18px;
  }

  .header-btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 15px;
  }

  .footer-wrap {
    padding-left: 28px;
    padding-right: 28px;
  }

  .footer-top {
    grid-template-columns: minmax(240px, 1fr) auto;
    column-gap: 32px;
  }

  .footer-aside {
    width: 330px;
    grid-template-columns: 156px 110px;
    column-gap: 32px;
  }

  .footer-brand img {
    height: 48px;
  }

  .preview-container {
    padding-left: 28px;
    padding-right: 28px;
  }
}

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

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

  .footer-aside {
    width: auto;
    margin-top: 0;
    justify-content: start;
    justify-self: start;
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .preview-main {
    padding: 48px 0 72px;
  }

  .preview-container {
    padding-left: var(--gutter-mobile);
    padding-right: var(--gutter-mobile);
  }

  .preview-hero {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .preview-title {
    font-size: 38px;
  }

  /* Header mobile adaptations */
  .mobile-menu-toggle {
    display: block;
    justify-self: end;
  }

  .mobile-menu-toggle:hover {
    background: transparent;
    background-color: transparent !important;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    row-gap: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(19, 35, 29, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header-inner.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
  }

  .header-nav-actions .nav {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .header-nav-actions {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    padding: 0;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  }

  .header-inner.mobile-menu-open .header-nav-actions {
    right: 0;
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
  }

  .mobile-menu-header img {
    height: 38px;
    width: auto;
  }

  .mobile-menu-close:hover {
    background: transparent;
    background-color: transparent !important;
  }

  .mobile-menu-close {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-nav-actions .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    gap: 0;
    width: 100%;
  }

  .header-nav-actions .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    padding: 16px 24px 16px 0px;
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
    min-height: auto;
  }

  .mobile-lang-switch {
    display: flex;
    padding: 24px;
    gap: 8px;
  }

  .lang-btn {
    background: transparent;
    border: 1px solid rgba(130, 177, 148, .95);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .lang-btn.active {
    background: var(--primary);
    color: var(--bg-surface);
  }

  .header-nav-actions .actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    margin-top: 0;
  }

  .header-nav-actions .actions .header-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  /* Footer mobile adaptations */
  .footer-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-top {
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand img {
    height: 46px;
  }

  .footer-brand p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .blog-optionsx {
    display: none;
  }

  .footer-aside {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 32px;
    justify-content: center;
    justify-items: center;
    align-items: center;
    /* margin-top: 32px; */
    width: 100%;
  }

  .footer-links,
  .footer-social {
    align-items: center;
    justify-items: center;
    text-align: center;
  }

  .footer-links h3,
  .footer-social h3 {
    text-align: center;
    margin-bottom: 16px;
  }

  .footer-links a,
  .footer-social a {
    text-align: center;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
  }

  .footer-bottom>div:first-child,
  .footer-bottom> :nth-child(2),
  .footer-bottom> :nth-child(3) {
    justify-self: center;
    text-align: center;
  }
}


.nav {
  list-style: none !important;
}

[type=button]:hover,
[type=submit]:hover {
  background-color: var(--primary) !important;
  background: var(--primary) !important;
}

#shareButton:hover {
  background-color: transparent !important;
  background: transparent !important;
}

#toggleGlossary:hover,
#toggleGlossary:active,
#toggleGlossary:focus {
  background-color: var(--primary) !important;
  background: var(--primary) !important;
  color: #fff !important;
}
















/* =========================================================
   NAV DROPDOWN (WORDPRESS / LISTA)
========================================================= */
/* Quitar viñetas de las listas generadas por el CMS */
.nav .menu-item {
  list-style: none;
  display: flex;
  align-items: center;
}

/* Contenedor del elemento con submenú */
.menu-item-has-children {
  position: relative;
}

/* Enlace principal que activa el dropdown */
.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Flecha apuntando hacia abajo */
.menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .72;
  transition: transform .2s ease, opacity .2s ease;
}

/* Animación de la flecha al hacer hover */
.menu-item-has-children:hover > a::after,
.menu-item-has-children:focus-within > a::after {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
}

/* Contenedor del submenú */
.sub-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translate(-50%, 6px);
  width: 220px;
  padding: 8px;
  margin: 0;
  border-radius: 18px;
  background: var(--bg-surface, #F8F4F0);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 105;
  list-style: none;
}

/* Zona invisible superior para que el mouse no pierda el hover al bajar */
.sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

/* Mostrar el submenú en hover o foco */
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* Ajustes de los enlaces dentro del submenú */
.sub-menu li {
  width: 100%;
}

.sub-menu a {
  width: 100%;
  min-height: 40px;
  display: flex !important;
  justify-content: flex-start !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 12px;
}

.sub-menu a:hover,
.sub-menu a:focus-visible {
  color: var(--primary) !important;
  background: rgba(130, 177, 148, .10) !important;
}









@media (max-width: 1100px){
/* Ajuste de alineación del submenú en tablets */
  .sub-menu {
    left: 0;
    transform: translateY(6px);
  }

  .menu-item-has-children:hover .sub-menu,
  .menu-item-has-children:focus-within .sub-menu {
    transform: translateY(0);
  }
}










@media (max-width: 760px){

/* Asegurar que las listas en móvil ocupen el 100% del ancho */
  .nav .menu-item {
    width: 100%;
  }

  .menu-item-has-children {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .menu-item-has-children > a {
    width: 100%;
    justify-content: space-between !important; /* Manda la flecha a la derecha */
  }

  /* Reiniciar el submenú para que no flote en móvil */
  .sub-menu {
    position: static;
    width: 100%;
    transform: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    
    /* Efecto acordeón */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  /* Mostrar al interactuar */
  .menu-item-has-children:hover .sub-menu,
  .menu-item-has-children:focus-within .sub-menu,
  .menu-item-has-children:active .sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* Ajustar los enlaces del dropdown en la versión móvil */
  .sub-menu a {
    font-size: 16px !important;
    padding: 12px 16px 12px 0px !important;
    border-bottom: none !important;
    color: var(--text-muted) !important;
    min-height: auto !important;
  }
}




/* =========================================================
   FORZAR FLECHA DEL MENÚ DESPLEGABLE (ESTADO NORMAL Y HOVER)
========================================================= */

/* Asegurar el flexbox en el enlace */
.nav .menu-item-has-children > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Construcción estricta de la flecha */
.nav .menu-item-has-children > a::after {
  content: "" !important; /* Obliga a que exista */
  display: block !important; /* Necesario dentro de un flex container */
  width: 6.5px !important;
  height: 6.5px !important;
  border-right: 1.5px solid var(--text-main) !important;
  border-bottom: 1.5px solid var(--text-main) !important;
  border-top: transparent !important;
  border-left: transparent !important;
  transform: translateY(-2px) rotate(45deg) !important;
  flex-shrink: 0 !important; /* Evita que el flexbox aplaste la flecha */
  transition: transform 0.25s ease !important;
}

/* Rotación al hacer hover o foco */
.nav .menu-item-has-children:hover > a::after,
.nav .menu-item-has-children:focus-within > a::after {
  transform: translateY(2px) rotate(225deg) !important;
}