/* Albario Hawk Eye — static site styles (Bootstrap 5.3 companion) */
:root {
  --accent: #00bcd4;
  --accent-dark: #0097aa;
  --dark: #3c3950;
  --darker: #212331;
  --darkest: #181828;
  --text: #5f727f;
  --muted: #99a9b5;
  --light-bg: #f0f3f2;
  --border: #dfe5e8;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text);
  --bs-link-color: var(--accent-dark);
  --bs-link-color-rgb: 0, 151, 170;
  --bs-link-hover-color: var(--dark);
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: #fff; overflow-x: clip; }
h1, h2, h3, h4, h5, h6, .title-h1, .title-h2, .title-h3, .title-h4, .title-h5, .title-h6, .title-xlarge {
  font-family: var(--font-head); color: var(--dark); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25;
}
h1, .title-h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h2, .title-h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3, .title-h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4, .title-h4 { font-size: 1.35rem; }
h5, .title-h5 { font-size: 1.1rem; }
h6, .title-h6 { font-size: 1rem; }
.title-xlarge { font-size: clamp(2.4rem, 6vw, 5rem); }
.title-h1, .title-h2, .title-h3, .title-h4, .title-h5, .title-h6 { display: block; margin-bottom: .5rem; }
.light, h1 .light, h2 .light, h3 .light { font-weight: 300; }
a { text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; }
p { margin-bottom: 1rem; }
ul { padding-left: 1.25rem; }
::selection { background: var(--accent); color: #fff; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--accent); color: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- buttons */
.btn-gem {
  --btn-bg: var(--accent); --btn-color: #fff; --btn-hover-bg: var(--dark); --btn-hover-color: #fff; --btn-border: var(--btn-bg); --btn-hover-border: var(--btn-hover-bg);
  background: var(--btn-bg); color: var(--btn-color); border: 2px solid var(--btn-border); font-family: var(--font-head);
  text-transform: uppercase; font-weight: 600; letter-spacing: .05em; font-size: .85rem; padding: .7rem 1.6rem; border-radius: 4px;
}
.btn-gem:hover, .btn-gem:focus-visible { background: var(--btn-hover-bg); color: var(--btn-hover-color); border-color: var(--btn-hover-border); }
.btn-gem.btn-sm { font-size: .75rem; padding: .45rem 1.1rem; }
.btn-gem.btn-lg { font-size: .95rem; padding: .9rem 2rem; }
.btn-gem.btn-gem-outline { background: transparent; --btn-border: var(--accent); --btn-color: var(--accent-dark); color: var(--btn-color); }
.btn-gem.btn-gem-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-gem-outline-light { border: 3px double #fff; color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; padding: .8rem 2.2rem; border-radius: 0; }
.btn-gem-outline-light:hover { background: #fff; color: var(--dark); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(0, 188, 212, .55); outline-offset: 2px; box-shadow: none; }

/* ---------- top area & header */
.top-area { background: #393d50; color: var(--muted); font-size: .9rem; padding: .45rem 0; border-bottom: 2px solid var(--accent); }
.top-area a { color: var(--muted); }
.top-area a:hover { color: #fff; }
.top-area i { color: var(--muted); margin-right: .25rem; }
.top-socials a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.btn-top { background: var(--muted); color: #fff !important; font-family: var(--font-head); font-size: .72rem; text-transform: uppercase; font-weight: 600; padding: .35rem 1rem; border-radius: 3px; }
.btn-top:hover { background: var(--accent); }
.site-header { background: #fff; box-shadow: 0 1px 0 var(--border); transition: box-shadow .2s; z-index: 1030; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(33, 35, 49, .1); }
.navbar { padding: .6rem 0; }
.navbar-brand img { width: 164px; height: auto; transition: width .2s; }
.site-header.scrolled .navbar-brand img { width: 132px; }
.main-menu { font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; font-weight: 600; letter-spacing: .03em; }
.main-menu > .nav-item > .nav-link-wrap > .nav-link, .main-menu > .nav-item > .nav-link { color: var(--dark); padding: 1.4rem .9rem; position: relative; }
.main-menu > .nav-item > .nav-link::after, .main-menu > .nav-item > .nav-link-wrap > .nav-link::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: 1rem; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.main-menu > .nav-item:hover > .nav-link::after, .main-menu > .nav-item:hover > .nav-link-wrap > .nav-link::after,
.main-menu > .nav-item > .nav-link.active::after, .main-menu > .nav-item > .nav-link-wrap > .nav-link.active::after { transform: scaleX(1); }
.main-menu .nav-link.active { color: var(--accent-dark) !important; }
.nav-link-wrap { display: flex; align-items: center; }
.sub-toggle { border: 0; background: transparent; color: inherit; padding: .25rem .5rem; line-height: 1; }
.submenu { list-style: none; margin: 0; padding: 0; }
.submenu .nav-link { color: var(--dark); padding: .65rem 1.2rem; font-weight: 400; text-transform: none; font-size: .95rem; font-family: var(--font-body); }
.submenu .nav-link:hover, .submenu .nav-item:hover > .nav-link-wrap > .nav-link { color: var(--accent-dark); }

@media (min-width: 1200px) {
  .main-menu > .nav-item > .nav-link-wrap .sub-toggle { padding-left: 0; margin-left: -.6rem; font-size: .7rem; }
  .main-menu .nav-item { position: relative; }
  .submenu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; box-shadow: 0 10px 30px rgba(33, 35, 49, .14); border-top: 3px solid var(--accent);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 10; }
  .submenu .submenu { top: -3px; left: 100%; }
  .main-menu > .nav-item:nth-last-child(-n+2) .submenu .submenu { left: auto; right: 100%; }
  .nav-item:hover > .submenu, .nav-item:focus-within > .submenu, .nav-item.open > .submenu { opacity: 1; visibility: visible; transform: none; }
  .submenu .nav-item + .nav-item { border-top: 1px solid #eef1f2; }
  .submenu .sub-toggle { transform: rotate(-90deg); margin-left: auto; margin-right: .5rem; font-size: .7rem; }
}
@media (max-width: 1199.98px) {
  .navbar-collapse { max-height: calc(100vh - 80px); overflow-y: auto; border-top: 1px solid var(--border); margin-top: .6rem; }
  .main-menu > .nav-item > .nav-link-wrap > .nav-link, .main-menu > .nav-item > .nav-link { padding: .8rem 0; }
  .main-menu > .nav-item > .nav-link::after, .main-menu > .nav-item > .nav-link-wrap > .nav-link::after { display: none; }
  .main-menu .nav-item { border-bottom: 1px solid #eef1f2; }
  .nav-link-wrap { justify-content: space-between; }
  .sub-toggle { padding: .6rem .9rem; font-size: 1rem; }
  .sub-toggle i { display: inline-block; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
  .submenu { display: none; padding-left: 1rem; border-left: 2px solid var(--accent); margin-bottom: .5rem; }
  .nav-item.open > .submenu { display: block; }
  .submenu .nav-link { padding: .5rem 0; }
  .submenu .nav-item { border-bottom: 0; }
}

/* ---------- hero */
.hero .carousel-item { min-height: clamp(420px, 70vh, 680px); background-size: cover; background-position: center; position: relative; }
.hero .carousel-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 24, 40, .78), rgba(24, 24, 40, .25)); }
.hero-content { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 5rem 1rem; }
.hero-kicker { color: var(--accent); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-weight: 600; font-size: .9rem; }
.hero-title { color: #fff; font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 300; margin-bottom: 2rem; }
.hero-title span { font-weight: 700; color: var(--accent); }
.hero .carousel-item.active .hero-content > * { animation: heroIn .9s both; }
.hero .carousel-item.active .hero-title { animation-delay: .15s; }
.hero .carousel-item.active .btn { animation-delay: .3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- page title */
.page-title { position: relative; background-color: var(--darker); background-size: cover; background-position: center; padding: clamp(60px, 10vw, 120px) 0 clamp(50px, 8vw, 90px); }
.page-title::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 188, 212, .55), rgba(53, 64, 147, .65)); }
.page-title .container { position: relative; }
.page-title-text { color: #fff; font-size: clamp(1.8rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.breadcrumb { margin: 0; font-size: .9rem; }
.breadcrumb-item a { color: #fff; }
.breadcrumb-item a:hover { color: #b8f4fc; }
.breadcrumb-item.active { color: #b8f4fc; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .7); }

/* ---------- builder layout */
.page-content { padding: 3rem 0 2rem; }
.vc-row { position: relative; margin-bottom: 35px; }
.vc-row[class*="vc_custom_"] { background-size: cover; background-position: center; }
.vc-col-inner { height: 100%; }
.vc-row > .container > .row > .vc-col > .vc-col-inner, .vc-row-inner > .vc-col > .vc-col-inner { padding-top: 10px; }
.vc-col-inner:has(> .gem-fullwidth) { padding-top: 0 !important; }
.vc-row-inner { margin-bottom: 15px; }
.vc-section { position: relative; }
.vc-heading { margin-bottom: .9rem; }
.vc-heading a { color: inherit; }
.vc-text { margin-bottom: 1.2rem; }
.vc-text ul li { margin-bottom: .35rem; }
.vc-image { margin: 0 0 1.5rem; }
.vc-image img { border-radius: 2px; }
.vc-image a.lightbox { display: inline-block; overflow: hidden; }
.vc-image a.lightbox img { transition: transform .4s; }
.vc-image a.lightbox:hover img { transform: scale(1.04); }
.container-fluid.px-0 .vc-image { margin-bottom: 0; }
.container-fluid.px-0 .vc-image img { width: 100%; }
.spacer { width: 100%; }
.gem-divider { border-top: 1px solid var(--border); opacity: 1; }
.page-content > .vc-row:first-child { margin-top: -1rem; }

.gem-fullwidth { position: relative; width: 100vw; left: 50%; margin-left: -50vw; background-size: cover; background-position: center; padding: 60px 0; }
.gem-fullwidth.has-bg-image::before { content: ''; position: absolute; inset: 0; background: rgba(24, 24, 40, .55); }
.gem-fullwidth > .container { position: relative; }
.gem-fullwidth.parallax { background-attachment: fixed; }
@media (hover: none), (max-width: 991px) { .gem-fullwidth.parallax { background-attachment: scroll; } }
.gem-fullwidth.has-bg-image h1, .gem-fullwidth.has-bg-image h2, .gem-fullwidth.has-bg-image h3, .gem-fullwidth.has-bg-image p { color: #fff; }

/* quickfinders */
.quickfinders { margin-bottom: 2rem; }
.quickfinder-item { background: #fff; border: 1px solid var(--border); padding: 2.2rem 1.8rem; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.quickfinder-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(33, 35, 49, .1); border-color: transparent; }
.qf-icon { width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--dark); transition: all .25s; }
.quickfinder-item:hover .qf-icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.qf-title { font-size: 1.05rem; margin-bottom: .8rem; }
.qf-title a { color: var(--dark); }
.qf-title a:hover { color: var(--accent-dark); }
.qf-desc { font-size: .98rem; margin-bottom: 0; }

/* counters */
.counter-icon { width: 72px; height: 72px; border: 2px solid; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1rem; }
.counter-number { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.1; }
.counter-text { font-family: var(--font-head); text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; margin-top: .4rem; }

/* textbox */
.gem-textbox { margin-bottom: 1.5rem; }
.gem-textbox-content { padding: 2rem; background: #fff; border: 1px solid var(--border); border-radius: 3px; }
.gem-textbox-content[style*="background-color"], .gem-textbox-content[style*="background-image"] { border-color: transparent; }
.vc-col[class*="vc_custom_"] .vc-col-inner > .gem-textbox:only-child, .vc-col[class*="vc_custom_"] .vc-col-inner > .gem-textbox:only-child > .gem-textbox-content { height: 100%; }
.vc-col[class*="vc_custom_"] .gem-textbox-content { background-color: transparent; border: 0; }
.vc-col[class*="vc_custom_"] .gem-textbox { margin-bottom: 0; }
.gem-textbox.has-picture .gem-textbox-content { padding: 0 0 1.5rem; overflow: hidden; }
.gem-textbox.has-picture .gem-textbox-content > :not(.textbox-picture) { padding-left: 1.5rem; padding-right: 1.5rem; }
.textbox-picture { margin-bottom: 1.2rem; }
.textbox-picture img { width: 100%; }
.gem-icon { margin-bottom: .8rem; }

/* lists, tables, quotes */
.gem-list ul { list-style: none; padding-left: 0; }
.gem-list li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; }
.gem-list li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--accent); }
.table { --bs-table-striped-bg: #f4f6f7; font-size: .98rem; }
.table th, .table thead td { background: var(--dark); color: #fff; font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; }
.gem-quote { border-left: 4px solid var(--accent); background: #f4f6f7; padding: 1.5rem 2rem; font-size: 1.15rem; font-style: italic; margin: 1.5rem 0; }
.text-separator { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; font-family: var(--font-head); text-transform: uppercase; color: var(--dark); font-weight: 600; }
.text-separator::before, .text-separator::after { content: ''; flex: 1; border-top: 1px solid var(--border); }
.vc-sep { border-top-width: 2px; margin: 1rem auto; }

/* tabs */
.gem-tour .nav-pills .nav-link { text-align: left; border-radius: 0; color: var(--dark); border: 1px solid var(--border); margin-bottom: -1px; font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; font-weight: 600; padding: .9rem 1.2rem; }
.gem-tour .nav-pills .nav-link.active, .gem-tabs .nav-pills .nav-link.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.gem-tabs .nav-pills .nav-link { color: var(--dark); font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; }

/* hoverbox */
.hoverbox { position: relative; min-height: 340px; perspective: 1000px; margin-bottom: 1.5rem; }
.hoverbox-front, .hoverbox-back { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 2rem; backface-visibility: hidden; transition: transform .6s; border-radius: 4px; overflow: auto; }
.hoverbox-front { background-size: cover; background-position: center; }
.hoverbox-front::before { content: ''; position: absolute; inset: 0; background: rgba(24, 24, 40, .45); border-radius: inherit; }
.hoverbox-front h3 { position: relative; color: #fff; }
.hoverbox-back { background: var(--dark); color: #dfe5e8; transform: rotateY(180deg); }
.hoverbox-back h3 { color: #fff; font-size: 1.15rem; }
.hoverbox:hover .hoverbox-front, .hoverbox:focus .hoverbox-front { transform: rotateY(-180deg); }
.hoverbox:hover .hoverbox-back, .hoverbox:focus .hoverbox-back { transform: rotateY(0); }

/* gallery / carousel / map */
.gallery-item { display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; background: #eef1f2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(.85); }
.gem-carousel { border-radius: 4px; overflow: hidden; }
.gem-carousel img { object-fit: cover; }
.map-embed { position: relative; height: clamp(320px, 45vw, 480px); margin: -3rem 0 2rem; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* forms */
.contact-form .form-control { border-radius: 3px; border-color: #c6d3d6; padding: .8rem 1rem; background: #fff; }
.contact-form .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(0, 188, 212, .2); }
.input-icon { position: relative; }
.input-icon i { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: #b6c6c9; pointer-events: none; }
.input-icon .form-control { padding-right: 2.6rem; }
.was-validated .input-icon .form-control:invalid, .was-validated .input-icon .form-control:valid { background-image: none; }
.was-validated .col-md-4:has(:invalid) .invalid-feedback { display: block; }
.signup-form { max-width: 560px; }
.signup-form .form-control { border-radius: 3px 0 0 3px; }
.signup-form .btn { border-radius: 0 3px 3px 0; }
.signup-form.was-validated:has(:invalid) .invalid-feedback { display: block; text-align: center; }
.form-status.success { color: #198754; }

/* socials */
.social-btn { --soc: var(--accent); width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--soc); color: #fff !important; font-size: 1.15rem; transition: transform .2s, background .2s; }
.social-btn:hover { transform: translateY(-3px); background: var(--dark); }

/* child cards, placeholders, sitemap */
.section-title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.child-card { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.3rem; border: 1px solid var(--border); border-radius: 4px; color: var(--dark); font-family: var(--font-head); font-weight: 600; font-size: .92rem; background: #fff; transition: all .2s; }
.child-card > .bi:first-child { color: var(--accent); font-size: 1.3rem; }
.child-card:hover { border-color: var(--accent); box-shadow: 0 10px 26px rgba(33, 35, 49, .08); color: var(--accent-dark); }
.placeholder-box { text-align: center; padding: 3rem 2rem; background: #f4f6f7; border-radius: 6px; }
.related-list { columns: 2; padding-left: 1.2rem; }
@media (max-width: 575px) { .related-list { columns: 1; } }
.sitemap ul { list-style: none; padding-left: 1.2rem; border-left: 1px solid var(--border); }
.sitemap > .row > div > ul { border-left: 0; padding-left: 0; }
.sitemap li { margin: .35rem 0; }
.sitemap a { font-weight: 600; }

/* footer */
.footer-cta { background: var(--accent); padding: 2.2rem 0; }
.site-footer { color: var(--muted); }
.footer-widgets { background: var(--darker); padding: 4rem 0 3rem; }
.footer-logo { width: 164px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.widget-title { color: #feffff; font-size: 1rem; margin-bottom: 1.3rem; }
.footer-links li, .footer-contacts li { margin-bottom: .55rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.footer-contacts li { display: flex; gap: .7rem; }
.footer-contacts i { color: var(--accent); margin-top: .15rem; }
.footer-bottom { background: var(--darkest); padding: 1.3rem 0; font-size: .92rem; }
.footer-bottom a { color: var(--accent) !important; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; opacity: 0; visibility: hidden; transition: all .25s; z-index: 1040; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--dark); color: #fff; }

/* lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(15, 15, 25, .92); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 3rem 4rem; }
.lightbox-overlay[hidden] { display: none; }
.lightbox-overlay img { max-width: 100%; max-height: 100%; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox-overlay button { position: absolute; background: transparent; border: 0; color: #fff; font-size: 2rem; line-height: 1; padding: .5rem 1rem; }
.lb-close { top: .5rem; right: .5rem; font-size: 2.6rem !important; }
.lb-prev { left: .25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 575px) { .lightbox-overlay { padding: 3rem .5rem; } }

/* ================= MOTION ================= */
:root { --ease-out: cubic-bezier(.22, .61, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* scroll-triggered entrances (hidden state only applies once JS has tagged the element) */
.js [data-anim] { opacity: 0; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), clip-path 1s var(--ease-out), filter .8s var(--ease-out); transition-delay: var(--anim-delay, 0ms); will-change: opacity, transform; }
.js [data-anim="up"] { transform: translate3d(0, 40px, 0); }
.js [data-anim="left"] { transform: translate3d(-60px, 0, 0); }
.js [data-anim="right"] { transform: translate3d(60px, 0, 0); }
.js [data-anim="zoom"] { transform: scale(.92); filter: blur(6px); }
.js [data-anim="pop"] { transform: scale(.4) rotate(-12deg); transition-timing-function: var(--ease-out), var(--ease-spring); }
.js [data-anim="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); }
.js [data-anim].in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
.js [data-anim].in { will-change: auto; }

/* page entrance + transitions between pages */
.js body { animation: pageIn .55s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.page-leaving body { animation: pageOut .25s ease forwards; }
@keyframes pageOut { from { opacity: 1; } to { opacity: 0; } }
.js .site-header { animation: dropIn .7s var(--ease-out) both; }
.js .top-area { animation: fadeDown .6s var(--ease-out) both; }
@keyframes dropIn { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeDown { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.js .main-menu > .nav-item { animation: fadeDown .5s var(--ease-out) both; }
.js .main-menu > .nav-item:nth-child(1) { animation-delay: .25s; }
.js .main-menu > .nav-item:nth-child(2) { animation-delay: .32s; }
.js .main-menu > .nav-item:nth-child(3) { animation-delay: .39s; }
.js .main-menu > .nav-item:nth-child(4) { animation-delay: .46s; }
.js .main-menu > .nav-item:nth-child(5) { animation-delay: .53s; }
@media (max-width: 1199.98px) { .js .main-menu > .nav-item { animation: none; } }

/* page title: slow zoom background, staggered text, subtle parallax */
.page-title { overflow: hidden; background-position: center calc(50% + var(--parallax, 0px)); }
.page-title::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 120px; height: 3px; background: var(--accent); transform: translateX(-50%) scaleX(0); animation: lineGrow .9s .7s var(--ease-out) forwards; }
@keyframes lineGrow { to { transform: translateX(-50%) scaleX(1); } }
.js .page-title-text { animation: titleIn 1s .15s var(--ease-out) both; }
.js .page-title .breadcrumb, .js .page-title p { animation: titleIn .9s .4s var(--ease-out) both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(30px); letter-spacing: .12em; } to { opacity: 1; transform: none; } }

/* hero: Ken Burns background + text entrance */
.hero .carousel-item { overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.18); transition: transform 9s linear; }
.hero .carousel-item.active .hero-bg { transform: scale(1); }
.hero .carousel-item::before { z-index: 1; }
.hero .carousel-item.active .hero-kicker { animation: slideRight .8s .2s var(--ease-out) both; }
.hero .carousel-item.active .hero-title { animation: heroIn 1s .4s var(--ease-out) both; }
.hero .carousel-item.active .btn { animation: heroIn .9s .75s var(--ease-out) both; }
@keyframes slideRight { from { opacity: 0; transform: translateX(-40px); letter-spacing: .5em; } to { opacity: 1; transform: none; } }
.hero-title span { background: linear-gradient(90deg, var(--accent), #6ee7f5, var(--accent)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #354093); transform-origin: 0 50%; transform: scaleX(0); z-index: 2001; pointer-events: none; }

/* buttons: light sweep */
.btn-gem, .btn-gem-outline-light, .btn-top { position: relative; overflow: hidden; isolation: isolate; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.btn-gem::after, .btn-gem-outline-light::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); z-index: -1; transition: left .6s var(--ease-out); }
.btn-gem:hover::after, .btn-gem-outline-light:hover::after { left: 130%; }
.btn-gem:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 151, 170, .28); }
.btn-gem:active { transform: translateY(0); }

/* images: gentle zoom on hover */
.vc-image img, .textbox-picture img { transition: transform .8s var(--ease-out), box-shadow .4s; }
.vc-image:hover img { transform: scale(1.03); }
.vc-image { overflow: hidden; }
.textbox-picture { overflow: hidden; }
.gem-textbox:hover .textbox-picture img { transform: scale(1.06); }

/* cards */
.quickfinder-item { position: relative; overflow: hidden; }
.quickfinder-item::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.quickfinder-item:hover::before { transform: scaleX(1); }
.quickfinder-item:hover .qf-icon { animation: pulseRing 1.2s var(--ease-out); }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(0, 188, 212, .5); } 100% { box-shadow: 0 0 0 18px rgba(0, 188, 212, 0); } }
.child-card .bi-arrow-right { transition: transform .3s var(--ease-out); }
.child-card:hover { transform: translateY(-3px); }
.child-card:hover .bi-arrow-right { transform: translateX(5px); }
.gem-textbox-content { transition: transform .4s var(--ease-out), box-shadow .4s; }
.gem-textbox:hover .gem-textbox-content { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(33, 35, 49, .1); }
.vc-col[class*="vc_custom_"] .gem-textbox:hover .gem-textbox-content { transform: none; box-shadow: none; }
.gem-counter .counter-icon { transition: transform .5s var(--ease-spring); }
.gem-counter:hover .counter-icon { transform: rotate(-10deg) scale(1.1); }
.social-btn { transition: transform .3s var(--ease-spring), background .2s; }
.social-btn:hover { transform: translateY(-4px) scale(1.08); }

/* footer links slide */
.footer-links a { display: inline-block; transition: color .2s, transform .25s var(--ease-out); }
.footer-links a:hover { transform: translateX(5px); }

/* submenu items cascade in (desktop) */
@media (min-width: 1200px) {
  .submenu > .nav-item { opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s var(--ease-out); }
  .nav-item:hover > .submenu > .nav-item, .nav-item:focus-within > .submenu > .nav-item, .nav-item.open > .submenu > .nav-item { opacity: 1; transform: none; }
  .submenu > .nav-item:nth-child(2) { transition-delay: .03s; } .submenu > .nav-item:nth-child(3) { transition-delay: .06s; }
  .submenu > .nav-item:nth-child(4) { transition-delay: .09s; } .submenu > .nav-item:nth-child(5) { transition-delay: .12s; }
  .submenu > .nav-item:nth-child(6) { transition-delay: .15s; } .submenu > .nav-item:nth-child(n+7) { transition-delay: .18s; }
}

/* lightbox open */
.lightbox-overlay:not([hidden]) { animation: pageIn .3s ease both; }
.lightbox-overlay:not([hidden]) img { animation: lbZoom .4s var(--ease-out) both; }
@keyframes lbZoom { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-anim] { opacity: 1; transform: none; filter: none; clip-path: none; }
  .hero-bg { transform: none; }
}

/* page-builder paddings are too wide for phones */
@media (max-width: 767.98px) {
  [class*="vc_custom_"] { padding-left: 12px !important; padding-right: 12px !important; }
  .vc-heading[class*="vc_custom_"] { margin-top: 1.5rem !important; }
  .container-fluid.px-0 > .row { margin: 0; }
  .page-content { padding-top: 2rem; }
}
