/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    --black: #000000;
    --light: #F0F6F6;
    --white: #FFFFFF;
    --primary: #023E3F;
    --secondary: #025859;
    --input: #666;
    --accent-1: #BD0514;
    --accent-2: #29F34A;
    --font-primary: "Brozeri";
    
    /* Spacing */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --shadow-sm: 0 0 8px 0 rgba(12, 233, 137, 0.15);
    --shadow-md: 0 0 12px 0 rgba(0, 0, 0, 0.15);
}

/* ========================================
   RESETS & UTILITIES
   ======================================== */
.img-fluid {
    width: 100%;
}

.noPadding {
    padding: 0;
}

.row {
    padding: 0 !important;
    margin: 0 !important;
}

.row.no-gutters>[class^='col-'],
.row.no-gutters>[class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

::selection {
    background-color: var(--white);
    color: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    transition: var(--transition-base);
}

/* ========================================
   BASE ELEMENTS
   ======================================== */
html, body {
    position: relative;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--primary);
    overflow-x: hidden;
    min-height: 100vh;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 100vh 100vw;
}

body * {
    font-family: "Montserrat", sans-serif;
    position: relative;
    z-index: 1;
}

body,
input,
textarea,
select {
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-display: swap;
    color: var(--light);
}

h1, .h1 {
    font-size: clamp(2.65rem, 2.1667rem + 1.0069vw, 3.375rem);
    font-weight: 800;
}

h2, .h2 {
    font-size: clamp(2rem, 1.8333rem + 0.3472vw, 2.25rem);
    font-weight: 700;
}

h3, .h3 {
    font-size: clamp(1.5rem, 1.375rem + 0.2604vw, 1.6875rem);
    font-weight: 600;
}

p, li, label {
    font-size: clamp(1rem, 0.9167rem + 0.1736vw, 1.125rem);
    color: var(--light);
}

.small {
    font-size: 0.85em;
    text-align: center;
}

.title {
    font-family: var(--font-primary), sans-serif;
    font-size: clamp(3.25rem, 1.0499rem + 3.5522vw, 5.3125rem);
}

a {
    color: var(--white);
    text-decoration: underline;
    transition: var(--transition-base);
}

a:hover,
a:active,
a:focus {
    color: var(--white);
}

/* ========================================
   BUTTONS
   ======================================== */
.button {
    font-size: clamp(1rem, 0.9167rem + 0.1736vw, 1.125rem);
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    text-transform: none;
    padding: 0.675rem 1.85rem;
    background-color: var(--accent-2);
    border: 1px solid var(--accent-2);
    outline: none;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0);
}

.button:hover, .button:focus, .button:active {
    box-shadow: var(--shadow-md);
}

form .button:hover {
    padding-inline: 2.5rem;
}

/* ========================================
   COLORS UTILITIES
   ======================================== */
.color-primary { color: var(--primary); }
.color-accent1 { color: var(--accent-1); }
.color-accent2 { color: var(--accent-2); }
.color-white { color: var(--white); }
.color-black { color: var(--black); }

/* ========================================
   BACKGROUNDS
   ======================================== */
.background-primary { background-color: var(--primary); }
.background-primary-opacity { background: rgba(2, 62, 63, 0.75); }
.background-secondary { background-color: var(--secondary); }
.background-white { background-color: var(--white); }

.background-light1 {
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/be8fc167-0e3e-407b-9793-3f3036bc7698.png"), linear-gradient(0deg, #FFF 0%, #F0F6F6 50.96%);
    background-size: 259px 85px, 100% 100%;
    background-position: center, center;
    background-repeat: repeat, no-repeat;
    background-attachment: fixed, fixed;
}

.background-light2 {
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/5c4e462b-d941-455f-8d58-3a4765885f2a.png"), linear-gradient(0deg, #FFF 0%, #F0F6F6 50.96%);
    background-size: 1222px 176px, 100% 100%;
    background-position: center, center;
    background-repeat: repeat, no-repeat;
    background-attachment: fixed, fixed;
}

