@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-latin-400.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/poppins-latin-500.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/poppins-latin-600.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/poppins-latin-700.woff2") format("woff2");
}
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
*,
::after,
::before {
    box-sizing: border-box;
}
html {
    font-family: sans-serif;
    line-height: 1.15;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}
body {
    margin: 0px;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(33, 37, 41);
    text-align: left;
    background-color: rgb(255, 255, 255);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0px;
    margin-bottom: 0.5rem;
}
p {
    margin-top: 0px;
    margin-bottom: 1rem;
}
dl,
ol,
ul {
    margin-top: 0px;
    margin-bottom: 1rem;
}
a {
    color: rgb(0, 123, 255);
    text-decoration: none;
    background-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
    a:hover {
        color: rgb(0, 86, 179);
        text-decoration: underline;
    }
}
a:not([href]):not([class]) {
    color: inherit;
    text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
    a:not([href]):not([class]):hover {
        color: inherit;
        text-decoration: none;
    }
}
img {
    vertical-align: middle;
    border-style: none;
}
button {
    border-radius: 0px;
}
button:focus {
    outline: -webkit-focus-ring-color auto 5px;
}
button,
input,
optgroup,
select,
textarea {
    margin: 0px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button,
input {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
    appearance: button;
}
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}
::-webkit-file-upload-button {
    font: inherit;
    appearance: button;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}
.h1,
h1 {
    font-size: 2.5rem;
}
.h2,
h2 {
    font-size: 2rem;
}
.h5,
h5 {
    font-size: 1.25rem;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) {
    .container,
    .container-sm {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container,
    .container-md,
    .container-sm {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.col {
    flex-basis: 0px;
    flex-grow: 1;
    max-width: 100%;
}
.col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}
@media (min-width: 576px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.6667%;
        max-width: 16.6667%;
    }

    .col-lg-8 {
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }
}
.btn {
    display: inline-block;
    font-weight: 400;
    color: rgb(33, 37, 41);
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        color: rgb(33, 37, 41);
        text-decoration: none;
    }
}
.btn.focus,
.btn:focus {
    outline: 0px;
    box-shadow: rgba(0, 123, 255, 0.25) 0px 0px 0px 0.2rem;
}
.btn.disabled,
.btn:disabled {
    opacity: 0.65;
}
.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.btn-primary {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 123, 255);
    border-color: rgb(0, 123, 255);
}
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        color: rgb(255, 255, 255);
        background-color: rgb(0, 105, 217);
        border-color: rgb(0, 98, 204);
    }
}
.btn-primary.focus,
.btn-primary:focus {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 105, 217);
    border-color: rgb(0, 98, 204);
    box-shadow: rgba(38, 143, 255, 0.5) 0px 0px 0px 0.2rem;
}
.btn-primary.disabled,
.btn-primary:disabled {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 123, 255);
    border-color: rgb(0, 123, 255);
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 98, 204);
    border-color: rgb(0, 92, 191);
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: rgba(38, 143, 255, 0.5) 0px 0px 0px 0.2rem;
}
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(84, 91, 98);
    border-color: rgb(78, 85, 91);
}
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: rgba(130, 138, 145, 0.5) 0px 0px 0px 0.2rem;
}
.btn-success:not(:disabled):not(.disabled).active,
.btn-success:not(:disabled):not(.disabled):active,
.show > .btn-success.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(30, 126, 52);
    border-color: rgb(28, 116, 48);
}
.btn-success:not(:disabled):not(.disabled).active:focus,
.btn-success:not(:disabled):not(.disabled):active:focus,
.show > .btn-success.dropdown-toggle:focus {
    box-shadow: rgba(72, 180, 97, 0.5) 0px 0px 0px 0.2rem;
}
.btn-info:not(:disabled):not(.disabled).active,
.btn-info:not(:disabled):not(.disabled):active,
.show > .btn-info.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(17, 122, 139);
    border-color: rgb(16, 112, 127);
}
.btn-info:not(:disabled):not(.disabled).active:focus,
.btn-info:not(:disabled):not(.disabled):active:focus,
.show > .btn-info.dropdown-toggle:focus {
    box-shadow: rgba(58, 176, 195, 0.5) 0px 0px 0px 0.2rem;
}
.btn-warning:not(:disabled):not(.disabled).active,
.btn-warning:not(:disabled):not(.disabled):active,
.show > .btn-warning.dropdown-toggle {
    color: rgb(33, 37, 41);
    background-color: rgb(211, 158, 0);
    border-color: rgb(198, 149, 0);
}
.btn-warning:not(:disabled):not(.disabled).active:focus,
.btn-warning:not(:disabled):not(.disabled):active:focus,
.show > .btn-warning.dropdown-toggle:focus {
    box-shadow: rgba(222, 170, 12, 0.5) 0px 0px 0px 0.2rem;
}
.btn-danger:not(:disabled):not(.disabled).active,
.btn-danger:not(:disabled):not(.disabled):active,
.show > .btn-danger.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(189, 33, 48);
    border-color: rgb(178, 31, 45);
}
.btn-danger:not(:disabled):not(.disabled).active:focus,
.btn-danger:not(:disabled):not(.disabled):active:focus,
.show > .btn-danger.dropdown-toggle:focus {
    box-shadow: rgba(225, 83, 97, 0.5) 0px 0px 0px 0.2rem;
}
.btn-light:not(:disabled):not(.disabled).active,
.btn-light:not(:disabled):not(.disabled):active,
.show > .btn-light.dropdown-toggle {
    color: rgb(33, 37, 41);
    background-color: rgb(218, 224, 229);
    border-color: rgb(211, 217, 223);
}
.btn-light:not(:disabled):not(.disabled).active:focus,
.btn-light:not(:disabled):not(.disabled):active:focus,
.show > .btn-light.dropdown-toggle:focus {
    box-shadow: rgba(216, 217, 219, 0.5) 0px 0px 0px 0.2rem;
}
.btn-dark:not(:disabled):not(.disabled).active,
.btn-dark:not(:disabled):not(.disabled):active,
.show > .btn-dark.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(29, 33, 36);
    border-color: rgb(23, 26, 29);
}
.btn-dark:not(:disabled):not(.disabled).active:focus,
.btn-dark:not(:disabled):not(.disabled):active:focus,
.show > .btn-dark.dropdown-toggle:focus {
    box-shadow: rgba(82, 88, 93, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 123, 255);
    border-color: rgb(0, 123, 255);
}
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: rgba(0, 123, 255, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.show > .btn-outline-secondary.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(108, 117, 125);
    border-color: rgb(108, 117, 125);
}
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
    box-shadow: rgba(108, 117, 125, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-success:not(:disabled):not(.disabled).active,
.btn-outline-success:not(:disabled):not(.disabled):active,
.show > .btn-outline-success.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(40, 167, 69);
    border-color: rgb(40, 167, 69);
}
.btn-outline-success:not(:disabled):not(.disabled).active:focus,
.btn-outline-success:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-success.dropdown-toggle:focus {
    box-shadow: rgba(40, 167, 69, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-info:not(:disabled):not(.disabled).active,
.btn-outline-info:not(:disabled):not(.disabled):active,
.show > .btn-outline-info.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(23, 162, 184);
    border-color: rgb(23, 162, 184);
}
.btn-outline-info:not(:disabled):not(.disabled).active:focus,
.btn-outline-info:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-info.dropdown-toggle:focus {
    box-shadow: rgba(23, 162, 184, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-warning:not(:disabled):not(.disabled).active,
.btn-outline-warning:not(:disabled):not(.disabled):active,
.show > .btn-outline-warning.dropdown-toggle {
    color: rgb(33, 37, 41);
    background-color: rgb(255, 193, 7);
    border-color: rgb(255, 193, 7);
}
.btn-outline-warning:not(:disabled):not(.disabled).active:focus,
.btn-outline-warning:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-warning.dropdown-toggle:focus {
    box-shadow: rgba(255, 193, 7, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-danger:not(:disabled):not(.disabled).active,
.btn-outline-danger:not(:disabled):not(.disabled):active,
.show > .btn-outline-danger.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(220, 53, 69);
    border-color: rgb(220, 53, 69);
}
.btn-outline-danger:not(:disabled):not(.disabled).active:focus,
.btn-outline-danger:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-danger.dropdown-toggle:focus {
    box-shadow: rgba(220, 53, 69, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-light:not(:disabled):not(.disabled).active,
.btn-outline-light:not(:disabled):not(.disabled):active,
.show > .btn-outline-light.dropdown-toggle {
    color: rgb(33, 37, 41);
    background-color: rgb(248, 249, 250);
    border-color: rgb(248, 249, 250);
}
.btn-outline-light:not(:disabled):not(.disabled).active:focus,
.btn-outline-light:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-light.dropdown-toggle:focus {
    box-shadow: rgba(248, 249, 250, 0.5) 0px 0px 0px 0.2rem;
}
.btn-outline-dark:not(:disabled):not(.disabled).active,
.btn-outline-dark:not(:disabled):not(.disabled):active,
.show > .btn-outline-dark.dropdown-toggle {
    color: rgb(255, 255, 255);
    background-color: rgb(52, 58, 64);
    border-color: rgb(52, 58, 64);
}
.btn-outline-dark:not(:disabled):not(.disabled).active:focus,
.btn-outline-dark:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-dark.dropdown-toggle:focus {
    box-shadow: rgba(52, 58, 64, 0.5) 0px 0px 0px 0.2rem;
}
.collapse:not(.show) {
    display: none;
}
.nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0px;
    margin-bottom: 0px;
    list-style: none;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}
.nav-link:focus {
    text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
    .nav-link:hover {
        text-decoration: none;
    }
}
.nav-tabs {
    border-bottom: 1px solid rgb(222, 226, 230);
}
.nav-tabs .nav-item {
    margin-bottom: -1px;
}
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.nav-tabs .nav-link:focus {
    border-color: rgb(233, 236, 239) rgb(233, 236, 239) rgb(222, 226, 230);
}
@media (hover: hover) and (pointer: fine) {
    .nav-tabs .nav-link:hover {
        border-color: rgb(233, 236, 239) rgb(233, 236, 239) rgb(222, 226, 230);
    }
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: rgb(73, 80, 87);
    background-color: rgb(255, 255, 255);
    border-color: rgb(222, 226, 230) rgb(222, 226, 230) rgb(255, 255, 255);
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}
.navbar .container,
.navbar .container-fluid,
.navbar .container-lg,
.navbar .container-md,
.navbar .container-sm,
.navbar .container-xl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0px;
    margin-bottom: 0px;
    list-style: none;
}
.navbar-nav .nav-link {
    padding-right: 0px;
    padding-left: 0px;
}
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}
.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}
.navbar-toggler:focus {
    text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
    .navbar-toggler:hover {
        text-decoration: none;
    }
}
@media (max-width: 991.98px) {
    .navbar-expand-lg > .container,
    .navbar-expand-lg > .container-fluid,
    .navbar-expand-lg > .container-lg,
    .navbar-expand-lg > .container-md,
    .navbar-expand-lg > .container-sm,
    .navbar-expand-lg > .container-xl {
        padding-right: 0px;
        padding-left: 0px;
    }
}
@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-flow: row;
        justify-content: flex-start;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-lg > .container,
    .navbar-expand-lg > .container-fluid,
    .navbar-expand-lg > .container-lg,
    .navbar-expand-lg > .container-md,
    .navbar-expand-lg > .container-sm,
    .navbar-expand-lg > .container-xl {
        flex-wrap: nowrap;
    }
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

.bg-transparent {
    background-color: transparent !important;
}
.border-bottom {
    border-bottom: 1px solid rgb(222, 226, 230) !important;
}

.border-bottom-0 {
    border-bottom: 0px !important;
}

.rounded {
    border-radius: 0.25rem !important;
}
.rounded-circle {
    border-radius: 50% !important;
}
.rounded-pill {
    border-radius: 50rem !important;
}
.d-block {
    display: block !important;
}
.d-flex {
    display: flex !important;
}
.justify-content-end {
    justify-content: flex-end !important;
}
.justify-content-center {
    justify-content: center !important;
}

.position-relative {
    position: relative !important;
}

.mt-3,
.my-3 {
    margin-top: 1rem !important;
}
.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}
.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important;
}

