/* ============================================================
   CEFA Curuguaty - Hoja de estilos principal
   Tipografías, base, navegación, hero, footer y utilidades
   ============================================================ */

@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-400-normal-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-500-normal-latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-600-normal-latin.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-700-normal-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-800-normal-latin.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-400-normal-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-500-normal-latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-600-normal-latin.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-700-normal-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --green: #03594E;
    --green-dark: #02443B;
    --green-deep: #012F2A;
    --green-soft: #E7F4EF;
    --yellow: #F8C62F;
    --yellow-dark: #E3AE12;
    --yellow-soft: #FFF7DD;
    --black: #1F2432;
    --text: #6C757D;
    --light: #F0F4F5;
    --soft: #F5F7F9;
    --white: #FFFFFF;
    --border: #E3EAE9;
    --pastel-blue: #EAF1FF;
    --pastel-orange: #FFF0E6;
    --danger: #C0392B;
    --heading: 'League Spartan', 'Segoe UI', sans-serif;
    --body: 'Open Sans', 'Segoe UI', sans-serif;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 38px;
    --shadow-sm: 0 8px 24px rgba(3, 89, 78, .06);
    --shadow: 0 18px 50px rgba(3, 89, 78, .10);
    --shadow-lg: 0 28px 70px rgba(3, 89, 78, .14);
    --container: 1350px;
    --transition: .28s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading);
    color: var(--black);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-top: 0;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.25rem; }

p { margin-top: 0; margin-bottom: 1rem; }

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), opacity var(--transition);
}
a:hover { color: var(--green-dark); }

img { max-width: 100%; height: auto; }
ul, ol { margin-top: 0; }

::selection { background: var(--yellow); color: var(--black); }

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.container {
    --bs-gutter-x: 1.5rem;
}
@media (min-width: 1200px) {
    .container { max-width: 1320px; }
}
@media (min-width: 1400px) {
    .container { max-width: var(--container); }
}

/* ------------------------------------------------------------
   Utilidades
   ------------------------------------------------------------ */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-soft { background: var(--soft); }
.bg-light-cefa { background: var(--light); }
.bg-green { background: var(--green); }
.text-theme { color: var(--green) !important; }
.text-yellow { color: var(--yellow) !important; }
.text-white-75 { color: rgba(255, 255, 255, .78) !important; }
.text-muted-cefa { color: var(--text) !important; }
.rounded-cefa { border-radius: var(--radius); }
.shadow-cefa { box-shadow: var(--shadow); }
.position-relative { position: relative; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 2000;
    background: var(--yellow);
    color: var(--black);
    padding: 12px 20px;
    border-radius: 0 0 10px 10px;
    font-weight: 700;
    transition: top .2s;
}
.skip-link:focus { top: 0; color: var(--black); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--green);
    letter-spacing: .01em;
}
.text-link i { transition: transform var(--transition); }
.text-link:hover { color: var(--green-dark); }
.text-link:hover i { transform: translateX(4px); }

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.visually-hidden-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
}

/* ------------------------------------------------------------
   Botones
   ------------------------------------------------------------ */
.btn {
    --bs-btn-focus-box-shadow: 0 0 0 .2rem rgba(248, 198, 47, .35);
    font-family: var(--heading);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .01em;
    border-radius: 9px;
    padding: 13px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 2px solid transparent;
    transition: all var(--transition);
    line-height: 1.2;
}
.btn i { font-size: 1.05em; }
.btn-lg { padding: 17px 34px; font-size: 17px; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.btn.btn-cefa {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    box-shadow: 0 10px 24px rgba(248, 198, 47, .25);
}
.btn.btn-cefa:hover,
.btn.btn-cefa:focus {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(3, 89, 78, .22);
}
.btn.btn-outline-cefa {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
}
.btn.btn-outline-cefa:hover,
.btn.btn-outline-cefa:focus {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}
.btn.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: var(--white);
}
.btn.btn-outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--green);
    transform: translateY(-2px);
}
.btn.btn-link-cefa {
    background: transparent;
    border: 0;
    color: var(--green);
    padding: 4px 0;
    border-radius: 0;
    font-weight: 600;
    box-shadow: none;
}
.btn.btn-link-cefa:hover { color: var(--green-dark); transform: none; }
.btn.btn-white {
    background: var(--white);
    color: var(--green);
    border-color: var(--white);
}
.btn.btn-white:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* ------------------------------------------------------------
   Barra superior
   ------------------------------------------------------------ */
