:root{--blue:#0877bc;--navy:#12354c;--ink:#193747;--muted:#627785;--sky:#eaf7fc;--line:#dce9ef;--red:#df343b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:white;line-height:1.65}a{color:inherit}img{max-width:100%;height:auto}.container{width:min(1140px,calc(100% - 44px));margin:auto}.skip-link{position:absolute;top:-80px;left:12px;background:#fff;padding:8px;z-index:99}.skip-link:focus{top:12px}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:3}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:98px}.brand{display:flex;align-items:center;flex-shrink:0}.brand img{width:155px;height:auto;display:block;border-radius:4px}.site-header nav{display:flex;gap:31px;flex-wrap:wrap}.site-header nav a{text-decoration:none;font-size:.94rem;font-weight:600;color:#385568}.site-header nav a:hover,.site-header nav a:focus{color:var(--blue)}.hero{background:linear-gradient(122deg,#f3fbff 0%,#e8f6fc 58%,#d7ecf6 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:40px;min-height:545px;padding-top:60px;padding-bottom:62px}.eyebrow{display:inline-flex;gap:9px;align-items:center;color:#0a6a9e;background:#fff;border:1px solid #d1e8f2;border-radius:30px;padding:7px 15px;font-size:.78rem;font-weight:700;letter-spacing:.025em}.eyebrow-dot{width:8px;height:8px;background:var(--red);border-radius:50%}h1,h2,h3,p{margin-top:0}h1,h2{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.5rem,5vw,4.4rem);margin:25px 0 23px;color:#13364b;max-width:700px}h1 em{font-style:normal;color:var(--blue)}.hero-copy>p{font-size:1.06rem;max-width:590px;color:#496577}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:31px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;border-radius:9px;padding:12px 21px;font-weight:700;font-size:.93rem;border:1px solid transparent;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:#08669e}.btn-outline{border-color:#91bbce;color:#165b80;background:transparent}.btn-light{background:#fff;color:#076b9f}.hero-art{height:360px;position:relative;display:flex;align-items:center;justify-content:center}.art-circle{position:absolute;border-radius:50%}.circle-one{height:360px;width:360px;background:radial-gradient(circle at 28% 25%,#e6f9ff,#82c8e9);right:17px;top:0}.circle-two{height:155px;width:155px;background:#ccecf9;left:10px;bottom:-30px}.art-card{position:relative;z-index:1;width:285px;min-height:235px;background:#fff;box-shadow:0 28px 70px #1a6b9330;border:1px solid #e4f0f5;border-radius:26px;padding:35px 28px;transform:rotate(-4deg);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.art-heart{font-size:55px;color:var(--red);line-height:1}.art-card strong{font-family:Georgia,serif;color:var(--blue);font-size:3rem;line-height:1.25}.art-card>span:last-child{color:#64798a;font-size:.79rem}.art-label{position:absolute;z-index:2;right:0;bottom:15px;background:#fff;padding:10px 18px;border-radius:40px;color:#176184;font-weight:700;box-shadow:0 8px 30px #00588b20;font-size:.85rem}.section{padding:88px 0}.section-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px}.section-kicker{display:block;color:var(--blue);letter-spacing:.17em;font-weight:800;font-size:.76rem;margin-bottom:17px}.section h2{font-size:clamp(2rem,3.5vw,3.05rem);color:var(--navy);margin:0 0 22px}.section p{color:#536b7c;font-size:1rem}.small-note{font-size:.87rem!important;color:#718796!important}.section-soft{background:#f5f9fb}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.section-head p{max-width:450px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.activity-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:29px;box-shadow:0 9px 22px #12354c06}.card-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;color:var(--blue);background:#e7f5fc;font-size:1.5rem;margin-bottom:21px}.activity-card h3{font-size:1.15rem;color:var(--navy);margin-bottom:10px}.activity-card p{font-size:.94rem;margin:0}.contact-section{background:var(--navy);padding:72px 0}.contact-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.contact-section h2,.contact-section p{color:#fff}.contact-section h2{margin-bottom:12px}.contact-section p{opacity:.78;margin-bottom:0}.contact-section .section-kicker{color:#9cdbfa}.site-footer{background:#0b2535;color:#b6cbd8;padding:26px 0;font-size:.81rem}.footer-inner{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}@media(max-width:800px){.header-inner{flex-direction:column;padding:15px 0;gap:12px}.site-header nav{justify-content:center;gap:10px 22px}.hero-grid{grid-template-columns:1fr;padding-top:52px;gap:10px}.hero-art{height:290px}.circle-one{height:270px;width:270px;right:calc(50% - 145px)}.circle-two{left:calc(50% - 180px)}.art-card{transform:rotate(-3deg) scale(.86)}.art-label{right:calc(50% - 180px);bottom:0}.section-grid{grid-template-columns:1fr;gap:15px}.section-head{display:block}.cards{grid-template-columns:1fr}.contact-inner{align-items:flex-start;flex-direction:column}.section{padding:65px 0}}@media(max-width:440px){.container{width:calc(100% - 30px)}.brand img{width:125px}.site-header nav{font-size:.88rem;gap:8px 14px}.hero-grid{padding-top:43px}.hero-art{height:250px}h1{font-size:2.55rem}.section{padding:55px 0}}

/* Hemeroteca */
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0}.news-card{border:1px solid #d6e6f0;border-radius:15px;background:#fff;padding:24px}.news-card small{color:#2479af;font-weight:700}.news-card h3{font-size:1.13rem;margin:12px 0 18px;line-height:1.4}.news-card a{color:#06669b;font-weight:700;text-decoration:underline}@media(max-width:850px){.news-grid{grid-template-columns:1fr}}

/* Actualización ASAEC: redes, proyectos, galería y noticias */
.social-strip{background:#12354c;color:white;font-size:.82rem}.social-inner{min-height:38px;display:flex;align-items:center;justify-content:flex-end;gap:20px}.social-inner>div{display:flex;gap:18px;align-items:center}.social-inner a{color:white;text-decoration:none;font-weight:650}.social-inner a:hover,.social-inner a:focus{color:#a8e4ff;text-decoration:underline}.social-inner a span{font-weight:900;font-size:1.1rem;margin-right:5px}.activity-card{overflow:hidden}.activity-card>img{width:100%;height:180px;object-fit:cover;display:block}.activity-body{padding:0 2px 6px}.project-tag{color:var(--blue);font-size:.77rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.gallery-item{margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(18,53,76,.05)}.gallery-item img{width:100%;height:185px;object-fit:cover;display:block}.gallery-item figcaption{padding:12px 15px;font-size:.88rem;color:#385568}.news-grid-improved{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:26px}.news-grid-improved .news-card{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:14px;padding:23px;background:#fff;box-shadow:0 5px 18px rgba(18,53,76,.05)}.news-grid-improved .news-card h3{margin:0;font-size:1.12rem;line-height:1.4}.news-grid-improved .news-card a{margin-top:auto;color:var(--blue);font-weight:700;text-decoration:none}.news-grid-improved .news-card a:hover{text-decoration:underline}@media(max-width:760px){.social-inner{justify-content:center}.social-inner>span{display:none}.gallery-grid,.news-grid-improved{grid-template-columns:1fr}.gallery-item img{height:220px}.site-header nav{gap:13px}}

/* Ajustes de diseño 4 — cabecera y galería */
.social-strip a{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.social-strip a:focus-visible,.gallery-item a:focus-visible,.site-header nav a:focus-visible{outline:3px solid #54b7f4;outline-offset:3px;border-radius:4px}
.gallery-item a{display:block;overflow:hidden;background:#eef6fa}
.gallery-item a img{width:100%;height:205px;object-fit:cover;transition:transform .18s ease}
.gallery-item a:hover img{transform:scale(1.035)}
.gallery-item figcaption{min-height:65px;line-height:1.45}
.gallery-grid{align-items:stretch}
.header-inner{row-gap:16px}
.site-header nav{align-items:center}
@media(max-width:760px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-item a img{height:170px}.social-inner{justify-content:center}.site-header nav{justify-content:center}}
@media(max-width:500px){.gallery-grid{grid-template-columns:1fr}.gallery-item a img{height:230px}.social-inner>div{gap:24px}.site-header nav{gap:10px 16px;justify-content:center}}
@media(prefers-reduced-motion:reduce){.gallery-item a img{transition:none}.gallery-item a:hover img{transform:none}}

/* Datos de contacto ASAEC */
.contact-inner{align-items:flex-start}
.contact-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px;margin-top:26px;font-style:normal}
.contact-details div{display:flex;flex-direction:column;gap:6px}
.contact-details strong{font-size:.8rem;color:#a7dcf5;text-transform:uppercase;letter-spacing:.06em}
.contact-details a{color:#fff;text-decoration:none;line-height:1.6}
.contact-details a:hover{text-decoration:underline}
@media(max-width:650px){.contact-inner{flex-direction:column}.contact-details{grid-template-columns:1fr}}

/* Actualización de contenidos ASAEC - 03/11/2026 */
.hero-photo{margin:0;position:relative;border-radius:24px;overflow:hidden;box-shadow:0 18px 50px rgba(11,54,76,.17);background:#cbe4ee;transform:rotate(1.5deg)}
.hero-photo img{display:block;width:100%;height:365px;object-fit:cover;object-position:center}
.hero-photo figcaption{position:absolute;left:18px;bottom:18px;background:rgba(255,255,255,.95);color:#0d537d;padding:9px 15px;border-radius:50px;font-size:.87rem;font-weight:700}
.about-head{display:grid;grid-template-columns:1fr 1.12fr;gap:60px;align-items:start;margin-top:16px}
.about-head h2{font-size:clamp(2rem,3.4vw,3rem);line-height:1.16;margin:10px 0 20px;max-width:550px}
.about-lead{color:var(--blue);font-size:1.2rem;font-weight:600}
.about-copy p{margin:0 0 18px;color:#385568}
.about-quote{font-size:clamp(1.15rem,2vw,1.52rem);font-weight:700;padding:20px 26px;border-left:4px solid #0877bc;background:#f2faff;border-radius:0 12px 12px 0;margin:25px 0}
.history-note{font-size:.91rem;color:#516976}.history-note strong{color:#133a51;margin-right:8px}
.history-note a,.service-source a{color:var(--blue)}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:30px 0 38px}
.service-card{padding:28px;background:#fff;border:1px solid #dce9ef;border-radius:18px;box-shadow:0 8px 24px rgba(19,53,76,.045)}
.service-card h3{font-size:1.16rem;line-height:1.3;margin:11px 0 10px;color:#12354c}
.service-card p{font-size:.96rem;color:#526c7a;margin:0}
.service-icon{background:#e4f4fc;border-radius:12px;color:#0877bc;width:47px;height:47px;display:flex;justify-content:center;align-items:center;font-size:1.6rem;font-weight:700}
.feature-strip{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:20px;background:#dceffa;align-items:stretch}
.feature-strip>img{width:100%;height:100%;min-height:280px;object-fit:cover}
.feature-strip>div{padding:42px;align-self:center}.feature-strip h3{font-size:1.8rem;line-height:1.2;margin:12px 0}.feature-strip p{margin:0 0 18px;color:#395b6c}.text-link{font-weight:700;color:var(--blue)}
.service-source{margin-top:20px}
@media(max-width:850px){.about-head,.feature-strip{grid-template-columns:1fr}.about-head{gap:12px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-photo img{height:280px}.feature-strip>img{max-height:300px}}
@media(max-width:560px){.service-grid{grid-template-columns:1fr}.feature-strip>div{padding:25px}.hero-photo{transform:none}.hero-photo img{height:240px}}

/* Identificación correcta de proyectos y galería — 2026-11-03 */
.location-icon{display:inline-block;flex:none;color:#0877bc;vertical-align:middle}
.gallery-subtitle{font-size:1.22rem;color:#12354c;margin:36px 0 0;line-height:1.3}
.gallery-subtitle + .gallery-grid{margin-top:15px}
.about-copy p{margin-bottom:18px}
@media(min-width:761px){.gallery-grid:has(.gallery-item:only-child){grid-template-columns:minmax(0,365px)}}

/* Mejora visual noviembre 2026: contenido real, secciones y fotos accesibles */
.about-photo-row{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:28px}
.about-photo-row figure,.faga-explainer figure{margin:0;overflow:hidden;border-radius:17px;background:#e8f4fa}
.about-photo-row img{display:block;width:100%;height:255px;object-fit:cover}
.about-photo-row figcaption,.faga-explainer figcaption{padding:10px 14px;font-size:.85rem;color:#385568;background:#f1f8fb}
.faga-explainer{display:grid;grid-template-columns:1.25fr 0.85fr;gap:24px;align-items:center;background:#e6f4fb;border:1px solid #cbe5f3;border-radius:20px;overflow:hidden;margin:32px 0 24px}
.faga-explainer>div{padding:28px 32px}.faga-explainer .section-kicker{margin-bottom:9px}.faga-explainer h3{font-size:1.65rem;line-height:1.3;color:#12354c;margin-bottom:14px}.faga-explainer p{font-size:.95rem;color:#35566b}.faga-explainer .faga-proof{font-size:.85rem}.faga-explainer a{color:#0066a3;font-weight:700}.faga-explainer img{display:block;width:100%;height:290px;object-fit:cover}
.news-card p{font-size:.92rem!important;line-height:1.5}
@media(max-width:760px){.about-photo-row,.faga-explainer{grid-template-columns:1fr}.about-photo-row img{height:205px}.faga-explainer>div{padding:25px}.faga-explainer img{height:230px}}

/* Hemeroteca 2026 */
.news-card-featured{border-color:#a3cde5;background:linear-gradient(145deg,#fff,#f1f9fd)}

/* Galerías y proyectos visuales — noviembre de 2026 */
.program-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0 30px}.program-highlight{background:#fff;border:1px solid #dce9ef;border-radius:17px;overflow:hidden;box-shadow:0 5px 18px rgba(18,53,76,.05)}.program-highlight>img{display:block;width:100%;height:190px;object-fit:cover}.program-highlight>div{padding:20px 22px 24px}.program-label{font-size:.73rem;letter-spacing:.08em;font-weight:800;color:#0877bc}.program-highlight h3{font-size:1.15rem;line-height:1.25;color:#12354c;margin:9px 0}.program-highlight p{font-size:.9rem}.program-highlight a{color:#0877bc;font-weight:700;text-decoration:none}.program-highlight a:hover{text-decoration:underline}.gallery-group{scroll-margin-top:28px}.gallery-group .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-group .gallery-item a img{height:175px}.gallery-group .gallery-item figcaption{min-height:78px}.gallery-group .gallery-subtitle{margin-top:40px}.gallery-group>p{margin-bottom:0}.feature-strip>img{max-height:400px}.gallery-group .gallery-item{min-width:0}@media(max-width:930px){.program-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-group .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.program-highlights{grid-template-columns:1fr}.gallery-group .gallery-grid{grid-template-columns:1fr}.gallery-group .gallery-item a img{height:235px}}

/* Fotos originales en la tarjeta de reconocimiento */
.news-card-photo{display:block;width:100%;height:210px;object-fit:cover;object-position:center 45%;border-radius:12px;margin:12px 0 14px;}
@media(max-width:650px){.news-card-photo{height:180px;}}

/* Fotografía original de la sede */
.contact-sede{margin:22px 0 0;max-width:525px;border-radius:14px;overflow:hidden;background:#fff;color:#16354a}
.contact-sede img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.contact-sede figcaption{padding:8px 13px;font-size:.84rem;color:#34556a}

/* Contacto: datos a la izquierda y fotografía de la sede a la derecha */
.contact-section .contact-inner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:44px;align-items:start;}
.contact-section .contact-visual{display:flex;flex-direction:column;align-items:flex-end;gap:26px;min-width:0;}
.contact-section .contact-visual .btn{align-self:flex-end;}
.contact-section .contact-sede{margin:0;width:100%;max-width:520px;overflow:hidden;border-radius:13px;background:#183e55;}
.contact-section .contact-sede img{display:block;width:100%;height:275px;object-fit:cover;object-position:center center;}
.contact-section .contact-sede figcaption{padding:8px 13px 10px;font-size:.78rem;line-height:1.5;color:#d8ecf7;text-align:center;}
@media(max-width:800px){.contact-section .contact-inner{grid-template-columns:1fr;gap:25px}.contact-section .contact-visual{align-items:flex-start;gap:18px}.contact-section .contact-visual .btn{align-self:flex-start}.contact-section .contact-sede{max-width:560px}.contact-section .contact-sede img{height:auto;max-height:315px;aspect-ratio:16/10;object-fit:cover;}}

/* Enlaces legales y páginas informativas */
.footer-links{display:inline-flex;flex-wrap:wrap;align-items:center;gap:16px}
.site-footer .footer-links a{color:#cbe9fb;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-links a:hover,.site-footer .footer-links a:focus-visible{color:#fff}
.legal-content{padding:64px 0 85px;background:#f5f9fc;color:#16354a;min-height:62vh}
.legal-content .legal-paper{max-width:900px;margin:auto;background:#fff;border:1px solid #d7e7f1;border-radius:16px;padding:clamp(22px,4vw,52px)}
.legal-paper h1{font-size:clamp(2rem,4vw,3rem);line-height:1.15;margin:0 0 25px}
.legal-paper h2{font-size:1.3rem;line-height:1.3;margin:29px 0 12px}
.legal-paper p,.legal-paper li{line-height:1.75;margin:0 0 14px}
.legal-paper a{color:#0877bc;text-decoration:underline}
.legal-paper ul{padding-left:24px;margin:0 0 20px}
.legal-intro{color:#466578}
@media(max-width:850px){.site-footer .footer-inner{flex-wrap:wrap;gap:14px}}

/* Selector discreto de idiomas y mejoras de accesibilidad */
.social-strip .social-inner{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.social-strip .language-switch{display:flex;gap:5px;margin-left:auto;align-items:center;white-space:nowrap}
.language-switch a{font:inherit;font-size:.8rem;font-weight:650;letter-spacing:.04em;padding:5px 7px;border-radius:6px;text-decoration:none;color:inherit;opacity:.85}
.language-switch a[aria-current="page"]{background:rgba(255,255,255,.18);opacity:1;text-decoration:underline;text-underline-offset:3px}
.language-switch a:hover{background:rgba(255,255,255,.15);opacity:1}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #f6b548;outline-offset:3px;border-radius:3px}
img{max-width:100%}
@media(max-width:700px){.social-strip .social-inner{gap:8px}.social-strip .language-switch{margin-left:0}.language-switch a{padding:6px 8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
