/* Estilos del sitio Textidotar Bordados. Edita colores y espaciado aquí, o cada widget en Elementor. */
:root{--bd-ink:#101a25;--bd-blue:#123f7c;--bd-accent:#cce55e;--bd-paper:#f6f8f7;--bd-line:#d9e1e5}
body:has(.bd-header){margin:0;background:var(--bd-paper);color:var(--bd-ink);font-family:Arial,Helvetica,sans-serif}
body:has(.bd-header) .elementor-widget-text-editor p{margin:0}
body:has(.bd-header) .e-con{max-width:none}
.bd-header{background:#fff;padding:18px max(5%,calc((100% - 1160px)/2));border-bottom:1px solid var(--bd-line);min-height:74px;gap:28px}
.bd-header .bd-brand{font-size:18px;font-weight:900;letter-spacing:.06em;color:var(--bd-blue);text-decoration:none}.bd-brand span{font-size:12px;font-weight:700;letter-spacing:.11em;color:var(--bd-ink)}
.bd-nav nav{display:flex;gap:23px;flex-wrap:wrap}.bd-nav a,.bd-footer a{color:var(--bd-ink);text-decoration:none;font-size:14px;font-weight:700}.bd-nav a:hover,.bd-footer a:hover{color:var(--bd-blue);text-decoration:underline}
.bd-hero{background:radial-gradient(circle at 88% 15%,#325f9a 0,#123f7c 32%,#102845 78%);color:#fff;padding:95px max(6%,calc((100% - 1100px)/2)) 82px;min-height:485px}.bd-hero .elementor-widget{max-width:780px}
.bd-eyebrow .elementor-widget-container,.bd-section-num .elementor-widget-container,.bd-card-kicker .elementor-widget-container{font-size:13px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--bd-blue)}.bd-hero .bd-eyebrow .elementor-widget-container{color:var(--bd-accent)}
.bd-h1 h1{font-size:clamp(38px,5.2vw,70px);line-height:1.04;letter-spacing:-.045em;color:#fff;margin:14px 0 22px;max-width:920px;font-weight:850}
.bd-lead{font-size:19px;line-height:1.65;color:#e5edf8;max-width:740px}.bd-hero-note{margin-top:35px;color:#b9cee6;font-weight:700;font-size:12px;letter-spacing:.16em}
.bd-btn .elementor-button{background:var(--bd-accent);color:#142229;border-radius:4px;padding:16px 25px;font-size:15px;font-weight:800;margin-top:27px}.bd-btn .elementor-button:hover{background:#e4f397;color:#142229}
.bd-intro{padding:70px max(6%,calc((100% - 1100px)/2)) 25px}.bd-intro h2,.bd-cta h2{font-size:clamp(30px,3.2vw,46px);line-height:1.12;letter-spacing:-.035em;max-width:780px;margin:12px 0 16px}.bd-intro p{max-width:700px;color:#465564;font-size:17px;line-height:1.65}
.bd-card,.bd-related{margin:16px max(6%,calc((100% - 1100px)/2));padding:30px 34px;border:1px solid var(--bd-line);background:#fff;border-left:5px solid var(--bd-blue);box-shadow:0 6px 20px rgba(15,40,70,.045)}
.bd-card h3,.bd-related h3{font-size:24px;line-height:1.2;color:var(--bd-ink);margin:8px 0}.bd-card p{font-size:16px;line-height:1.6;color:#435565;max-width:760px}.bd-link .elementor-button{background:transparent;padding:12px 0;color:var(--bd-blue);font-weight:800;border:0}.bd-link .elementor-button:hover{background:transparent;color:#081c34;text-decoration:underline}
.bd-section{padding:50px max(6%,calc((100% - 1100px)/2));border-bottom:1px solid var(--bd-line);background:#fff}.bd-section:nth-of-type(even){background:#f6f8f7}.bd-section h2{font-size:clamp(26px,2.7vw,38px);letter-spacing:-.03em;line-height:1.2;margin:12px 0 17px;color:var(--bd-ink)}.bd-section p{font-size:18px;line-height:1.7;max-width:790px;color:#344453}
.bd-faq{padding:23px max(6%,calc((100% - 1100px)/2));border-bottom:1px solid var(--bd-line)}.bd-faq h3{font-size:20px;margin:0 0 8px}.bd-faq p{line-height:1.65;color:#425261}
.bd-contact{margin:30px max(6%,calc((100% - 1100px)/2));background:#fff;padding:35px;max-width:790px;border:1px solid var(--bd-line)}.bd-contact h2{font-size:30px}.bd-contact .elementor-field{border:1px solid var(--bd-line);background:#f9fbfc}.bd-contact .elementor-button{background:var(--bd-blue);color:#fff}
.bd-cta{background:#102845;color:#fff;padding:75px max(6%,calc((100% - 1100px)/2));margin-top:55px}.bd-cta .bd-eyebrow .elementor-widget-container{color:var(--bd-accent)}.bd-cta h2{color:#fff}.bd-cta p{font-size:17px;color:#d6e4f3}
.bd-footer{background:#0b1b2d;color:#e7eef5;padding:30px max(6%,calc((100% - 1100px)/2));gap:8px}.bd-footer a{color:#e7eef5}.bd-footer-text{font-size:14px}
@media(max-width:767px){.bd-header{padding:18px 6%;align-items:flex-start!important;flex-direction:column!important;gap:14px}.bd-nav nav{gap:12px 18px}.bd-nav a{font-size:13px}.bd-hero{padding:64px 6% 55px;min-height:0}.bd-lead{font-size:17px}.bd-card,.bd-related{padding:23px;margin:12px 6%}.bd-section{padding:37px 6%}.bd-intro{padding:48px 6% 18px}.bd-cta{padding:55px 6%}.bd-contact{margin:25px 6%;padding:22px}}

.bd-nav-wa{background:#e8f6d0;color:#183f2a!important;padding:8px 12px;border-radius:4px}.bd-contact a{color:var(--bd-blue);font-weight:800}
.bd-image-block{padding:35px max(6%,calc((100% - 1100px)/2)) 10px;background:#f6f8f7}.bd-editorial-image img{display:block;width:100%;max-height:600px;object-fit:cover;border-radius:5px}.bd-editorial-image figcaption{text-align:left;font-size:13px;color:#5c6872;margin-top:10px}
@media(max-width:767px){.bd-image-block{padding:25px 6% 5px}}

/* Full-width revision */
body:has(.bd-header) .elementor{overflow-x:hidden}
.bd-header{padding-left:4%;padding-right:4%}
.bd-hero{position:relative;isolation:isolate;overflow:hidden;padding:98px 4% 75px;min-height:520px;background:#102845}
.bd-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,28,51,.92),rgba(13,41,72,.72) 48%,rgba(13,41,72,.18));z-index:0;pointer-events:none}
.bd-hero>.elementor-widget:not(.bd-hero-image){position:relative;z-index:2}
.bd-hero-image{position:absolute!important;inset:0;z-index:0;width:100%!important;height:100%!important;max-width:none!important}
.bd-hero-image .elementor-widget-container,.bd-hero-image figure{width:100%;height:100%;margin:0}
.bd-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.bd-hero-image figcaption{display:none}
.bd-hero-disclosure{font-size:12px;color:#d2dfec;margin-top:20px}
.bd-intro,.bd-section,.bd-faq,.bd-cta,.bd-footer{padding-left:4%;padding-right:4%}
.bd-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0 4% 55px;width:100%;max-width:none!important;align-items:stretch}
.bd-card-grid .bd-card,.bd-card-grid .bd-related{margin:0;padding:0 0 25px;min-width:0;width:100%;overflow:hidden}
.bd-card-grid .bd-card>.elementor-widget:not(.bd-card-image),.bd-card-grid .bd-related>.elementor-widget:not(.bd-card-image){margin-left:23px;margin-right:23px}
.bd-card-image img{display:block;width:100%;height:230px;object-fit:cover}.bd-card-image figcaption{display:none}
.bd-card,.bd-related{margin-left:4%;margin-right:4%}
.bd-section p,.bd-intro p{max-width:980px}.bd-section h2{max-width:1000px}
@media(max-width:950px){.bd-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.bd-hero{min-height:570px;padding:62px 6%}.bd-hero:after{background:linear-gradient(90deg,rgba(8,28,51,.91),rgba(13,41,72,.62))}.bd-card-grid{grid-template-columns:1fr;padding:0 6% 40px}.bd-card-image img{height:220px}.bd-intro,.bd-section,.bd-faq,.bd-cta,.bd-footer{padding-left:6%;padding-right:6%}}
/* Fotografías decorativas bajo el contenido; el widget de cada sección es editable en Elementor. */
.bd-section,.bd-intro,.bd-faq{position:relative;isolation:isolate;overflow:hidden;background:#fff!important}
.bd-section:nth-of-type(even),.bd-faq:nth-of-type(even){background:#f6f8f7!important}
.bd-section-image{position:absolute!important;inset:0;z-index:0;width:100%!important;height:100%!important;max-width:none!important;pointer-events:none;opacity:.25}
.bd-section-image .elementor-widget-container,.bd-section-image figure{width:100%;height:100%;margin:0}
.bd-section-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.bd-section>.elementor-widget:not(.bd-section-image),.bd-intro>.elementor-widget:not(.bd-section-image),.bd-faq>.elementor-widget:not(.bd-section-image){position:relative;z-index:2}
.bd-section{min-height:250px}.bd-section p,.bd-faq p{color:#1f2d3c}
.bd-cta{background-image:linear-gradient(90deg,rgba(8,25,45,.93),rgba(11,35,62,.85)),var(--bd-secondary-photo);background-size:cover;background-position:center}

.bd-brand img{display:block;width:78px;height:78px;object-fit:contain}.bd-header{min-height:102px}@media(max-width:700px){.bd-brand img{width:64px;height:64px}}

/* Identidad Textibordar: encabezado azul y navegación legible. */
.bd-header{background:#0c2344;border-bottom:2px solid #315c99;box-shadow:0 5px 18px rgba(4,20,45,.16)}
.bd-header .bd-brand{display:inline-flex;align-items:center;gap:12px;color:#fff;font-size:25px;letter-spacing:.015em;text-transform:none;line-height:1.1}
.bd-brand-name{color:#fff;font-size:inherit;letter-spacing:inherit}
.bd-header .bd-nav a{color:#f2f6ff}
.bd-header .bd-nav a:hover{color:#d3e96f}
.bd-header .bd-nav-wa{color:#14341e;background:#d3e96f;padding:9px 12px;border-radius:4px}
.bd-header .bd-nav-wa:hover{color:#14341e;background:#e6f6a1}
@media(max-width:767px){.bd-header .bd-brand{font-size:22px;gap:9px}.bd-header .bd-nav a{font-size:14px}}

/* Compatibility with current Elementor wrappers. */
.bd-header>.e-con-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%}
.bd-hero>.e-con-inner{position:relative;min-height:420px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.bd-hero .elementor-widget:not(.bd-hero-image){position:relative;z-index:2}
.bd-hero .bd-hero-image{position:absolute!important;inset:-98px -4vw -75px!important;width:calc(100% + 8vw)!important;height:calc(100% + 173px)!important;max-width:none!important;z-index:-1}
.bd-hero-image figure{height:100%;width:100%;margin:0}.bd-hero-image img{height:100%;width:100%;object-fit:cover}
.bd-hero .bd-eyebrow{color:var(--bd-accent);font-size:13px;font-weight:800;letter-spacing:.15em}
.bd-section .bd-section-image,.bd-intro .bd-section-image,.bd-faq .bd-section-image{display:none!important}
.bd-card-grid>.e-con-inner{display:contents}.bd-card-grid .bd-card>.e-con-inner{display:flex;flex-direction:column;gap:12px;width:100%}
.bd-card-grid .bd-card .elementor-widget:not(.bd-card-image){margin-left:23px;margin-right:23px}
.bd-nav nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.bd-header .bd-nav a{color:#fff!important}.bd-header .bd-nav-wa{color:#14341e!important}
@media(max-width:767px){.bd-header>.e-con-inner{flex-direction:column;align-items:flex-start}.bd-hero>.e-con-inner{min-height:380px}.bd-hero .bd-hero-image{inset:-62px -6vw!important;width:calc(100% + 12vw)!important;height:calc(100% + 124px)!important}}

.bd-header .bd-brand,.bd-header .bd-brand-name,.bd-header .bd-brand span{color:#fff!important}
.bd-header .bd-nav a.bd-nav-wa{color:#14341e!important}
.bd-hero .bd-h1 h1{color:#fff!important}
.bd-hero .bd-lead,.bd-hero .bd-lead p{color:#e5edf8!important;max-width:740px}
.bd-hero-note,.bd-hero-disclosure{color:#d2dfec!important}
.bd-btn .elementor-button{background:#cce55e!important;color:#142229!important}
.bd-nav{width:auto!important}
.bd-hero>.e-con-inner{max-width:1160px!important}
/* Compact header and accessible mobile menu. */
.bd-header{position:relative!important;background:#0c2344!important;padding:12px 4%!important;min-height:86px!important;gap:0!important;flex-direction:row!important;align-items:center!important;z-index:20}
.bd-header>.e-con-inner{max-width:1240px!important;margin:0 auto;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;width:100%!important;min-height:60px}
.bd-header .bd-brand-wrap{flex:0 0 auto!important;width:auto!important;margin:0!important}
.bd-header .bd-brand{font-size:20px!important;gap:10px!important;white-space:nowrap}
.bd-header .bd-brand img{width:60px!important;height:60px!important;flex-shrink:0}
.bd-header .bd-brand span{font-size:20px!important;letter-spacing:0!important}
.bd-header .bd-nav{flex:0 1 auto!important;width:auto!important;margin:0!important;position:static!important}
.bd-header .bd-nav nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap!important;gap:14px!important}
.bd-header .bd-nav nav a{font-size:13px!important;white-space:nowrap;line-height:1.4;padding-top:8px;padding-bottom:8px}
.bd-menu-toggle{display:none!important}
@media(max-width:1100px){
.bd-header{padding:10px 5%!important;min-height:76px!important}
.bd-header>.e-con-inner{gap:10px!important;min-height:56px}
.bd-header .bd-brand img{width:52px!important;height:52px!important}.bd-header .bd-brand span{font-size:19px!important}
.bd-menu-toggle{display:inline-flex!important;align-items:center;gap:8px;background:transparent!important;border:1px solid #728aa7!important;color:#fff!important;border-radius:6px;padding:10px 12px!important;font-size:14px!important;line-height:1.2;cursor:pointer}
.bd-menu-bars{display:flex;flex-direction:column;gap:4px;width:20px}.bd-menu-bars i{display:block;width:20px;height:2px;background:#fff;transition:transform .2s}
.bd-menu-open .bd-menu-bars i:nth-child(1){transform:translateY(6px) rotate(45deg)}.bd-menu-open .bd-menu-bars i:nth-child(2){opacity:0}.bd-menu-open .bd-menu-bars i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.bd-header .bd-nav nav{display:none!important;position:absolute!important;top:100%;left:0;right:0;background:#0c2344!important;padding:14px 5% 20px;border-top:1px solid #416080;box-shadow:0 10px 15px #0003;flex-direction:column!important;align-items:stretch!important;gap:0!important;z-index:30}
.bd-header.bd-menu-open .bd-nav nav{display:flex!important}.bd-header .bd-nav nav a{font-size:16px!important;padding:12px 8px;border-bottom:1px solid #ffffff20;white-space:normal}.bd-header .bd-nav nav a.bd-nav-wa{margin-top:12px;text-align:center;border:0;padding:13px!important}
}
.bd-menu-toggle:focus-visible,.bd-nav a:focus-visible{outline:3px solid #cce55e;outline-offset:3px}
/* Keep the header in view without a nested scroll container. */
body:has(.bd-header) .elementor{overflow-x:clip!important;overflow-y:visible!important}
.bd-header{position:sticky!important;top:0!important;z-index:999!important}
body.admin-bar .bd-header{top:32px!important}
@media(max-width:782px){body.admin-bar .bd-header{top:46px!important}}
@media(max-width:600px){body.admin-bar .bd-header{top:0!important}}
.bd-floating-whatsapp{position:fixed;right:22px;bottom:22px;z-index:1000;display:flex;align-items:center;gap:10px;text-decoration:none!important;color:#fff!important}
.bd-wa-icon{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background:linear-gradient(145deg,#21bb80,#087a58);border:3px solid #fff;box-shadow:0 5px 20px #072e3e40;transition:transform .2s,box-shadow .2s}
.bd-wa-caption{background:#0c2344;color:#fff!important;padding:10px 15px;border-radius:12px;font-size:14px;font-weight:700;box-shadow:0 3px 12px #0002}
.bd-floating-whatsapp:hover .bd-wa-icon{transform:translateY(-3px);box-shadow:0 8px 24px #072e3e50}.bd-floating-whatsapp:focus-visible{outline:3px solid #cce55e;outline-offset:4px;border-radius:50px}
@media(max-width:767px){.bd-floating-whatsapp{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));gap:7px}.bd-wa-icon{width:62px;height:62px}.bd-wa-icon svg{width:47px;height:47px}.bd-wa-caption{display:none}}
@media print{.bd-floating-whatsapp{display:none!important}.bd-header{position:static!important}}

.bd-hero-image picture{display:block;width:100%;height:100%}.bd-card-image picture{display:block;width:100%}
/* Mobile-only layout improvements; desktop rules stay intact. */
@media(max-width:767px){
.bd-hero{padding:42px 5% 38px!important;min-height:0!important}.bd-hero>.e-con-inner{min-height:0!important;gap:12px!important}.bd-hero .bd-hero-image{inset:-42px -5vw -38px!important;width:calc(100% + 10vw)!important;height:calc(100% + 80px)!important}
.bd-h1 h1{font-size:clamp(32px,8.5vw,42px)!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:10px 0 15px!important;overflow-wrap:break-word}
.bd-lead,.bd-hero .bd-lead p{font-size:16px!important;line-height:1.6!important}.bd-hero .bd-eyebrow{font-size:11px!important;letter-spacing:.08em!important}
.bd-hero-note{margin-top:16px!important;font-size:10px!important;letter-spacing:.08em!important}.bd-hero-disclosure{margin-top:8px!important;font-size:11px!important}.bd-btn .elementor-button{margin-top:12px!important;min-height:44px}
.bd-intro,.bd-section,.bd-faq,.bd-cta{padding-left:5%!important;padding-right:5%!important}.bd-intro{padding-top:32px!important}.bd-intro h2,.bd-section h2,.bd-cta h2{font-size:28px!important;line-height:1.2!important}.bd-section p,.bd-faq p,.bd-intro p{font-size:16px!important;line-height:1.65!important}.bd-section{min-height:0!important}
.bd-card-grid{grid-template-columns:1fr!important;padding:0 5% 30px!important;gap:16px!important}.bd-card h3{font-size:22px!important}.bd-card-image img{height:210px!important}.bd-link .elementor-button{min-height:44px;display:inline-flex;align-items:center}.bd-contact{max-width:90%!important;margin:24px 5%!important;padding:20px!important}
.bd-header>.e-con-inner{padding:0!important}.bd-header .bd-nav nav{max-height:calc(100dvh - 90px);overflow-y:auto}.bd-footer{padding-bottom:85px!important}html{scroll-padding-top:90px}
}