.topbar {
    background: var(--black);
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1040;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .72);
    white-space: nowrap;
}
.topbar-item i { color: var(--yellow); font-size: 14px; }
.topbar-item:hover { color: var(--yellow); }
.topbar-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .18); }
.topbar-social { display: flex; align-items: center; gap: 7px; }
.topbar-social a {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    font-size: 13px;
}
.topbar-social a:hover { background: var(--yellow); color: var(--black); }

/* ------------------------------------------------------------
   Cabecera y navegación
   ------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--white);
    box-shadow: 0 2px 18px rgba(31, 36, 50, .05);
    transition: box-shadow var(--transition);
}
.site-header.is-stuck { box-shadow: 0 10px 32px rgba(31, 36, 50, .10); }

.navbar-cefa {
    min-height: 88px;
    padding: 10px 0;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}
.navbar-brand img {
    width: 58px;
    height: auto;
    object-fit: contain;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-text strong {
    font-family: var(--heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--green);
}
.brand-text small {
    font-family: var(--body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--text);
    margin-top: 5px;
}
.nav-main {
    align-items: center;
    gap: 2px;
    margin-right: 18px;
}
.nav-main .nav-link {
    position: relative;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    padding: 30px 13px;
    letter-spacing: .01em;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-main .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--yellow);
    transform: translateX(-50%);
    transition: width var(--transition);
}
.nav-main .nav-link:hover,
.nav-main .nav-link.active { color: var(--green); }
.nav-main .nav-link:hover::after,
.nav-main .nav-link.active::after { width: 20px; }
.nav-main .dropdown-toggle::after {
    font-family: bootstrap-icons;
    content: "\f282";
    border: 0;
    font-size: 10px;
    margin-left: 1px;
    vertical-align: 0;
    transition: transform var(--transition);
}
.nav-main .dropdown.show > .dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown {
    border: 0;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px;
    margin-top: 0;
    min-width: 245px;
    background: var(--white);
}
.nav-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 9px 13px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}
.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item.active {
    background: var(--green-soft);
    color: var(--green);
}
.nav-cta { white-space: nowrap; padding: 14px 24px; font-size: 15px; }

.navbar-toggler {
    border: 0;
    background: var(--green);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    padding: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    box-shadow: none;
}
.navbar-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(248, 198, 47, .5); }

/* Menú móvil */
.mobile-nav { width: 360px !important; }
.mobile-nav .offcanvas-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.mobile-nav .navbar-brand img { width: 48px; }
.mobile-nav .brand-text strong { font-size: 24px; }
.mobile-nav .offcanvas-body { padding: 22px; }
.mobile-menu { list-style: none; padding: 0; margin: 0; }
.mobile-menu > li { border-bottom: 1px solid var(--border); }
.mobile-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    font-family: var(--heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}
.mobile-menu > li > a.active { color: var(--green); }
.mobile-menu > li > a i { font-size: 13px; color: var(--green); }
.mobile-submenu { list-style: none; padding: 0 0 12px 14px; margin: 0; }
.mobile-submenu a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
}
.mobile-submenu a:hover { color: var(--green); }
.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}
.mobile-contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.mobile-contact i { color: var(--green); }
.mobile-social { display: flex; gap: 10px; margin-top: 20px; }
.mobile-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mobile-social a:hover { background: var(--yellow); color: var(--black); }

/* ------------------------------------------------------------
   Hero de portada
   ------------------------------------------------------------ */
