/* Copy of the original Wix design of Centro de Psicología Lema, rebuilt as static HTML */
:root {
  --bg: #FFFEFC; --teal: #2A7C6F; --teal-2: #37736A; --teal-3: #5F9D92; --ink: #22665B; --muted: #4A6863; --mint: #CADED9; --mint-2: #D5E4E0;
  --peach: #F6EBE4; --peach-line: #EBD6C9; --clay: #B4806A; --green: #3F7652;
  --head: 'Jost', sans-serif; --body: 'Mulish', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--teal); font: 400 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 12px; }

/* ---------- header ---------- */
.site-head { background: var(--bg); position: relative; z-index: 50; }
.sh-top { max-width: 1245px; margin: 0 auto; padding: 16px 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sh-logo img { height: 46px; width: auto; }
.sh-right { display: flex; align-items: center; gap: 18px; }
.sh-phone { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; align-items: center; justify-content: center; }
.sh-phone svg { width: 22px; height: 22px; }
.sh-nav { flex: 1; display: flex; justify-content: flex-end; }
.menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 999px; font: 600 15px/1.2 var(--body); color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s; white-space: nowrap; }
.menu > li > a:hover, .menu > li:focus-within > a { background: #EEF5F3; color: var(--teal); }
.menu > li > a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nv-chev { opacity: .7; transition: transform .2s; }
.menu .has-sub:hover .nv-chev, .menu .has-sub:focus-within .nv-chev { transform: rotate(180deg); }
.menu .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid #E3EEEB; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(23, 61, 55, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.menu .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu .has-sub:hover .sub, .menu .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub a { display: block; padding: 9px 12px; border-radius: 10px; font: 500 15px/1.35 var(--body); color: var(--ink); text-decoration: none; }
.menu .sub a:hover, .menu .sub a[aria-current="page"] { background: #EEF5F3; color: var(--teal); }
.menu .nv-cta { margin-left: 8px; }
.menu .nv-cta a { background: var(--teal); color: #fff; padding: 11px 20px; box-shadow: 0 6px 16px rgba(42, 124, 111, .2); }
.menu .nv-cta a:hover { background: var(--green); color: #fff; }
.menu .nv-cta a[aria-current="page"] { box-shadow: 0 6px 16px rgba(42, 124, 111, .2); border-radius: 999px; }
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; align-items: center; }
.social a { display: inline-flex; width: 20px; height: 20px; color: var(--teal); }
.social svg { width: 100%; height: 100%; }
.social .ic-tt { color: #111; } .social .ic-wa { color: #25D366; } .social .ic-ig { color: #E1306C; } .social .ic-li { color: #0A66C2; } .social .ic-mail { color: #1c1c1c; }
.sh-social-m { display: none; }
.sh-burger-slot { display: inline-block; width: 58px; height: 58px; flex: none; }

/* floating menu button: follows the scroll, always top-right */
.sh-burger { position: fixed; z-index: 300; top: 19px; right: max(16px, calc((100vw - 1245px) / 2 + 20px));
  width: 58px; height: 58px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--teal); box-shadow: 0 6px 20px rgba(42, 124, 111, .28);
  display: grid; place-content: center; gap: 5px; transition: background-color .2s ease, transform .2s ease, right .35s cubic-bezier(.2, .7, .2, 1); }
.sh-burger[aria-expanded="true"] { right: 24px; box-shadow: none; }
.sh-burger:hover { background: var(--green); }
.sh-burger:active { transform: scale(.95); }
.sh-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.sh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu drawer */
.drawer { position: fixed; inset: 0; z-index: 250; visibility: hidden; transition: visibility 0s .35s; }
.drawer.is-open { visibility: visible; transition: none; }
.dr-backdrop { position: absolute; inset: 0; background: rgba(23, 61, 55, .35); opacity: 0; transition: opacity .3s ease; }
.drawer.is-open .dr-backdrop { opacity: 1; }
.dr-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain; padding: 22px 28px 28px; box-shadow: -10px 0 40px rgba(23, 61, 55, .18);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.drawer.is-open .dr-panel { transform: none; }
.dr-logo { align-self: flex-start; margin-bottom: 18px; min-height: 62px; display: flex; align-items: center; }
.dr-logo img { height: 40px; width: auto; }
.dr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mint); }
.dr-list > li { border-bottom: 1px solid var(--mint); }
.dr-list > li > a, .dr-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 6px 2px;
  font: 400 19px/1.3 var(--head); color: var(--teal); text-decoration: none; cursor: pointer; list-style: none; }
.dr-list summary::-webkit-details-marker { display: none; }
.dr-list > li > a:hover, .dr-list summary:hover { color: var(--green); }
.dr-list a[aria-current="page"] { font-weight: 500; }
.dr-list > li > a[aria-current="page"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.dr-chev { width: 22px; height: 22px; flex: none; color: var(--teal-2); transition: transform .25s ease; }
.dr-list details[open] .dr-chev { transform: rotate(180deg); }
.dr-list details ul { list-style: none; margin: 0 0 12px; padding: 4px 0 4px 14px; border-left: 2px solid var(--mint); }
.dr-list details ul a { display: block; padding: 7px 0; font: 400 16px/1.4 var(--body); color: var(--teal); text-decoration: none; }
.dr-list details ul a:hover { color: var(--green); }
.dr-list details ul a[aria-current="page"] { font-weight: 600; }
.dr-list .dr-all { color: var(--teal-2); font-size: 14px; letter-spacing: .02em; }
.dr-foot { margin-top: auto; padding-top: 28px; }
.dr-cta { display: flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 20px; border-radius: 999px; background: var(--teal); color: #fff;
  font: 500 16px/1.2 var(--body); text-decoration: none; text-align: center; transition: background-color .2s; }
.dr-cta:hover { background: var(--green); }
.dr-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.dr-quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--mint); border-radius: 14px;
  color: var(--teal); text-decoration: none; font-size: 13px; transition: background-color .2s; }
.dr-quick a:hover { background: var(--mint-2); }
.dr-quick svg { width: 22px; height: 22px; }
.dr-addr { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--teal-2); text-align: center; }
body.menu-open { overflow: hidden; }