.pr-0,
.px-0 {
    padding-right: 0px !important;
}
.pl-0,
.px-0 {
    padding-left: 0px !important;
}

.mb-n1,
.my-n1 {
    margin-bottom: -0.25rem !important;
}
.mr-n2,
.mx-n2 {
    margin-right: -0.5rem !important;
}

@media (min-width: 992px) {
    .mb-lg-0,
    .my-lg-0 {
        margin-bottom: 0px !important;
    }
}
.text-center {
    text-align: center !important;
}
@media (min-width: 992px) {
    .text-lg-center {
        text-align: center !important;
    }
}

.text-white {
    color: rgb(255, 255, 255) !important;
}

.text-light {
    color: rgb(248, 249, 250) !important;
}

@media print {
    *,
    ::after,
    ::before {
        text-shadow: none !important;
        box-shadow: none !important;
    }
    a:not(.btn) {
        text-decoration: underline;
    }
    img,
    tr {
        break-inside: avoid;
    }
    h2,
    h3,
    p {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        break-after: avoid;
    }
    body {
        min-width: 992px !important;
    }
    .container {
        min-width: 992px !important;
    }
    .navbar {
        display: none;
    }
}
.fa,
.fab,
.fad,
.fal,
.far,
.fas {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa-chevron-up::before {
    content: "";
}
.fa-envelope::before {
    content: "";
}
.fa-github::before {
    content: "";
}
.fa-linkedin-in::before {
    content: "";
}
@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/fa-brands-400-site.woff2") format("woff2");
}
.fab {
    font-family: "Font Awesome 5 Brands";
}
.fab,
.far {
    font-weight: 400;
}
@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/fa-solid-900-site.woff2") format("woff2");
}
.fa,
.far,
.fas {
    font-family: "Font Awesome 5 Free";
}
.fa,
.fas {
    font-weight: 900;
}
body,
html {
    height: 100%;
}
body {
    background: rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    font-family: Poppins, sans-serif;
}

.font-weight-400 {
    font-weight: 400 !important;
}

.bg-dark-1 {
    background-color: rgb(0, 0, 0) !important;
}
.bg-dark-3 {
    background-color: rgb(0, 0, 0) !important;
}
.section {
    position: relative;
    padding: 4.5rem 0px;
    overflow: hidden;
}
@media (max-width: 767.98px) {
    .section {
        padding: 3.5rem 0px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1170px !important;
    }
}

