/* Identidad pública DIF. Capa visual independiente del contenido institucional. */
:root{--wine:#7b2442;--wine-dark:#48172b;--rose:#f3e5e9;--ink:#302e31;--muted:#68636a;--paper:#faf8f5;--gold:#b39263}
#preloader{display:none!important}
#talleres table{display:block;max-width:100%;overflow-x:auto;border-radius:12px;border:1px solid #e7dde0;background:white;font-size:13px}
#talleres td,#talleres th{padding:16px!important;border-color:#e7dde0!important;min-width:145px}
#talleres tr:first-child{background:var(--wine)!important;color:white}
#talleres tr:nth-child(even){background:#f5eff1}
#main img{max-width:100%}
html{scroll-behavior:smooth;scroll-padding-top:130px}
body{font-family:'Open Sans',Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.75}
h1,h2,h3,h4,h5,h6{font-family:'Jost',Arial,sans-serif;color:var(--ink);letter-spacing:-.025em}
a{color:var(--wine)}a:hover{color:var(--wine-dark)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.skip-link{position:fixed;top:-100px;left:20px;background:white;padding:12px 22px;z-index:10000}.skip-link:focus{top:12px}
.institution-bar{background:var(--wine-dark);color:#fff;font-size:11px;letter-spacing:.12em;text-transform:uppercase;padding:8px 0}.institution-bar .container{display:flex;justify-content:space-between;gap:16px}.institution-bar a{color:#fff}
.mexican-flag{display:none}.navbar.fixed-top{position:sticky;top:0;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e9e1e3;box-shadow:0 5px 22px #33132106;padding:8px 0!important;z-index:1030}
.navbar>.container-fluid{max-width:1400px;padding:0 32px;gap:22px}.navbar-brand{margin:0;padding:0}.navbar-brand img{width:132px;height:65px;object-fit:contain;animation:none!important}.navbar .navbar-nav{margin-left:auto;align-items:center;gap:2px}.navbar .nav-link{font-size:12px!important;font-weight:600;padding:14px 9px!important;color:var(--ink)!important;white-space:nowrap}.navbar .nav-link:hover,.navbar .nav-link.active{color:var(--wine)!important}.navbar .nav-link.active{box-shadow:inset 0 -2px var(--wine)}
.navbar .dropdown-menu{border:1px solid #e9dfe2;border-radius:12px;padding:10px;box-shadow:0 16px 45px #38152218!important}.navbar .dropdown-item{font-size:13px;white-space:normal;border-radius:6px;padding:9px 14px}.navbar .dropdown-item:hover{background:var(--rose);color:var(--wine)}
#Valle_de_Bravo_z159{font-size:10px!important;line-height:1.4;max-width:80px;text-align:center}
#hero{height:auto;min-height:630px;padding:68px 0 72px;background:radial-gradient(ellipse at 0 100%,#eee0e4 0,transparent 50%),var(--paper);overflow:hidden}
#hero .row{align-items:center;row-gap:35px}#hero .hero-copy{text-align:left!important;padding-right:45px}
.eyebrow{display:block;color:var(--wine);font-size:11px;font-weight:700;letter-spacing:.19em;text-transform:uppercase;margin-bottom:20px}
#hero h1{font-size:clamp(44px,4.6vw,66px)!important;color:var(--wine-dark);line-height:1.06;margin:0 0 23px;font-weight:600;max-width:580px}#hero h1 em{font-style:normal;color:var(--wine)}
#hero h2{font-family:'Open Sans',sans-serif;font-size:14px!important;line-height:1.9;color:var(--muted);font-weight:400;margin-bottom:26px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px}.dif-button{display:inline-flex;gap:20px;align-items:center;background:var(--wine);color:white;padding:13px 22px;border-radius:7px;font-weight:600;font-size:13px}.dif-button:hover{background:var(--wine-dark);color:white}
#hero .btn-watch-video{font-size:13px;color:var(--wine-dark);margin:0}#hero .btn-watch-video i{color:var(--wine);font-size:30px}
#hero .hero-img{position:relative;padding:0 12px 24px}#hero .hero-photo{width:100%;height:440px;object-fit:cover;border-radius:100px 14px 14px 14px;animation:none;box-shadow:18px 18px 0 #e9dde0}
.hero-caption{position:absolute;bottom:0;left:34px;right:34px;background:white;border:1px solid #eee5e6;border-radius:10px;padding:17px 22px;display:flex;gap:16px;align-items:center;text-align:left;box-shadow:0 12px 35px #48172b12}.hero-caption img{width:72px;height:48px;object-fit:contain}.hero-caption strong{display:block;font-size:15px;color:var(--wine-dark)}.hero-caption span{font-size:11px;color:var(--muted)}
.quick-access{background:white;border-top:1px solid #e9e1e3;border-bottom:1px solid #e9e1e3;padding:0}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr)}.quick-grid a{padding:27px 22px;display:flex;align-items:center;gap:15px;border-right:1px solid #eee6e7;color:var(--ink)}.quick-grid a:first-child{border-left:1px solid #eee6e7}.quick-grid a:hover{background:var(--rose)}.quick-grid i{color:var(--wine);font-size:25px}.quick-grid strong{display:block;font-size:14px}.quick-grid small{font-size:11px;color:var(--muted)}.quick-grid .bi-arrow-up-right{margin-left:auto;font-size:16px}
section{padding:80px 0;scroll-margin-top:105px}.section-bg{background:#f3eeef}.section-title{text-align:left;padding-bottom:35px}.section-title h2{color:var(--wine-dark);font-size:36px;text-transform:none;font-weight:600;padding-bottom:18px;margin-bottom:14px}.section-title h2:before{display:none}.section-title h2:after{left:0;margin:0;width:48px;height:3px;background:var(--gold)}.section-title p{color:var(--muted)}
#why-us{background:var(--paper)}#why-us>.container-fluid{max-width:1320px}#why-us .content{padding:0 30px 20px 12px}#why-us .content h3{font-size:23px;line-height:1.6;text-align:left!important;color:var(--ink)}#why-us .accordion-list{padding:0 30px 0 12px}#why-us .img{background-size:contain;min-height:350px;border-radius:24px}
.why-us .accordion-list li,.faq .faq-list li{background:white;border:1px solid #e7dde0;border-radius:10px;box-shadow:0 4px 14px #37152603;padding:21px 24px;margin-bottom:12px}.why-us .accordion-list a,.faq .faq-list a{color:var(--wine-dark);font-weight:600;font-size:16px}.faq .faq-list{padding:0}.faq .faq-list p{line-height:1.85;color:var(--muted)}
#skills{background:white}#skills h3{color:var(--wine-dark);font-size:34px}#skills .progress{height:auto!important;min-height:52px;background:transparent;border-bottom:1px solid #eee4e7;padding:14px 0!important;overflow:visible}#skills .skill{white-space:normal;line-height:1.7;font-size:13px;color:var(--muted)}#skills .skill i{color:var(--wine);margin-right:9px}
#cta{background:linear-gradient(100deg,#48172bf0,#7b2442e8),url('../img/cta-bg.jpg') center/cover}#cta h3,#cta p{color:white}#cta .cta-btn{border-radius:6px}
#convo{background:var(--paper)}#convo img{border-radius:12px}#portfolio{background:white}.portfolio .portfolio-img{border-radius:14px}.portfolio .portfolio-info{border-radius:0 0 14px 14px;background:#48172be8}.portfolio .portfolio-info h4{color:white;font-size:15px;line-height:1.5}.portfolio .portfolio-item{margin-bottom:28px}
#talleres{background:var(--paper)}#talleres img{border-radius:12px}#talleres h2{color:var(--wine-dark)}
.contact .info,.contact .php-email-form{border:1px solid #e5dadd!important;border-radius:16px;box-shadow:0 10px 40px #48172b06;background:white}.contact .info h4{color:var(--wine-dark)}.contact .info i{background:var(--rose);color:var(--wine)}.contact .info p{color:var(--muted)}.contact input,.contact textarea{border:1px solid #d8cbd0;border-radius:7px!important;min-height:46px}.contact button[type=submit]{background:var(--wine)!important;border-radius:7px!important}
#footer{background:var(--wine-dark);color:#eee0e5;font-size:13px}#footer .footer-top{background:#f0e9eb;padding:60px 0 35px}#footer .footer-top h4{color:var(--wine-dark)}#footer .footer-top p,#footer .footer-top .footer-links ul a{color:#62515a}#footer .footer-top img{max-width:100%;height:auto}#footer .social-links a{background:var(--wine)!important}#footer .footer-bottom{padding:25px 12px}.back-to-top{background:var(--wine);border-radius:8px}
.breadcrumbs{margin-top:0!important;background:#f1e8eb!important;padding:45px 0}.breadcrumbs h1{font-size:40px;color:var(--wine-dark)!important}.c-primary{color:var(--wine)!important}.btn-section{border-radius:8px;padding:15px!important;margin-bottom:10px}.container-pdf{border-radius:12px;overflow-y:auto!important;border-color:#e7dce0;padding:24px}.container-pdf a{border-bottom:1px solid #f0e9ec;padding-top:10px}.container-pdf h2{font-size:23px}.text-hover-red:hover{background:#faf4f6}
@media(min-width:992px){.navbar .dropend .dropdown-menu{max-width:340px}}
@media(max-width:1199px){.navbar>.container-fluid{padding:0 18px;gap:10px}.navbar .nav-link{font-size:11px!important;padding:12px 6px!important}.navbar-brand img{width:100px}}
@media(max-width:991px){.navbar .navbar-nav{align-items:stretch}.navbar .nav-link{font-size:14px!important;padding:12px!important}.navbar-collapse{max-height:75vh;overflow:auto}.navbar .dropdown-menu{position:static!important;margin:5px 0 5px 12px!important;transform:none!important;min-width:0}.navbar-brand img{width:115px;height:58px}#hero{padding:45px 0}#hero .hero-copy{order:1!important;padding:0 22px}#hero .hero-img{order:2!important;margin:0 auto}#hero h1{font-size:48px!important}#hero .hero-photo{height:360px}.quick-grid{grid-template-columns:repeat(2,1fr)}.quick-grid a{border-bottom:1px solid #eee6e7}section{padding:55px 0}.section-title h2{font-size:30px}#why-us .content,#why-us .accordion-list{padding:0 12px 20px}.breadcrumbs+section>.row>.col-4,.breadcrumbs+section>.row>.col-8{width:100%}.container-pdf{margin-top:20px}}
@media(max-width:575px){.institution-bar{font-size:9px;letter-spacing:.06em}.institution-bar .container>span:last-child{display:none}#hero h1{font-size:42px!important}#hero h2{font-size:13px!important}#hero .hero-img{padding:0 24px 24px}#hero .hero-photo{height:300px;border-top-left-radius:65px}.hero-caption{left:36px;right:36px;padding:14px}.hero-caption strong{font-size:12px}.hero-caption span{font-size:10px}.quick-grid a{padding:18px 10px;gap:9px}.quick-grid strong{font-size:12px}.quick-grid small{font-size:10px}.quick-grid .bi-arrow-up-right{display:none}.quick-grid i{font-size:22px}.faq .faq-list li{padding:18px 15px}.faq .faq-list a{font-size:14px;padding-right:22px}.section-title{padding-left:4px}.container-pdf{padding:16px}iframe{max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}[data-aos]{opacity:1!important;transform:none!important}}

/* Segunda renovación: composición editorial de todas las secciones públicas. */
:root{--wine:#822b49;--wine-dark:#3f1728;--paper:#f8f5ef;--gold:#a88853;--muted:#655e63}
body{background:var(--paper)}
.section-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--wine);margin-bottom:14px}
.section-title h2{font-size:clamp(32px,3.4vw,48px);line-height:1.13;max-width:740px;padding-bottom:0;margin-bottom:18px;letter-spacing:-.035em}
.section-title h2:after{display:none}.section-title{padding-bottom:40px}.section-title p{font-size:15px}
.navbar.fixed-top{border-bottom:1px solid #dacfd1;box-shadow:none}.navbar .nav-link{border-radius:5px}.navbar .nav-link.active{box-shadow:none;background:#f3e9ed}
#hero{background:linear-gradient(110deg,#f8f5ef 57%,#eee4df 57%);padding:70px 0 80px;min-height:670px}
#hero h1{font-weight:500;font-size:clamp(45px,4.9vw,72px)!important;letter-spacing:-.045em}#hero h1 em{font-family:Georgia,serif;font-style:italic;font-weight:400}
#hero .hero-photo{border-radius:180px 180px 12px 12px;height:470px;box-shadow:none;border:7px solid #fff}#hero .hero-caption{bottom:5px;left:0;right:42px;border-radius:2px 14px 14px 2px;border-left:4px solid var(--gold);padding:20px}
.dif-button{border-radius:4px;padding:16px 23px}.hero-actions{gap:23px}
.quick-access{background:var(--wine-dark);border:0}.quick-grid a{color:#fff;border-color:#ffffff20!important;padding:32px 24px}.quick-grid a:hover{background:#ffffff0b}.quick-grid i{color:#d8ba8d}.quick-grid small{color:#d8cbd0}.quick-grid strong{font-size:15px}
#why-us{padding:100px 0;background:#fff}#why-us>.container-fluid{padding:0 24px}#why-us>.container-fluid>.container{padding:0 12px}#why-us .content h3{font-size:26px;line-height:1.55;font-weight:400}#why-us .content h3 strong{color:var(--wine);font-weight:500}#why-us .img{background-color:#f6f1ed;background-size:85%;border-radius:140px 140px 16px 16px;border:14px solid white;box-shadow:0 0 0 1px #eae0d9;min-height:480px}
#why-us .accordion-list ul{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}#why-us .accordion-list li{margin:0;padding:20px 16px;background:#f8f5f0;border:none;border-top:3px solid #b39363;border-radius:0 0 8px 8px}#why-us .accordion-list a{font-size:16px;padding-right:20px}#why-us .accordion-list a img{display:block;margin-bottom:12px;width:35px!important}#why-us .accordion-list p{font-size:13px;text-align:left!important;line-height:1.8}#why-us .accordion-list li:has(.show){grid-column:1/-1}
#skills{background:var(--wine-dark);padding:75px 0}#skills>.container>.row{align-items:center;gap:40px;flex-wrap:nowrap}#skills .col-lg-6:first-child{width:30%;padding:24px;background:#ffffff;border-radius:16px}#skills .col-lg-6:last-child{flex:1}#skills h3{color:white;font-size:36px;margin-bottom:25px}#skills .skills-content{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}#skills .progress{border-color:#ffffff24;min-height:70px}#skills .skill{font-family:'Open Sans',sans-serif;font-weight:400;color:#f3e7eb;text-transform:none;font-size:14px}#skills .skill i{color:#dec69f}
#faq{background:#f6f2ec;padding:100px 0}#faq .section-title{max-width:650px}#faq .faq-list>ul{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;counter-reset:service}#faq .faq-list>ul>li{counter-increment:service;padding:0;margin:0;border:1px solid #e7ddd4;border-radius:12px;box-shadow:0 8px 25px #3b1c2704;overflow:hidden}#faq .faq-list>ul>li>a{display:flex;align-items:center;min-height:116px;padding:24px 50px 24px 25px;gap:18px;font-size:18px;line-height:1.4;background:#fff;position:relative}#faq .faq-list>ul>li>a:before{content:counter(service,decimal-leading-zero);font-size:12px;color:#a68b73;letter-spacing:.08em;position:absolute;right:22px;top:17px}#faq .faq-list>ul>li>a img{width:48px!important;height:48px;object-fit:contain;padding:0!important;flex-shrink:0}#faq .faq-list>ul>li>a .icon-show,#faq .faq-list>ul>li>a .icon-close{right:22px;top:auto;bottom:22px;font-size:23px}#faq .faq-list>ul>li:has(.show){border-color:var(--wine);box-shadow:0 12px 35px #4c203015}#faq .faq-list>ul>li>a[aria-expanded=true]{background:#f3e7ec;color:var(--wine)}#faq .faq-list>ul>li>.collapse,#faq .faq-list>ul>li>.collapsing{padding:0 25px;background:white}#faq .faq-list p{font-size:14px;line-height:1.8}#faq .faq-list p:last-child{padding-bottom:22px}
#cta{padding:65px 0;background:linear-gradient(100deg,#762944ed,#451c2deb),url('../img/galeria/2_25.jpg') center/cover;border-bottom:6px solid #b89b6d}#cta h3{font-size:34px;font-weight:500}#cta p{font-size:18px;line-height:1.8;max-width:850px;margin:12px 0 0}
#convo{padding:100px 0;background:var(--paper)}#convo .service-box-heading{height:100%;display:flex;flex-direction:column;border:1px solid #e5ddd5;border-radius:14px;overflow:hidden;background:white;transition:transform .2s,box-shadow .2s}#convo .service-box-heading:hover{transform:translateY(-5px);box-shadow:0 15px 35px #4b203012}#convo .service-box-heading img{width:100%;height:335px;object-fit:contain;background:#f0ebe4;border-radius:0;padding:14px}#convo .service-box-heading img:hover{transform:none}#convo .card-body{padding:27px;flex:1}#convo .card-title{font-size:18px;line-height:1.6;font-weight:500;color:var(--wine-dark)}#convo .card-footer{padding:16px 27px;background:white;border-top:1px solid #eee5dc}#convo .card-footer small{font-size:11px;letter-spacing:.04em}
#portfolio{padding:100px 0;background:white}#portfolio .portfolio-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;height:auto!important;margin:0}#portfolio .portfolio-item{position:relative!important;left:auto!important;top:auto!important;width:auto;padding:0;margin:0!important;transform:none!important;border:1px solid #e9dfd8;border-radius:12px;overflow:hidden;background:#faf7f2}#portfolio .portfolio-img{border-radius:0}#portfolio .portfolio-img img{height:290px;width:100%;object-fit:cover}#portfolio .portfolio-info{position:relative;opacity:1!important;bottom:auto!important;left:auto;right:auto;background:#faf7f2;padding:25px!important;border-radius:0;min-height:150px}#portfolio .portfolio-info h4{font-size:17px;line-height:1.6;color:var(--wine-dark);padding:0;margin:0}#portfolio .portfolio-info a{position:static;color:var(--wine)}
#talleres{padding:90px 0;background:#eee7de}#talleres .section-title h2{max-width:680px}#talleres .py-5{padding-top:0!important;padding-bottom:0!important}.workshop-tools{display:flex;align-items:center;gap:20px;margin-bottom:22px}.workshop-tools label{font-weight:600;font-size:14px;color:var(--wine-dark);white-space:nowrap}.workshop-tools input{background:white;border:1px solid #d5c8bb;border-radius:8px;padding:14px 18px;width:380px;max-width:100%}.workshop-tools span{font-size:12px;color:var(--muted)}
#talleres table{border:1px solid #d8cbbc;border-radius:12px;max-height:680px;overflow:auto;margin:0;box-shadow:0 12px 35px #41241506}#talleres thead{position:sticky;top:0;z-index:2}#talleres thead th{background:var(--wine-dark)!important;color:white!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.1em;font-weight:600}#talleres tbody tr{background:white!important;color:var(--ink)!important}#talleres tbody tr:nth-child(even){background:#f7f3ee!important}#talleres tbody tr:hover{background:#f0e5e8!important}#talleres td{background:transparent!important;font-size:12px!important;text-align:left!important;border:0!important;border-bottom:1px solid #e7ddd3!important;vertical-align:top}#talleres td:first-child{color:var(--wine-dark)!important;font-size:12px!important;font-weight:700;min-width:190px}#talleres td strong{font-size:12px!important;color:var(--ink)!important;font-weight:400!important}#talleres td span{display:block;font-size:11px!important;color:var(--muted)!important;margin-top:7px}
#contact{background:white;padding:100px 0}#contact .info{padding:32px;background:var(--wine-dark);color:white;border:none!important;border-radius:14px}.contact .info h4{color:#fff;font-size:13px;letter-spacing:.12em}.contact .info p,.contact .info p a{color:#e8dce0;font-size:14px;overflow-wrap:anywhere}.contact .info i{background:#ffffff14;color:#dac094}.contact .info a>img{border-radius:10px;width:100%;margin-top:20px}.contact .php-email-form{padding:36px;border:1px solid #e5ddd5!important;background:#f9f6f1;border-radius:14px;box-shadow:none}.contact .php-email-form h3{font-size:30px;color:var(--wine-dark);margin-bottom:28px}.contact label{font-size:13px;font-weight:600;margin-bottom:8px}.contact input,.contact textarea{background:white;border-color:#dfd4c9;border-radius:6px!important;padding:14px!important}.contact textarea{min-height:180px}.contact .php-email-form .text-center{text-align:left!important}.contact button[type=submit]{padding:15px 26px!important;font-size:14px;display:inline-flex;gap:35px;align-items:center}.parsley-error-list:empty{display:none}
#footer{border-top:5px solid var(--gold)}#footer .footer-top{background:#31151f;padding:65px 0 45px}#footer .footer-top h4{color:#e1c39b;font-size:15px;font-weight:500}#footer .footer-top p,#footer .footer-top .footer-links ul a{color:#e4d8dc;font-size:12px;line-height:1.9}#footer .footer-links ul{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}#footer .footer-top .footer-links ul i{color:#bc9365}#footer .footer-contact img{background:white;border-radius:10px;padding:20px}#footer .footer-top .social-links a{border:1px solid #ffffff30;background:#ffffff0d!important}#footer .footer-bottom{font-size:11px;color:#d5c3cb;background:var(--wine-dark)}
.breadcrumbs{padding:60px 0!important;background:linear-gradient(110deg,#efe4e7,#f8f4ee)!important;border-bottom:1px solid #ded0d1}.breadcrumbs h1{font-size:clamp(30px,4vw,50px);font-weight:500}.breadcrumbs ol{font-size:12px;letter-spacing:.04em}.breadcrumbs p{max-width:820px}.btn-section{background:#fff!important;color:var(--wine-dark)!important;border:1px solid #e5d9d8!important;border-left:3px solid #b49a75!important;padding:20px!important;box-shadow:none!important;font-size:13px}.btn-section:hover,.btn-section.btn-active:hover{background:#f3e7eb!important}.container-pdf{background:#fff;border:1px solid #e4d9d8!important;padding:28px;border-radius:14px;box-shadow:0 12px 30px #48172b05}.container-pdf h2{color:var(--wine-dark)!important;font-size:24px;border-bottom:1px solid #eee5e6;padding-bottom:18px}.container-pdf a{padding:15px 10px;border-radius:6px}.container-pdf a p{margin-bottom:0;font-size:14px}.container-pdf .bi-file-earmark-pdf{color:var(--wine);font-size:22px}
body .conac-heading{background:linear-gradient(120deg,#f5ede7,#eddee5);border-radius:16px;padding:32px}body .conac-record{border-radius:14px;border-color:#e4d8d9;box-shadow:0 10px 28px #44162706}body .conac-record-head{background:#f8f3ee;border-radius:14px 14px 0 0}body .conac-document:hover{background:#f4e8ed}body .conac-sidebar{border-radius:12px}body .conac-document{padding-top:18px;padding-bottom:18px}
@media(max-width:991px){#hero{background:linear-gradient(165deg,#f8f5ef 60%,#eee4df 60%);padding:45px 0 55px}#hero .hero-photo{height:390px}#hero .hero-caption{left:30px;right:30px}#why-us,#faq,#convo,#portfolio,#contact{padding:65px 0}#why-us .img{min-height:340px;margin-bottom:30px}#skills>.container>.row{flex-wrap:wrap;gap:28px}#skills .col-lg-6:first-child{width:100%;max-width:420px;margin:auto}#skills .col-lg-6:last-child{flex:auto;width:100%}#portfolio .portfolio-container{gap:16px}#portfolio .portfolio-img img{height:210px}#portfolio .portfolio-info{padding:18px!important}#portfolio .portfolio-info h4{font-size:14px}#convo .service-box-heading img{height:250px}#convo .card-body{padding:20px}#convo .card-title{font-size:15px}.workshop-tools{flex-wrap:wrap}.contact .info,.contact .php-email-form{padding:25px}}
@media(max-width:575px){#hero h1{font-size:44px!important}#hero .hero-photo{height:340px;border-radius:140px 140px 12px 12px}#hero .hero-caption{left:25px;right:25px;padding:15px}#hero .hero-caption img{width:55px}.quick-grid a{padding:23px 13px}.quick-grid strong{font-size:12px}.section-kicker{font-size:10px}.section-title h2{font-size:33px}#why-us .content h3{font-size:21px}#why-us .accordion-list ul{grid-template-columns:1fr}#why-us .accordion-list a img{display:inline-block;margin:0 8px 0 0}#why-us .img{min-height:270px}#skills .skills-content{grid-template-columns:1fr}#skills h3{font-size:29px}#faq .faq-list>ul{grid-template-columns:1fr;gap:12px}#faq .faq-list>ul>li>a{min-height:105px;font-size:16px;padding:22px 45px 22px 18px}#faq .faq-list>ul>li>a img{width:40px!important;height:40px}#cta h3{font-size:28px}#cta p{font-size:15px}#convo .service-box-heading img{height:340px}#portfolio .portfolio-container{grid-template-columns:1fr}#portfolio .portfolio-img img{height:280px}#portfolio .portfolio-info{min-height:0}#portfolio .portfolio-info h4{font-size:17px}.workshop-tools{gap:10px}.workshop-tools input{width:100%}.contact .info p{font-size:12px}#footer .footer-links ul{grid-template-columns:1fr 1fr}#footer .footer-contact img{max-width:190px;margin-bottom:25px}body .conac-heading{padding:20px}}
/* Keep public information visible immediately, including direct anchor navigation. */
html{scroll-padding-top:0}
[data-aos]{opacity:1!important;transform:none!important;transition-delay:0s!important}
#workshop-table tr[hidden]{display:none!important}
body .conac-page{background:var(--paper);padding:40px 0 65px}
body .conac-page>section{padding-top:0;padding-bottom:0}
body .conac-institutional{box-shadow:none;border-radius:14px;border-color:#e4d8d9}
body .conac-ribbon{background:var(--wine-dark)}

/* Refinamiento puntual: fotografía, presentación institucional y horarios. */
#hero .hero-img{padding:0 12px}
#hero .hero-photo{display:block;height:440px;border:0;border-radius:10px;box-shadow:0 18px 42px #371a2414;object-position:center}
#hero .hero-caption{position:static;display:flex;gap:16px;margin:18px 0 0;padding:0 0 0 16px;border:0;border-left:2px solid var(--gold);border-radius:0;background:transparent;box-shadow:none}
#hero .hero-caption img{width:65px;height:42px}
#hero .hero-caption strong{font-size:14px;font-weight:600}
#hero .hero-caption span{font-size:12px}
#why-us{padding:75px 0 85px}
#why-us .section-title{padding-bottom:22px}
#why-us>.container-fluid>.row{align-items:start}
#why-us .content{padding:0 35px 25px 12px}
#why-us .content h3{font-family:'Open Sans',sans-serif;font-size:19px;line-height:1.85;letter-spacing:-.015em;font-weight:400;margin:0;color:#50464c}
#why-us .content h3 strong{font-weight:600}
#why-us .accordion-list{padding-right:35px}
#why-us .accordion-list ul{display:block;counter-reset:institution}
#why-us .accordion-list li{counter-increment:institution;border:1px solid #e8dfe2;border-radius:9px;background:white;margin:0 0 10px;padding:0;overflow:hidden;box-shadow:none}
#why-us .accordion-list li:has(.show){border-color:#cdb8c0;background:#fcf9fa}
#why-us .accordion-list a{display:flex;align-items:center;gap:16px;padding:19px 48px 19px 20px;font-family:'Open Sans',sans-serif;font-size:15px;font-weight:600;position:relative;line-height:1.5;color:var(--wine-dark)}
#why-us .accordion-list a:before{content:counter(institution,decimal-leading-zero);font-size:11px;color:#9d7d64;font-weight:500;letter-spacing:.08em}
#why-us .accordion-list a img,#why-us .accordion-list a>span{display:none}
#why-us .accordion-list a i{top:20px;right:20px;font-size:22px}
#why-us .accordion-list p{margin:0;padding:0 23px 23px 55px;font-size:14px;color:#62585e;line-height:1.9}
#why-us .img{min-height:425px;margin-top:0;border-radius:14px;background-color:#f7f3ef;background-size:90%;border:0;box-shadow:none}
#talleres{background:#f6f3ee;padding:75px 0}
#talleres .section-title{padding-bottom:25px}
#talleres .section-title h2{font-size:clamp(30px,3vw,42px);max-width:850px}
#talleres .workshop-tools{background:#fff;padding:20px 24px;border:1px solid #e4dcda;border-radius:12px 12px 0 0;margin:0;gap:20px}
#talleres .workshop-tools label{font-size:13px}
#talleres .workshop-tools input{border:1px solid #dcd2d4;background:#faf8f9;width:350px;padding:12px 16px;font-size:13px;border-radius:6px}
#talleres .workshop-tools span{margin-left:auto;font-size:11px}
#talleres .workshop-scroll{max-height:620px;overflow:auto;border:1px solid #e4dcda;border-top:0;border-radius:0 0 12px 12px;background:white;scrollbar-color:#bea8b1 #f2edee;scrollbar-width:thin}
#talleres #workshop-table{display:table;width:100%;min-width:1050px;max-height:none;overflow:visible;border:0;border-collapse:separate;border-spacing:0;border-radius:0;box-shadow:none;table-layout:fixed}
#talleres #workshop-table thead{position:static}
#talleres #workshop-table th{position:sticky;top:0;z-index:3;background:#4b2032!important;color:#fff!important;border:0!important;padding:19px 18px!important;text-align:left!important;font-size:11px!important;min-width:0;letter-spacing:.08em}
#talleres #workshop-table th:first-child{width:240px;left:0;z-index:4}
#talleres #workshop-table tbody tr{--bs-table-accent-bg:transparent;--bs-table-bg:transparent;background:white!important;color:#3d3238!important}
#talleres #workshop-table tbody tr:nth-child(even){background:#f8f6f7!important}
#talleres #workshop-table tbody tr:hover{background:#f0e9ec!important}
#talleres #workshop-table tbody td{background:inherit!important;box-shadow:none!important;border:0!important;border-bottom:1px solid #eae3e6!important;padding:21px 18px!important;min-width:0;font-size:13px!important;text-align:left!important;vertical-align:middle;line-height:1.6}
#talleres #workshop-table tbody td:first-child{position:sticky;left:0;z-index:2;background:inherit!important;box-shadow:1px 0 0 #e5dce0!important;font-size:12px!important;font-weight:600;text-transform:none;color:#562b3e!important}
#talleres #workshop-table td strong{display:block;font-size:12px!important;line-height:1.65;color:#52474d!important;font-weight:400!important}
#talleres #workshop-table td span{display:inline-block;margin-top:7px;padding:3px 7px;border-radius:4px;background:#eee7eb;color:#553246!important;font-size:11px!important;line-height:1.6;font-weight:600}
#talleres #workshop-table tbody tr[hidden]{display:none!important}
@media(max-width:991px){#hero .hero-photo{height:380px}#why-us .img{min-height:320px;margin-bottom:28px}#why-us .content,#why-us .accordion-list{padding-right:12px}#talleres .workshop-tools span{margin-left:0}}
@media(max-width:575px){#hero .hero-img{padding:0 22px}#hero .hero-photo{height:300px;border-radius:8px}#hero .hero-caption{margin-top:16px;padding-left:12px;gap:10px}#hero .hero-caption strong{font-size:12px}#hero .hero-caption span{font-size:10px}#hero .hero-caption img{width:50px}#why-us .content h3{font-size:16px;line-height:1.9}#why-us .accordion-list p{padding-left:22px;font-size:13px}#why-us .img{min-height:250px}#talleres .workshop-tools{padding:16px;gap:10px}#talleres .workshop-tools input{width:100%}#talleres .workshop-scroll{max-height:530px}#talleres #workshop-table{min-width:980px}#talleres #workshop-table th:first-child{width:155px}#talleres #workshop-table tbody td:first-child{font-size:11px!important}#talleres #workshop-table tbody td{padding:16px 12px!important}}
@media(min-width:1200px){#why-us>.container-fluid{max-width:1140px;padding:0 12px}#why-us>.container-fluid>.container{padding:0}}
@media(min-width:1400px){#why-us>.container-fluid{max-width:1320px}}

/* Alineación uniforme de la información de talleres. */
#talleres #workshop-table thead th,
#talleres #workshop-table tbody td,
#talleres #workshop-table tbody td:first-child {
    text-align: center !important;
    vertical-align: middle !important;
}
#talleres #workshop-table td strong {
    width: 100%;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}
#talleres #workshop-table td span {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

/* Composición fotográfica: portada y galería institucional. */
#hero .hero-img{position:relative;padding:0 12px 0 28px}
#hero .hero-photo{height:510px;border-radius:4px 4px 0 0;box-shadow:none;object-fit:cover;object-position:center}
#hero .hero-caption{position:relative;margin:0;padding:23px 24px;background:var(--wine-dark);border:0;border-radius:0 0 4px 4px;gap:18px;box-shadow:0 20px 40px #40172912}
#hero .hero-caption:before{content:'';position:absolute;left:24px;top:0;width:48px;height:3px;background:#c4a677}
#hero .hero-caption img{background:#fff;padding:7px;width:76px;height:49px;border-radius:4px;flex-shrink:0}
#hero .hero-caption strong{color:#fff;font-size:15px;font-weight:500;letter-spacing:0}
#hero .hero-caption span{color:#e2d3da;font-size:11px;display:block;margin-top:4px}
#hero .hero-img:before{content:'';position:absolute;top:24px;bottom:24px;left:10px;width:2px;background:#b59b75}
#portfolio .section-title{border-bottom:1px solid #e7dfe0;margin-bottom:32px;padding-bottom:25px}
#portfolio .portfolio-container{grid-template-columns:1.25fr 1fr;grid-template-rows:repeat(2,minmax(245px,auto));gap:22px}
#portfolio .portfolio-item{border:0;border-radius:6px;background:#30252a;isolation:isolate;min-height:260px}
#portfolio .portfolio-item:first-child{grid-row:1 / 3;min-height:550px}
#portfolio .portfolio-img{position:absolute;inset:0;height:100%;width:100%;overflow:hidden}
#portfolio .portfolio-img img{height:100%;width:100%;object-fit:cover;transition:transform .55s ease!important;object-position:center}
#portfolio .portfolio-item:after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,transparent 25%,#1e101744 48%,#1e1017f2 100%);pointer-events:none}
#portfolio .portfolio-info{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:260px;background:transparent;padding:30px!important;z-index:1;border:0}
#portfolio .portfolio-item:first-child .portfolio-info{min-height:550px;padding:38px!important}
#portfolio .portfolio-info h4{font-size:18px;color:#fff;font-weight:500;line-height:1.5;max-width:540px;text-shadow:0 1px 8px #0003}
#portfolio .portfolio-item:first-child h4{font-size:25px;line-height:1.45}
#portfolio .portfolio-info p:empty{display:none}
#portfolio .portfolio-info .preview-link{display:inline-flex;align-self:flex-start;align-items:center;position:static;font-family:'Open Sans',sans-serif;font-size:11px;letter-spacing:.06em;color:#fff;border-bottom:1px solid #cfb690;padding:9px 0 5px;margin-top:13px;line-height:1.4;width:auto;height:auto;opacity:1}
#portfolio .portfolio-info .preview-link:before{content:'Ver fotografía';margin-right:18px}
#portfolio .portfolio-info .preview-link:after{content:'↗';font-size:18px;color:#d9bd92}
#portfolio .portfolio-item:hover .portfolio-img img,#portfolio .portfolio-item:focus-within .portfolio-img img{transform:scale(1.04)}
#portfolio .portfolio-info .preview-link:focus-visible{outline:3px solid #e6c593;outline-offset:6px}
@media(max-width:991px){#hero .hero-img{padding:0 22px}#hero .hero-img:before{left:8px}#hero .hero-photo{height:400px}#portfolio .portfolio-container{grid-template-columns:1.1fr 1fr;gap:16px}#portfolio .portfolio-info{padding:23px!important}#portfolio .portfolio-item:first-child .portfolio-info{padding:26px!important}#portfolio .portfolio-item:first-child h4{font-size:22px}#portfolio .portfolio-info h4{font-size:16px}}
@media(max-width:575px){#hero .hero-photo{height:330px;border-radius:4px 4px 0 0}#hero .hero-caption{padding:20px 16px;gap:12px}#hero .hero-caption img{width:60px;height:44px}#hero .hero-caption strong{font-size:12px}#hero .hero-caption span{font-size:10px}#portfolio .portfolio-container{grid-template-columns:1fr;grid-template-rows:none;gap:18px}#portfolio .portfolio-item:first-child{grid-row:auto;min-height:430px}#portfolio .portfolio-item:first-child .portfolio-info{min-height:430px;padding:25px!important}#portfolio .portfolio-item{min-height:340px}#portfolio .portfolio-info{min-height:340px;padding:25px!important}#portfolio .portfolio-info h4{font-size:18px}#portfolio .portfolio-item:first-child h4{font-size:22px}}

/* Menús: texto flexible y un espacio independiente para cada indicador. */
.navbar .nav-link.dropdown-toggle{display:flex;align-items:center;gap:7px}
.navbar .nav-link.dropdown-toggle:after{flex:0 0 auto;margin:0}
.navbar .dropdown-menu{width:300px;min-width:260px;max-width:calc(100vw - 32px);padding:9px!important}
.navbar .dropdown-menu li{min-width:0;padding-right:0}
.navbar .dropdown-menu .dropdown-item{position:relative;display:block;width:100%;padding:13px 34px 13px 15px!important;white-space:normal;overflow-wrap:break-word;line-height:1.55;font-size:13px;color:#51454c}
.navbar .dropdown-menu .dropdown-toggle:after{position:absolute;right:15px;top:50%;transform:translateY(-50%);margin:0;vertical-align:initial}
.navbar .dropdown-menu .dropdown-item:hover,.navbar .dropdown-menu .dropdown-item:focus{background:#f3e9ed;color:var(--wine-dark)}
@media(min-width:992px){.navbar .dropend>.dropdown-menu{width:260px;min-width:240px;max-width:300px}}
@media(max-width:991px){.navbar .dropdown-menu{width:auto;min-width:0;max-width:100%;margin-left:8px!important}.navbar .dropdown-menu .dropdown-item{padding:13px 34px 13px 12px!important}.navbar .dropdown-menu .dropdown-toggle:after{right:13px}}

/* Portada: fotografía panorámica y firma institucional flotante. */
#hero .hero-img{position:relative;padding:12px 12px 42px 24px;isolation:isolate}
#hero .hero-img:before{content:'';position:absolute;inset:0 34px 70px 8px;width:auto;background:#e3d6ce;border:0;border-radius:22px;transform:rotate(-3deg);z-index:-1}
#hero .hero-photo{height:465px;width:100%;object-fit:cover;object-position:center;border:0;border-radius:18px;box-shadow:0 20px 50px #38182418}
#hero .hero-caption{position:relative;display:flex;align-items:center;gap:20px;margin:-47px 22px 0;padding:24px;background:#fff;border:1px solid #eee5df;border-radius:12px;box-shadow:0 16px 38px #34172414;z-index:2}
#hero .hero-caption:before{content:'';position:absolute;top:20px;bottom:20px;left:0;width:3px;height:auto;background:var(--gold);border-radius:0 3px 3px 0}
#hero .hero-caption img{width:88px;height:61px;object-fit:contain;padding:0 17px 0 0;border-radius:0;border-right:1px solid #e9e0e2;background:transparent;flex-shrink:0}
#hero .hero-caption strong{font-family:'Jost',sans-serif;color:var(--wine-dark);font-size:19px;font-weight:600;line-height:1.3;letter-spacing:-.02em}
#hero .hero-caption span{display:block;color:#746970;font-size:12px;line-height:1.6;margin-top:6px}
@media(max-width:991px){#hero .hero-img{padding:10px 22px 28px}#hero .hero-photo{height:410px}#hero .hero-caption{margin:-38px 16px 0;padding:22px}#hero .hero-img:before{inset:0 40px 60px 12px}}
@media(max-width:575px){#hero .hero-img{padding:10px 20px 25px}#hero .hero-photo{height:325px;border-radius:13px}#hero .hero-caption{margin:-30px 10px 0;padding:18px 15px;gap:12px;border-radius:9px}#hero .hero-caption img{width:64px;height:50px;padding-right:12px}#hero .hero-caption strong{font-size:15px}#hero .hero-caption span{font-size:10px;margin-top:4px}#hero .hero-img:before{border-radius:16px;inset:0 36px 60px 12px}}