.hero-cefa {
    background: var(--green);
    position: relative;
    color: var(--white);
    overflow: hidden;
}
.hero-cefa .carousel,
.hero-cefa .carousel-inner,
.hero-cefa .carousel-item { position: relative; }
.hero-cefa .carousel-item {
    min-height: 760px;
    padding: 86px 0 110px;
    display: flex;
    align-items: center;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
    opacity: .55;
    mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    width: 640px;
    height: 640px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
    right: -180px;
    top: -160px;
    pointer-events: none;
}
.hero-shape::after {
    content: "";
    position: absolute;
    inset: 80px;
    border: 1px solid rgba(248, 198, 47, .18);
    border-radius: 50%;
}
.hero-container { position: relative; z-index: 3; }
.hero-content { max-width: 610px; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .17em;
    color: var(--yellow);
    margin-bottom: 22px;
}
.hero-kicker span {
    display: inline-block;
    width: 34px;
    height: 2px;
    background: var(--yellow);
}
.hero-title {
    font-size: clamp(3rem, 5.4vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: .99;
    letter-spacing: -.035em;
    margin-bottom: 24px;
}
.hero-title .brush-highlight { color: var(--yellow); }
.hero-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .82);
    max-width: 540px;
    margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
}
.hero-note i { color: var(--yellow); font-size: 16px; }

.hero-visual {
    position: relative;
    max-width: 560px;
    margin-left: auto;
    padding: 30px 20px 50px 30px;
}
.hero-photo-main {
    border-radius: 30px;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, .12);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .25);
    aspect-ratio: 4 / 3.1;
    background: rgba(255, 255, 255, .08);
}
.hero-photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-photo-small {
    position: absolute;
    left: -6px;
    bottom: 4px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: var(--shadow);
    z-index: 3;
}
.hero-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge-card,
.hero-float-card {
    position: absolute;
    z-index: 4;
    background: var(--white);
    color: var(--black);
    border-radius: 14px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}
.hero-badge-card { top: 0; left: -12px; }
.hero-float-card { right: -18px; bottom: 30px; }
.hero-badge-icon,
.hero-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 auto;
}
.hero-badge-icon { background: var(--yellow-soft); color: var(--yellow-dark); }
.hero-float-icon { background: var(--green-soft); color: var(--green); }
.hero-badge-card strong,
.hero-float-card strong {
    display: block;
    font-family: var(--heading);
    font-size: 19px;
    line-height: 1.1;
    color: var(--black);
}
.hero-badge-card small,
.hero-float-card small { display: block; font-size: 11px; color: var(--text); margin-top: 3px; }
.hero-dots {
    position: absolute;
    width: 110px;
    height: 110px;
    right: -12px;
    top: 4px;
    background-image: radial-gradient(var(--yellow) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: .8;
    z-index: 2;
}
.hero-ring {
    position: absolute;
    width: 130px;
    height: 130px;
    left: -20px;
    top: -26px;
    border: 2px dashed rgba(248, 198, 47, .5);
    border-radius: 50%;
    z-index: 1;
}
.hero-indicators { bottom: 26px; margin-bottom: 0; z-index: 5; }
.hero-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    border: 0;
    margin: 0 5px;
    opacity: 1;
}
.hero-indicators .active { background: var(--yellow); width: 30px; border-radius: 6px; }
.hero-control {
    width: 54px;
    height: 54px;
    background: var(--yellow);
    border-radius: 50%;
    top: 50%;
    opacity: 1;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 6;
}
.hero-control.carousel-control-prev { left: 24px; }
.hero-control.carousel-control-next { right: 24px; }
.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon { width: 18px; height: 18px; filter: brightness(0); }
.hero-control:hover { background: var(--white); }