#header {
    transition: 0.5s;
}
#header .navbar {
    padding: 10px;
}
#header .logo {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    align-self: stretch;
}
.primary-menu {
    align-self: stretch;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(239, 239, 239);
    display: flex !important;
    height: auto !important;
}
.primary-menu.bg-transparent {
    position: absolute;
    z-index: 999;
    top: 0px;
    left: 0px;
    width: 100%;
    box-shadow: none;
    border-bottom: 1px solid rgba(250, 250, 250, 0.3);
}
.primary-menu.sticky-on {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 1020;
    left: 0px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 10px;
    animation: 0.7s ease 0s 1 normal none running slide-down;
}
@-webkit-keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
.primary-menu ul.navbar-nav > li {
    display: flex;
    height: 100%;
}
.primary-menu ul.navbar-nav > li + li {
    margin-left: 2px;
}
.primary-menu ul.navbar-nav > li a {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}
.primary-menu ul.navbar-nav > li > a:not(.btn) {
    height: 70px;
    padding: 0px 0.85em;
    color: rgb(0, 123, 255);
    transition: 0.2s;
    position: relative;
}
.primary-menu ul.navbar-nav > li > a.active:not(.btn) {
    color: rgb(0, 123, 255);
    transition: 0.2s;
}
@media (hover: hover) and (pointer: fine) {
    .primary-menu ul.navbar-nav > li:hover > a:not(.btn) {
        color: rgb(0, 123, 255);
        transition: 0.2s;
    }
}
.primary-menu.navbar-text-light .navbar-toggler span {
    background: rgb(255, 255, 255);
}
.primary-menu.navbar-text-light .navbar-nav > li > a:not(.btn) {
    color: rgba(250, 250, 250, 0.9);
}
.sticky-on.bg-transparent:not(.navbar-text-light),
.sticky-top .sticky-on-top.bg-transparent:not(.navbar-text-light) {
    background-color: rgb(255, 255, 255) !important;
    border-bottom: 1px solid rgb(239, 239, 239) !important;
}
.sticky-on.navbar-text-light.bg-transparent,
.sticky-top .sticky-on-top.navbar-text-light.bg-transparent {
    box-shadow: rgb(0, 0, 0) 0px 0px 10px;
    background-color: rgb(0, 0, 0) !important;
    border-bottom-width: medium !important;
    border-bottom-style: none !important;
    border-bottom-color: currentcolor !important;
}
.navbar-toggler {
    width: 25px;
    height: 30px;
    padding: 10px;
    margin: 18px 15px;
    position: relative;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
    display: block;
}
.navbar-toggler span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: rgb(60, 54, 54);
    border-radius: 2px;
    opacity: 1;
    left: 0px;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}
.navbar-toggler span:nth-child(1) {
    top: 7px;
    transform-origin: left center;
}
.navbar-toggler span:nth-child(2) {
    top: 14px;
    transform-origin: left center;
}
.navbar-toggler span:nth-child(3) {
    top: 21px;
    transform-origin: left center;
}
.navbar-toggler.show span:nth-child(1) {
    top: 3px;
    left: 3px;
    transform: rotate(45deg);
}
.navbar-toggler.show span:nth-child(2) {
    width: 0%;
    opacity: 0;
}
.navbar-toggler.show span:nth-child(3) {
    top: 21px;
    left: 3px;
    transform: rotate(-45deg);
}
.navbar-accordion {
    position: initial;
}
@media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-collapse {
        position: absolute;
        top: 99%;
        right: 0px;
        left: 0px;
        background: rgb(255, 255, 255);
        margin-top: 0px;
        z-index: 1000;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 15px;
    }
    .navbar-expand-lg .navbar-collapse .navbar-nav {
        overflow: hidden auto;
        max-height: 65vh;
        padding: 15px;
    }
    .navbar-expand-lg ul.navbar-nav li {
        display: block;
        border-bottom: 1px solid rgb(238, 238, 238);
        margin: 0px;
        padding: 0px;
    }
    .navbar-expand-lg ul.navbar-nav li:last-child {
        border-width: medium;
        border-style: none;
        border-color: currentcolor;
        border-image: none;
    }
    .navbar-expand-lg ul.navbar-nav li + li {
        margin-left: 0px;
    }
    .navbar-expand-lg ul.navbar-nav li > a.active::after {
        content: none !important;
        width: 0px !important;
    }
    @media (hover: hover) and (pointer: fine) {
        .navbar-expand-lg ul.navbar-nav li > a:hover::after {
            content: none !important;
            width: 0px !important;
        }
    }
    .navbar-expand-lg ul.navbar-nav > li > a:not(.btn) {
        height: auto;
        padding: 8px 0px;
        position: relative;
    }
    .navbar-expand-lg.navbar-text-light .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
    }
    .navbar-expand-lg.navbar-text-light .navbar-collapse ul.navbar-nav li {
        border-color: rgba(250, 250, 250, 0.15);
    }
}
.nav .nav-item .nav-link {
    color: rgb(68, 68, 68);
}
.nav.nav-light .nav-item .nav-link {
    color: rgb(221, 221, 221);
}
.nav:not(.nav-pills) .nav-item .nav-link.active {
    color: rgb(0, 123, 255);
}
@media (hover: hover) and (pointer: fine) {
    .nav:not(.nav-pills) .nav-item .nav-link:hover {
        color: rgb(0, 123, 255);
    }
}
.nav-tabs {
    border-bottom: 1px solid rgb(215, 222, 227);
}
.nav-tabs .nav-item .nav-link {
    border: 0px;
    background: transparent;
    position: relative;
    border-radius: 0px;
    padding: 0.6rem 1rem;
    color: rgb(123, 128, 132);
    white-space: nowrap !important;
}
.nav-tabs .nav-item .nav-link.active {
    color: rgb(12, 47, 85);
}
@media (hover: hover) and (pointer: fine) {
    .nav-tabs .nav-item .nav-link:not(.active):hover {
        color: rgb(0, 123, 255);
    }
}
.nav-tabs:not(.flex-column) {
    flex-wrap: nowrap;
    overflow: auto hidden;
}
.nav-tabs:not(.flex-column) .nav-item {
    margin-bottom: 0px;
}
@media (max-width: 575.98px) {
    .nav-tabs .nav-item .nav-link {
        padding-left: 0px;
        padding-right: 0px;
        margin-right: 10px;
        font-size: 0.875rem;
    }
}
.portfolio .portfolio-box {
    position: relative;
}
.portfolio .portfolio-box .portfolio-img {
    position: relative;
    overflow: hidden;
}
.portfolio .portfolio-box .portfolio-overlay {
    text-align: center;
    position: absolute;
    inset: 0px;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: 0.3s ease-in-out;
    display: flex !important;
}
@media (hover: hover) and (pointer: fine) {
    .portfolio .portfolio-box:hover .portfolio-overlay {
        opacity: 1;
    }
}
.portfolio .portfolio-box .portfolio-img img {
    transition: 0.3s ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
    .portfolio .portfolio-box:hover .portfolio-img img {
        filter: blur(2px);
        transform: scale(1.03);
    }
}
.portfolio .portfolio-box .portfolio-overlay-details {
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

#footer {
    background: rgb(255, 255, 255);
    color: rgb(37, 43, 51);
    padding: 4.125rem 0px;
}
#footer.footer-text-light {
    color: rgb(255, 255, 255);
}
.social-icons {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
.social-icons li {
    margin: 0px 6px 4px;
    padding: 0px;
    overflow: visible;
}
.social-icons li a {
    display: block;
    height: 26px;
    line-height: 26px;
    width: 26px;
    font-size: 18px;
    text-align: center;
    color: rgb(77, 85, 90);
    text-decoration: none;
    transition: 0.2s;
}
.social-icons li i {
    line-height: inherit;
}
.social-icons.social-icons-light li a {
    color: rgb(238, 238, 238);
}
@media (hover: hover) and (pointer: fine) {
    .social-icons li:hover a {
        color: rgb(153, 153, 153);
    }
}

@media (hover: hover) and (pointer: fine) {
    .social-icons li:hover.social-icons-linkedin a {
        color: rgb(14, 118, 168);
    }
}

@media (hover: hover) and (pointer: fine) {
    .social-icons li:hover.social-icons-github a {
        color: rgb(51, 51, 51);
    }
}
#back-to-top {
    display: none;
    position: fixed;
    z-index: 1030;
    bottom: 8px;
    right: 10px;
    background-color: rgb(0, 123, 255);
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 16px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    transition: 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
}
@media (hover: hover) and (pointer: fine) {
    #back-to-top:hover {
        background-color: rgb(255, 98, 0);
        box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
        transition: 0.3s ease-in-out;
    }
}
@media (max-width: 575.98px) {
    #back-to-top {
        z-index: 1029;
    }
}
.btn {
    padding: 0.8rem 2.6rem;
    font-weight: 500;
    border-width: 2px;
    transition: 0.5s;
}
.btn:not(.btn-link) {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
}
@media (hover: hover) and (pointer: fine) {
    .btn:not(.btn-link):hover {
        box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 15px;
        transition: 0.5s;
    }
}
@media (max-width: 575.98px) {
    .btn:not(.btn-sm) {
        padding: 0.81rem 2rem;
    }
}
.text-primary,
.btn-light,
.btn-link,
.btn-outline-light:not(:disabled):not(.disabled).active,
.btn-outline-light:not(:disabled):not(.disabled):active {
    color: rgb(36, 162, 249) !important;
}