/* ---------- Wix layout engine ---------- */
.wx-section, .wx-strip, .wx-col, .wx-box, .wx-stage { display: flow-root; }
.wx-section { position: relative; background-repeat: no-repeat; }
.wx-stage { max-width: 980px; margin: 0 auto; position: relative; }
.wx-bleed .wx-stage { padding: 0; }
.wx-row { display: flex; align-items: flex-start; margin-top: var(--gap); }
.wx-cell { flex: 0 0 var(--w); max-width: var(--w); margin-left: var(--ml); margin-top: var(--mt); min-width: 0; }
.wx-tail { height: var(--gap); }
.wx-layers { display: grid; }
.wx-layers > * { grid-area: 1 / 1; min-width: 0; }
.wx-layer { align-self: start; position: relative; }
.wx-stack + .wx-stack { margin-top: 14px; }
@media (max-width: 760px) { .wx-layers > .wx-layer { grid-area: auto; width: 100% !important; margin: 10px 0 0 !important; } .wx-stack { margin-left: 0 !important; max-width: 100% !important; } }
.wx-strip { width: 100%; background-repeat: no-repeat; }
.wx-cols { display: flex; }
/* plain column strips (no column backgrounds) keep to the page width instead of touching the screen edges */
.wx-cols:not(:has(> .wx-col[style*="background"])) { max-width: 1245px; margin-inline: auto; padding-inline: 20px; gap: 24px; }
.wx-col { min-width: 0; background-repeat: no-repeat; }
.wx-box { height: 100%; }
.wx-filled { padding-bottom: 1px; }
.wx-text { overflow-wrap: break-word; }
.wx-text h1, .wx-text h2, .wx-text h3, .wx-text h4, .wx-text h5, .wx-text h6, .wx-text p { margin: 0; font-weight: inherit; }
.wx-text h1, .wx-text h2, .wx-text h3, .wx-text h4, .wx-text h5, .wx-text h6 { font-family: var(--head); font-weight: 300; }
.wx-text ul, .wx-text ol { margin: 0; padding-left: 1.3em; }
.wx-text a { color: inherit; }
.wx-photo { display: block; overflow: hidden; }
.wx-photo img { width: 100%; height: auto; object-fit: cover; }
.wx-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 6px 14px; text-align: center; text-decoration: none; line-height: 1.3; background: var(--teal); color: #fff; font-family: var(--body); transition: background-color .2s ease, color .2s ease; }
.wx-btn:not([class*="btn-"]):hover { background: var(--hover, var(--green)) !important; color: #fff !important; }

/* three button styles used site-wide */
.btn-primary, .btn-soft, .btn-outline, .btn-ghost { min-height: 48px; padding: 10px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1.25 var(--body); letter-spacing: .02em; text-transform: none; gap: 8px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(42, 124, 111, .18); }
.btn-primary:hover { background: var(--green); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(42, 124, 111, .26); }
.btn-soft { background: #DDEBE7; color: #1E5C52; min-height: 44px; font-weight: 500; }
.btn-soft:hover { background: var(--mint); color: var(--green); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: #fff; color: var(--teal); }
.btn-primary:focus-visible, .btn-soft:focus-visible, .btn-outline:focus-visible, .btn-ghost:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wx-cell:has(> .btn-primary, > .btn-soft, > .btn-outline, > .btn-ghost) { min-width: min(100%, 200px); }

.legal-table { overflow-x: auto; margin: 14px 0 18px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; color: var(--teal); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--mint); }
.legal-table th { font-weight: 600; background: #EEF5F3; }

/* test cards (Tests page) */
.tcard { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #E3EEEB; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--teal);
  transition: transform .25s ease, box-shadow .25s ease; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 61, 55, .12); }
.tc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.tc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tcard:hover .tc-img img { transform: scale(1.04); }
.tc-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.tc-body h3 { margin: 0; font: 400 19px/1.25 var(--head); color: var(--teal); }
.tc-body p { margin: 0; font: 400 14.5px/1.55 var(--body); color: var(--muted); }
.tc-go { margin-top: auto; padding-top: 6px; font: 600 14px/1.2 var(--body); color: var(--teal); display: inline-flex; gap: 6px; }
.tcard:hover .tc-go span { transform: translateX(3px); }
.tc-go span { transition: transform .2s ease; }
.wx-repeater:has(> .tcard) { gap: 22px !important; align-items: stretch; }
.tcard-off:hover { transform: none; box-shadow: none; }
.tc-soon { color: var(--teal-2); font-weight: 500; }

/* hero call to action card */
.hero-cta { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 14px 14px 22px; border-radius: 22px; text-decoration: none;
  background: rgba(255, 254, 252, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 14px 40px rgba(23, 61, 55, .18); color: var(--teal);
  transition: transform .25s ease, box-shadow .25s ease; animation: heroCta .7s .25s cubic-bezier(.2, .7, .2, 1) both; }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(23, 61, 55, .24); }
.hc-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hc-eyebrow { font: 600 11px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); }
.hc-title { font: 400 22px/1.15 var(--head); color: var(--teal); }
.hc-title em { font-style: italic; font-weight: 400; }
.hc-arrow { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; transition: background-color .2s ease, transform .2s ease; }
.hc-arrow svg { width: 22px; height: 22px; }
.hero-cta:hover .hc-arrow { background: var(--green); transform: translateX(2px); }
@keyframes heroCta { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wx-repeater { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--tw), 100%), 1fr)); gap: 24px 16px; }
.wx-repeater > .wx-box { height: auto; }
.wx-rep-wide { width: min(calc(100vw - 32px), var(--rw)); position: relative; left: 50%; transform: translateX(-50%); grid-template-columns: repeat(auto-fill, minmax(min(calc(var(--tw) - 12px), 100%), 1fr)); }
.wx-embed { display: block; width: 100%; border: 0; }

/* social icons inside page content */
.wx-cell > .social { justify-content: flex-start; flex-wrap: wrap; }

