/* Shared components: header, footer, buttons, cards, sliders, forms */

/* ---------- Buttons ---------- */
.btn { --bs-btn-padding-x: 1.35rem; --bs-btn-padding-y: .65rem; --bs-btn-font-weight: 600; --bs-btn-border-radius: 999px; font-family: var(--font-heading); font-size: .9375rem; }
.btn-lg { --bs-btn-padding-x: 1.9rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 999px; }
.btn-primary {
  --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand);
}
.btn-outline-light { --bs-btn-hover-color: var(--navy); }
.btn i { margin-left: .4rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-family: var(--font-heading); font-weight: 600; color: var(--brand); }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
#header { position: sticky; top: 0; z-index: 1030; min-height: var(--header-h); background: var(--surface); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 36, 64, .08); }
.navbar { min-height: var(--header-h); padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { height: 40px; width: auto; }
.brand-text { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 800; letter-spacing: .02em; color: var(--ink); line-height: 1; }
.brand-text span { margin-left: .45rem; padding-left: .5rem; border-left: 2px solid var(--brand); font-weight: 400; }
.nav-link { font-family: var(--font-heading); font-size: .9375rem; font-weight: 600; color: var(--ink); padding-block: .7rem !important; padding-inline: 0 !important; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand); }
.nav-link[aria-current="true"] { color: var(--brand); }
.dropdown-menu { --bs-dropdown-border-color: var(--line); --bs-dropdown-border-radius: var(--radius-sm); --bs-dropdown-link-hover-bg: var(--brand-tint); --bs-dropdown-link-hover-color: var(--brand-dark); --bs-dropdown-link-active-bg: var(--brand); --bs-dropdown-padding-y: .25rem; padding-left: .75rem; border: 0; }
.dropdown-item { padding: .7rem 1.1rem; font-family: var(--font-heading); font-size: .9rem; font-weight: 600; color: var(--ink); }
.dropdown-item[aria-current="page"] { color: var(--brand); }
.navbar-collapse { padding-block: .75rem 1.25rem; }
.navbar-toggler { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; font-size: 1.9rem; color: var(--ink); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Inner page header ---------- */
.page-header { position: relative; padding-block: clamp(4rem, 9vw, 7rem); color: rgba(255, 255, 255, .85); background: var(--navy) center / cover no-repeat; }
.page-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 36, 64, .92), rgba(10, 81, 103, .7)); }
.page-header .container { position: relative; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.page-header .eyebrow { color: var(--brand-light); }
.page-header p { max-width: 38rem; margin-bottom: 0; font-size: 1.125rem; }

/* ---------- Cards and tiles ---------- */
.card-feature { height: 100%; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.card-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-feature p { margin-bottom: 0; }
.icon-badge { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem; font-size: 1.5rem; color: var(--brand); background: var(--brand-tint); border-radius: var(--radius-sm); }

.tile { position: relative; display: block; height: 100%; min-height: 17rem; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--navy); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 36, 64, 0) 35%, rgba(13, 36, 64, .88)); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1.5rem; }
.tile-body h3 { margin: 0 0 .25rem; color: #fff; }
.tile-body p { margin: 0; font-size: .9375rem; color: rgba(255, 255, 255, .82); }

.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--brand); font-size: 1.125rem; }

/* ---------- Closing call to action ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem); color: rgba(255, 255, 255, .85); background: linear-gradient(120deg, var(--brand-dark), var(--blue)); border-radius: var(--radius); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 34rem; margin-bottom: 0; }

/* ---------- Slick ---------- */
.slider-wrap { min-width: 0; }
.js-slider:not(.slick-initialized) > *:not(:first-child) { display: none !important; }
.slider-controls { display: flex; align-items: center; gap: .9rem; }
.slider-arrow { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; font-size: 1.125rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; transition: background .2s, color .2s, border-color .2s; }
.slider-arrow:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.slider-arrow.slick-disabled { opacity: .4; pointer-events: none; }
.slider-count { min-width: 3.5rem; text-align: center; font-family: var(--font-heading); font-weight: 700; color: var(--ink); }

/* ---------- Forms ---------- */
.contact-form { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.form-control, .form-select { padding: .75rem 1rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem var(--brand-tint); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(3rem, 6vw, 4.5rem); color: rgba(255, 255, 255, .72); background: var(--navy); font-size: .9375rem; }
.site-footer .brand img { height: 52px; padding: .3rem; background: #fff; border-radius: var(--radius-sm); }
.site-footer .brand-text { color: #fff; }
.site-footer h2 { margin-bottom: 1.1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin-bottom: .1rem; }
.footer-links a { display: inline-block; padding-block: .55rem; }
.footer-contact li { align-items: baseline; margin-bottom: .5rem; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .75rem; }
.footer-contact i { color: var(--brand-light); }
.social-link { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: .35rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; transition: background .2s, border-color .2s; }
.social-link:hover { background: var(--brand); border-color: var(--brand); }
.footer-bottom { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }

/* ---------- WhatsApp button ---------- */
.whatsapp-btn { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; font-size: 1.75rem; color: #fff; background: #1fa855; border-radius: 50%; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transition: transform .2s; }
.whatsapp-btn:hover { color: #fff; transform: scale(1.08); }

/* ---------- Larger screens ---------- */
@media (min-width: 576px) {
  .brand img { height: 46px; }
  .brand-text { font-size: 1.25rem; }
}
@media (min-width: 992px) {
  .navbar-collapse { padding-block: 0; }
  .nav-link { padding-block: .5rem !important; padding-inline: 1rem !important; }
  .dropdown-menu { --bs-dropdown-padding-y: .5rem; padding-left: 0; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .dropdown-item { padding: .55rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .card-feature, .tile img, .whatsapp-btn { transition: none; }
}