.text-light {
    color: rgb(255, 255, 255) !important;
}

.btn-primary {
    background-color: transparent;
    border-color: rgb(0, 123, 255);
}
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background-color: rgb(255, 98, 0);
        border-color: rgb(255, 98, 0);
    }
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: transparent;
    border-color: rgb(0, 123, 255);
}
.btn-primary.focus,
.btn-primary:focus {
    background-color: rgb(255, 98, 0);
    border-color: rgb(255, 98, 0);
}
.btn-primary.focus {
    background-color: rgb(255, 98, 0);
    border-color: rgb(255, 98, 0);
}
@media (hover: hover) and (pointer: fine) {
    .btn-primary:focus.btn:hover {
        background-color: rgb(255, 98, 0);
        border-color: rgb(255, 98, 0);
    }
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}
@media screen and (min-width: 768px) {
    #home h1 {
        font-size: 50px;
    }
}
.whats {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 60px;
    z-index: 1000;
}
.whats img {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
}
html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 70px;
}

img {
    max-width: 100%;
    height: auto;
}

#back-to-top.is-visible {
    display: inline-block;
}
a:focus-visible,
button:focus-visible {
    outline: rgb(0, 123, 255) solid 2px;
    outline-offset: 4px;
}
@media (max-width: 991.98px) {
    .navbar-accordion {
        position: static;
    }
    .navbar-toggler {
        min-width: 44px;
        min-height: 44px;
        margin-left: auto;
    }
    .primary-menu .navbar-nav .nav-link {
        min-height: 44px;
    }
    #header-nav {
        max-height: 70vh;
        overflow-y: auto;
    }
}
@media (max-width: 575.98px) {
    .portfolio-menu .nav-link {
        padding: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

#contacto {
    scroll-margin-top: 80px;
    color: #f8f9fa;
}
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.contact-intro h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin-bottom: 24px;
}
.contact-intro > p:not(.contact-eyebrow) {
    color: #bfc3c9;
    line-height: 1.8;
}
.contact-intro a {
    color: #7cbcff;
    overflow-wrap: anywhere;
}
.contact-form {
    padding: 28px;
    border: 1px solid #34373c;
    border-radius: 16px;
    background: #101114;
}
.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contact-fields > div {
    min-width: 0;
}
.contact-form label {
    display: block;
    margin: 16px 0 8px;
    font-size: 14px;
    font-weight: 500;
}
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    border: 1px solid #62666e;
    border-radius: 8px;
    background: #08090b;
    color: #fff;
    padding: 12px;
    font: inherit;
    font-size: 16px;
}
.contact-form textarea {
    resize: vertical;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-submit:focus-visible,
.contact-intro a:focus-visible {
    outline: 3px solid #7cbcff;
    outline-offset: 3px;
}
.contact-help {
    color: #bfc3c9;
    font-size: 13px;
    line-height: 1.65;
    margin: 12px 0;
}
.contact-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #0070df;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
    .contact-submit:hover {
        background: #005fbe;
    }
}
.contact-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}
.contact-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
#contact-status {
    margin: 16px 0 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
#contact-status:empty {
    display: none;
}
#contact-status[data-state="error"] {
    color: #ffb4b4;
}
#contact-status[data-state="success"] {
    color: #9de3bd;
}
@media (max-width: 767px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form {
        padding: 20px;
    }
}
#contact-captcha {
    margin-top: 20px;
    max-width: 100%;
}
#captcha-retry {
    color: #7cbcff;
    background: transparent;
    border: 1px solid #62666e;
    border-radius: 6px;
    padding: 10px;
    margin: 0 0 16px;
    min-height: 44px;
    cursor: pointer;
}
#captcha-retry:focus-visible {
    outline: 3px solid #7cbcff;
    outline-offset: 3px;
}
.contact-submit:disabled {
    cursor: not-allowed;
}
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #62666e;
    border-radius: 8px;
    font-size: 14px;
}
@media (hover: hover) and (pointer: fine) {
    .contact-links a:hover {
        color: #fff;
        border-color: #7cbcff;
    }
}
#about {
    scroll-margin-top: 80px;
}
.about-intro {
    display: grid;
    grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.6fr);
    gap: 48px;
    align-items: center;
}

.about-copy h2 {
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 24px;
}
.about-copy p:not(.about-eyebrow),
.about-card p,
.about-sharing p {
    color: #bdc4ce;
    line-height: 1.8;
}
.about-copy strong {
    color: #edf1f6;
    font-weight: 500;
}
.about-areas-title {
    color: #fff;
    font-size: 25px;
    margin: 48px 0 22px;
}
.about-areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.about-card {
    background: #10151c;
    border: 1px solid #26313d;
    border-radius: 16px;
    padding: 26px;
}

.about-card h4 {
    color: #fff;
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 14px;
}
.about-card p {
    font-size: 15px;
    margin: 0;
}
.about-sharing {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid #26313d;
}
.about-sharing h3 {
    color: #fff;
    font-size: 24px;
}
.about-sharing p {
    max-width: 780px;
}
.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}
.about-actions .btn {
    white-space: normal;
}
.about-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 24px;
    font-size: 14px;
}
.about-details a {
    color: #64bbfa;
    text-decoration: underline;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}