/* Enlaces rápidos */
.quick-section {
    position: relative;
    z-index: 10;
    margin-top: -68px;
    padding-bottom: 20px;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.quick-card {
    --quick-bg: var(--yellow-soft);
    --quick-fg: var(--yellow-dark);
    background: var(--white);
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(3, 89, 78, .05);
    color: var(--black);
    transition: transform var(--transition), box-shadow var(--transition);
}
.quick-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); color: var(--black); }
.quick-card > i:last-child { margin-left: auto; color: var(--green); font-size: 18px; }
.quick-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--quick-bg);
    color: var(--quick-fg);
    font-size: 23px;
    flex: 0 0 auto;
}
.quick-card strong {
    display: block;
    font-family: var(--heading);
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 4px;
}
.quick-card small { display: block; font-size: 11.5px; color: var(--text); line-height: 1.35; }
.quick-green { --quick-bg: var(--green-soft); --quick-fg: var(--green); }
.quick-blue { --quick-bg: var(--pastel-blue); --quick-fg: #2F57EF; }
.quick-orange { --quick-bg: var(--pastel-orange); --quick-fg: #E86A17; }

/* ------------------------------------------------------------
   Encabezados de sección
   ------------------------------------------------------------ */
.section-head {
    max-width: 760px;
    margin: 0 auto 52px;
}
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head.align-center { text-align: center; }
.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}
.subtitle-line {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
}
.subtitle-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    margin-left: 2px;
}
.section-title {
    margin-bottom: 16px;
    color: var(--black);
}
.section-title .brush-highlight { color: var(--green); }
.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 0;
}
.section-head.align-center .section-text { margin-left: auto; margin-right: auto; max-width: 650px; }
.section-head-light .section-title { color: var(--white); }
.section-head-light .section-subtitle { color: var(--yellow); }
.section-head-light .section-text { color: rgba(255, 255, 255, .78); }
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
}
.section-head-row .section-head { margin-bottom: 0; }

/* Subrayado tipo pincel */
.brush-highlight {
    position: relative;
    display: inline;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M4 18C48 7 104 3 158 6c44 2 86 7 138 3 4 0 5 5 1 6-40 8-90 9-139 7-47-2-96-1-150-1-4 0-6-2-4-3Z' fill='%23F8C62F' fill-opacity='.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0 92%;
    background-size: 100% .24em;
    padding-bottom: .08em;
}
.hero-title .brush-highlight {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M4 18C48 7 104 3 158 6c44 2 86 7 138 3 4 0 5 5 1 6-40 8-90 9-139 7-47-2-96-1-150-1-4 0-6-2-4-3Z' fill='%23F8C62F' fill-opacity='.85'/%3E%3C/svg%3E");
    background-size: 100% .16em;
}

/* ------------------------------------------------------------
   Estadísticas
   ------------------------------------------------------------ */
.stats-section {
    background: var(--green);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.stats-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .15) 1.3px, transparent 1.3px);
    background-size: 20px 20px;
    opacity: .45;
    mask-image: linear-gradient(90deg, #000, transparent 70%);
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 24px;
    border-left: 1px solid rgba(255, 255, 255, .14);
    color: var(--white);
}
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(248, 198, 47, .14);
    color: var(--yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    flex: 0 0 auto;
}
.stat-value {
    display: block;
    font-family: var(--heading);
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    color: var(--yellow);
    letter-spacing: -.03em;
}
.stat-label {
    display: block;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.4;
    margin-top: 7px;
    max-width: 150px;
}

/* ------------------------------------------------------------
   Pie de página
   ------------------------------------------------------------ */
.site-footer {
    background: var(--green-deep);
    color: rgba(255, 255, 255, .68);
    padding-top: 88px;
    position: relative;
    overflow: hidden;
}
.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1.3px, transparent 1.3px);
    background-size: 24px 24px;
    opacity: .5;
    mask-image: linear-gradient(180deg, #000, transparent 80%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.footer-main { padding-bottom: 64px; position: relative; z-index: 2; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex: 0 0 auto;
}
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand strong {
    display: block;
    font-family: var(--heading);
    font-size: 29px;
    letter-spacing: .12em;
    color: var(--white);
    line-height: 1;
}
.footer-brand small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .08em;
    margin-top: 6px;
    max-width: 210px;
    line-height: 1.35;
}
.footer-about { font-size: 14px; line-height: 1.8; max-width: 330px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.footer-social a:hover { background: var(--yellow); color: var(--black); transform: translateY(-3px); }
.footer-title {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 22px;
    letter-spacing: .01em;
}
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, .66); }
.footer-links a:hover { color: var(--yellow); padding-left: 4px; }
.footer-contact li {
    display: flex;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 13px;
    color: rgba(255, 255, 255, .66);
}
.footer-contact i { color: var(--yellow); font-size: 15px; margin-top: 3px; flex: 0 0 auto; }
.footer-contact a { color: rgba(255, 255, 255, .66); }
.footer-contact a:hover { color: var(--yellow); }
.footer-newsletter { margin-top: 20px; }
.newsletter-label { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-bottom: 9px; line-height: 1.5; }
.newsletter-control {
    display: flex;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    overflow: hidden;
    padding: 4px;
}
.newsletter-control .form-control {
    background: transparent;
    border: 0;
    color: var(--white);
    font-size: 13px;
    padding: 9px 12px;
    box-shadow: none;
}
.newsletter-control .form-control::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter-control .btn {
    background: var(--yellow);
    color: var(--black);
    border-radius: 7px;
    padding: 8px 14px;
    flex: 0 0 auto;
}
.newsletter-control .btn:hover { background: var(--white); }
.footer-bottom {
    background: var(--yellow);
    color: var(--black);
    padding: 15px 0;
    position: relative;
    z-index: 2;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 13px; }
