/*
Theme Name: AVIJ
Theme URI: https://avij.es/
Author: Asociación Valenciana de Investigación Jurídica
Author URI: https://avij.es/
Description: Tema institucional, académico y accesible de la Asociación Valenciana de Investigación Jurídica, con gestión segura de solicitudes de alta, avisos por correo y exportación Excel.
Version: 1.0.4
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avij
Tags: custom-logo, featured-images
*/

:root {
  --blue: #7eafe6;
  --blue-deep: #2367b3;
  --blue-dark: #123e70;
  --navy: #102840;
  --ink: #182637;
  --muted: #637080;
  --paper: #ffffff;
  --pale: #f2f7fc;
  --line: #dbe5ef;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #ffd31c; outline-offset: 3px; }

.shell { width: min(1380px, calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 4px; }
.skip-link:focus { top: 12px; }

.utility-bar { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .02em; }
.utility-inner { min-height: 41px; display: flex; align-items: center; justify-content: space-between; }
.utility-data { display: flex; align-items: center; gap: 28px; }
.utility-data a, .utility-data > span { display: flex; align-items: center; gap: 8px; opacity: .94; }
.utility-data > span { gap: 4px; }
.utility-icon { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.mail-icon { width: 17px; height: 17px; }
.location-icon { width: 15px; height: 15px; }
.social-links { display: flex; gap: 9px; align-items: center; }
.social-links a { width: 33px; height: 33px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 11px; transition: .2s ease; }
.social-links a:hover, .social-links a:focus-visible { background: var(--blue); border-color: var(--blue); color: var(--navy); transform: translateY(-2px); }
.social-links.compact a { width: 27px; height: 27px; font-size: 10px; }
.senyera-rule { height: 5px; background: linear-gradient(90deg, #1d76b8 0 7%, #ffd31c 7% 17%, #e11926 17% 27%, #ffd31c 27% 37%, #e11926 37% 47%, #ffd31c 47% 57%, #e11926 57% 67%, #ffd31c 67% 77%, #e11926 77% 87%, #ffd31c 87%); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(18,62,112,.1); backdrop-filter: blur(16px); }
body.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 98px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; width: 182px; }
.brand img { width: 100%; height: auto; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 19px; }
.desktop-nav a { font-size: 12px; font-weight: 700; color: #27384c; white-space: nowrap; padding: 11px 0; position: relative; }
.desktop-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 5px; width: 0; height: 2px; background: var(--blue-deep); transition: width .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { width: 100%; }
.desktop-nav .nav-cta { background: var(--blue-deep); color: #fff; padding: 12px 16px; border-radius: 3px; box-shadow: 0 9px 20px rgba(35,103,179,.18); }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border: 1px solid var(--line); display: grid; place-content: center; gap: 5px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 21px; height: 2px; background: var(--navy); display: block; }
.mobile-menu nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 18px 32px 26px; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(16,40,64,.12); display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.mobile-menu nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }

.hero { min-height: 690px; position: relative; overflow: hidden; background: linear-gradient(115deg, #fff 0%, #f7fbff 50%, #e8f2fc 100%); display: flex; align-items: center; }
.hero-grid { position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(35,103,179,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(35,103,179,.055) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent 0%, #000 58%, #000); }
.hero-senyera { position: absolute; z-index: 0; right: -160px; top: -245px; width: 820px; opacity: .16; transform: rotate(-1deg); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: block; padding-block: 82px 94px; }
.hero-copy { max-width: 1080px; margin: 0 auto; text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 11px; color: var(--blue-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
.hero-kicker i { width: 30px; height: 2px; background: var(--blue-deep); }
.hero h1 { margin: 24px auto 28px; max-width: 1040px; color: var(--navy); font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 5.2vw, 82px); line-height: 1.07; letter-spacing: -.04em; }
.hero h1 em { color: var(--blue-deep); font-style: italic; }
.hero-copy > p { max-width: 790px; color: #526273; font-size: 19px; line-height: 1.7; margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 37px; }
.button { min-height: 52px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 700; letter-spacing: .01em; cursor: pointer; transition: .2s ease; }
.button svg, .text-link svg, .feature-card a svg, .contact-data svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button.primary { background: var(--blue-deep); color: #fff; box-shadow: 0 12px 28px rgba(35,103,179,.22); }
.button.primary:hover, .button.primary:focus-visible { background: var(--blue-dark); transform: translateY(-2px); }
.button.ghost { border-color: #b8c8d8; background: rgba(255,255,255,.7); color: var(--navy); }
.button.ghost:hover, .button.ghost:focus-visible { border-color: var(--blue-deep); background: #fff; }
.hero-card { background: rgba(16,40,64,.96); color: #fff; padding: 33px; border-radius: 4px; box-shadow: 0 32px 80px rgba(16,40,64,.25); position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -120px; bottom: -125px; border: 1px solid rgba(126,175,230,.28); border-radius: 50%; box-shadow: 0 0 0 35px rgba(126,175,230,.035), 0 0 0 70px rgba(126,175,230,.025); }
.hero-card-top { display: flex; align-items: center; gap: 13px; color: #d5e9ff; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.hero-card-top img { width: 48px; height: 48px; object-fit: contain; }
.hero-card blockquote { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 30px 0 34px; font-style: italic; font-weight: 400; }
.hero-principles { border-top: 1px solid rgba(255,255,255,.14); }
.hero-principles div { display: grid; grid-template-columns: 136px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-principles strong { color: var(--blue); font-size: 10px; text-transform: uppercase; letter-spacing: .075em; }
.hero-principles span { color: #ccdae8; font-size: 12px; line-height: 1.4; }
.hero-index { position: absolute; bottom: 28px; right: 36px; color: rgba(16,40,64,.1); font-family: var(--serif); font-size: 90px; }

.intro-strip { background: var(--blue); color: var(--navy); }
.intro-strip-inner { border-inline: 1px solid rgba(16,40,64,.16); }
.intro-title { min-height: 62px; display: flex; align-items: end; padding: 0 33px 16px; border-bottom: 1px solid rgba(16,40,64,.18); }
.intro-title span { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; }
.intro-title span::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.intro-items { display: grid; grid-template-columns: repeat(3, 1fr); }
.intro-items div { min-height: 245px; position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 22px; padding: 34px 31px 37px; border-right: 1px solid rgba(16,40,64,.16); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,0)); transition: background .25s ease, transform .25s ease; }
.intro-items div::before { content: ""; position: absolute; width: 135px; height: 135px; right: -92px; bottom: -92px; border: 1px solid rgba(16,40,64,.17); border-radius: 50%; box-shadow: 0 0 0 24px rgba(16,40,64,.025); transition: transform .35s ease; }
.intro-items div:hover { background: rgba(255,255,255,.17); transform: translateY(-4px); }
.intro-items div:hover::before { transform: scale(1.15); }
.intro-items div:last-child { border-right: 0; }
.intro-items span { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--blue); font-family: var(--serif); font-style: italic; font-size: 23px; box-shadow: 0 10px 24px rgba(16,40,64,.16); }
.intro-items p { position: relative; z-index: 1; margin: 1px 0 0; font-weight: 600; font-size: 15.5px; line-height: 1.68; text-align: justify; text-justify: inter-word; hyphens: auto; }

.section { padding: 115px 0; }
.section-heading { max-width: 720px; }
.section-heading.centered { margin: 0 auto 58px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-deep); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.section-heading h2, .join h2, .contact h2 { margin: 17px 0 22px; color: var(--navy); font-family: var(--serif); font-weight: 400; font-size: clamp(39px, 4vw, 61px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; white-space: pre-line; }
.advisors .section-heading > p { line-height: 1.7; white-space: normal; }
.about-grid { display: grid; grid-template-columns: .95fr 1fr; gap: 120px; align-items: start; }
.about-copy { border-left: 2px solid var(--blue); margin: 34px 0 31px; padding-left: 26px; }
.about-copy p { color: #4e5d6d; line-height: 1.78; margin: 0 0 14px; text-align: justify; text-justify: inter-word; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--blue-deep); font-size: 13px; font-weight: 700; }
.about-actions > .eyebrow { margin-bottom: 27px; }
.values-stack { border-top: 1px solid var(--line); }
.values-stack article { padding: 27px 10px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 62px 1fr; gap: 20px; transition: .2s ease; }
.values-stack article:hover { padding-left: 22px; background: var(--pale); }
.values-stack article > span { color: var(--blue); font-family: var(--serif); font-size: 25px; font-style: italic; }
.values-stack h3 { margin: 0 0 7px; color: var(--navy); font-family: var(--serif); font-size: 24px; font-weight: 400; }
.values-stack p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; text-align: justify; text-justify: inter-word; hyphens: auto; }

.people-section { background: var(--pale); }
.heading-row { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 57px; }
.outline-number { font-family: var(--serif); font-style: italic; font-size: 118px; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(35,103,179,.18); user-select: none; }
.people-grid { display: grid; gap: 25px; }
.board-grid { grid-template-columns: repeat(3, 1fr); }
.person-card { background: #fff; border: 1px solid #e3ebf2; transition: transform .25s ease, box-shadow .25s ease; }
.person-card:hover { transform: translateY(-7px); box-shadow: 0 22px 50px rgba(16,40,64,.12); }
.portrait-wrap { aspect-ratio: 1; overflow: hidden; background: #e8eef4; position: relative; }
.portrait-wrap.is-placeholder::after { content: "Fotografía pendiente"; position: absolute; right: 10px; bottom: 10px; padding: 6px 8px; background: rgba(16,40,64,.74); color: #fff; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); transition: transform .45s ease, filter .35s ease; }
.person-card-carlos .portrait-wrap img { object-position: center top; transform-origin: center top; }
.portrait-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, #dceaf8, #f7fbff); color: var(--blue-deep); font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); letter-spacing: .06em; }
.person-card:hover img { transform: scale(1.035); filter: saturate(.9); }
.person-data { min-height: 96px; padding: 21px 22px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.person-data > div { min-width: 0; }
.person-data h3, .advisor-card h3 { font-family: var(--serif); color: var(--navy); font-size: 20px; font-weight: 400; margin: 0 0 5px; }
.person-data p, .advisor-card p { margin: 0; color: var(--blue-deep); font-size: 11px; line-height: 1.45; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.person-data a, .advisor-card > a { width: 38px; height: 38px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue-deep); flex: 0 0 auto; }
.person-data svg, .advisor-card svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.advisors { background: #fff; }
.advisor-grid { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
.advisor-card { position: relative; text-align: center; padding-bottom: 25px; }
.advisor-card > img { width: 155px; height: 155px; object-fit: cover; object-position: center top; border-radius: 50%; margin: 0 auto 22px; filter: grayscale(.3); box-shadow: 0 0 0 10px var(--pale); }
.advisor-card > a { position: absolute; top: 117px; right: calc(50% - 75px); border-radius: 50%; background: var(--blue-deep); color: #fff; border: 4px solid #fff; }
.advisor-card h3 { font-size: 21px; }

.activities { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.activities::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 86%, rgba(126,175,230,.14), transparent 28%), linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.activities .shell { position: relative; }
.light-heading .eyebrow { color: var(--blue); }
.light-heading h2 { color: #fff; }
.light-heading p { color: #b8c9d9; }
.light-heading .outline-number { -webkit-text-stroke-color: rgba(126,175,230,.18); }
.activity-carousel { display: block; overflow: hidden; background: #fff; border: 1px solid rgba(126,175,230,.25); box-shadow: 0 30px 80px rgba(4,18,31,.32); }
.activity-carousel:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.activity-carousel-stage { position: relative; overflow: hidden; aspect-ratio: 2048 / 1045; background: #071a2c; }
.activity-carousel-slide { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.045); filter: blur(5px) brightness(.82) saturate(.82); transition: opacity 1.15s ease, transform 1.35s cubic-bezier(.2,.7,.2,1), filter 1.15s ease; }
.activity-carousel-slide.is-active { z-index: 1; opacity: 1; transform: scale(1); filter: blur(0) brightness(1) saturate(1); }
.activity-photo-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 34px 38px; color: #fff; text-align: center; background: rgba(7,26,44,.76); opacity: 0; transition: opacity .3s ease; }
.activity-carousel .activity-photo-overlay { z-index: 3; }
.activity-photo-overlay .linkedin-mark { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 4px; background: #0a66c2; color: #fff; font-family: Arial, sans-serif; font-size: 27px; line-height: 1; font-weight: 800; transform: translateY(12px); transition: transform .3s ease; }
.activity-photo-overlay > div { display: grid; gap: 7px; justify-items: center; transform: translateY(12px); transition: transform .3s ease; }
.activity-photo-overlay small { color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 800; }
.activity-photo-overlay strong { max-width: 610px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.12; font-weight: 400; }
.activity-photo-overlay > svg { width: 29px; height: 29px; flex: 0 0 auto; margin-top: 5px; fill: none; stroke: currentColor; stroke-width: 1.7; transform: translateY(12px); transition: transform .3s ease; }
.activity-carousel:hover .activity-carousel-slide.is-active, .activity-carousel:focus-visible .activity-carousel-slide.is-active { transform: scale(1.018); filter: blur(0) brightness(.58) saturate(.8); }
.activity-carousel:hover .activity-photo-overlay, .activity-carousel:focus-visible .activity-photo-overlay { opacity: 1; }
.activity-carousel:hover .activity-photo-overlay .linkedin-mark, .activity-carousel:hover .activity-photo-overlay > div, .activity-carousel:focus-visible .activity-photo-overlay .linkedin-mark, .activity-carousel:focus-visible .activity-photo-overlay > div { transform: translateY(0); }
.activity-carousel:hover .activity-photo-overlay > svg, .activity-carousel:focus-visible .activity-photo-overlay > svg { transform: translateY(0); }
.activity-carousel-progress { height: 48px; position: relative; overflow: hidden; display: grid; place-items: center; background: #fff; border-top: 1px solid rgba(16,40,64,.12); }
.activity-carousel-progress-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue); animation: activity-progress 5s linear forwards; }
.activity-carousel-progress strong { position: relative; z-index: 1; color: #fff; font-size: 12px; letter-spacing: .19em; font-weight: 800; text-shadow: 0 1px 7px rgba(16,40,64,.9); }
@keyframes activity-progress { to { width: 100%; } }

.join { background: #edf5fc; position: relative; overflow: hidden; }
.join::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(35,103,179,.11); left: -230px; top: 120px; box-shadow: 0 0 0 60px rgba(35,103,179,.025), 0 0 0 120px rgba(35,103,179,.018); }
.join-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 95px; align-items: start; }
.join-intro { position: sticky; top: 145px; }
.join-intro > p { color: var(--muted); line-height: 1.7; font-size: 16px; }
.fee-card { margin: 32px 0 26px; padding: 27px; color: #fff; background: var(--navy); position: relative; overflow: hidden; }
.fee-card::after { content: ""; position: absolute; right: -25px; top: -25px; width: 115px; height: 115px; border-radius: 50%; background: rgba(126,175,230,.11); }
.fee-card > span { color: var(--blue); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.fee-card strong { display: block; font-family: var(--serif); font-size: 66px; font-weight: 400; line-height: 1; margin: 8px 0; }
.fee-card sup { font-family: var(--sans); font-size: 22px; vertical-align: super; }
.fee-card p { color: #cbd7e4; font-size: 12px; line-height: 1.55; max-width: 300px; margin: 0; }
.join-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.join-benefits li { display: flex; gap: 11px; color: #435467; font-size: 13px; }
.join-benefits i { color: var(--blue-deep); font-style: normal; font-weight: 700; }
.membership-form { background: #fff; padding: 43px 47px; box-shadow: 0 24px 70px rgba(16,40,64,.1); }
.form-heading { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 21px; margin-bottom: 28px; }
.form-heading span { font-family: var(--serif); color: var(--navy); font-size: 28px; }
.form-heading p { color: #8793a0; font-size: 10px; margin: 0; }
.membership-form fieldset { border: 0; margin: 0; padding: 0 0 27px; }
.membership-form legend { width: 100%; color: var(--blue-deep); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid label { display: grid; gap: 8px; color: #435366; font-size: 11px; font-weight: 700; }
.form-grid input, .form-grid select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #cdd9e4; border-radius: 2px; color: var(--navy); background: #fff; outline: none; font-size: 13px; font-weight: 400; }
.form-grid input:focus, .form-grid select:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(126,175,230,.23); }
.full-field { grid-column: 1 / -1; }
.security-note { color: #748293; font-size: 10px; line-height: 1.55; margin: -10px 0 0; }
.privacy-layer { margin: 0 0 22px; padding: 18px 20px; border-left: 3px solid var(--blue-deep); background: var(--pale); color: #526273; }
.privacy-layer strong { display: block; margin-bottom: 7px; color: var(--navy); font-size: 12px; }
.privacy-layer p { margin: 0; font-size: 10.5px; line-height: 1.65; text-align: justify; }
.privacy-layer a, .consents a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }
.consents { display: grid; gap: 12px; margin: 0 0 25px; }
.consents label { display: flex; align-items: flex-start; gap: 10px; color: #566476; font-size: 11px; line-height: 1.5; }
.consents input { width: 16px; height: 16px; accent-color: var(--blue-deep); flex: 0 0 auto; }
.form-button { width: 100%; border: 0; }
.form-footnote { text-align: center; color: #748293; font-size: 10px; line-height: 1.55; margin: 12px 0 0; }
.form-notice { margin: 0 0 25px; padding: 14px 16px; border-left: 4px solid; font-size: 12px; line-height: 1.55; }
.form-notice.success { color: #1d5935; background: #e9f8ef; border-color: #2f9457; }
.form-notice.warning { color: #674c00; background: #fff8dd; border-color: #d8a900; }
.form-notice.error { color: #7b2525; background: #fff0f0; border-color: #c53d3d; }
.form-notice a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-unavailable { align-self: start; }
.avij-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.contact { padding: 105px 0; background: var(--blue); color: var(--navy); }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.contact .eyebrow { color: var(--navy); }
.contact h2 { margin-bottom: 0; text-align: justify; text-justify: inter-word; hyphens: auto; }
.contact-data { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(16,40,64,.25); border-left: 1px solid rgba(16,40,64,.2); }
.contact-data > * { min-height: 156px; padding: 28px 25px; border-right: 1px solid rgba(16,40,64,.2); border-bottom: 1px solid rgba(16,40,64,.2); display: grid; align-content: start; gap: 9px; position: relative; }
.contact-data small { text-transform: uppercase; letter-spacing: .14em; font-size: 9px; font-weight: 700; opacity: .7; }
.contact-data strong { font-family: var(--serif); font-size: 20px; line-height: 1.25; font-weight: 400; text-wrap: balance; }
.contact-data span { font-size: 12px; line-height: 1.65; opacity: .76; }
.contact-data a svg { position: absolute; right: 20px; bottom: 23px; }

footer { background: #0b2136; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.15fr .7fr; gap: 90px; align-items: start; padding: 75px 0 58px; }
.footer-brand img { width: min(100%, 330px); background: transparent; padding: 0; }
.footer-brand p { color: #aebdca; max-width: 280px; font-size: 12px; line-height: 1.6; }
.footer-grid h3 { color: var(--blue); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 19px; }
.footer-nav nav { display: grid; grid-template-columns: repeat(2, minmax(135px, 1fr)); gap: 3px 30px; }
.footer-nav nav a, .footer-follow > a { display: block; color: #c9d4de; font-size: 12px; padding: 7px 0; transition: color .2s ease, transform .2s ease; }
.footer-nav nav a:hover, .footer-nav nav a:focus-visible, .footer-follow > a:hover, .footer-follow > a:focus-visible { color: #fff; transform: translateX(3px); }
.footer-follow { justify-self: end; min-width: 175px; }
.footer-grid .social-links { margin-bottom: 12px; }
.footer-grid .footer-mail { color: var(--blue) !important; }
.footer-bottom { min-height: 70px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; color: #8798a7; font-size: 10px; }
.footer-bottom span:last-child { color: var(--blue); letter-spacing: .14em; font-weight: 700; }
.footer-bottom > span:last-child { text-align: right; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.legal-nav a { color: #c9d4de; }
.legal-nav a:hover, .legal-nav a:focus-visible { color: #fff; }

.page-main { min-height: 55vh; background: #fff; }
.page-hero { padding: 82px 0 72px; background: linear-gradient(115deg, #f7fbff, #e8f2fc); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1000px; margin: 17px 0 16px; color: var(--navy); font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1.05; font-weight: 400; letter-spacing: -.035em; }
.page-hero p { max-width: 720px; color: var(--muted); line-height: 1.7; }
.page-content { padding-block: 78px 100px; max-width: 980px; }
.page-content h2 { margin: 45px 0 15px; color: var(--navy); font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 39px); line-height: 1.2; }
.page-content h3 { margin: 30px 0 12px; color: var(--navy); font-family: var(--serif); font-size: 24px; font-weight: 400; }
.page-content p, .page-content li { color: #4e5d6d; font-size: 16px; line-height: 1.8; text-align: justify; hyphens: auto; }
.page-content a:not(.button) { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.page-content ul, .page-content ol { padding-left: 25px; }
.legal-updated { display: inline-block; margin: 0 0 15px !important; padding: 8px 12px; background: var(--pale); color: var(--blue-deep) !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: .08em; }
.legal-table-wrap { overflow-x: auto; margin: 25px 0; border: 1px solid var(--line); }
.legal-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 15px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-size: 13px; line-height: 1.6; }
.legal-table th { color: var(--navy); background: var(--blue); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th:last-child, .legal-table td:last-child { border-right: 0; }
.legal-content code { padding: 2px 5px; border-radius: 3px; background: var(--pale); color: var(--navy); font-size: 12px; }
.entry-card { padding: 28px 0; border-bottom: 1px solid var(--line); }
.entry-card h2 { margin-top: 0; }

.cookie-notice { position: fixed; z-index: 500; right: 22px; bottom: 22px; width: min(590px, calc(100% - 44px)); padding: 18px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; color: #fff; background: #0b2136; border: 1px solid rgba(126,175,230,.35); box-shadow: 0 18px 60px rgba(4,18,31,.32); }
.cookie-notice[hidden] { display: none; }
.cookie-notice strong { color: var(--blue); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.cookie-notice p { margin: 4px 0 0; color: #c9d4de; font-size: 10.5px; line-height: 1.5; }
.cookie-notice > a { color: var(--blue); font-size: 11px; font-weight: 700; }
.cookie-notice button { min-height: 39px; padding: 0 14px; border: 0; border-radius: 2px; background: var(--blue); color: var(--navy); font-size: 11px; font-weight: 700; cursor: pointer; }

@media (max-width: 1260px) {
  .shell { width: min(1160px, calc(100% - 48px)); }
  .desktop-nav { gap: 12px; }
  .desktop-nav a { font-size: 11px; }
  .brand { width: 155px; }
  .hero-inner { gap: 65px; }
}

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .header-inner { min-height: 83px; }
  .brand { width: 168px; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 45px; padding-block: 75px; }
  .hero-card { max-width: 620px; }
  .about-grid, .collab-grid, .join-grid, .contact-grid { gap: 60px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .advisor-grid { grid-template-columns: repeat(2, 1fr); gap: 45px 25px; }
  .join-grid { grid-template-columns: .8fr 1.2fr; }
  .membership-form { padding: 38px 32px; }
  .footer-grid { grid-template-columns: 1.05fr 1.2fr .7fr; gap: 45px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .shell { width: min(100% - 34px, 650px); }
  .utility-inner { min-height: 44px; }
  .utility-data { gap: 12px; }
  .utility-data > span { display: none; }
  .header-inner { min-height: 76px; }
  .brand { width: 148px; }
  .mobile-menu nav { padding-inline: 17px; grid-template-columns: 1fr; max-height: 72vh; overflow-y: auto; }
  .hero-inner { padding-block: 60px; }
  .hero h1 { font-size: clamp(45px, 14vw, 63px); }
  .hero-copy > p { font-size: 16px; }
  .hero-card { padding: 28px 24px; }
  .hero-card blockquote { font-size: 22px; }
  .hero-senyera { width: 610px; right: -250px; top: -170px; opacity: .13; }
  .hero-index { display: none; }
  .intro-title { padding-inline: 25px; }
  .intro-items { grid-template-columns: 1fr; }
  .intro-items div { min-height: auto; padding: 25px; border-right: 0; border-bottom: 1px solid rgba(16,40,64,.16); }
  .intro-items div:last-child { border-bottom: 0; }
  .section { padding: 82px 0; }
  .section-heading h2, .join h2, .contact h2 { font-size: 42px; }
  .about-grid, .collab-grid, .join-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .heading-row { align-items: start; margin-bottom: 42px; }
  .outline-number { display: none; }
  .board-grid, .advisor-grid { grid-template-columns: 1fr; }
  .advisor-grid { gap: 42px; }
  .person-card { max-width: 510px; margin-inline: auto; width: 100%; }
  .activity-carousel { margin-inline: -7px; }
  .activity-carousel-stage { aspect-ratio: 4 / 3; }
  .activity-carousel-slide { object-position: center; }
  .activity-photo-overlay { padding: 24px 22px; gap: 13px; }
  .activity-photo-overlay .linkedin-mark { width: 43px; height: 43px; font-size: 23px; }
  .activity-carousel-progress { height: 44px; }
  .join-intro { position: static; }
  .membership-form { padding: 31px 20px; margin-inline: -5px; }
  .form-heading { display: block; }
  .form-heading p { margin-top: 7px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .contact { padding: 78px 0; }
  .contact h2 { font-size: 38px; }
  .contact-data { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: min(100%, 310px); }
  .footer-follow { justify-self: start; }
  .footer-bottom { min-height: 110px; padding-block: 18px; grid-template-columns: 1fr; gap: 10px; }
  .footer-bottom > span:last-child { text-align: left; }
  .legal-nav { justify-content: flex-start; }
  .page-hero { padding: 58px 0 48px; }
  .page-content { padding-block: 55px 75px; }
  .cookie-notice { grid-template-columns: 1fr auto; }
  .cookie-notice > div { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .utility-data a { font-size: 11px; }
  .social-links.compact a { width: 25px; height: 25px; }
  .hero-actions { display: grid; }
  .hero-principles div { grid-template-columns: 1fr; gap: 5px; }
  .contact-data { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-nav nav { grid-template-columns: 1fr; }
  .cookie-notice { right: 14px; bottom: 14px; width: calc(100% - 28px); }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (hover: none) {
  .activity-carousel-slide.is-active { filter: brightness(.76); }
  .activity-photo-overlay { opacity: 1; }
  .activity-photo-overlay .linkedin-mark, .activity-photo-overlay > div { transform: translateY(0); }
  .activity-photo-overlay > svg { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .utility-bar, .senyera-rule, .site-header, footer, .cookie-notice { display: none !important; }
  .page-hero { padding: 20px 0; background: #fff; }
  .page-content { padding: 20px 0; }
  .legal-table-wrap { overflow: visible; }
  .legal-table { min-width: 0; }
}