#about a:focus-visible {
    outline: 3px solid #ff6200;
    outline-offset: 5px;
}
@media (max-width: 767px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-areas {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .about-card {
        padding: 24px;
    }
    .about-areas-title {
        margin-top: 32px;
    }
    .about-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
.portfolio-heading {
    max-width: 760px;
    margin-bottom: 32px;
}
.portfolio-heading h2 {
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 18px;
}
.portfolio-heading > p:last-child {
    color: #bdc4ce;
    line-height: 1.8;
}
.contact-whatsapp-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='M20.5 11.6a8.6 8.6 0 0 1-12.8 7.5L3 20.5l1.4-4.6a8.6 8.6 0 1 1 16.1-4.3Z'/%3E%3Cpath fill='black' d='M8.2 7.2c-.4 0-.8.5-.9 1-.4 2.5 3.2 6.6 6.5 7.4.8.2 1.8-.4 2-1.1l.2-.9-2.3-1.1-.9 1c-1.5-.6-2.7-1.7-3.4-3.1l.8-.9-1-2.3Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}
.intro-home {
    background: #070a0f;
    padding: 100px 0 0;
    color: #f5f7fa;
}
.intro-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 65px 0;
}

.intro-copy h1 {
    color: #f5f7fa;
    font-size: clamp(40px, 4.5vw, 62px);
    letter-spacing: -0.045em;
    line-height: 1.1;
    margin: 0 0 26px;
    font-weight: 600;
}
.intro-copy h1 span {
    color: #58b4f7;
}
.intro-description {
    font-size: 17px;
    line-height: 1.8;
    color: #b7c2cf;
    max-width: 540px;
    margin-bottom: 32px;
}
.intro-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.intro-button {
    padding: 16px 20px;
    border: 1px solid #35475a;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    color: #f5f7fa;
}
.intro-primary {
    background: #359eef;
    border-color: #359eef;
    color: #06121d;
}
@media (hover: hover) and (pointer: fine) {
    .intro-button:hover {
        color: #fff;
        border-color: #69bcfa;
        background: #174d73;
    }
}
.intro-home a:focus-visible {
    outline: 3px solid #ff850f;
    outline-offset: 5px;
}
.intro-skills {
    margin: 30px 0 0;
    color: #98a9bc;
    font-size: 12px;
    line-height: 1.8;
}
.intro-portrait {
    position: relative;
    margin: 0;
    min-width: 0;
    background: radial-gradient(ellipse, #147bcb24, transparent 68%);
}
.intro-portrait img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    border: 1px solid #2a3b4b;
}
.intro-portrait figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    color: #9caec1;
    font-size: 11px;
}
.intro-portrait strong {
    color: #e9edf3;
    font-weight: 500;
}
.intro-footer {
    padding: 28px 0;
    border-top: 1px solid #ffffff12;
    color: #8c9aab;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.intro-footer a {
    color: #62b9fa;
}
.about-intro {
    display: block;
    max-width: 860px;
}
@media (max-width: 767px) {
    .intro-home {
        padding-top: 76px;
    }
    .intro-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 38px;
        padding: 48px 9px;
    }
    .intro-copy h1 {
        font-size: clamp(34px, 10vw, 44px);
    }
    .intro-description {
        font-size: 16px;
    }

    .intro-actions {
        flex-direction: column;
        text-align: center;
    }
    .intro-portrait {
        width: 100%;
        max-width: 320px;
        margin: auto;
    }
    .intro-footer {
        margin: 0 9px;
        font-size: 12px;
    }
}
.intro-home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.intro-home > .container {
    position: relative;
    z-index: 1;
}
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}
#particles-js canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.intro-portrait {
    background: radial-gradient(ellipse at 50% 50%, #15374b65, transparent 68%);
}
.intro-portrait img {
    border: 0;
    border-radius: 0;
}
.intro-footer {
    align-items: center;
    flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
    #particles-js {
        display: none !important;
    }
}
:root {
    --action: #359eef;
    --action-text: #06121d;
    --control-border: #54728b;
    --focus: #ffae66;
}
.intro-button,
.about-actions .btn,
.contact-submit,
#captcha-retry,
.contact-links a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--control-border);
    border-radius: 10px !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    background: #101820;
    color: #eef5fc;
    box-shadow: none;
    transition:
        background-color 0.18s,
        border-color 0.18s,
        color 0.18s;
    cursor: pointer;
}
.intro-primary,
.about-actions a[href="#contacto"],
.contact-submit {
    background: var(--action);
    border-color: var(--action);
    color: var(--action-text);
}
@media (hover: hover) and (pointer: fine) {
    .intro-button:hover,
    .about-actions .btn:hover,
    .contact-links a:hover,
    #captcha-retry:hover {
        background: #193a53;
        border-color: #7ac6ff;
        color: #fff;
    }
}
@media (hover: hover) and (pointer: fine) {
    .intro-primary:hover,
    .about-actions a[href="#contacto"]:hover,
    .contact-submit:not(:disabled):hover {
        background: #73c0fa;
        border-color: #73c0fa;
        color: #06121d;
    }
}
.contact-submit:disabled {
    background: #263342;
    color: #aab7c6;
    border-color: #465568;
    cursor: not-allowed;
    opacity: 1;
}
button[hidden],
#captcha-retry[hidden] {
    display: none !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus) !important;
    outline-offset: 4px;
}
.contact-links a {
    padding: 10px 14px;
    font-weight: 500;
}
.navbar-toggler {
    min-width: 48px;
    min-height: 48px;
}
.social-icons li a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.portfolio-menu .nav-link {
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #415266;
    border-radius: 999px;
    margin: 4px;
    color: #c9d5e2;
}
.portfolio-menu .nav-link.active {
    color: #fff;
    background: #17334b;
    border-color: #61b8f8;
}
@media (hover: hover) and (pointer: fine) {
    .portfolio-menu .nav-link:hover {
        color: #fff;
        background: #17334b;
        border-color: #61b8f8;
    }
}
.portfolio-menu .nav-link:after {
    display: none;
}
.portfolio .portfolio-box:focus-within .portfolio-overlay {
    opacity: 1;
}
.portfolio .portfolio-box:focus-within .portfolio-img img {
    filter: blur(2px);
}