.footer-bottom strong { font-weight: 700; }
.footer-bottom ul { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { font-size: 13px; color: var(--black); font-weight: 600; }
.footer-bottom a:hover { color: var(--green-dark); text-decoration: underline; }

/* Flotantes */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1050;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
    animation: whatsappPulse 2.8s infinite;
}
.whatsapp-float:hover { color: var(--white); transform: scale(1.08); }
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .35), 0 12px 30px rgba(37, 211, 102, .3); }
    60% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 12px 30px rgba(37, 211, 102, .3); }
}
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 1049;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--yellow); color: var(--black); }

/* Avisos flash */
.flash-stack {
    position: fixed;
    top: 110px;
    right: 20px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: calc(100% - 40px);
}
.flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--white);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--green);
    font-size: 14px;
    color: var(--black);
    animation: flashIn .35s ease both;
}
.flash i { font-size: 18px; color: var(--green); margin-top: 1px; }
.flash-success { border-left-color: var(--green); }
.flash-danger { border-left-color: var(--danger); }
.flash-danger i { color: var(--danger); }
.flash-warning { border-left-color: var(--yellow); }
.flash-warning i { color: var(--yellow-dark); }
.flash-close {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    padding: 0 2px;
}
@keyframes flashIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Cabecera de páginas internas
   ------------------------------------------------------------ */
.page-hero {
    background: var(--green);
    color: var(--white);
    padding: 74px 0 70px;
    position: relative;
    overflow: hidden;
}
.page-hero.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--page-hero-image);
    background-size: cover;
    background-position: center;
    opacity: .28;
    filter: saturate(.85);
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 47, 42, .96) 0%, rgba(3, 89, 78, .78) 55%, rgba(3, 89, 78, .45) 100%);
}
.page-hero.has-image::after {
    background: linear-gradient(90deg, rgba(2, 47, 42, .96) 0%, rgba(3, 89, 78, .8) 55%, rgba(3, 89, 78, .55) 100%);
}
.page-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .17) 1.3px, transparent 1.3px);
    background-size: 21px 21px;
    opacity: .5;
    z-index: 1;
    mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-breadcrumb {
    --bs-breadcrumb-divider: '›';
    margin-bottom: 18px;
    font-size: 12.5px;
    font-weight: 500;
}
.page-breadcrumb .breadcrumb-item { color: rgba(255, 255, 255, .58); }
.page-breadcrumb .breadcrumb-item a { color: rgba(255, 255, 255, .75); }
.page-breadcrumb .breadcrumb-item a:hover { color: var(--yellow); }
.page-breadcrumb .breadcrumb-item.active { color: var(--yellow); }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .35); }
.page-hero-title {
    font-size: clamp(2.5rem, 4.4vw, 4.2rem);
    color: var(--white);
    margin-bottom: 14px;
    max-width: 900px;
}
.page-hero-title .brush-highlight { color: var(--yellow); }
.page-hero-text {
    max-width: 680px;
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, .78);
}

/* ------------------------------------------------------------
   Animaciones de entrada
   ------------------------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

[hidden] { display: none !important; }
.is-hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
