@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --container: 1300px;
  --font-body: "Inter", sans-serif;
  --font-alter: "Fraunces", serif;
  --color-1: #678a93;
  --color-2: #525b5f;
  --color-3: #576369;
  --color-4: #5b6d73;
  --color-5: #5f767d;
  --color-6: #638088;
  --color-7: #678a93;

  --color-8: #77a5bc;
  --color-9: #69d0cf;
  --color-10: #2a7a93;
  --color-11: #6bbadb;
  --color-12: #6a7c8a;

  --color-muted: #395f6939;
  --color-white: #fff;
  --color-dark: #0f2227;
  --color-light: #becacd;
}

@view-transition {
  navigation: auto;
}

html,
body {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  line-height: 1.4;
}
body {
  width: 100%;
  background-color: var(--color-dark);
  color: var(--text-color);
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

body.wp-singular:not(.home) {
  background-color: var(--color-white);
  --sec-checkeos-bg: #fff;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

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

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.serif {
  font-family: var(--font-alter);
}

p {
  margin: 0;
}
.text-5xl {
  font-size: 62px;
}
.text-4xl {
  font-size: 50px;
}
.text-3xl {
  font-size: 38px;
}
.text-2xl {
  font-size: 28px;
}
.text-xl {
  font-size: 22px;
}
.text-lg {
  font-size: 18px;
}
.text-md {
  font-size: 14px;
}
.text-sm {
  font-size: 12px;
}
.text-xs {
  font-size: 11px;
}
.text-white {
  color: #fff;
}
.text-light {
  color: var(--color-light);
}
.text-color8 {
  color: var(--color-8);
}
.text-color9 {
  color: var(--color-9);
}
.text-color10 {
  color: var(--color-10);
}
.text-color11 {
  color: var(--color-11);
}
.text-color12 {
  color: var(--color-12);
}
.text-dark {
  color: var(--color-dark);
}
.text-accent {
  color: var(--color-1);
}
.text-muted {
  filter: brightness(0.7);
}

.bg-dark {
  background-color: var(--color-dark);
}

.light {
  font-weight: 300;
}
.regular {
  font-weight: 400;
}
.semibold {
  font-weight: 600;
}
.bold {
  font-weight: 800;
}

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

/* Medidas y rel  */
.max-w-ch-min {
  max-width: 24ch;
}
.max-w-ch-full {
  max-width: 70ch;
  margin: 0 auto;
}
.mb-xs {
  margin-bottom: 4px;
}
.mb-sm {
  margin-bottom: 8px;
}
.mb-md {
  margin-bottom: 12px;
}
.mt-md {
  margin-top: 12px;
}
.mb-lg {
  margin-bottom: 24px;
}

.mb-xl {
  margin-bottom: 48px;
}

.my-xl {
  margin: 48px 0;
}

.pad-2 {
  padding: 2rem;
}

.rounded {
  border-radius: 1rem;
  overflow: hidden;
}
/* Base Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.main {
  min-height: 400px;
  padding-top: 100px;
  flex: 1;
  animation: fadeIn 0.6s ease-out forwards;
  position: relative;
  isolation: isolate;
}

.page .main {
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: fixed;
  background-position-y: 100px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1278%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='url(%26quot%3b%23SvgjsLinearGradient1279%26quot%3b)'%3e%3c/rect%3e%3cpath d='M -1282.2790286960321%2c226 C -1138.28%2c257 -850.28%2c393.6 -562.2790286960322%2c381 C -274.28%2c368.4 -130.28%2c178.2 157.72097130396776%2c163 C 445.72%2c147.8 621.27%2c301.6 877.7209713039678%2c305 C 1134.18%2c308.4 1327.54%2c205 1440%2c180' stroke='rgba(103%2c 138%2c 147%2c 0.05)' stroke-width='2'%3e%3c/path%3e%3cpath d='M -752.4385678455476%2c47 C -608.44%2c122.8 -320.44%2c383.2 -32.43856784554758%2c426 C 255.56%2c468.8 399.56%2c278.4 687.5614321544524%2c261 C 975.56%2c243.6 1257.07%2c377.8 1407.5614321544524%2c339 C 1558.05%2c300.2 1433.51%2c121.4 1440%2c67' stroke='rgba(103%2c 138%2c 147%2c 0.05)' stroke-width='2'%3e%3c/path%3e%3cpath d='M -557.5108337295301%2c488 C -413.51%2c441.8 -125.51%2c280.6 162.48916627046995%2c257 C 450.49%2c233.4 594.49%2c382.6 882.4891662704699%2c370 C 1170.49%2c357.4 1490.99%2c183.8 1602.48916627047%2c194 C 1713.99%2c204.2 1472.5%2c375.6 1440%2c421' stroke='rgba(103%2c 138%2c 147%2c 0.05)' stroke-width='2'%3e%3c/path%3e%3cpath d='M -350.5604394477381%2c312 C -206.56%2c270.6 81.44%2c91.6 369.4395605522619%2c105 C 657.44%2c118.4 801.44%2c392.4 1089.4395605522618%2c379 C 1377.44%2c365.6 1739.33%2c5.2 1809.4395605522618%2c38 C 1879.55%2c70.8 1513.89%2c442 1440%2c543' stroke='rgba(103%2c 138%2c 147%2c 0.05)' stroke-width='2'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1278'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3clinearGradient x1='84.72%25' y1='-39.29%25' x2='15.28%25' y2='139.29%25' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1279'%3e%3cstop stop-color='rgba(36%2c 71%2c 80%2c 0)' offset='0'%3e%3c/stop%3e%3cstop stop-color='rgba(15%2c 34%2c 39%2c 0)' offset='1'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
}

/* Layout Utilities */
.grid {
  display: grid;
  gap: 24px;
}

.grid-fit-200 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-fit-300 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-fit-400 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.gap-1 {
  gap: 4px;
}

.gap-md {
    gap: 1rem;
}

.flex {
  display: flex !important;
}
.column {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.items-end {
  align-items: flex-end;
}

.in-columns {
  columns: 300px;
  column-gap: 4rem;
  padding: 1rem 0;

  /* Evita que bloques internos se partan entre columnas */
  break-inside: avoid;
}
.in-columns .wp-block-list {
  margin-bottom: 1.4rem;
}
.in-columns .wp-block-heading {
  color: var(--color-7);
  margin-bottom: 12px;
}

/* ====================================================== */
/* HEADER */
/* ====================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 12px;
}
body.admin-bar .header {
  top: 32px;
}

.header_content {
  width: 100%;
  height: 78px;
  max-width: var(--container);
  margin-inline: auto;
  gap: 32px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 18px;
  padding: 0 30px;
}

/* ====================================================== */
/* BRAND */
/* ====================================================== */

.header_brand {
  flex-shrink: 0;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo-link img {
  display: block;
  max-height: var(--custom-logo-link-max-h, 38px);
  width: auto;
}

.header_title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c1);
}

/* ====================================================== */
/* NAV */
/* ====================================================== */

.header_nav {
  margin-left: auto;
}

.header_menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

/* ITEMS */

.header_menu > li {
  position: relative;
}

/* LINKS */

.header_menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1;
  color: var(--c2);
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.header_menu a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--c6);
}