section[id] {
    scroll-margin-top: 85px;
}
.skip-link {
    position: fixed;
    top: 10px;
    left: 16px;
    z-index: 2000;
    padding: 12px 18px;
    background: #359eef;
    color: #06121d;
    border-radius: 8px;
    transform: translateY(-200%);
}
.skip-link:focus {
    transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
    .section-enter {
        animation: section-enter 0.55s ease-out both;
    }
    @keyframes section-enter {
        from {
            opacity: 0.45;
            translate: 0 18px;
        }
        to {
            opacity: 1;
            translate: 0 0;
        }
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
@media (max-width: 767px) {
    .about-actions .btn,
    .intro-button {
        width: 100%;
    }
    .contact-links {
        gap: 10px;
    }
}
.portfolio-menu.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    overflow: visible;
    padding: 4px;
}
.portfolio-menu.nav-tabs .nav-item {
    margin: 0;
}
.portfolio-menu.nav-tabs .nav-item .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 100px;
    margin: 0;
    padding: 12px 20px;
    border: 1px solid var(--control-border);
    border-radius: 10px;
    color: #c9d5e2;
    background: #101820;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition:
        background-color 0.18s,
        border-color 0.18s,
        color 0.18s;
}
@media (hover: hover) and (pointer: fine) {
    .portfolio-menu.nav-tabs .nav-item .nav-link:not(.active):hover {
        color: #fff;
        background: #193a53;
        border-color: #7ac6ff;
    }
}
.portfolio-menu.nav-tabs .nav-item .nav-link.active {
    color: var(--action-text);
    background: var(--action);
    border-color: var(--action);
}
.portfolio-menu.nav-tabs .nav-item .nav-link::after {
    display: none;
}
@media (max-width: 991.98px) {
    #header .header-brand {
        display: none;
    }
    #header .navbar-toggler {
        margin-left: 0;
        margin-right: auto;
    }
}
@media (max-width: 575.98px) {
    .portfolio-menu.nav-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .portfolio-menu.nav-tabs .nav-item .nav-link {
        width: 100%;
        min-width: 0;
        padding: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .portfolio-menu.nav-tabs .nav-item .nav-link {
        transition: none;
    }
}

/* Revisión UX: escala legible, controles coherentes y títulos accesibles. */
:root {
    --surface: #101820;
    --surface-raised: #15222e;
    --text-main: #eef5fc;
    --text-muted: #b7c7d6;
    --link: #7ac6ff;
    --focus: #ffae66;
}
html {
    color-scheme: dark;
    scroll-padding-top: 0;
}
body {
    line-height: 1.7;
}
::selection {
    background: #359eef;
    color: #06121d;
}
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}
p {
    overflow-wrap: break-word;
}
.intro-copy h1 {
    letter-spacing: -0.03em;
}
.intro-description,
.about-copy p,
.about-sharing p,
.contact-intro p {
    max-width: 68ch;
}
.intro-skills,
.intro-portrait figcaption,
.intro-footer,
.contact-help,
.about-details {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}
.about-card p {
    font-size: 16px;
}
.about-card {
    padding: 32px;
}
.about-areas {
    gap: 24px;
}
.about-card h4 {
    font-size: 21px;
}
.contact-form input,
.contact-form textarea {
    font-size: 16px;
    caret-color: var(--link);
}
.contact-form label {
    font-size: 15px;
}
.contact-form input {
    min-height: 48px;
}
.contact-form textarea {
    min-height: 160px;
}
#header .social-icons {
    display: flex;
    gap: 8px;
}
#header .social-icons li {
    margin: 0;
}
#header .social-icons li a {
    width: 44px;
    height: 44px;
}
#header .logo {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}
.primary-menu.navbar-text-light .navbar-nav > li > a.active:not(.btn) {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 7px;
}
.intro-footer a,
.about-details a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
#portfolio .portfolio-box {
    background: var(--surface);
    border-radius: 12px !important;
}
#portfolio .portfolio-box > a {
    display: block;
    border-radius: 12px;
}
#portfolio .portfolio-img {
    display: flex;
    flex-direction: column;
}
#portfolio .portfolio-overlay {
    position: static;
    order: -1;
    opacity: 1;
    background: var(--surface);
    padding: 20px;
    text-align: left;
}
#portfolio .portfolio-overlay-details {
    width: 100%;
    text-align: left;
}
#portfolio .portfolio-overlay h3 {
    font-size: 18px;
    font-weight: 600 !important;
    margin: 0;
    line-height: 1.4;
}
#portfolio .portfolio-overlay span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-muted) !important;
}
#portfolio .portfolio-overlay span:empty {
    display: none;
}
#portfolio .portfolio-box:focus-within .portfolio-img img {
    filter: none;
    transform: none;
}
@media (hover: hover) and (pointer: fine) {
    #portfolio .portfolio-box:hover .portfolio-img img {
        filter: none;
        transform: none;
    }
}
#portfolio .portfolio-box a:focus-visible .portfolio-overlay {
    background: var(--surface-raised);
}
@media (hover: hover) and (pointer: fine) {
    #portfolio .portfolio-box a:hover .portfolio-overlay {
        background: var(--surface-raised);
    }
}
#portfolio .portfolio-box a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
#back-to-top {
    width: 44px;
    height: 44px;
    line-height: 44px;
    right: 20px;
    bottom: 20px;
    visibility: hidden;
}
#back-to-top.is-visible {
    visibility: visible;
}
.whats {
    right: 20px;
    bottom: 80px;
    width: 56px;
    height: 56px;
}
.whats img {
    width: 56px;
    height: 56px;
    padding: 0;
    display: block;
}
:where(a, button, input, textarea) {
    scroll-margin-block: 100px 96px;
}
@media (max-width: 991.98px) {
    #header .navbar {
        padding: 8px 16px;
        background: #070a0f !important;
    }
    #header .navbar-toggler {
        width: 48px;
        height: 48px;
        margin: 0 auto 0 0;
    }
    #header .navbar-toggler span {
        width: 24px;
        left: 12px;
        transform-origin: center;
    }
    #header .navbar-toggler span:nth-child(1) {
        top: 16px;
    }
    #header .navbar-toggler span:nth-child(2) {
        top: 23px;
    }
    #header .navbar-toggler span:nth-child(3) {
        top: 30px;
    }
    #header .navbar-toggler.show span:nth-child(1) {
        top: 23px;
        left: 12px;
        transform: rotate(45deg);
    }
    #header .navbar-toggler.show span:nth-child(2) {
        opacity: 0;
    }
    #header .navbar-toggler.show span:nth-child(3) {
        top: 23px;
        left: 12px;
        transform: rotate(-45deg);
    }
    #header .navbar-collapse .navbar-nav {
        padding: 16px 24px;
    }
    #header .navbar-nav > li > a:not(.btn) {
        min-height: 48px;
        padding: 12px 0;
    }
    .intro-grid {
        gap: 32px;
    }
}
@media (max-width: 767px) {
    .container {
        padding-inline: 24px;
    }
    .intro-grid {
        padding-inline: 0;
    }
    .intro-copy h1 {
        font-size: clamp(32px, 8.5vw, 44px);
    }
    .intro-footer {
        margin-inline: 0;
    }
    .about-card {
        padding: 24px;
    }
    .contact-form {
        padding: 20px 16px;
    }
    .contact-links {
        gap: 10px;
    }
    #footer {
        padding-bottom: 100px;
    }
    .whats {
        right: 16px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        width: 48px;
        height: 48px;
    }
    .whats img {
        width: 48px;
        height: 48px;
    }
    #back-to-top {
        right: 18px;
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
}
/* Impeccable: composition and consistent interaction details. */
.intro-signature {
    color: var(--link);
    font-size: 16px;
    line-height: 1.6;
    max-width: 42ch;
    margin: 24px 0 16px;
}
.action-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: -0.2em;
    margin-inline-start: 6px;
}
.about-intro {
    max-width: none;
}
.about-copy > p:last-child {
    margin-bottom: 0;
}
.contact-links a:active,
.intro-button:active,
.about-actions .btn:active,
.portfolio-menu button:active,
.contact-submit:not(:disabled):active {
    filter: brightness(0.88);
}
@media (min-width: 992px) {
    .about-copy {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        column-gap: clamp(40px, 6vw, 88px);
        align-items: start;
    }
    .about-copy h2 {
        grid-column: 1;
        grid-row: 1 / span 3;
        max-width: 18ch;
        margin: 0;
    }
    .about-copy > p {
        grid-column: 2;
    }
    .about-areas-title {
        margin-top: 64px;
    }
}
/* Soft pointer spotlight; decorative and never intercepts input. */
.pointer-spotlight {
    position: fixed;
    inset: 0;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease-out;
    contain: strict;
}
.pointer-spotlight.is-visible {
    opacity: 1;
}
.pointer-spotlight::before {
    content: "";
    position: absolute;
    top: -600px;
    left: -600px;
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(53, 158, 239, 0.13), transparent 70%);
    transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0);
}
@media (max-width: 991.98px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .pointer-spotlight {
        display: none;
    }
}