.background-dark1 {
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/7792a22e-ceca-4aec-9a31-798fc78094d3.png");
    background-size: 259px 85px;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: var(--black);
}
.background-dark2 {
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/a25a1453-f4aa-45ae-b251-77bfacd3cb01.jpg");
    background-size: 1222px 176px;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: var(--black);
    background-blend-mode: multiply;
}

/* ========================================
   LAYOUT STRUCTURE
   ======================================== */
main {
    min-height: 100dvh;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 100dvh 100vw;
    width: 100%;
}

.block {
    padding: 0 1rem;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 800px 100vw;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem) 1rem;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 80px 100vw;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar picture {
    display: table;
}

.nav-link {
    font-size: clamp(1rem, 0.9167rem + 0.1736vw, 1.125rem);
    color: var(--white);
}

.nav-link:hover, .nav-link:focus, .nav-link:active {
    color: var(--primary);
}

.navbar-brand img {
    max-width: clamp(17.5rem, 10.5662rem + 11.1948vw, 24rem);
    width: 100%;
    height: auto;
}

.navbar.v2 {
    padding: 1.5rem 1rem;
}

.navbar.v2 .navbar-brand img {
    max-width: clamp(9.375rem, 6.0414rem + 5.3821vw, 12.5rem);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 2.5rem .5rem;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 200px 100vw;
}

.link-fxp {
    display: table;
    margin: 0 auto;
}

.footer hr {
    border-top-color: var(--white);
}

.footer .social {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    border-radius: 21px;
    border: 1px solid rgba(240, 246, 246, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.footer i,
.footer svg {
    font-size: 1.25rem;
    color: var(--light);
}

/* Social Media SVG Icons */
.social-facebook,
.social-instagram,
.social-youtube,
.social-x,
.social-linkedin {
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
}

.social-facebook {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3e%3c/svg%3e");
}

.social-instagram {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zM5.838 12a6.162 6.162 0 1 1 12.324 0 6.162 6.162 0 0 1-12.324 0zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm4.965-10.405a1.44 1.44 0 1 1 2.881.001 1.44 1.44 0 0 1-2.881-.001z'/%3e%3c/svg%3e");
}

.social-youtube {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3e%3c/svg%3e");
}

.social-x {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3e%3c/svg%3e");
}

.social-linkedin {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3e%3c/svg%3e");
}

.footer .social a:hover, .footer .social a:focus, .footer .social a:active {
    border: 1px solid rgba(240, 246, 246, 0.85);
    background-color: rgba(255, 255, 255, 0.85);
}

.footer .social a:hover i, .footer .social a:focus i, .footer .social a:active i,
.footer .social a:hover svg, .footer .social a:focus svg, .footer .social a:active svg {
    color: var(--primary);
}

/* Hover effects for SVG background images */
.footer .social a:hover.social-facebook,
.footer .social a:focus.social-facebook,
.footer .social a:active.social-facebook {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23025859'%3e%3cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3e%3c/svg%3e");
}

.footer .social a:hover.social-instagram,
.footer .social a:focus.social-instagram,
.footer .social a:active.social-instagram {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23025859'%3e%3cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zM5.838 12a6.162 6.162 0 1 1 12.324 0 6.162 6.162 0 0 1-12.324 0zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm4.965-10.405a1.44 1.44 0 1 1 2.881.001 1.44 1.44 0 0 1-2.881-.001z'/%3e%3c/svg%3e");
}

.footer .social a:hover.social-youtube,
.footer .social a:focus.social-youtube,
.footer .social a:active.social-youtube {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23025859'%3e%3cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3e%3c/svg%3e");
}

.footer .social a:hover.social-x,
.footer .social a:focus.social-x,
.footer .social a:active.social-x {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23025859'%3e%3cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3e%3c/svg%3e");
}

.footer .social a:hover.social-linkedin,
.footer .social a:focus.social-linkedin,
.footer .social a:active.social-linkedin {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23025859'%3e%3cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3e%3c/svg%3e");
}

.footer img.fxp {
    display: block;
    max-width: 162px;
    width: 100%;
    height: auto;
    margin: .5rem auto 0;
}

/* Footer Light Variant */
.footer-light p {
    color: var(--primary);
}

.footer-light hr {
    opacity: 0.25;
    border-top-color: var(--primary);
}

.footer-light .social a {
    border: 1px solid rgba(2, 62, 63, 0.25);
    background: rgba(2, 62, 63, 0.05);
}

.footer-light i {
    color: var(--secondary);
}

.footer-light .social a:hover, .footer-light .social a:focus, .footer-light .social a:active {
    border: 1px solid rgba(2, 62, 63, 0.5);
    background: rgba(2, 62, 63, 0.25);
}

.footer-light img.fxp {
    max-width: 192px;
}

/* ========================================
   VISUAL EFFECTS
   ======================================== */
.bg-texture,
.bg-image {
    position: relative;
}

.bg-texture *,
.bg-image * {
    position: relative;
    z-index: 2;
}

.bg-texture::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/afbfacde-bec9-4686-b345-ab0e191b5603.png");
    background-size: auto 100%;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 100%;
    z-index: 1;
}

.bg-grad {
    background-image: none;
    background: linear-gradient(0deg, #025859 0%, #033 50.96%);
}

.version-light {
    background: linear-gradient(0deg, #FFF 0%, #F0F6F6 50.96%), #F0F6F6; 
}

.bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/98db190a-0f2b-4f9b-8a50-15e0720b1838.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .4;
    z-index: 1;
}
.bg-image.version-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/bf34625c-f1cd-4505-9c7f-4eea7a41ffc2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .4;
    z-index: 1;
}

.bg-image.version-3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/6e1f3cba-97f2-4336-80ff-495e1d4b8429.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .4;
    z-index: 1;
}