/* CURRENT */
.header_menu .current-menu-item > a,
.header_menu .current-menu-ancestor > a {
  color: var(--c6);
}

/* ====================================================== */
/* DROPDOWN */
/* ====================================================== */

.header_menu .menu-item-has-children {
  position: relative;
}

/* ARROW */

.header_menu .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.header_menu .menu-item-has-children:hover > a::after {
  transform: rotate(225deg) translateY(-1px);
}

/* SUBMENU */
.header_menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  background: var(--c5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 100;
}

/* SHOW */
.header_menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* SUBMENU LINKS */
.header_menu .sub-menu a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--c3);
}

/* NESTED */
.header_menu .sub-menu .sub-menu {
  top: 0;
  left: calc(100% + 10px);
}

/* NESTED ARROW */
.header_menu .sub-menu .menu-item-has-children > a::after {
  transform: rotate(-45deg);
}

/* ====================================================== */
/* TOGGLE */
/* ====================================================== */

.header_btn {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header_btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-2);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.header_btn span + span {
  margin-top: 5px;
}

/* ACTIVE */
.header_btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header_btn.is-active span:nth-child(2) {
  opacity: 0;
}

.header_btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ====================================================== */
/* MOBILE */
/* ====================================================== */

@media (max-width: 960px) {
  .header_btn {
    display: block;
    position: relative;
    z-index: 20;
  }

  .header_nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 100%);
    height: auto;
    max-height: 100px;
    border-radius: 1rem;
    padding: 100px 24px 40px;
    background: #fff;
    opacity: 0;
    transform: translateY(10%);
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  }

  .header_nav.is-active {
    transform: translateY(0);
    opacity: 1;
    max-height: 100vh;
    z-index: -1;
  }

  .header_menu {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .header_menu li {
    width: 100%;
  }

  .header_menu a {
    justify-content: space-between;
    padding: 16px;
  }

  /* SUBMENU MOBILE */

  .header_menu .sub-menu {
    position: static;
    min-width: 100%;
    margin-top: 6px;
    padding: 6px;
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .header_menu .sub-menu.is-open {
    display: block;
  }

  .header_menu .sub-menu .sub-menu {
    left: 0;
  }
}

/* FOOTER  */
.footer {
  width: 100%;
  --custom-logo-link-max-h: 80px;
  color: var(--color-dark);
  background-color: var(--color-dark);
  padding-top: 4rem;
  position: relative;
}

.footer_container {
  background-color: var(--color-white);
  border-radius: 2rem 2rem 0 0;
  padding: 2rem 2rem 1rem;
}
.footer-logo {
  margin-bottom: 2rem;
}
.footer_title {
  border-bottom: solid 1px var(--color-light);
  margin-bottom: 1rem;
  padding: 2px 0;
}

.footer_inner {
  width: 100%;
/*   max-width: 1400px; */
  gap: 1rem 4rem;
  margin: 0 auto;
}

.footer_bottom {
  padding-top: 1rem;
  border-top: solid 1px var(--color-light);
}
.footer_rrss-btn {
  border: solid 1px var(--color-dark);
  border-radius: 8px;
  background-color: var(--color-dark);
  padding: 6px 10px;
  margin-right: 8px;
  color: #fff;
  display: flex;
  gap: 4px;
  align-items: center;
  transition: all 200ms;
}
.footer_rrss-btn:hover {
  color: #fff;
  filter: brightness(1.2);
}

.footer_rrss-btn svg {
  width: 26px;
  height: 26px;
}

.footer_box {
  /* border: solid 2px var(--color-dark); */
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 24px;
  color: var(--color-dark);
  gap: 24px;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 60px 1fr;
  min-width: 0;
  max-width: 80vw;
}

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

.footer_menu {
  margin: 1rem 0;
}
.footer_menu a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0;
  transition: all 250ms ease;
}

.footer_menu a:hover {
    color: var(--color-dark);
    filter: brightness(1.6);
    border-left: solid 2px var(--color-3);
    padding-left: 8px;
    font-weight: 700;
}
