/* E-RC14: consolidated CSS E-RC1 through E-RC10; original cascade preserved. */

/* BEGIN css/e-rc1.css */
/* E–RC1 — ATELIER / Encuentros Psicología
   Visual override only. No content, markup hierarchy, navigation or functionality is changed.
   Original logo, original photography and scripts remain untouched.
*/
:root {
  --e-ivory:#fbf8f3;
  --e-paper:#fffdf9;
  --e-oat:#f1e9e1;
  --e-rose:#e9d8d8;
  --e-mauve:#9b777f;
  --e-wine:#513941;
  --e-ink:#34333d;
  --e-muted:#726a6c;
  --e-gold:#af8968;
  --e-stroke:rgba(81,57,65,.13);
  --e-shadow:0 25px 80px rgba(68,50,56,.095);
  --e-serif: Georgia, 'Times New Roman', serif;
  --e-sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
html {scroll-behavior:smooth}
body {background:var(--e-ivory); color:var(--e-ink);font:400 16px/1.78 var(--e-sans);letter-spacing:.005em;-webkit-font-smoothing:antialiased}
::selection {background:#ead7d4;color:var(--e-wine)}
body :is(h1,h2,h3,h4,h5,h6) {color:var(--e-wine);font-family:var(--e-serif);font-weight:400;line-height:1.17;letter-spacing:-.028em;overflow-wrap:break-word}
body p,body li {line-height:1.82}
body a {color:var(--e-wine);text-underline-offset:4px;transition:color .22s ease,background-color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease}
body a:hover {color:#8a5564}
:where(a,button,input,textarea,select):focus-visible {outline:3px solid #b68f77!important;outline-offset:4px!important}
.container,.container-fluid{max-width:1180px}
/* intentionally compact prestige contact strip */
.top-bar {height:auto;min-height:36px;background:#43343b;border-bottom:1px solid rgba(255,255,255,.13)}
.top-bar .container-fluid{max-width:1280px}
.top-bar .text{border:0;padding:0 18px 0 0;min-height:36px}
.top-bar .text:last-child {border:0}
.top-bar .text i{color:#d5b6a2}
.top-bar .text p,.top-bar .text p a{color:#f8efeb;font-size:12px;letter-spacing:.035em}
.top-bar .social a {border:0;color:#f3dbd4}
.top-bar .social a:first-child{border:0}
/* Preserve menu order, links, toggler and logo asset */
.navbar,.navbar.bg-dark{background:rgba(251,248,243,.985)!important;border-bottom:1px solid var(--e-stroke);box-shadow:0 6px 32px rgba(54,46,50,.035);z-index:999}
.navbar .container-fluid{max-width:1280px}
.navbar .navbar-brand{line-height:1;padding:2px 0}
.navbar .navbar-brand img{max-height:45px;max-width:min(100%,297px);width:auto;height:auto;filter:none}
.navbar.nav-sticky,.navbar.nav-sticky.bg-dark{background:rgba(251,248,243,.985)!important;box-shadow:0 12px 36px rgba(55,42,48,.07)}
.navbar-dark .navbar-nav .nav-link,.navbar-dark .navbar-nav .nav-link:focus{color:#53434a!important;background:transparent!important;font-family:var(--e-sans);font-weight:600;font-size:11px;letter-spacing:.105em;padding:15px 14px!important;text-transform:uppercase;position:relative}
.navbar-dark .navbar-nav .nav-link:after{content:'';position:absolute;height:1px;bottom:9px;left:14px;right:14px;transform:scaleX(0);transform-origin:left;background:#98717a;transition:transform .25s ease}
.navbar-dark .navbar-nav .nav-link:hover,.navbar-dark .navbar-nav .nav-link.active{color:#825962!important;background:transparent!important}
.navbar-dark .navbar-nav .nav-link:hover:after,.navbar-dark .navbar-nav .nav-link.active:after{transform:scaleX(1)}
.navbar-dark .navbar-toggler{border:1px solid #bda5a2;color:#543d44;padding:9px 12px}
.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23513941' stroke-linecap='round' stroke-width='2' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E")}
/* Headline: monumental type, elegant faint background ornaments */
.page-header {overflow:hidden;background:radial-gradient(circle at 92% 10%, rgba(228,202,192,.47),transparent 36%),radial-gradient(circle at 3% 85%,rgba(231,219,211,.66),transparent 36%),linear-gradient(150deg,#fbf8f3 0%,#f6eee7 100%);margin:0;padding:112px 0 77px;text-align:center;position:relative;border-bottom:1px solid var(--e-stroke)}
.page-header:before,.page-header:after{content:'';position:absolute;pointer-events:none;border:1px solid rgba(148,111,114,.13);border-radius:50%;width:550px;height:550px;right:-350px;top:-280px}
.page-header:after{width:400px;height:400px;right:auto;left:-300px;top:auto;bottom:-260px}
.page-header>.container{position:relative;z-index:1}
.page-header h1 {font-family:var(--e-serif);font-size:clamp(2.65rem,5.1vw,5.25rem);font-weight:400;letter-spacing:-.052em;line-height:1.12;max-width:1100px;margin:0 auto 12px;text-wrap:balance;color:var(--e-wine)}
body:not(:has(.page-header .service)) .page-header h1{max-width:1050px}
.page-header h1:first-line{color:#785961}
.page-header p{font-size:17px;color:var(--e-muted)}
/* home section is nested in original header, keep exact DOM structure */
.page-header .service {padding:36px 0 0;background:transparent}
.page-header .service>.container{max-width:1120px}
.page-header .service .row{justify-content:center}
.page-header .service-item {height:calc(100% - 24px);margin-bottom:24px;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 24px;border:1px solid rgba(111,81,87,.15);background:rgba(255,253,249,.86)!important;color:var(--e-ink)!important;border-radius:5px 60px 5px 5px;box-shadow:0 16px 36px rgba(81,57,65,.05);transition:transform .3s ease,box-shadow .3s ease}
.page-header .service-item:hover{transform:translateY(-5px);box-shadow:var(--e-shadow)}
.page-header .service-item h2,.page-header .service-item h3{font-size:clamp(23px,2vw,29px);font-family:var(--e-serif);color:var(--e-wine)!important;font-weight:400;letter-spacing:-.026em}
.page-header .service-item p{font-size:14px;line-height:1.65;color:#695e61!important}
.page-header .service-icon{width:60px;height:60px;margin-bottom:15px}
.page-header .service-icon:before{display:none}
.page-header .service-icon:after{width:60px;height:60px;background:#f0e1da;opacity:.85}
.page-header .service-icon i img{width:32px;height:32px;object-fit:contain}
.page-header video{max-width:100%;height:auto;border:9px solid rgba(255,253,249,.75);border-radius:3px 55px 3px 3px;box-shadow:0 20px 70px rgba(75,52,58,.14)}
/* main sections and typographic rhythm */
.blog,.single,.price,.service:not(.page-header .service){background:var(--e-ivory);padding:95px 0}
.section-header{max-width:850px;margin-bottom:48px}
.section-header p {font:600 11px/1.4 var(--e-sans);letter-spacing:.18em;text-transform:uppercase;color:#997779!important;background:transparent!important;padding:0 0 13px;margin:0 0 14px}
.section-header p:after{width:42px;height:1px;top:auto;bottom:0;left:50%;right:auto;transform:translateX(-50%);background:#bc9e87;z-index:1}
.section-header h2{font-size:clamp(2.15rem,4vw,3.65rem);font-weight:400;letter-spacing:-.035em;color:var(--e-wine);line-height:1.17;text-wrap:balance}
/* editorial article layout on every content page */
.single>.container{max-width:970px}
.single .single-content {font-size:17px;line-height:1.92;color:#49434a}
.single .single-content h1,.single .single-content h2{font-size:clamp(1.9rem,3.5vw,2.85rem);margin:34px 0 21px}
.single .single-content h3{font-size:clamp(1.45rem,2.7vw,2.15rem);margin:35px 0 16px}
.single .single-content h4{font-size:1.35rem;margin:27px 0 12px}
.single .single-content p {font-size:inherit;line-height:1.95;margin-bottom:1.45em}
.single .single-content a{text-decoration:underline;text-decoration-color:#d7acae}
.single .single-content img{max-width:100%;height:auto;border-radius:3px 44px 3px 3px}
.single ul,.single ol{padding-left:1.45em}
.single li{padding:0 0 6px 6px}
.single blockquote,.single blockquote p {font-family:var(--e-serif);font-size:clamp(1.3rem,2.5vw,2.05rem);line-height:1.5;color:var(--e-wine)}
/* topic cards, home slides and fees */
.blog-item,.service:not(.page-header .service) .service-item,.price .price-item{background:var(--e-paper)!important;border:1px solid var(--e-stroke)!important;border-radius:4px 48px 4px 4px;overflow:hidden;box-shadow:0 12px 42px rgba(79,57,59,.055);transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease;color:var(--e-ink)!important}
.blog-item:hover,.service:not(.page-header .service) .service-item:hover,.price .price-item:hover{transform:translateY(-5px);box-shadow:var(--e-shadow);border-color:#d8bab5!important}
.blog-item h2,.blog-item h3,.service:not(.page-header .service) .service-item h2,.service:not(.page-header .service) .service-item h3 {font:400 clamp(1.45rem,2.3vw,2rem)/1.3 var(--e-serif);color:var(--e-wine)!important}
.blog-item p,.service:not(.page-header .service) .service-item p{color:#665d60!important;line-height:1.7}
.blog-img img{width:100%;object-fit:cover;transition:transform .45s ease}
.blog-item:hover .blog-img img{transform:scale(1.025)}
.blog-text{padding:25px 28px 32px}
.service:not(.page-header .service) .service-item{padding:33px 27px;min-height:260px}
.service:not(.page-header .service) .service-icon:before{animation:none;opacity:0}
.service:not(.page-header .service) .service-icon:after{background:var(--e-rose)}
.service:not(.page-header .service) .service-item a {color:#7b5960}
.price .price-item{padding:28px}
.price .price-header{background:transparent!important}
.price .price-title h2,.price .price-pricing h2{font-family:var(--e-serif);color:var(--e-wine)}
.price .price-body{color:#655b61}
/* CTAs keep original labels and destinations */
.btn,.page-header .btn,.discount .btn,.price .btn,.single .btn,.blog .btn,.service .btn {
 border:1px solid #684b54!important;background:#684b54!important;color:#fffaf6!important;
 border-radius:2px 24px 2px 2px!important;padding:13px 28px!important;font:600 12px/1.45 var(--e-sans)!important;letter-spacing:.075em;text-transform:uppercase;
 box-shadow:0 7px 20px rgba(81,57,65,.10);text-decoration:none!important
}
.btn:hover,.page-header .btn:hover,.discount .btn:hover,.price .btn:hover,.single .btn:hover,.blog .btn:hover,.service .btn:hover {background:#49343d!important;border-color:#49343d!important;color:#fff!important;transform:translateY(-2px)}
/* pale call-to-action areas with high-end framing */
.discount {padding:100px 0!important;margin:0!important;background:linear-gradient(rgba(73,51,61,.85),rgba(73,51,61,.87)),url('../img/background-cafe.jpg') center/cover no-repeat!important;color:#fdf7f2;position:relative}
.discount:before{content:'';position:absolute;inset:22px;border:1px solid rgba(255,245,236,.26);pointer-events:none}
.discount .container{max-width:850px;position:relative}
.discount h2,.discount h3,.discount .section-header h2,.discount p,.discount .discount-text {color:#fff9f4!important}
.discount .section-header p {color:#f2d9cc!important}
.discount .btn{background:#f8eee4!important;border-color:#f8eee4!important;color:#543f47!important}
.discount .btn:hover{background:white!important;color:#543f47!important}
.single:has(.single-content > h2):not(:has(.single-content > p)) {background:var(--e-oat)}
/* Footer layout/content is unchanged */
.footer{background:#3e3039!important;color:#dfd0ce;border-top:4px solid #b69a8b;padding:50px 0 28px}
.footer .copyright{padding:16px 0;border-top:1px solid rgba(255,255,255,.16)}
.footer,.footer p,.footer a,.footer .copyright p{color:#f0e6e2!important;font-size:13px;letter-spacing:.01em}
.footer a:hover{color:#efd2b4!important}
.back-to-top{border-radius:50%;background:#684b54;color:white;box-shadow:0 10px 30px rgba(54,36,44,.22)}
.back-to-top i{color:#fff}
.back-to-top:hover{background:#48333c}
.back-to-top:hover i{color:#fff}
/* forms and discoverable control affordances */
.form-control,input:not([type='hidden']),textarea,select{border:1px solid #d9c8c2;border-radius:3px;background:var(--e-paper);color:var(--e-ink)}
.form-control:focus,input:focus,textarea:focus{border-color:#ab8586;box-shadow:0 0 0 3px rgba(155,119,127,.12)}
/* small displays */
@media(min-width:992px){
 .navbar,.navbar.bg-dark{position:relative!important;top:auto!important;width:100%;padding:14px 35px!important}
 .navbar.nav-sticky{position:fixed!important;top:0!important;padding:10px 35px!important}
 .page-header{padding-top:94px}
}
@media(max-width:991.98px){
 .navbar,.navbar.bg-dark{position:relative;top:auto;padding:14px 22px!important}
 .navbar .navbar-brand img{max-height:40px}
 .navbar-dark .navbar-nav{padding:14px 0}
 .navbar-dark .navbar-nav .nav-link{padding:11px 12px!important}
 .navbar-dark .navbar-nav .nav-link:after{left:12px;right:auto;width:42px;bottom:4px}
 .page-header{padding:78px 0 54px}
 .blog,.single,.price,.service:not(.page-header .service){padding:68px 0}
}
@media(max-width:767.98px){
 body{font-size:15px}
 .page-header{padding:62px 0 42px}
 .page-header h1{font-size:clamp(2.25rem,9vw,3.5rem);letter-spacing:-.045em}
 .page-header .service{padding-top:25px}
 .page-header .service-item{min-height:190px;border-radius:4px 34px 4px 4px}
 .page-header video{border-width:5px;border-radius:4px 30px 4px 4px}
 .blog,.single,.price,.service:not(.page-header .service){padding:54px 0}
 .section-header{margin-bottom:33px}
 .single .single-content{font-size:16px}
 .single .single-content h2{font-size:clamp(1.8rem,7vw,2.4rem)}
 .discount{padding:73px 0!important}
 .discount:before{inset:12px}
 .navbar .navbar-brand img{max-width:min(70vw,297px)}
 .footer{padding:35px 0 22px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* END css/e-rc1.css */

/* BEGIN css/e-rc2.css */
/* E-RC2 • Premium refinement of E-RC1 • Scoped visual update, protected content retained */
:root{--erc2-space-desktop:58px;--erc2-space-mobile:38px;--erc2-plum:#513941;--erc2-blush:#ead5d3;--erc2-pale:#fbf8f3}
/* Consistent section rhythm on every page, including adjoining original .single sections. */
body .page-header{padding:74px 0 50px;margin-bottom:0}
body .blog,body .single,body .price,body .service:not(.page-header .service){padding-top:var(--erc2-space-desktop);padding-bottom:var(--erc2-space-desktop)}
body .discount{padding:var(--erc2-space-desktop) 0!important}
body .footer{margin-top:0;padding:0;background:linear-gradient(130deg,#f3e9e5 0%,#dec8c7 46%,#b99a9e 100%)!important;border-top:1px solid #ddc5bd}
body .footer .container-fluid{max-width:none;min-height:155px;padding:64px 0 24px;background:linear-gradient(108deg,rgba(250,241,234,.50),rgba(236,218,216,.58)),url('../img/background-footer.png') center center / auto 155px no-repeat!important}
body .footer .copyright{margin:0 auto;padding:16px 25px;border:0}
body .footer .copyright .row{border-top:1px solid rgba(91,55,66,.25);padding-top:16px;padding-bottom:0}
body .footer,body .footer p,body .footer a,body .footer .copyright p{color:#503942!important}
body .footer a:hover{color:#87515d!important}
body .section-header{margin-bottom:30px}
body .section-header p{margin-bottom:10px}
body .single .single-content h2{margin-top:23px;margin-bottom:18px}
body .single .single-content p{margin-bottom:1.15em}
body .single .single-content h3{margin:23px 0 13px}
/* The three benefits: identical vertical alignment irrespective of heading wrapping */
body.home-erc2 .page-header .service>.container>.row:first-child{align-items:stretch}
body.home-erc2 .page-header .service>.container>.row:first-child>[class*='col-']{display:flex}
body.home-erc2 .page-header .service>.container>.row:first-child .service-item{display:grid;grid-template-rows:64px minmax(72px,auto) 1fr;justify-items:center;align-items:start;align-content:start;gap:12px;width:100%;height:calc(100% - 15px);min-height:238px;margin-bottom:15px;padding:24px 18px 26px}
body.home-erc2 .page-header .service>.container>.row:first-child .service-icon{grid-row:1;margin:0!important;width:64px;height:64px;align-self:start}
body.home-erc2 .page-header .service>.container>.row:first-child .service-item h2{grid-row:2;margin:0;align-self:center;display:flex;align-items:center;justify-content:center}
body.home-erc2 .page-header .service>.container>.row:first-child .service-item p{grid-row:3;margin:0;align-self:start}
/* Original text and video, now a deliberately framed editorial introduction */
body.home-erc2 .erc2-intro{margin:26px auto 0;max-width:970px;padding:38px clamp(25px,5vw,66px) 38px;border:1px solid #e6d4d0;border-radius:8px 58px 8px 8px;background:linear-gradient(125deg,rgba(255,253,248,.97),rgba(244,232,227,.95));box-shadow:0 20px 75px rgba(81,57,65,.075);text-align:left;color:#52444b}
body.home-erc2 .erc2-intro p{max-width:810px;margin:0 auto 17px;text-align:left;font-size:clamp(15px,1.55vw,17px);line-height:1.85;color:#52444b}
body.home-erc2 .erc2-intro .erc2-intro-lead{font-family:Georgia,'Times New Roman',serif;font-size:clamp(20px,2.4vw,27px);line-height:1.55;color:#6e4957;letter-spacing:-.02em}
body.home-erc2 .erc2-intro p:has(> .btn){text-align:left;margin:18px auto 19px}
body.home-erc2 .erc2-intro video{display:block;margin:27px auto 0;max-height:520px;max-width:100%;width:auto;object-fit:contain}
/* Original carousel content and six freshly illustrated assets. */
body.home-erc2 .blog .blog-item{display:flex;flex-direction:column;height:100%;background:#fffdfa!important}
body.home-erc2 .blog .blog-img img{display:block;width:100%;height:225px;aspect-ratio:8/5;object-fit:cover;border:0;background:#ead9d1}
body.home-erc2 .blog .blog-text{display:flex;flex-direction:column;flex:1;padding:23px 25px 25px;min-height:248px}
body.home-erc2 .blog .blog-text h2{font-size:clamp(1.45rem,2vw,1.9rem);min-height:2.4em;margin-bottom:10px}
body.home-erc2 .blog .blog-text p{flex:1;margin-bottom:20px}
body.home-erc2 .blog .blog-text .btn{align-self:flex-start;margin-top:auto;background:transparent!important;color:#684b54!important;border:1px solid #b48e94!important;border-radius:4px 22px 4px 4px!important;padding:11px 20px!important;box-shadow:none}
body.home-erc2 .blog .blog-text .btn:hover{background:#684b54!important;color:#fff!important}
body.home-erc2 .blog .owl-stage{display:flex}
body.home-erc2 .blog .owl-item{display:flex;align-items:stretch}
body.home-erc2 .blog .owl-item .blog-item{width:calc(100% - 30px)}
/* Tarifas: deliberate opposite palettes, identical geometry and CTA positions */
body .price .row.justify-content-center>[class*='col-']{display:flex}
body .price .price-item{display:flex;flex-direction:column;flex:1;min-height:505px;border-radius:8px 45px 8px 8px;overflow:hidden}
body .price .price-header{padding:32px 20px 27px!important;background:linear-gradient(140deg,#fcf5ed,#e8d5cd)!important;color:var(--erc2-plum)!important}
body .price .price-title h2,body .price .price-prices h2{color:var(--erc2-plum)!important}
body .price .price-item.featured-item{background:#49353f!important;border-color:#49353f!important;box-shadow:0 22px 55px rgba(75,45,59,.18)}
body .price .price-item.featured-item .price-header{background:linear-gradient(140deg,#775564,#49343f)!important;color:#fff7f0!important}
body .price .price-item.featured-item .price-title h2,body .price .price-item.featured-item .price-prices h2{color:#fff7f0!important}
body .price .price-item.featured-item .price-body,body .price .price-item.featured-item .price-footer,body .price .price-item.featured-item .price-action{background:#49353f!important;color:#f5e9e7!important;border-color:rgba(255,255,255,.15)!important}
body .price .price-item.featured-item .price-description p{color:#f5e9e7!important}
body .price .price-body{flex:1;display:flex;align-items:center;padding:25px 22px 12px}
body .price .price-footer{margin-top:auto}
body .price .price-action{padding:8px 12px 0}
body .price .price-action .btn{white-space:normal;max-width:100%}
body .price .price-item.featured-item .price-action .btn{background:#f7e9db!important;color:#49353f!important;border-color:#f7e9db!important}
body .price .price-item.featured-item .price-action .btn:hover{background:white!important;border-color:white!important}
/* FAQ: native <details> accordion. Each question retains its original strong text; each answer original text. */
body .single .single-content .erc2-faq{padding:0;margin:25px 0 0;display:grid;gap:12px;list-style:none;counter-reset:erc2-faq}
body .single .single-content .erc2-faq>li{list-style:none;margin:0;padding:0;counter-increment:erc2-faq}
body .erc2-faq-item{border:1px solid #e1ceca;border-radius:6px 25px 6px 6px;background:#fffdfa;overflow:hidden;box-shadow:0 6px 21px rgba(74,48,58,.035)}
body .erc2-faq-item[open]{border-color:#bb9fa1;box-shadow:0 12px 35px rgba(74,48,58,.075)}
body .erc2-faq-item .erc2-faq-question{display:flex;gap:14px;align-items:center;padding:18px 48px 18px 20px;position:relative;cursor:pointer;color:#513941;font-size:16px;line-height:1.55;list-style:none}
body .erc2-faq-item .erc2-faq-question::-webkit-details-marker{display:none}
body .erc2-faq-item .erc2-faq-question:before{content:counter(erc2-faq,decimal-leading-zero);font:600 12px/1.3 'Segoe UI',Arial,sans-serif;letter-spacing:.06em;color:#ae8491}
body .erc2-faq-item .erc2-faq-question:after{content:'+';position:absolute;right:19px;top:50%;transform:translateY(-50%);font-size:25px;font-weight:300;color:#885d6c}
body .erc2-faq-item[open] .erc2-faq-question:after{content:'−'}
body .erc2-faq-item .erc2-faq-question strong{font-weight:600}
body .erc2-faq-item .erc2-faq-answer{padding:0 29px 23px 57px;font-size:15.5px;line-height:1.85;color:#61565b}
body .erc2-faq-item[open] .erc2-faq-question{background:#f9f1ef}
/* Temas: cards equal height across rows; preserve original markup/link destinations */
body.temas-erc2 .service:not(.page-header .service) .row{align-items:stretch}
body.temas-erc2 .service:not(.page-header .service) .row>[class*='col-']{display:flex;align-items:stretch}
body.temas-erc2 .service:not(.page-header .service) .service-item{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:245px;height:calc(100% - 20px);margin-bottom:20px;padding:32px 23px}
body.temas-erc2 .service:not(.page-header .service) .service-icon{flex:none;margin:0 auto 20px}
body.temas-erc2 .service:not(.page-header .service) .service-item h3{margin:0;max-width:100%;line-height:1.37}
body.temas-erc2 .service:not(.page-header .service) .service-item h3 a{color:inherit}
@media(max-width:991.98px){:root{--erc2-space-desktop:48px}body .page-header{padding-top:64px;padding-bottom:40px}body.home-erc2 .page-header .service>.container>.row:first-child .service-item{min-height:222px}body .price .price-item{min-height:490px}}
@media(max-width:767.98px){:root{--erc2-space-desktop:var(--erc2-space-mobile)}body .page-header{padding:46px 0 33px}body .blog,body .single,body .price,body .service:not(.page-header .service){padding-top:var(--erc2-space-mobile);padding-bottom:var(--erc2-space-mobile)}body .discount{padding:var(--erc2-space-mobile) 0!important}body .section-header{margin-bottom:25px}body.home-erc2 .page-header .service>.container>.row:first-child .service-item{min-height:190px;grid-template-rows:60px auto 1fr;gap:10px;padding:22px 18px}body.home-erc2 .erc2-intro{margin-top:15px;padding:27px 22px;border-radius:6px 35px 6px 6px}body.home-erc2 .erc2-intro .erc2-intro-lead{font-size:21px}body.home-erc2 .erc2-intro p{font-size:15px}body.home-erc2 .blog .blog-img img{height:190px}body.home-erc2 .blog .blog-text{min-height:235px}body .price .price-item{min-height:0}body .erc2-faq-item .erc2-faq-question{font-size:15px;padding:15px 42px 15px 15px}body .erc2-faq-item .erc2-faq-answer{padding:0 18px 19px 40px;font-size:14.5px}body.temas-erc2 .service:not(.page-header .service) .service-item{min-height:210px;padding:24px 18px}body .footer .container-fluid{min-height:125px;padding:38px 0 14px;background-size:auto 128px!important}}
@media(prefers-reduced-motion:reduce){body.home-erc2 .blog-item,body .erc2-faq-item{transition:none}}

/* END css/e-rc2.css */

/* BEGIN css/e-rc3.css */
/* E-RC3: focused refinements over E-RC2. Protected Spanish text, navigation and original media are unchanged. */
:root { --erc3-rhythm: 22px; --erc3-plum: #684b54; --erc3-paper: #fffcf8; }
/* H1: slightly smaller, consistent reduced equal spacing above/below the heading. */
body .page-header > .container > .col-12 { padding-top: 0; padding-bottom: 0; }
body .page-header h1 {
  font-size: clamp(2.05rem,4.15vw,4.25rem);
  line-height:1.16;
  margin:0 auto;
  padding:0;
  letter-spacing:-.043em;
}
body .page-header > .container { display:flex; flex-direction:column; gap:var(--erc3-rhythm); }
body .page-header { padding-top: clamp(70px,8vw,104px); padding-bottom: 48px; }
body .page-header > .container > .row { margin-top:0; margin-bottom:0; }
body .page-header .service { padding:0; }
/* Equivalent vertical rhythm throughout article sections and layouts. */
body .single .single-content { --erc3-copy-gap: 18px; }
body .single .single-content h1,
body .single .single-content h2,
body .single .single-content h3,
body .single .single-content h4 { margin-top:var(--erc3-copy-gap); margin-bottom:var(--erc3-copy-gap); }
body .single .single-content > :first-child {margin-top:0!important;}
body .single .single-content > :last-child {margin-bottom:0!important;}
body .single .single-content p { margin-bottom:var(--erc3-copy-gap); }
body .section-header { margin-top:0; margin-bottom:var(--erc3-rhythm); }
body .section-header > *:first-child {margin-top:0;}
body .section-header > *:last-child {margin-bottom:0;}
body .blog,body .single,body .price,body .service:not(.page-header .service) { padding-top:52px; padding-bottom:52px; }
body .discount { padding-top:52px!important; padding-bottom:52px!important; }
/* Homepage: one deliberately composed editorial surface from benefits through the original video. */
body.home-erc3 .page-header .service>.container { max-width:1150px; }
body.home-erc3 .erc3-composition { padding:clamp(20px,3.1vw,38px); background:linear-gradient(127deg,rgba(255,253,249,.92),rgba(246,234,229,.96)); border:1px solid #e5d3d0; border-radius:9px 56px 9px 9px; box-shadow:0 20px 65px rgba(82,54,65,.085); }
body.home-erc3 .erc3-benefits { margin-left:-9px; margin-right:-9px; margin-bottom:clamp(14px,2.2vw,26px); }
body.home-erc3 .erc3-benefits > [class*='col-'] {padding-left:9px; padding-right:9px;}
body.home-erc3 .page-header .erc3-benefits .service-item { min-height:188px; height:calc(100% - 10px); padding:18px 15px 20px; grid-template-rows:51px minmax(56px,auto) 1fr; gap:8px; border-radius:6px 31px 6px 6px; box-shadow:none; }
body.home-erc3 .page-header .erc3-benefits .service-icon { width:50px; height:50px; }
body.home-erc3 .page-header .erc3-benefits .service-icon:after {width:50px;height:50px;}
body.home-erc3 .page-header .erc3-benefits .service-item h2 {font-size:clamp(20px,1.8vw,25px);}
body.home-erc3 .page-header .erc3-benefits .service-item p {font-size:13.5px;line-height:1.5;}
body.home-erc3 .erc3-story-row { margin:0; }
body.home-erc3 .erc3-story { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr); gap:clamp(22px,3.6vw,50px); align-items:center; max-width:none; width:100%; margin:0; padding:clamp(22px,3vw,38px); background:linear-gradient(145deg,#fdf7f2,#f0dedd); border:1px solid rgba(161,122,127,.20); border-radius:7px 43px 7px 7px; box-shadow:none; text-align:left; }
body.home-erc3 .erc3-story-copy { min-width:0; }
body.home-erc3 .erc3-story-copy p { max-width:none; margin:0 0 16px; font-size:clamp(14px,1.35vw,16px); line-height:1.75; }
body.home-erc3 .erc3-story-copy p:last-child { margin-bottom:0; }
body.home-erc3 .erc3-story-copy .erc2-intro-lead {font-size:clamp(19px,2.15vw,25px);line-height:1.48;margin-bottom:20px;}
body.home-erc3 .erc3-story-copy p:has(> .btn) { margin:18px 0; }
body.home-erc3 .erc3-story-media {display:flex;align-items:center;justify-content:center;min-width:0;}
body.home-erc3 .erc3-story-media video {display:block;width:100%;max-width:310px;height:auto;max-height:none;margin:0;object-fit:contain;border:7px solid #fffcf8;border-radius:5px 36px 5px 5px;box-shadow:0 14px 35px rgba(62,42,49,.15);}
/* Carousel arrows: match the 'Ver más' CTA treatment, preserve Owl's existing events. */
body.home-erc3 .blog .owl-nav {width:auto;display:flex;gap:12px;align-items:center;justify-content:center;margin:27px auto 0;}
body.home-erc3 .blog .owl-nav .owl-prev,
body.home-erc3 .blog .owl-nav .owl-next {display:inline-flex;align-items:center;justify-content:center;width:49px;height:46px;margin:0;background:var(--erc3-plum)!important;color:#fffaf6!important;border:1px solid var(--erc3-plum)!important;border-radius:3px 24px 3px 3px!important;box-shadow:0 7px 20px rgba(81,57,65,.10);font-size:20px;transition:background .2s ease,transform .2s ease,box-shadow .2s ease;cursor:pointer;}
body.home-erc3 .blog .owl-nav .owl-prev:hover,
body.home-erc3 .blog .owl-nav .owl-next:hover {background:#8b6470!important;color:#fff!important;transform:translateY(-2px);box-shadow:0 10px 24px rgba(81,57,65,.18);}
body.home-erc3 .blog .owl-nav button:focus-visible {outline:3px solid #ba8c91;outline-offset:3px;}
/* Reverse the existing footer artwork horizontally; reverse underlying gradient direction too. */
body .footer { background:linear-gradient(230deg,#f3e9e5 0%,#dec8c7 46%,#b99a9e 100%)!important; }
body .footer .container-fluid { position:relative;isolation:isolate;background:linear-gradient(252deg,rgba(250,241,234,.50),rgba(236,218,216,.58))!important;overflow:hidden; }
body .footer .container-fluid::before {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('../img/background-footer.png') center center / auto 155px no-repeat;transform:scaleX(-1);opacity:.84;}
body .footer .copyright {position:relative;z-index:1;}
@media(max-width:991.98px){
 body.home-erc3 .erc3-story {grid-template-columns:minmax(0,1fr) minmax(190px,.7fr);gap:25px;padding:25px;}
 body.home-erc3 .erc3-story-media video {max-width:260px;}
}
@media(max-width:767.98px){
 :root {--erc3-rhythm:16px;}
 body .page-header h1 {font-size:clamp(1.8rem,7.3vw,2.85rem);line-height:1.2;}
 body .page-header {padding-top:39px;padding-bottom:34px;}
 body .single .single-content {--erc3-copy-gap:15px;}
 body .blog,body .single,body .price,body .service:not(.page-header .service) {padding-top:38px;padding-bottom:38px;}
 body .discount {padding-top:38px!important;padding-bottom:38px!important;}
 body.home-erc3 .erc3-composition {padding:17px 14px 21px;border-radius:7px 34px 7px 7px;}
 body.home-erc3 .erc3-benefits {margin-bottom:12px;}
 body.home-erc3 .erc3-benefits .service-item {margin-bottom:10px;}
 body.home-erc3 .erc3-story {grid-template-columns:1fr;gap:22px;padding:23px 19px;border-radius:6px 30px 6px 6px;}
 body.home-erc3 .erc3-story-media video {width:100%;max-width:310px;max-height:none;}
 body .footer .container-fluid::before {background-size:auto 128px;}
}
@media(prefers-reduced-motion:reduce){body.home-erc3 .blog .owl-nav .owl-prev,body.home-erc3 .blog .owl-nav .owl-next{transition:none;}}
/* Explicit fixed icon row even with the new composition wrapper. */
body.home-erc3 .page-header .erc3-benefits .service-item {
 display:grid;grid-template-rows:51px minmax(56px,auto) 1fr;
 justify-items:center;align-items:start;align-content:start;
}
body.home-erc3 .page-header .erc3-benefits .service-icon {grid-row:1;margin:0!important;}
body.home-erc3 .page-header .erc3-benefits .service-item h2 {grid-row:2;margin:0;align-self:center;}
body.home-erc3 .page-header .erc3-benefits .service-item p {grid-row:3;margin:0;align-self:start;}
/* In-content H1, where present, follows the same smaller heading scale. */
body .single .single-content h1 {font-size:clamp(1.75rem,2.9vw,2.5rem);}
@media(max-width:767.98px){body .single .single-content h1{font-size:clamp(1.6rem,6vw,2.1rem);}}

/* END css/e-rc3.css */

/* BEGIN css/e-rc4.css */
/* E-RC4: Single-click WhatsApp contact; no dialog, cookie, timer or JS dependency. */
.erc4-whatsapp {
  --wa-plum: #532b42;
  position: fixed;
  z-index: 9990;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: linear-gradient(125deg, #714159 0%, var(--wa-plum) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 9px 24px rgba(50,25,43,.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.erc4-whatsapp .fa-whatsapp {font-size: 24px; line-height:1;}
.erc4-whatsapp:hover {
  color: #fff;
  background: linear-gradient(125deg,#824b66 0%,#63334d 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(50,25,43,.28);
  text-decoration: none;
}
.erc4-whatsapp:focus-visible {
  outline: 3px solid #b55e78;
  outline-offset: 4px;
}
.erc4-whatsapp:active {transform:translateY(0);}
@media (max-width: 575.98px) {
  .erc4-whatsapp {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    min-height: 50px;
    padding: 12px 16px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .erc4-whatsapp {transition: none;}
}

/* END css/e-rc4.css */

/* BEGIN css/e-rc7.css */
/* E-RC7: Three narrowly scoped refinements to the user-supplied E-RC4. */
/* 1. Slightly reduce existing page H1 size, retaining the original font and composition. */
body .page-header h1 {
  font-size: clamp(1.95rem, 3.8vw, 3.9rem);
  /* 2. Symmetric space within the H1 area. Existing lines remain untouched. */
  padding-block: 12px;
}
/* 3. Mirror only the silhouette of the previous carousel button.
   Preserve the existing left-pointing Font Awesome arrow and Owl handlers. */
body.home-erc3 .blog .owl-nav .owl-prev {
  border-radius: 24px 3px 3px 3px !important;
}
@media (max-width: 767.98px) {
  body .page-header h1 {
    font-size: clamp(1.7rem, 6.7vw, 2.65rem);
    padding-block: 10px;
  }
}

/* E-RC7 spacing correction: match the visible header's top and bottom
   whitespace rather than only the H1's own padding. No new lines/elements. */
/* Internal headings: navbar/header boundary → title and title → next-section
   boundary use the same block padding. */
body:not(.home-erc3) .page-header {
  padding-top: 52px;
  padding-bottom: 52px;
}
/* Homepage: the next element is the benefits composition inside .page-header.
   Keep equal breathing room above the title and below it before that content. */
body.home-erc3 .page-header { padding-top: 52px; }
body.home-erc3 .page-header > .container > .row { margin-top: 52px; }
@media (max-width: 767.98px) {
  body:not(.home-erc3) .page-header {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  body.home-erc3 .page-header { padding-top: 32px; }
  body.home-erc3 .page-header > .container > .row { margin-top: 32px; }
}

/* END css/e-rc7.css */

/* BEGIN css/e-rc8.css */
/* E-RC8: Strictly scoped top-bar icon, fixed action separation and contact heading. */
/* Keep both fixed controls fully visible without overlapping during scroll. */
body .back-to-top {
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(94px, calc(env(safe-area-inset-bottom, 0px) + 94px));
  z-index: 9991;
}
@media (max-width: 575.98px) {
  body .back-to-top {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(82px, calc(env(safe-area-inset-bottom, 0px) + 82px));
  }
}
/* Contact heading uses the existing 'Temas' section-header styling. */
body .erc8-contact-methods .section-header {
  margin-bottom: 24px;
}

/* END css/e-rc8.css */

/* BEGIN css/e-rc9.css */
/* E-RC9: three scoped changes over the uploaded E-RC8 baseline. */
/* 2. About-page introductory portrait and copy form a single intentional composition.
   There is no float; the subsequent heading cannot wrap alongside the image. */
body.erc9-about .erc9-intro-grid {
  display: grid;
  grid-template-columns: minmax(240px, 350px) minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 42px);
  align-items: start;
  margin: 0 0 34px;
}
body.erc9-about .erc9-intro-figure { margin: 0; min-width: 0; }
body.erc9-about .erc9-intro-figure img,
body.erc9-about .single .container .erc9-intro-figure img {
  display: block;
  float: none;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  margin: 0;
  border-radius: 6px 40px 6px 6px;
}
body.erc9-about .erc9-intro-copy,
body.erc9-about .single .single-content .erc9-intro-copy { margin: 0; min-width: 0; }
body.erc9-about .single .single-content .erc9-intro-grid + h2 {
  clear: both;
  margin-top: 0;
}
@media(max-width:767.98px) {
  body.erc9-about .erc9-intro-grid { grid-template-columns: minmax(0,1fr); gap: 21px; margin-bottom: 28px; }
  body.erc9-about .erc9-intro-figure { max-width: min(100%, 460px); width: 100%; margin-inline: auto; }
  body.erc9-about .erc9-intro-figure img,
  body.erc9-about .single .container .erc9-intro-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
    object-position: initial;
  }
}
/* 3. Contact heading: one controlled gap above and below, no doubled section padding. */
body .single:has(+ .erc8-contact-methods) { padding-bottom: 0; }
body .single:has(+ .erc8-contact-methods) .single-content > p:last-child { margin-bottom: 0; }
body .erc8-contact-methods { padding-top: 24px!important; }
body .erc8-contact-methods .section-header { margin-top: 0; margin-bottom: 24px; }
body .erc8-contact-methods .section-header p { margin: 0; }
@media(max-width:767.98px) {
  body .erc8-contact-methods { padding-top: 20px!important; }
  body .erc8-contact-methods .section-header { margin-bottom: 20px; }
}

/* END css/e-rc9.css */

/* BEGIN css/e-rc10.css */
/* E-RC10: narrowly scoped adjustments on E-RC9.
   Restore original top bar spacing via removal of the RC9 overrides.
   Restore uncropped portrait on mobile via RC9 rules; no text or image substitution.
   Match the existing contact section's 24px desktop spacing for three headings. */
@media (min-width: 768px) {
  /* Inicio: compact gap between the existing intro/video composition and carousel heading. */
  body.home-erc3 .page-header { padding-bottom: 0; }
  body.home-erc3 .blog { padding-top: 24px; }
  body.home-erc3 .blog > .container:first-child > .section-header { margin-top: 0; margin-bottom: 24px; }

  /* Asesoría Online: no doubled padding between prose and Tarifas. */
  body .single:has(+ .price) { padding-bottom: 0; }
  body .single:has(+ .price) .single-content > p:last-child { margin-bottom: 0; }
  body .single + .price { padding-top: 24px; }
  body .single + .price .section-header { margin-top: 0; margin-bottom: 24px; }

  /* Temas: same spacing before "Algunos de los temas..." as contact heading. */
  body.temas-erc2 .single:has(+ .service) { padding-bottom: 0; }
  body.temas-erc2 .single:has(+ .service) .single-content > p:last-child { margin-bottom: 0; }
  body.temas-erc2 .single + .service { padding-top: 24px; }
  body.temas-erc2 .single + .service > .container:first-child > .section-header { margin-top: 0; margin-bottom: 24px; }
}

/* END css/e-rc10.css */

/* E-RC14: css/e-rc11.css; original cascade preserved. */

/* BEGIN css/e-rc11.css */
/* E-RC11 – spacing-only patch on top of E-RC10.
   Reuse existing E-RC10 desktop section rhythm (24px) and RC9 mobile rhythm (20px).
   No typographic, content, navigation or component redesign changes. */
@media (min-width: 768px) {
  /* Inicio: the carousel/navigation should finish 24px before the next section. */
  body.home-erc3 .blog { padding-bottom: 24px; }
  body.home-erc3 .blog > .container:first-child > .section-header { margin-bottom: 24px; }

  /* Asesoría: adjoining independent sections previously stacked 52px+52px. */
  body.asesoria-erc11 .price { padding-bottom: 0; }
  body.asesoria-erc11 .price + .single { padding-top: 24px; }
  body.asesoria-erc11 .single:has(+ .single) { padding-bottom: 0; }
  body.asesoria-erc11 .single + .single { padding-top: 24px; }
  body.asesoria-erc11 .single:has(+ .single) .single-content > :last-child { margin-bottom: 0; }
  body.asesoria-erc11 .price .row { margin-bottom: 0; }

  /* Temas: use the same existing 24px from heading to first card row. */
  body.temas-erc2 .single + .service > .container:first-child > .section-header { margin-bottom: 24px; }
}
@media (max-width: 767.98px) {
  /* Existing compact rhythm, not a new spacing token. */
  body.home-erc3 .blog > .container:first-child > .section-header { margin-bottom: 20px; }
  body.temas-erc2 .single + .service > .container:first-child > .section-header { margin-bottom: 20px; }
}

/* END css/e-rc11.css */


/* E-RC24: Align the introductory copy to the top of its existing desktop grid row.
   Mobile remains completely unchanged. */
@media (min-width: 768px) {
  body.home-erc3 .erc3-story {
    align-items: start;
  }
}