/* Mobile background image for version-2 */
@media only screen and (max-width: 767px) {
    .bg-image.version-3::before {
        background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/bf34625c-f1cd-4505-9c7f-4eea7a41ffc2.jpg");
        background-position: center;
        background-size: cover;
    }
}

/* ========================================
   CONTENT COMPONENTS
   ======================================== */
.banner {
    position: relative;
    padding-inline: clamp(1rem, -2.6667rem + 5.5556vw, 4rem);
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 480px 100vw;
}

.sidebar img,
.banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: clamp(0.5rem, -0.1667rem + 1.3889vw, 1.5rem);
    box-shadow: 0 0 32px 0 rgba(160, 160, 160, 0.01);
    contain: layout style;
    content-visibility: auto;
}

.hero {
    padding-block: 2rem;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 300px 100vw;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
}

.hero .container * {
    margin: 0;
}

.hero p.width-center {
    text-align: start;
    max-width: 991px;
    width: 100%;
    margin: 0 auto;
}

.hero .content-bg {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
}

.hr {
    display: block;
    height: clamp(2rem, 1.1333rem + 1.3994vw, 2.8125rem);
    background-image: url("https://image.comunicacion-fmf.mx/lib/fe31117473640478761576/m/1/8ea81da4-d604-4131-95bf-8d9dbaffab4e.png");
    background-size: auto 100%;
    background-position: center;
    background-repeat: repeat-x;
}

/* ========================================
   FORMS
   ======================================== */
.form-content {
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--secondary);
    background: rgba(2, 88, 89, 0.55);
    backdrop-filter: blur(22.5px);
    padding: clamp(1.5rem, 1.1667rem + 0.6944vw, 2rem) clamp(0.25rem, -0.9167rem + 2.4306vw, 2rem);
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 600px 100vw;
}

form p {
    font-size: clamp(0.95rem, 0.8333rem + 0.2431vw, 1.125rem);
    color: var(--light);
}