/* Editorial proposal: strong type, real projects, quiet supporting motion. */
:root {
    --section-space: 96px;
}
#about,
#portfolio,
#contacto {
    padding-block: var(--section-space);
}
.intro-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    padding-block: 40px;
    min-height: 620px;
}
.intro-copy h1 {
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    max-width: 18ch;
    margin-bottom: 20px;
}
.intro-signature {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 16px;
}
.intro-description {
    max-width: 51ch;
    margin-bottom: 28px;
    line-height: 1.7;
}
.intro-skills {
    font-size: 14px;
    margin-top: 24px;
}
#particles-js {
    opacity: 0.48;
}
.intro-portrait img {
    max-height: 540px;
    object-fit: contain;
}
.intro-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}
.about-copy h2,
.portfolio-heading h2,
.contact-intro h2 {
    font-size: clamp(32px, 3.6vw, 48px);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.about-areas {
    display: block;
}
.about-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 88px);
    border: 0;
    border-top: 1px solid #26313d;
    border-radius: 0;
    background: transparent;
    padding: 32px 0;
}
.about-card h4 {
    margin: 0;
    font-size: 24px;
    max-width: 24ch;
}
.about-card .service-tools {
    margin-top: 14px;
    font-size: 14px;
    color: var(--link);
}
.about-sharing {
    padding-top: 40px;
    margin-top: 16px;
}
.portfolio-heading {
    text-align: left;
    margin-bottom: 32px;
}
.portfolio-heading p {
    margin-inline: 0;
    max-width: 60ch;
}
#portfolio .portfolio-menu {
    justify-content: flex-start !important;
    gap: 8px;
}
#portfolio .project-featured .portfolio-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
#portfolio .project-featured .portfolio-img > img {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: contain;
    background: #fff;
}
#portfolio .project-featured .portfolio-overlay {
    grid-column: 1;
    grid-row: 1;
    padding: 40px;
    display: flex;
    align-items: center;
}
#portfolio .project-featured h3 {
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: -0.025em;
}
.project-summary {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 24px 0;
}
#portfolio .project-visit {
    display: inline-flex;
    align-items: center;
    color: var(--link) !important;
    min-height: 44px;
    font-weight: 500;
}
@media (hover: hover) and (pointer: fine) {
    #portfolio .portfolio-box a:hover .project-visit {
        text-decoration: underline;
        text-underline-offset: 5px;
    }
}

@media (max-width: 991.98px) {
    .intro-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 32px;
    }
    .intro-copy h1 {
        max-width: 21ch;
        font-size: clamp(36px, 6vw, 54px);
    }
    .intro-portrait {
        max-width: 420px;
        margin-inline: auto;
        width: 100%;
    }
    .about-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .whats,
    #back-to-top {
        display: none !important;
    }
    #footer {
        padding-bottom: 32px;
    }
}
@media (max-width: 767px) {
    :root {
        --section-space: 64px;
    }
    .intro-grid {
        padding-block: 28px;
    }
    .intro-copy h1 {
        font-size: clamp(34px, 8.4vw, 40px);
    }
    .intro-signature {
        font-size: 21px;
    }
    .intro-description {
        font-size: 16px;
    }
    .intro-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .intro-portrait {
        max-width: 300px;
    }
    .intro-footer {
        font-size: 14px;
        gap: 16px;
    }
    .about-card {
        padding-block: 24px;
    }
    #portfolio .project-featured .portfolio-img {
        grid-template-columns: 1fr;
    }
    #portfolio .project-featured .portfolio-img > img {
        grid-column: 1;
        grid-row: 2;
        max-height: 340px;
    }
    #portfolio .project-featured .portfolio-overlay {
        padding: 24px;
    }
    .project-summary {
        margin-block: 16px;
        font-size: 16px;
    }
}
#portfolio .portfolio-box > a:focus {
    text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
    #portfolio .portfolio-box > a:hover {
        text-decoration: none;
    }
}

/* Wide displays, visual services and square project frames. */
@media (min-width: 1400px) {
    #home > .container {
        max-width: 1680px !important;
        width: 88%;
    }
    .intro-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: clamp(48px, 5vw, 120px);
    }
    .intro-copy h1 {
        font-size: clamp(56px, 3.3vw, 80px);
        max-width: 19ch;
    }
    .intro-description {
        font-size: clamp(17px, 1vw, 20px);
    }
    .intro-portrait {
        width: 100%;
        max-width: 640px;
        justify-self: end;
    }
    .intro-portrait img {
        max-height: 640px;
    }
}
@media (min-width: 992px) {
    #home {
        min-height: 100svh;
        display: flex;
        flex-direction: column;
    }
    #home > .container {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .intro-grid {
        flex: 1;
        min-height: 0;
    }
    .intro-footer {
        flex-shrink: 0;
    }
}
@media (min-width: 1400px) and (max-height: 850px) {
    .intro-grid {
        padding-block: 24px;
    }
    .intro-portrait img {
        max-height: 440px;
    }
    .intro-copy h1 {
        font-size: clamp(48px, 2.7vw, 68px);
    }
}
.about-areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.about-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    border: 1px solid #26394a;
    border-radius: 16px;
    background: #101820;
}
.service-icon {
    width: 44px;
    height: 44px;
    color: var(--link);
    flex-shrink: 0;
}
.about-card h4 {
    font-size: 23px;
    max-width: none;
}
.about-card > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.about-card .service-tools {
    margin-top: auto;
    padding-top: 20px;
}
#portfolio .portfolio-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    height: auto !important;
}
#portfolio .portfolio-filter > div {
    width: auto;
    max-width: none;
    padding: 0;
    min-width: 0;
}
#portfolio .portfolio-filter > div[hidden] {
    display: none !important;
}
#portfolio .project-featured {
    grid-column: 1 / -1;
}
#portfolio .portfolio-box {
    margin: 0 !important;
    height: 100%;
    overflow: hidden;
    border-radius: 12px !important;
}
#portfolio .portfolio-img > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #eef0f2;
}
#portfolio .portfolio-overlay {
    min-height: 110px;
    display: flex;
    align-items: center;
}
#portfolio .project-featured .portfolio-img > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: none;
    object-fit: contain;
}
@media (max-width: 767px) {
    .about-areas {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .about-card {
        padding: 24px;
        gap: 16px;
    }
    #portfolio .portfolio-filter {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    #portfolio .portfolio-overlay {
        min-height: 0;
    }
}
/* Gallery: preserve each work's original aspect ratio. */
#portfolio .portfolio-filter {
    display: block;
    columns: 3;
    column-gap: 28px;
}
#portfolio .portfolio-filter > div {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 0 0 28px;
    break-inside: avoid;
}
#portfolio .portfolio-box {
    height: auto;
    background: transparent;
    overflow: visible;
    border-radius: 0 !important;
}
#portfolio .portfolio-img,
#portfolio .project-featured .portfolio-img {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px !important;
    background: var(--surface);
}
#portfolio .portfolio-img > img,
#portfolio .project-featured .portfolio-img > img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    order: 0;
    border-radius: 0;
    background: transparent;
}
#portfolio .portfolio-overlay,
#portfolio .project-featured .portfolio-overlay {
    order: 1;
    min-height: 0;
    padding: 20px;
    display: block;
}
#portfolio .project-featured h3 {
    font-size: 18px;
    letter-spacing: normal;
}
#portfolio .project-summary {
    font-size: 15px;
    margin: 14px 0;
}
@media (max-width: 991.98px) {
    #portfolio .portfolio-filter {
        columns: 2;
        column-gap: 24px;
    }
}
@media (max-width: 575.98px) {
    #portfolio .portfolio-filter {
        columns: 1;
    }
    #portfolio .portfolio-filter > div {
        margin-bottom: 24px;
    }
}