/* ---------- forms ---------- */
.lema-form { background: var(--peach); border: 1px solid var(--peach-line); box-shadow: 4px 4px 0 var(--peach-line); border-radius: 4px; padding: 26px 32px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; color: #5b4335; }
.lema-form h3 { grid-column: 1 / -1; margin: 0 0 6px; text-align: center; font: 500 22px/1.3 var(--head); color: #5b4335; }
.lema-form label { display: block; font: 400 14px/1.6 var(--body); }
.lema-form input[type=text], .lema-form input[type=email], .lema-form input[type=tel], .lema-form select { width: 100%; height: 40px; border: 2px solid var(--peach-line); border-radius: 8px; background: #FFF9F5; padding: 0 12px; font: 400 15px var(--body); color: #3d2c22; }
.lema-form input:focus, .lema-form select:focus { outline: 2px solid var(--clay); outline-offset: 1px; }
.lema-form .f-full { grid-column: 1 / -1; }
.lema-form .f-center { text-align: center; }
.lema-form button { min-width: 240px; min-height: 48px; padding: 10px 26px; border: 1.5px solid transparent; border-radius: 999px; background: var(--teal); color: #fff;
  font: 600 15px/1.25 var(--body); letter-spacing: .02em; cursor: pointer; box-shadow: 0 6px 18px rgba(42, 124, 111, .18); transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.lema-form button:hover { background: var(--green); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(42, 124, 111, .26); }
.wx-cell:has(> .social) { min-width: 170px; max-width: none; flex-basis: auto; }
.wx-cell > .social { flex-wrap: nowrap; }
.f-check { display: flex !important; gap: 8px; align-items: center; font-size: 13px !important; }
.f-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; }
.lema-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.lema-quick label { display: block; font: 400 14px/1.6 var(--body); color: var(--teal); }
.lema-quick input[type=text] { width: 100%; height: 36px; border: 0; border-radius: 2px; background: #E6EBE8; padding: 0 10px; font: 400 15px var(--body); }
.lema-quick .f-full { grid-column: 1 / -1; }
.lema-quick button { width: 100%; min-height: 48px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font: 600 15px/1.25 var(--body); letter-spacing: .02em; cursor: pointer;
  box-shadow: 0 6px 18px rgba(42, 124, 111, .18); transition: background-color .2s ease, transform .2s ease; }
.lema-quick button:hover { background: var(--green); transform: translateY(-1px); }

/* ---------- map ---------- */
.map-load { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #EEF4F2; text-align: center; padding: 30px; }
.map-load iframe { width: 100%; height: 436px; border: 0; }
.map-btn { border: 0; border-radius: 50px; background: var(--teal); color: #fff; padding: 10px 24px; font: 400 15px var(--body); cursor: pointer; }

/* ---------- blog ---------- */
.blog-feed, .blog-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.blog-feed { grid-template-columns: 1fr 1fr; }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); }
.pc a { display: flex; flex-direction: column; height: 100%; border: 1px solid #E3ECEA; background: #fff; text-decoration: none; color: var(--teal); transition: box-shadow .2s; }
.pc a:hover { box-shadow: 0 6px 20px rgba(42, 124, 111, .12); }
.pc a:hover h3 { color: var(--teal-2); }
.pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { padding: 18px 22px 24px; }
.pc-meta { display: block; font-size: 12px; color: var(--teal-2); }
.pc h3 { margin: 6px 0 8px; font: 400 20px/1.35 var(--body); color: var(--teal); }
.pc p { margin: 0; font-size: 14px; line-height: 1.6; color: #4d7c74; }
.pc-big { grid-column: 1 / -1; }
.pc-big a { flex-direction: column; }
.pc-big .pc-img { aspect-ratio: 16 / 7; }
.blog-more { text-align: center; margin-top: 18px; }

.post-wrap { max-width: 980px; margin: 0 auto; padding: 40px 20px 80px; }
.post { max-width: 740px; margin: 0 auto; background: #fff; border: 1px solid #E3ECEA; padding: 48px 52px; }
.post-author { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--teal-2); }
.post-author img { border-radius: 50%; width: 32px; height: 32px; }
.post h1 { margin: 22px 0 26px; font: 300 clamp(28px, 4vw, 40px)/1.25 var(--head); color: var(--teal); }
.post-cover { margin: 0 0 30px; }
.post-cover img { width: 100%; height: auto; }
.post-body { font: 400 18px/1.75 var(--body); color: #24433E; }
.post-body h2 { font: 300 28px/1.35 var(--head); color: var(--teal); margin: 1.6em 0 .5em; }
.post-body h3 { font: 400 22px/1.4 var(--head); color: var(--teal); margin: 1.4em 0 .4em; }
.post-body p { margin: 0 0 1.1em; }
.post-body ul, .post-body ol { margin: 0 0 1.1em; }
.post-body figure { margin: 1.6em 0; }
.post-body img { width: 100%; height: auto; }
.post-body blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--teal); font-style: italic; }
.post-body a { color: var(--teal); }
.post-cta { margin-top: 36px; padding: 26px; background: var(--mint); text-align: center; }
.post-cta p { margin: 0 0 14px; }
.post-cta .wx-btn { display: inline-flex; width: auto; }
.post-recent { max-width: 740px; margin: 50px auto 0; position: relative; }
.post-recent h2 { font: 300 22px var(--head); margin: 0 0 16px; }
.post-recent .see-all { position: absolute; right: 0; top: 4px; font-size: 14px; }
.post-recent .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-recent .pc p { display: none; }
.post-recent .pc h3 { font-size: 15px; }

.simple { max-width: 740px; margin: 0 auto; padding: 100px 20px 140px; text-align: center; }
.simple h1 { font: 300 48px/1.2 var(--head); margin: 0 0 16px; }

/* ---------- footer ---------- */
.site-foot { background: linear-gradient(180deg, #EEF5F3 0%, #E5F0ED 100%); border-top: 1px solid #DCEAE6; padding: 64px 20px 0; color: var(--ink); }
.sf-grid { max-width: 1245px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 40px; align-items: start; }
.sf-logo img { height: 48px; width: auto; }
.sf-brand p { margin: 16px 0 20px; font: 400 15px/1.65 var(--body); color: var(--muted); max-width: 330px; }
.sf-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--teal); color: #fff; text-decoration: none; font: 600 14.5px/1.2 var(--body); box-shadow: 0 8px 20px rgba(42, 124, 111, .2); transition: background-color .2s, transform .2s; }
.sf-cta:hover { background: var(--green); transform: translateY(-1px); }
.sf-social { margin-top: 20px; gap: 10px; }
.sf-social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid #DCEAE6; display: grid; place-items: center; }
.sf-social svg { width: 18px; height: 18px; }
.sf-h { margin: 0 0 14px; font: 600 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); }
.sf-card { background: transparent; border: 0; padding: 0; box-shadow: none; }
.sf-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-tiles a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%; box-sizing: border-box; padding: 14px; background: #fff; border: 1px solid #DCEAE6; border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.sf-tiles a:hover { transform: translateY(-2px); border-color: #BFDCD5; box-shadow: 0 10px 24px rgba(23, 61, 55, .08); }
.sf-tiles i { width: 40px; height: 40px; border-radius: 50%; background: #EEF5F3; color: var(--teal); display: grid; place-items: center; margin-bottom: 8px; }
.sf-tiles i.sf-wa { background: #E3F7EA; color: #1FA855; }
.sf-tiles i svg { width: 19px; height: 19px; }
.sf-tiles small { font: 600 11px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-2); }
.sf-tiles b { font: 500 15px/1.35 var(--body); overflow-wrap: anywhere; }
.sf-meta { margin: 14px 2px 0; display: flex; flex-direction: column; gap: 6px; font: 400 14px/1.45 var(--body); color: var(--ink); }
.sf-meta span { display: flex; align-items: center; gap: 8px; }
.sf-meta svg { flex: none; width: 16px; height: 16px; color: var(--teal); }
.sf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chips a { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #DCEAE6; color: var(--ink); text-decoration: none; font: 500 14px/1.2 var(--body); transition: background-color .2s, color .2s, border-color .2s; }
.sf-chips a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.sf-bottom { max-width: 1245px; margin: 44px auto 0; padding: 18px 0 26px; border-top: 1px solid #D3E4DF; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; }
.sf-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sf-legal a { font: 400 13px/1.5 var(--body); color: var(--muted); text-decoration: none; }
.sf-legal a:hover { color: var(--teal); text-decoration: underline; }
.sf-bottom p { margin: 0; font: 400 13px/1.5 var(--body); color: var(--muted); }
@media (max-width: 1000px) { .sf-grid { grid-template-columns: 1fr 1fr; } .sf-links { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .site-foot { padding: 44px 16px 0; }
  .sf-grid { grid-template-columns: 1fr; gap: 28px; }
  .sf-logo img { height: 42px; }
  .sf-tiles { gap: 8px; }
  .sf-tiles a { padding: 12px; border-radius: 16px; }
  .sf-tiles i { width: 36px; height: 36px; }
  .sf-tiles b { font-size: 14px; }
  .sf-bottom { flex-direction: column; align-items: flex-start; margin-top: 32px; }
}

/* mobile quick-contact bar (like the Wix mobile action bar) */
.actionbar { display: none; }

/* ---------- photo treatments ---------- */
.wx-bgimg { display: none; }
.wx-btn > svg { width: 22px; height: 22px; }
.team-card { display: flex; }
.team-card > .wx-box { flex: 1; padding-bottom: 30px; }
.team-card .wx-tail { display: none; }
.team-card .wx-photo { overflow: hidden; }
.team-card .wx-photo img { transition: transform .5s ease; }
.team-card:hover .wx-photo img { transform: scale(1.04); }
.team-more { display: inline-flex; gap: 6px; margin-top: 14px; font: 500 15px/1.4 var(--body); color: var(--teal); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.team-more:hover { color: var(--green); }
.team-more span { transition: transform .2s ease; }
.team-more:hover span { transform: translateX(3px); }

/* ---------- small screens: stack like Wix mobile ---------- */
@media (max-width: 1000px) {
  .wx-stage { padding: 0 20px; }
  .wx-cols .wx-stage, .wx-strip .wx-stage { padding: 0 20px; }
}
@media (max-width: 1140px) {
  .sh-nav { display: none; }
}
@media (max-width: 760px) {
  .sh-top { padding: 14px 16px 10px; }
  .sh-logo img { height: 34px; }
  .sh-nav { display: none; }
  .sh-phone { display: inline-flex; }
  .sh-social-m { display: flex; }
  .sh-social-m li:has(.ic-mail) { display: none; }
  .sh-burger { top: 18px; right: 16px; width: 50px; height: 50px; }
  .sh-burger-slot { width: 50px; height: 50px; }
  .sh-burger[aria-expanded="true"] { right: 16px; }
  .dr-panel { padding: 18px 22px 24px; }
  .sh-right { gap: 12px; }
  .wx-row { flex-direction: column; align-items: stretch; margin-top: min(var(--gap), 36px); }
  .wx-cell { flex: none; max-width: 100%; width: 100%; margin-left: 0; margin-top: 12px; }
  .wx-cell:has(> .wx-btn), .wx-cell:has(> .wx-photo) { max-width: min(var(--pw), 100%); align-self: flex-start; }
  .wx-cell:has(> .wx-photo) .wx-photo img { aspect-ratio: var(--mar, auto) !important; max-height: 72svh; }
  .wx-cell:has(> .wx-photo-big) { max-width: 100%; align-self: stretch; }
  .wx-photo-big img { width: 100%; }
  .wx-repeater:has(> .tcard) { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .tc-body { padding: 12px 12px 14px; gap: 6px; }
  .tc-body h3 { font-size: 16px; }
  .tc-body p { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .tc-go { font-size: 13px; }
  .team-card .wx-photo img { aspect-ratio: 6 / 5 !important; object-position: 50% 50%; max-height: none; }
  .team-card .wx-cell:has(> .wx-photo-big) { margin-top: 0; }
  .wx-box.wx-filled > .wx-row:not(.wx-full) { padding-left: 20px; padding-right: 20px; }
  .wx-btn[aria-label="Llamar"], .wx-btn[aria-label="Enviar email"] { width: 48px; height: 48px; min-height: 48px !important; border-radius: 50% !important; background: var(--mint) !important; color: var(--teal) !important; border: 0 !important; padding: 0; }
  /* hero: full-screen first image, title + button on the wall area (Wix mobile style) */
  .wx-hero { min-height: calc(100svh - 80px - 62px); display: flex; flex-direction: column; justify-content: flex-start; position: relative;
    background-size: cover !important; background-position: 47% 100% !important; padding: 0 !important; }
  .wx-hero > .wx-stage { position: relative; flex: 1; display: flex; flex-direction: column; padding-top: 6svh; padding-bottom: 22px; }
  .wx-hero .wx-tail { display: none; }
  .wx-hero .wx-row { margin-top: 0; }
  .wx-hero .wx-row:first-child .wx-cell { max-width: 58% !important; width: 58%; align-self: flex-start !important; }
  .wx-hero h2, .wx-hero h2 span { font-size: clamp(23px, 6.6vw, 29px) !important; line-height: 1.2 !important; }
  /* call to action: glass card anchored at the bottom of the photo, over the books, never over the face */
  .wx-hero .wx-row + .wx-row { margin-top: auto; padding-top: 24px; }
  .wx-hero .wx-row + .wx-row .wx-cell { max-width: 100% !important; width: 100%; align-self: stretch !important; }
  .hero-cta { padding: 12px 12px 12px 20px; }
  .wx-section.wx-bleed:has(.wx-hero) > .wx-strip { padding-bottom: 0; }
  /* bottom action bar */
  .actionbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 240;
    background: rgba(255, 254, 252, .94); border: 1px solid #DCEAE6; border-radius: 999px; padding: 6px;
    box-shadow: 0 10px 30px rgba(23, 61, 55, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .actionbar .ab-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #DCEAE6; background: #fff; display: grid; place-items: center; color: var(--teal); }
  .actionbar .ab-ic svg { width: 22px; height: 22px; }
  .actionbar .ab-wa { color: #1FA855; }
  .actionbar .ab-cta { flex: 1; min-width: 0; height: 46px; border-radius: 999px; background: var(--teal); color: #fff; display: grid; place-items: center; text-decoration: none; font: 600 15px/1 var(--body); white-space: nowrap; }
  .actionbar .ab-cta:active, .actionbar .ab-ic:active { transform: scale(.97); }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.menu-open .actionbar { display: none; }
  /* photo backgrounds shown as their own large image, text below */
  .wx-hasbg { background-image: none !important; background-color: var(--bg) !important; }
  .wx-hasbg > .wx-bgimg { display: block; width: calc(100% + 40px); max-width: none; margin: 0 -20px 26px; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 46%; }
  .wx-cols > .wx-col:not(:has(> .wx-stage)) { padding-left: 20px; padding-right: 20px; }
  .wx-col.wx-hasbg { padding-bottom: 36px; }
  /* photo with topic chips on top: photo first, chips below as a tidy wrap */
  .wx-hasbg:has(.btn-soft) { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-bottom: 40px; }
  .wx-hasbg:has(.btn-soft) > .wx-bgimg { flex: 0 0 calc(100% + 40px); margin-bottom: 14px; aspect-ratio: 1 / 1; object-position: 50% 50%; }
  .wx-hasbg:has(.btn-soft) > .wx-row, .wx-hasbg:has(.btn-soft) > .wx-stage, .wx-hasbg:has(.btn-soft) > .wx-stage > .wx-row { display: contents; }
  .wx-hasbg:has(.btn-soft) .wx-cell { width: auto !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; flex: none; }
  .wx-hasbg:has(.btn-soft) .btn-soft { width: auto; padding-inline: 18px; }
  .wx-hasbg:has(.btn-soft) .wx-tail { display: none; }
  .wx-cols > .wx-col:not([style*="background-image"]):has(> div[style^="height"]:only-child) { display: none; }
  .wx-cols > .wx-col[style*="background-image"] > div[style^="height"]:only-child { height: 78vw !important; max-height: 70svh; }
  .wx-tail { height: min(var(--gap), 40px); }
  .wx-cols { flex-direction: column; }
  .wx-col { flex: none !important; }
  .wx-col, .wx-strip { padding-bottom: 8px; }
  .wx-section { padding-bottom: 8px; }
  .lema-form, .lema-quick { grid-template-columns: 1fr; padding: 20px; }
  .blog-feed { grid-template-columns: 1fr; }
  .post { padding: 28px 20px; }
  .post-recent .blog-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta { animation: none; } * { transition: none !important; scroll-behavior: auto !important; } }
#contacto { scroll-margin-top: 110px; }

/* ---------- Google reviews carousel ---------- */
.reviews { background: linear-gradient(180deg, #EEF5F3 0%, #F6FAF9 100%); padding: 88px 0 72px; overflow: hidden; }
.rv-wrap { max-width: 1245px; margin: 0 auto; padding: 0 20px; }
.rv-head { text-align: left; margin: 0 0 36px; }
.rv-eyebrow { margin: 0 0 10px; font: 600 12px/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--teal-2); }
.rv-head h2 { margin: 0 0 18px; font: 300 clamp(28px, 3.6vw, 40px)/1.2 var(--head); color: var(--teal); }
.rv-score { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #DCEAE6; text-decoration: none; color: var(--teal);
  box-shadow: 0 6px 18px rgba(23, 61, 55, .06); transition: box-shadow .2s ease; }
.rv-score:hover { box-shadow: 0 10px 26px rgba(23, 61, 55, .12); }
.rv-num { font: 500 20px/1 var(--head); }
.rv-score .rv-stars { color: #F4B400; display: inline-flex; gap: 1px; }
.rv-count { font: 400 14px/1 var(--body); color: var(--muted); }
.rv-carousel { position: relative; }
.rv-track { list-style: none; margin: 0; padding: 8px 4px 18px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: 22px; padding: 26px 26px 22px;
  border: 1px solid #E3EEEB; box-shadow: 0 10px 30px rgba(23, 61, 55, .07); position: relative; }
.rv-card::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font: 400 84px/1 var(--head); color: var(--mint); pointer-events: none; }
.rv-card .rv-stars { color: #F4B400; display: flex; gap: 2px; }
.rv-text { margin: 0; font: 400 16px/1.65 var(--body); color: #24433E; }
.rv-text p { margin: 0 0 8px; }
.rv-long .rv-text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv-long.is-open .rv-text { display: block; }
.rv-more { align-self: flex-start; border: 0; background: none; padding: 0; font: 600 14px/1.2 var(--body); color: var(--teal); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rv-who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid #EEF4F2; }
.rv-who strong { display: block; font: 600 15px/1.3 var(--body); color: var(--teal); }
.rv-who small { font: 400 12.5px/1.3 var(--body); color: var(--muted); }
.rv-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: 500 17px/1 var(--head); flex: none; }
.rv-nav { position: absolute; top: 42%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #DCEAE6; background: #fff; color: var(--teal); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(23, 61, 55, .12); transition: background-color .2s ease, color .2s ease; }
.rv-nav:hover { background: var(--teal); color: #fff; }
.rv-prev { left: -14px; } .rv-next { right: -14px; }
.rv-dots { display: flex; justify-content: flex-start; gap: 4px; margin-top: 6px; }
.rv-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.rv-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #A9C7C0; transition: width .3s ease, background-color .3s ease; }
.rv-dots button[aria-selected="true"]::before { width: 22px; background: var(--teal); }
.rv-dots button[aria-selected="true"] { width: 34px; }
.rv-all { text-align: left; margin: 22px 0 0; }
.rv-all a { font: 600 15px/1.3 var(--body); color: var(--teal); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 1000px) { .rv-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 760px) {
  .reviews { padding: 60px 0 52px; }
  .rv-head { margin-bottom: 26px; }
  .rv-track { gap: 14px; padding-inline: 2px; }
  .rv-card { flex-basis: 86%; padding: 22px 20px 18px; }
  .rv-nav { display: none; }
  .rv-text { font-size: 15.5px; }
}

/* intro block with the page H1 on tests and resources */
.page-intro { background: linear-gradient(180deg, #F3F8F7 0%, var(--bg) 100%); padding: 46px 20px 26px; text-align: left; }
.pi-wrap { max-width: 1205px; margin: 0 auto; }
.pi-wrap > p:last-child { max-width: 720px; }
.pi-eyebrow { margin: 0 0 10px; font: 600 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); }
.page-intro h1 { margin: 0 0 12px; font: 300 clamp(28px, 4vw, 42px)/1.2 var(--head); color: var(--teal); }
.page-intro p:last-child { margin: 0; font: 400 16px/1.6 var(--body); color: var(--muted); }
@media (max-width: 760px) { .page-intro { padding: 30px 20px 18px; } }

/* readable body text: paragraph text in the old light teal is darkened for contrast */
.wx p, .wx li { color: var(--ink); }
.wx p [style*="color:#2A7C6F"], .wx li [style*="color:#2A7C6F"], .wx p [style*="color:#2a7c6f"], .wx li [style*="color:#2a7c6f"] { color: var(--ink) !important; }
.wx :is(h1, h2, h3, h4, h5, h6) [style*="letter-spacing"] { letter-spacing: .005em !important; }

/* ---------- page-specific closing block ---------- */
.closing { padding: 72px 20px; background: linear-gradient(135deg, #EEF5F3 0%, #F7FAF9 60%, #FFFEFC 100%); }
.cl-wrap { max-width: 1245px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.cl-eyebrow { margin: 0 0 10px; font: 600 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); }
.cl-main h2 { margin: 0 0 14px; font: 400 clamp(28px, 3.4vw, 40px)/1.2 var(--head); color: var(--teal); }
.cl-text { margin: 0 0 24px; font: 400 17px/1.65 var(--body); color: var(--ink); max-width: 560px; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cl-actions .wx-btn { width: auto; }
.cl-wa svg { width: 20px; height: 20px; color: #25D366; }
.cl-wa:hover svg { color: #fff; }
.cl-note { margin: 16px 0 0; font: 400 14.5px/1.5 var(--body); color: var(--muted); }
.cl-note a { color: var(--teal); font-weight: 600; text-decoration: none; }
.cl-rel-h { margin: 0 0 12px; font: 500 18px/1.3 var(--head); color: var(--teal); }
.cl-rel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cl-card { position: relative; display: grid; gap: 4px; padding: 18px 56px 18px 20px; background: #fff; border: 1px solid #E3EEEB; border-radius: 16px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(23, 61, 55, .05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cl-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 61, 55, .1); border-color: var(--mint); }
.cl-card strong { font: 500 18px/1.3 var(--head); color: var(--teal); }
.cl-card span { font: 400 14.5px/1.5 var(--body); color: var(--muted); }
.cl-card i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #EEF5F3; color: var(--teal); transition: background-color .2s, color .2s; }
.cl-card:hover i { background: var(--teal); color: #fff; }
@media (max-width: 900px) { .cl-wrap { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 760px) { .closing { padding: 52px 20px; } .cl-actions .wx-btn { width: 100%; } }

/* ---------- embedded tools: sized to their real content, in a white card ---------- */
.wx-embed { height: var(--h-d, 900px); background: #fff; border-radius: 20px; border: 1px solid #E3EEEB; box-shadow: 0 14px 40px rgba(23, 61, 55, .08); }
.tool-sec { background: linear-gradient(180deg, #F3F8F7 0%, var(--bg) 70%); padding: 18px 0 40px; }
.tool-sec .wx-tail { display: none; }
@media (max-width: 760px) {
  .wx-embed { height: var(--h-m, 900px); border-radius: 16px; }
  .tool-sec { padding: 8px 0 24px; }
}
.wx-cell:has(> .btn-outline[href^="mailto:"]), .wx-cell:has(> .btn-outline[href^="tel:"]) { max-width: none; flex-basis: auto; min-width: min(100%, 320px); }
.btn-outline[href^="mailto:"] { font-size: 14.5px; padding-inline: 18px; white-space: nowrap; }

/* ---------- unified content style (service pages and the rest of the Wix-built sections) ---------- */
.wx .wx-text :is(p, li) { text-align: left; }
.wx .wx-text p + p { margin-top: .7em; }
.wx .wx-text ul { padding-left: 1.2em; margin: .4em 0; }
.wx .wx-text li { margin: .25em 0; }
/* circle-photo info cards */
.wx-row:has(> .wx-cell > .circle-card) { align-items: stretch; }
.wx-cell:has(> .circle-card) { display: flex; }
.circle-card { flex: 1; background: #fff; border: 1px solid #E3EEEB; border-radius: 22px; padding: 26px 26px 24px !important; box-shadow: 0 10px 28px rgba(23, 61, 55, .06); }
.circle-card > .wx-row { margin-top: 14px !important; display: block; }
.circle-card > .wx-row:first-child { margin-top: 0 !important; }
.circle-card .wx-cell { width: 100% !important; max-width: 100% !important; margin: 0 !important; flex: none !important; }
.circle-card .wx-photo { width: 96px !important; height: 96px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px #EEF5F3; }
.circle-card .wx-photo img { width: 96px; height: 96px; aspect-ratio: 1 !important; object-fit: cover; border-radius: 50%; max-height: none !important; }
.circle-card :is(h2, h3, h4) { font: 500 22px/1.3 var(--head) !important; color: var(--teal); margin: 4px 0 0 !important; }
.circle-card .wx-text p { font-size: 16.5px !important; line-height: 1.65 !important; }
.circle-card .wx-tail { display: none; }
.wx-row:has(> .wx-cell > .circle-card) + .wx-row { margin-top: 30px !important; }
.wx-row:has(> .wx-cell > .circle-card) + .wx-row > .wx-cell:has(> .wx-btn) { margin-left: 0 !important; }
/* test promo card */
.wx-cell:has(> .promo-card) { flex-basis: 100% !important; max-width: 820px !important; margin-left: 0 !important; }
.promo-card { display: grid !important; grid-template-columns: minmax(180px, 260px) 1fr; column-gap: 28px; row-gap: 14px; align-items: center; background: #fff !important; border: 1px solid #E3EEEB; border-radius: 22px; padding: 22px !important; box-shadow: 0 10px 28px rgba(23, 61, 55, .07); }
.promo-card > .wx-row { margin: 0 !important; display: block; }
.promo-card > .wx-row:nth-child(1) { grid-column: 2; grid-row: 1; align-self: end; }
.promo-card > .wx-row:nth-child(2) { grid-column: 1; grid-row: 1 / 3; }
.promo-card > .wx-row:nth-child(3) { grid-column: 2; grid-row: 2; align-self: start; }
.promo-card .wx-cell { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.promo-card .wx-photo img { border-radius: 16px !important; aspect-ratio: 4 / 3 !important; object-fit: cover; max-height: none !important; }
.promo-card :is(h1, h2, h3) { font: 400 26px/1.25 var(--head) !important; color: var(--teal); }
.promo-card :is(h1, h2, h3)::before { content: "Test orientativo gratuito"; display: block; margin-bottom: 6px; font: 600 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); }
.promo-card .wx-btn { width: auto; display: inline-flex; }
.promo-card .wx-tail { display: none; }
@media (max-width: 760px) {
  .circle-card { padding: 22px 20px !important; }
  .promo-card { grid-template-columns: 110px 1fr; column-gap: 16px; padding: 16px !important; }
  .promo-card :is(h1, h2, h3) { font-size: 21px !important; }
  .promo-card :is(h1, h2, h3)::before { font-size: 10.5px; }
  .wx-row:has(> .wx-cell > .circle-card) { gap: 14px; }
  .wx-cell:has(> .circle-card) { margin-top: 0 !important; }
}

/* ---------- service pages: one clean left-aligned column at every width ---------- */
.svc .wx-stage { max-width: 1080px; margin-inline: auto; padding-inline: 24px; }
.svc .wx-row { flex-direction: column; align-items: stretch; margin-top: min(var(--gap), 30px); }
.svc .wx-row:first-child { margin-top: 0; }
.svc .wx-cell { flex: none !important; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-top: 12px; }
.svc .wx-cols { flex-direction: column; max-width: 1080px; margin-inline: auto; padding-inline: 24px; }
.svc .wx-col { flex: none !important; }
.svc .wx-tail { height: min(var(--gap), 40px); }
.svc .wx-section, .svc .wx-strip { padding-block: 22px; }
.svc .wx-text h1 { margin-top: 18px; }
.svc .wx-text :is(p, li) { max-width: 760px; }
.svc .wx-cell:has(> .wx-photo):not(:has(.circle-card)) { max-width: 760px !important; }
.svc .wx-photo:not(.circle-card .wx-photo) img { border-radius: 18px !important; max-height: 440px; object-fit: cover; width: 100%; }
.svc .wx-photo img[style*="border-radius:50%"] { width: 120px !important; height: 120px; border-radius: 50% !important; }
.svc .wx-cell:has(> .wx-photo img[style*="border-radius:50%"]) { max-width: 120px !important; }
.svc .card-row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.svc .card-row > .wx-cell { margin: 0 !important; display: flex; }
.svc .btn-row { flex-direction: row !important; flex-wrap: wrap; gap: 10px; align-items: center; }
.svc .btn-row > .wx-cell { width: auto !important; margin: 0 !important; }
.svc .btn-row .wx-btn { width: auto; padding-inline: 22px; }
.svc .wx-cell:has(> .wx-btn) { max-width: 100% !important; }
.svc .wx-cell > .wx-btn { width: auto; display: inline-flex; }
.svc .wx-hasbg > .wx-bgimg { display: block; width: 100%; margin: 0 0 22px; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 18px; }
.svc .wx-hasbg { background-image: none !important; background-color: transparent !important; }
.svc .wx-cell:has(> .promo-card) { max-width: 820px !important; }
@media (max-width: 760px) {
  .svc .wx-stage, .svc .wx-cols { padding-inline: 20px; }
  .svc .card-row { grid-template-columns: 1fr; gap: 14px; }
  .svc .wx-hasbg > .wx-bgimg { aspect-ratio: 4 / 3; }
}

.svc .wx-col:not([style*="background-image"]):has(> div[style^="height"]:only-child) { display: none; }
.svc .wx-col[style*="background-image"]:has(> div[style^="height"]:only-child) { border-radius: 18px; margin-block: 8px; }
.svc .wx-col[style*="background-image"] > div[style^="height"]:only-child { height: clamp(200px, 32vw, 340px) !important; }
/* photo cards (rows of photo + title + text zipped together) */
.photo-card { flex: 1; background: #fff; border: 1px solid #E3EEEB; border-radius: 22px; padding: 14px 14px 22px !important; box-shadow: 0 10px 28px rgba(23, 61, 55, .06); }
.photo-card > .wx-row { margin-top: 12px !important; display: block; padding-inline: 8px; }
.photo-card > .wx-row:has(img) { padding-inline: 0; order: -1; }
.photo-card { display: flex; flex-direction: column; }
.photo-card .wx-cell { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.photo-card .wx-photo img { width: 100%; aspect-ratio: 4 / 3 !important; object-fit: cover; border-radius: 14px !important; max-height: none !important; }
.photo-card .btn-soft { width: auto; display: inline-flex; padding: 6px 14px; min-height: 0; font-size: 14px; }
.photo-card .wx-text p { font-size: 15.5px !important; line-height: 1.6 !important; }
.photo-card :is(h2, h3, h4) { font: 500 21px/1.3 var(--head) !important; color: var(--teal); }
.svc .circle-card > .wx-row:has(img) { order: -1; }
.svc .circle-card { display: flex; flex-direction: column; }

.svc .wx-repeater { max-width: 1032px !important; margin-inline: auto; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; gap: 20px !important; width: auto !important; }
.svc .wx-repeater > .wx-box { background: #fff; border: 1px solid #E3EEEB; border-radius: 22px; padding: 14px 14px 20px; box-shadow: 0 10px 28px rgba(23, 61, 55, .06); }
.svc .wx-repeater > .wx-box .wx-row { margin-top: 12px; padding-inline: 6px; }
.svc .wx-repeater > .wx-box .wx-row:first-child { margin-top: 0; padding-inline: 0; }
.svc .wx-repeater .wx-photo img { aspect-ratio: 4 / 3 !important; object-fit: cover; border-radius: 14px !important; max-height: none; }
.svc .wx-repeater :is(h2, h3, h4, .font_5, .font_6) { font-family: var(--head) !important; font-weight: 500 !important; font-size: 19px !important; }
.svc .wx-repeater .wx-tail { display: none; }
@media (max-width: 760px) { .svc .wx-repeater { padding-inline: 20px; } }

/* method steps */
.steps { padding: 64px 20px; background: linear-gradient(180deg, #FFFEFC 0%, #F3F8F7 100%); }
.st-wrap { max-width: 1080px; margin: 0 auto; }
.steps h2 { margin: 0 0 28px; font: 400 clamp(28px, 3.4vw, 40px)/1.2 var(--head); color: var(--teal); }
.st-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.st-list li { background: #fff; border: 1px solid #E3EEEB; border-radius: 22px; padding: 22px; box-shadow: 0 10px 28px rgba(23, 61, 55, .06); }
.st-list span { display: block; font: italic 300 40px/1 var(--head); color: var(--teal-3); margin-bottom: 12px; }
.st-list strong { display: block; font: 500 19px/1.3 var(--head); color: var(--teal); margin-bottom: 8px; }
.st-list p { margin: 0; font: 400 15px/1.6 var(--body); color: var(--ink); }
@media (max-width: 900px) { .st-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .st-list { grid-template-columns: 1fr; } .steps { padding: 48px 20px; } }

.card-row { gap: 20px; align-items: stretch; }
.card-row > .wx-cell { display: flex; }
.photo-card .wx-cell:has(> .btn-soft) { max-width: 100% !important; }
/* team cards in the same card style */
.team-card > .wx-box { background: #fff !important; border: 1px solid #E3EEEB; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 28px rgba(23, 61, 55, .06); padding-bottom: 22px; }
.team-card > .wx-box > .wx-row { padding-inline: 20px; }
.team-card > .wx-box > .wx-row.wx-full:first-child { padding-inline: 0; }
.team-card > .wx-box > .wx-row:nth-child(2) p, .team-card > .wx-box > .wx-row:nth-child(2) p span { font: 500 21px/1.3 var(--head) !important; color: var(--teal) !important; }
.team-card > .wx-box > .wx-row:nth-child(3) p, .team-card > .wx-box > .wx-row:nth-child(3) p span { font: 600 12.5px/1.3 var(--body) !important; letter-spacing: .12em !important; text-transform: uppercase; color: var(--teal-2) !important; }
.team-card > .wx-box > .wx-row:nth-child(3) { margin-top: 6px !important; }
.team-card .wx-cell:has(> .btn-soft) { display: none; }

/* resources: games and books */
.rs-sec { padding: 64px 24px 24px; }
.rs-books { padding-bottom: 72px; }
.rs-in { max-width: 1100px; margin: 0 auto; }
.rs-eyebrow { margin: 0 0 6px; font: 600 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); }
.rs-sec h2 { margin: 0 0 10px; font: 300 clamp(34px, 5vw, 52px)/1.1 var(--head); color: var(--teal); }
.rs-lead { margin: 0 0 28px; max-width: 640px; font: 400 17px/1.6 var(--body); color: var(--ink); }
.rs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rs-tag { align-self: flex-start; font: 600 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: #EEF5F3; border-radius: 999px; padding: 6px 10px; }
.bk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bk-card { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid #E3EEEB; border-radius: 20px; padding: 22px; }
.bk-cover { flex: none; width: 128px; aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; padding: 16px 12px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 6px 0 0 rgba(0,0,0,.12), 0 12px 24px rgba(23, 61, 55, .18); color: #fff; }
.bk-cover.bk-c1 { background: linear-gradient(160deg, #2A7C6F, #1C5A50); }
.bk-cover.bk-c2 { background: linear-gradient(160deg, #E9A23B, #D9822B); }
.bk-t { font: 400 17px/1.15 var(--head); }
.bk-a { font: 500 9px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.bk-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bk-body h3 { margin: 0; font: 400 22px/1.2 var(--head); color: var(--teal); }
.bk-meta { margin: 0; font: 600 11px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-2); }
.bk-by { margin: 0; font: 500 14px/1.4 var(--body); color: var(--muted); }
.bk-body p:not(.bk-meta):not(.bk-by) { margin: 4px 0 0; font: 400 15px/1.55 var(--body); color: var(--ink); }
.bk-cta { align-self: flex-start; margin-top: 12px; text-decoration: none; white-space: nowrap; padding-left: 20px; padding-right: 20px; display: inline-flex; align-items: center; gap: 6px; }
.bk-soon { align-self: flex-start; margin-top: 12px; font: 600 13px/1 var(--body); color: #8A4A12; background: #FDF1E3; border-radius: 999px; padding: 9px 14px; }
@media (max-width: 1000px) { .rs-grid { grid-template-columns: 1fr 1fr; } .bk-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .rs-sec { padding: 48px 16px 16px; } .rs-books { padding-bottom: 48px; }
  .rs-grid { gap: 12px; } .rs-lead { font-size: 16px; margin-bottom: 20px; }
  .bk-card { gap: 16px; padding: 16px; }
  .bk-cover { width: 96px; padding: 12px 9px; } .bk-t { font-size: 13.5px; } .bk-a { font-size: 7.5px; }
  .bk-body h3 { font-size: 19px; } .bk-body p:not(.bk-meta):not(.bk-by) { font-size: 14px; }
}
/* contrast: teal text on mint backgrounds gets a darker shade */
[style*="background-color:#CADED9"] [style*="color:#2A7C6F"], [style*="background-color:#CADED9"] .wx-text :is(h2, h3, h4), .map-load a { color: #1E5C52 !important; }

/* theme text styles */
.wx .font_0{font-family:'Jost', sans-serif;font-weight:300;font-style:normal;font-size:clamp(53px, 8.98vw, 88px);line-height:1.2;color:#2A7C6F;margin:0}
.wx .font_1{font-family:'Mulish', sans-serif;font-weight:400;font-style:normal;font-size:16px;line-height:1.79;color:#22665B;margin:0}
.wx .font_2{font-family:'Jost', sans-serif;font-weight:300;font-style:normal;font-size:clamp(43px, 7.35vw, 72px);line-height:1.25;color:#2A7C6F;margin:0}
.wx .font_3{font-family:'Jost', sans-serif;font-weight:300;font-style:normal;font-size:clamp(30px, 5.10vw, 50px);line-height:1.34;color:#2A7C6F;margin:0}
.wx .font_4{font-family:'Jost', sans-serif;font-weight:300;font-style:normal;font-size:clamp(24px, 4.08vw, 40px);line-height:1.35;color:#2A7C6F;margin:0}
.wx .font_5{font-family:'Jost', sans-serif;font-weight:400;font-style:normal;font-size:clamp(17px, 2.86vw, 28px);line-height:1.375;color:#2A7C6F;margin:0}
.wx .font_6{font-family:'Jost', sans-serif;font-weight:400;font-style:normal;font-size:clamp(15px, 2.24vw, 22px);line-height:1.41;color:#2A7C6F;margin:0}
.wx .font_7{font-family:'Mulish', sans-serif;font-weight:400;font-style:normal;font-size:20px;line-height:1.67;color:#22665B;margin:0}
.wx .font_8{font-family:'Mulish', sans-serif;font-weight:400;font-style:normal;font-size:18px;line-height:1.75;color:#22665B;margin:0}
.wx .font_9{font-family:'Mulish', sans-serif;font-weight:400;font-style:normal;font-size:16px;line-height:1.875;color:#22665B;margin:0}
.wx .font_10{font-family:'Mulish', sans-serif;font-weight:400;font-style:normal;font-size:16px;line-height:1.79;color:#22665B;margin:0}