.form-select,
.form-control {
    display: block;
    font-size: clamp(0.95rem, 0.8333rem + 0.2431vw, 1.125rem);
    font-weight: 400;
    color: var(--black);
    width: 100%;
    border-radius: var(--border-radius-md);
    background-color: var(--light);
    border: 1px solid var(--light);
    padding: 1rem 1rem;
    appearance: none;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23025859' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-select:hover, .form-select:focus, .form-select:active,
.form-control:hover, .form-control:focus, .form-control:active {
    color: var(--black);
    background-color: var(--light);
    border-color: #0ce9895a;
    box-shadow: var(--shadow-sm);
    outline: none;
}

.label_input {
    font-size: clamp(0.95rem, 0.8333rem + 0.2431vw, 1.125rem);
    font-weight: 600;
    color: var(--light);
    padding: 2px 0px;
}

.label_input.dest {
    font-size: clamp(1rem, 0.6667rem + 0.6944vw, 1.5rem);
    color: var(--white);
}

/* Checkboxes & Radio */
.form-check-input {
    border-color: var(--white);
    background-color: transparent;
}

.form-check-input:checked {
    background-color: var(--accent-2);
    border-color: var(--accent-2);
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23025859'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

/* Input Elements */
input::placeholder {
    color: var(--input) !important;
}

input[type="month"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.5);
    background-image: none;
}

.input-icon {
    position: relative;
}

.input-icon input {
    padding-right: 2rem;
}

.input-icon::after {
    content: "\f073";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    text-align: center;
    color: var(--secondary);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 3rem;
    height: 1.85rem;
    opacity: 1;
    z-index: 2;
    background-color: var(--light);
}

/* ========================================
   FORM VARIANTS
   ======================================== */
.form-content.opacity-primary {
    border: 1px solid var(--primary);
    background: rgba(2, 46, 47, 0.55);
}

.form-content.background-secondary {
    border: 1px solid var(--primary);
    background-color: var(--secondary);
}

.form-content.background-white {
    background-color: var(--white);
    border-color: var(--light);
}

.form-content.background-white * {
    color: var(--primary);
}

.form-content.background-white .form-check-input {
    border-color: var(--primary);
}

.form-content.background-dark {
    background-color: var(--black);
    border-color: var(--primary);
}

.form-content.background-dark .form-select,
.form-content.background-dark .form-control {
    color: var(--white);
    background-color: var(--input);
    border-color: var(--input);
}

.form-content.background-dark input::placeholder {
    color: var(--light) !important;
}

.form-content.background-dark .form-check-input:checked {
    background-color: var(--accent-2);
    border-color: var(--accent-2);
}

.form-content.background-dark .input-icon::after {
    color: var(--white);
    background-color: var(--input);
}

/* ========================================
   CARD COMPONENTS
   ======================================== */
.card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.15);
}

.card-contenido {
    padding: 1.5rem;
}

.card-contenido .msj-texto {
    color: var(--primary);
    font-size: clamp(1rem, 0.9167rem + 0.1736vw, 1.125rem);
    line-height: 1.6;
    margin-bottom: 0;
}

.card-contenido p {
    color: var(--primary);
}

.card-contenido b {
    color: var(--primary);
    font-weight: 700;
}

/* ========================================
   SPECIAL PAGES
   ======================================== */
.ty-page {
    padding-block: 3rem;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 100vh 100vw;
}

.ty-page .hero {
    height: 100%;
}

.ty-page .hero .container {
    justify-content: center;
    height: 100%;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media only screen and (max-width: 991px) {
    .form-check-label {
        flex: 1;
    }
    
    .ty-page {
        padding-block: 0;
    }
    
    /* Reduce content-visibility complexity on mobile */
    .block, .hero, .form-content, .banner, .navbar, .footer {
        contain: layout;
    }
}

@media only screen and (max-width: 376px) {
    .container, .container-fluid {
        padding-inline: 0;
    }
}