/* Emil motion pass: fast feedback, stable navigation and an accessible gallery. */
:root {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --press-duration: 120ms;
}
.primary-menu.sticky-on {
    animation: none;
}
#header,
.navbar-toggler {
    transition: none;
}
.navbar-toggler span {
    transition:
        transform 180ms var(--ease-out),
        opacity 120ms ease;
}
#header .navbar-toggler span:nth-child(1),
#header .navbar-toggler span:nth-child(2),
#header .navbar-toggler span:nth-child(3),
#header .navbar-toggler.show span:nth-child(1),
#header .navbar-toggler.show span:nth-child(3) {
    top: 23px;
    left: 12px;
    width: 24px;
    transform-origin: center;
}
#header .navbar-toggler span:nth-child(1) {
    transform: translateY(-7px);
}
#header .navbar-toggler span:nth-child(3) {
    transform: translateY(7px);
}
#header .navbar-toggler.show span:nth-child(1) {
    transform: rotate(45deg);
}
#header .navbar-toggler.show span:nth-child(2) {
    width: 24px;
    transform: scaleX(0.5);
    opacity: 0;
}
#header .navbar-toggler.show span:nth-child(3) {
    transform: rotate(-45deg);
}
button,
a {
    touch-action: manipulation;
}
button,
.intro-button,
.contact-links a {
    -webkit-user-select: none;
    user-select: none;
}
.intro-copy > * {
    animation: none;
}
@media (prefers-reduced-motion: no-preference) {
    .section-enter {
        animation-duration: 300ms;
        animation-timing-function: var(--ease-out);
    }
    @keyframes section-enter {
        from {
            opacity: 0.75;
            translate: 0 8px;
        }
        to {
            opacity: 1;
            translate: 0 0;
        }
    }
}
.intro-button,
.about-actions .btn,
.contact-links a,
.contact-submit,
.portfolio-menu button {
    transition:
        transform var(--press-duration) var(--ease-out),
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}
.intro-button:active,
.about-actions .btn:active,
.contact-links a:active,
.contact-submit:not(:disabled):active,
.portfolio-menu button:active {
    transform: scale(0.97);
    filter: none;
}
.contact-form[aria-busy="true"] .contact-submit {
    cursor: progress;
}
@media (prefers-reduced-motion: reduce) {
    .intro-button:active,
    .about-actions .btn:active,
    .contact-links a:active,
    .contact-submit:not(:disabled):active,
    .portfolio-menu button:active {
        transform: none;
    }
}

/* Row-first flow: new projects fill the next free cell automatically. */
#portfolio .portfolio-filter {
    display: grid;
    columns: auto;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 28px;
    align-items: start;
}
#portfolio .portfolio-filter > div {
    display: block;
    width: 100%;
    margin: 0;
    grid-column: auto;
    min-width: 0;
}
#portfolio .portfolio-img > img {
    transform: none;
    filter: none;
}
@media (max-width: 575.98px) {
    #portfolio .portfolio-filter {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Portfolio rows stack using native scroll, with equal-height frames. */
#portfolio {
    overflow: visible;
}
#portfolio .portfolio-filter {
    align-items: stretch;
    grid-auto-rows: 1fr;
    gap: 32px 28px;
    isolation: isolate;
    padding-bottom: 40px;
}
#portfolio .portfolio-filter > div {
    align-self: stretch;
}
#portfolio .portfolio-box,
#portfolio .portfolio-box > a {
    display: block;
    height: 100%;
}
#portfolio .portfolio-img,
#portfolio .project-featured .portfolio-img {
    height: 100%;
    background: #101820;
    border: 1px solid #26394a;
}
#portfolio .portfolio-img > img,
#portfolio .project-featured .portfolio-img > img {
    height: clamp(220px, 24vw, 340px);
    width: 100%;
    object-fit: contain;
    background: #edf0f1;
    flex-shrink: 0;
}
#portfolio .portfolio-overlay {
    flex: 1;
    background: #101820;
}

@media (max-width: 575.98px) {
    #portfolio .portfolio-img > img,
    #portfolio .project-featured .portfolio-img > img {
        height: 260px;
    }
}

/* Shipping polish: legible cards, keyboard focus and native touch feedback. */
html {
    scroll-padding-top: 96px;
}
body {
    background: #070b10;
}
::selection {
    color: #06121d;
    background: #72c6ff;
}
input,
textarea {
    caret-color: var(--link);
}
button,
.btn,
.portfolio-menu button {
    touch-action: manipulation;
}
#portfolio .portfolio-img,
#portfolio .project-featured .portfolio-img {
    display: flex;
}
#portfolio .portfolio-img > img,
#portfolio .project-featured .portfolio-img > img {
    flex: 1 1 auto;
    min-height: 220px;
}
#portfolio .portfolio-overlay,
#portfolio .project-featured .portfolio-overlay {
    flex: 0 0 auto;
}
#portfolio .portfolio-overlay-details {
    text-align: left;
}

#portfolio a {
    scroll-margin-top: 100px;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
@media (max-width: 991.98px) {
    #header-nav.show {
        background: #070b10;
    }
}

/* All projects: natural image ratios and continuous columns, without letterboxing. */
#portfolio .portfolio-filter.natural-gallery {
    display: block;
    columns: 3;
    column-gap: 28px;
    padding-bottom: 0;
}
#portfolio .portfolio-filter.natural-gallery > div {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 0 0 28px;
    break-inside: avoid;
    position: relative;
    top: auto;
}
#portfolio .natural-gallery .portfolio-box,
#portfolio .natural-gallery .portfolio-box > a,
#portfolio .natural-gallery .portfolio-img {
    height: auto;
}
#portfolio .natural-gallery .portfolio-img > img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    flex: none;
    background: transparent;
}
@media (max-width: 991.98px) {
    #portfolio .portfolio-filter.natural-gallery {
        columns: 2;
    }
}
@media (max-width: 575.98px) {
    #portfolio .portfolio-filter.natural-gallery {
        columns: 1;
    }
}

/* Small categories must not stack their only two results in the first column. */
#portfolio .portfolio-filter.natural-gallery.few-results {
    display: grid;
    columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: start;
}
#portfolio .natural-gallery.few-results > div {
    align-self: start;
    margin-bottom: 0;
}
@media (max-width: 991.98px) {
    #portfolio .portfolio-filter.natural-gallery.few-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    #portfolio .portfolio-filter.natural-gallery.few-results {
        grid-template-columns: 1fr;
    }
}

/* Primary content is visible from the first paint. */
.intro-copy h1,
.intro-portrait {
    animation: none;
}
