/* Modernized SWISSGROUP frontend */

:root {
    --bg: #f4f6f1;
    --bg-elevated: rgba(255, 255, 255, 0.8);
    --surface: #ffffff;
    --surface-strong: #fbfcf8;
    --text: #17211f;
    --text-soft: #5e6b67;
    --text-muted: #7c8b86;
    --line: rgba(23, 33, 31, 0.08);
    --line-strong: rgba(23, 33, 31, 0.14);
    --primary-color: #0f766e;
    --primary-strong: #0a5e58;
    --accent-color: #d97706;
    --success-color: #1f9d68;
    --danger-color: #dc3545;
    --dark-color: #17211f;
    --light-color: #eef3ef;
    --white: #ffffff;
    --hero-gradient: radial-gradient(circle at top left, rgba(15, 118, 110, 0.2), transparent 34%), linear-gradient(135deg, #163530 0%, #0f766e 50%, #1f9d68 100%);
    --page-gradient: radial-gradient(circle at top left, rgba(15, 118, 110, 0.09), transparent 26%), radial-gradient(circle at 85% 10%, rgba(217, 119, 6, 0.11), transparent 24%), linear-gradient(180deg, #f6f7f2 0%, #eef2ed 100%);
    --shadow-sm: 0 10px 24px rgba(23, 33, 31, 0.06);
    --shadow: 0 20px 50px rgba(23, 33, 31, 0.12);
    --shadow-lg: 0 30px 80px rgba(15, 28, 26, 0.16);
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 32px;
    --transition: 240ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--page-gradient);
    min-height: 100vh;
}

.site-shell {
    position: relative;
}

.site-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.8), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(15, 118, 110, 0.08), transparent 18%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition), transform var(--transition), opacity var(--transition);
}

a:hover {
    color: var(--primary-strong);
}

img {
    max-width: 100%;
    display: block;
}

main {
    position: relative;
    z-index: 1;
}

.container {
    position: relative;
    width: min(100%, 1320px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row > * {
    width: 100%;
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    box-sizing: border-box;
}

.col-12 {
    width: 100%;
}

.col-md-3,
.col-md-4,
.col-md-6,
.col-lg-9,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-12 {
    width: 100%;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-none {
    display: none !important;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: flex-end;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-warning {
    color: #d97706 !important;
}

.me-auto {
    margin-right: auto;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.mt-auto {
    margin-top: auto;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.px-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100% !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded-circle {
    border-radius: 999px;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-soft);
}

.small {
    font-size: 0.875rem;
}

.display-4 {
    font-size: clamp(2.2rem, 4.8vw, 3.4rem);
    line-height: 1;
    font-weight: 800;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.end-0 {
    right: 0;
}

.m-2 {
    margin: 0.5rem !important;
}

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.text-decoration-none {
    text-decoration: none !important;
}

.text-decoration-line-through {
    text-decoration: line-through;
}

.g-2,
.g-4 {
    row-gap: 1rem;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.input-group {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.input-group > .form-control {
    flex: 1 1 auto;
}

.input-group > .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.icon-fallback {
    display: none;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

i.fas:empty + .icon-fallback,
i.fab:empty + .icon-fallback {
    display: block;
}

.rounded {
    border-radius: 1rem;
}

.shadow {
    box-shadow: var(--shadow-sm);
}

.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 18% 18%, rgba(250, 204, 21, 0.14), transparent 22%),
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.14), transparent 18%),
        linear-gradient(135deg, #102321 0%, #0f766e 54%, #1f9d68 100%);
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 500ms ease, visibility 500ms ease;
}

.page-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 42%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
}

.site-shell.is-loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 34rem);
    text-align: center;
    color: #fff;
}

.page-loader-logo-ring {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(8, 17, 16, 0.22);
}

.page-loader-logo-ring::before,
.page-loader-logo-ring::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-loader-logo-ring::before {
    animation: pulseRing 2.4s ease-in-out infinite;
}

.page-loader-logo-ring::after {
    inset: -18px;
    border-color: rgba(250, 204, 21, 0.28);
    animation: pulseRing 2.4s ease-in-out infinite 0.35s;
}

.page-loader-logo {
    width: 76px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    animation: loaderFloat 2.2s ease-in-out infinite;
}

.page-loader-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.page-loader-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.85rem;
}

.page-loader-copy p {
    margin: 0 auto;
    max-width: 30rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.02rem;
}

.reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-shell.js-motion .reveal {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    will-change: transform, opacity;
}

.site-shell.js-motion .reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-kicker,
.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary-color);
}

.eyebrow-badge {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

.eyebrow-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: #facc15;
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.16);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.content-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0.75rem 0 1.25rem;
}

.section-subtitle {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.08rem;
    color: var(--text-soft);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1100;
    backdrop-filter: blur(14px);
}

.top-bar {
    background:
        linear-gradient(135deg, rgba(21, 54, 51, 0.96), rgba(15, 118, 110, 0.92));
    color: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.top-bar .contact-info,
.top-bar .social-links a {
    color: rgba(255, 255, 255, 0.84);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.9rem auto 0;
    width: min(1180px, calc(100% - 1.5rem));
    padding: 0.9rem 1.2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
}

.header.header-scrolled .navbar {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.navbar-brand img {
    max-height: 42px;
    width: auto;
}

.site-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.navbar > .container,
.navbar > .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.collapse:not(.show) {
    display: none;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--dark-color) !important;
    border-radius: 999px;
    padding: 0.7rem 1rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color) !important;
    background: rgba(15, 118, 110, 0.08);
}

.dropdown-menu {
    display: none;
    list-style: none;
    margin: 0.45rem 0 0;
    border: 1px solid rgba(23, 33, 31, 0.08);
    border-radius: 18px;
    padding: 0.7rem;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.98);
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-weight: 600;
}

.dropdown-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0.55rem 0;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(23, 33, 31, 0.12);
    background: rgba(255, 255, 255, 0.84);
    color: var(--dark-color);
    box-shadow: var(--shadow-sm);
}

.navbar-toggler-icon {
    position: relative;
    display: inline-block;
    width: 1.2rem;
    height: 0.9rem;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.navbar-toggler-icon::before {
    top: 0.1rem;
    box-shadow: 0 0.33rem 0 currentColor;
}

.navbar-toggler-icon::after {
    bottom: 0.1rem;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    margin: 1.25rem auto 0;
    width: min(1240px, calc(100% - 1.5rem));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-fallback-section {
    position: relative;
}

.hero-fallback-media,
.hero-fallback-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-fallback-media img {
    object-fit: cover;
}

.hero-fallback-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(8, 17, 16, 0.84), rgba(8, 17, 16, 0.48) 42%, rgba(8, 17, 16, 0.16));
}

.hero-fallback-content {
    position: relative;
    z-index: 2;
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.hero-fallback-copy {
    max-width: 44rem;
}

.hero-fallback-copy h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 5.4rem);
    line-height: 0.95;
    margin: 1.15rem 0;
}

.hero-fallback-copy .lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 38rem;
}

.hero-section .carousel-inner,
.hero-section .carousel-item,
.hero-section .carousel-item img {
    min-height: 72vh;
}

.hero-section .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(9, 18, 18, 0.78), rgba(9, 18, 18, 0.36) 48%, rgba(9, 18, 18, 0.14));
}

.hero-section .carousel-item img {
    object-fit: cover;
    transform: scale(1.04);
    animation: heroZoom 10s ease-out both;
}

.hero-section .carousel-caption {
    inset: auto auto 12% 8%;
    right: auto;
    left: 8%;
    bottom: 12%;
    width: min(46rem, 82%);
    text-align: left;
    z-index: 2;
}

.hero-section .carousel-caption h1 {
    color: #fff;
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 0.98;
    margin-bottom: 1rem;
}

.hero-section .carousel-caption p,
.hero-section .carousel-caption .lead {
    color: rgba(255, 255, 255, 0.82);
}

/* Cards */
.card {
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.84));
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 118, 110, 0.18);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 1.35rem 0.95rem;
}

.card-body {
    padding: 1.35rem;
}

.product-card,
.service-card,
.testimonial-card,
.team-card {
    height: 100%;
}

.product-card img,
.service-card img,
.team-card img,
.service-feature-image {
    transition: transform 650ms ease, filter 650ms ease;
}

.product-card:hover img,
.service-media-card:hover img,
.team-card:hover img {
    transform: scale(1.04);
}

.product-card .card-title a,
.service-card .card-title,
.testimonial-card .card-text {
    color: var(--dark-color);
}

.testimonial-card {
    min-height: 100%;
}

.testimonial-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.testimonial-card .card-text {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.product-card .card-img-top,
.service-feature-image {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Buttons */
.btn {
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-strong));
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    box-shadow: 0 18px 36px rgba(15, 118, 110, 0.32);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 1px solid rgba(15, 118, 110, 0.24);
    background: rgba(255, 255, 255, 0.7);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-strong);
    border-color: rgba(15, 118, 110, 0.34);
}

.btn-outline-secondary {
    color: var(--text);
    border: 1px solid rgba(23, 33, 31, 0.14);
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background: rgba(23, 33, 31, 0.06);
    color: var(--dark-color);
}

.btn-success {
    border: none;
    background: linear-gradient(135deg, #1dbf73, #0ea765);
    box-shadow: 0 14px 28px rgba(14, 167, 101, 0.22);
}

.btn-light {
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark-color);
    border: none;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.64);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 0.95rem 1.4rem;
    font-size: 1rem;
}

/* Utilities */
.bg-light {
    background: transparent !important;
}

.text-muted,
.form-text,
small.text-muted {
    color: var(--text-muted) !important;
}

.badge {
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    font-weight: 800;
}

.bg-danger {
    background: rgba(220, 53, 69, 0.12);
    color: var(--danger-color);
}

.bg-success {
    background: rgba(31, 157, 104, 0.12);
    color: var(--success-color);
}

.bg-info {
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-color);
}

.bg-secondary {
    background: rgba(23, 33, 31, 0.12);
    color: var(--text);
}

.breadcrumb {
    margin-bottom: 0;
    gap: 0.45rem;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--text-muted);
    font-weight: 700;
}

.breadcrumb-item.active {
    color: var(--dark-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* Forms */
.form-control,
.form-select {
    display: block;
    width: 100%;
    min-height: 3.25rem;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.85rem 1rem;
    color: var(--text);
}

.form-select-sm,
.form-control-sm {
    min-height: 2.5rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
}

.form-label {
    display: block;
    margin-bottom: 0.65rem;
    font-weight: 700;
    color: var(--dark-color);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 118, 110, 0.44);
    box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.12);
}

textarea.form-control {
    min-height: 8rem;
}

/* Footer */
.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #13201e 0%, #0d1614 100%);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(15, 118, 110, 0.2), transparent 26%),
        radial-gradient(circle at 90% 10%, rgba(217, 119, 6, 0.18), transparent 22%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5,
.footer h6 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer p,
.footer li,
.footer a {
    color: rgba(255, 255, 255, 0.72);
}

.footer a:hover {
    color: #fff;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.45rem;
    background: linear-gradient(135deg, #23c36b, #14a758);
    box-shadow: 0 18px 36px rgba(20, 167, 88, 0.28);
    z-index: 1100;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.03);
}

.floating-button-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 100px;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 33, 31, 0.92);
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background-color var(--transition);
    z-index: 1090;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Prose */
.content-prose,
.service-description {
    color: var(--text-soft);
}

.content-prose h1,
.content-prose h2,
.content-prose h3,
.content-prose h4,
.service-description h1,
.service-description h2,
.service-description h3,
.service-description h4 {
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
}

.content-prose p,
.service-description p,
.service-description ul,
.service-description ol {
    margin-bottom: 1rem;
}

/* Service detail */
.service-hero-section {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 1.3rem;
}

.service-hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
    gap: 1.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--radius-lg);
    background: var(--hero-gradient);
    color: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.service-hero-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 48%);
    pointer-events: none;
}

.service-hero-copy,
.service-hero-panel {
    position: relative;
    z-index: 1;
}

.service-hero-breadcrumbs .breadcrumb-item,
.service-hero-breadcrumbs .breadcrumb-item a,
.service-hero-breadcrumbs .breadcrumb-item.active,
.service-hero-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.78);
}

.service-hero-title {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 0.98;
    margin: 1rem 0;
}

.service-hero-summary {
    max-width: 44rem;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 1.6rem;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.service-hero-panel {
    align-self: end;
    padding: 1.5rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.service-panel-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.service-panel-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.74);
}

.service-panel-item strong {
    color: #fff;
    font-weight: 800;
}

.service-content-section {
    padding: 1rem 0 3.4rem;
}

.service-media-card,
.service-main-card,
.service-side-card,
.service-cta-strip {
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-sm);
}

.service-media-card {
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.service-feature-image {
    width: 100%;
}

.service-main-card {
    padding: clamp(1.5rem, 2.5vw, 2.4rem);
}

.service-cta-strip {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem 1.6rem;
    margin-top: 1.25rem;
}

.service-strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.service-side-card {
    padding: 1.4rem;
    margin-bottom: 1.2rem;
}

.theme-cta-section {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.theme-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(250, 204, 21, 0.16), transparent 22%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.12), transparent 20%),
        linear-gradient(135deg, #153633 0%, #0f766e 55%, #1f9d68 100%);
    pointer-events: none;
}

.theme-cta-section .container {
    position: relative;
    z-index: 1;
}

.theme-cta-section h2,
.theme-cta-section h3,
.theme-cta-section p,
.theme-cta-section .lead {
    color: #fff;
}

.theme-cta-section .btn-light {
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark-color);
    border: none;
}

.theme-cta-section .btn-light:hover {
    background: #fff;
    color: var(--dark-color);
}

.theme-cta-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.64);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.theme-cta-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.testimonial-slider-shell {
    position: relative;
    overflow: hidden;
}

.testimonial-slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 36%);
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.25rem 0.1rem 1rem;
    scroll-snap-type: none;
    scroll-behavior: auto;
    scrollbar-width: none;
}

.testimonial-slider-track::-webkit-scrollbar {
    display: none;
}

.testimonial-slide {
    scroll-snap-align: start;
}

.testimonial-slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
}

.testimonial-slider-btn {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.testimonial-slider-btn:hover {
    transform: translateY(-2px);
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-strong);
    border-color: rgba(15, 118, 110, 0.32);
}

.founders-section-card {
    padding: clamp(0.85rem, 1.5vw, 1.2rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 247, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow);
}

.founders-copy .section-title,
.founders-copy .section-subtitle {
    max-width: 34rem;
}

.founders-copy-centered {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.founders-copy-centered .section-title {
    margin-bottom: 0.55rem !important;
}

.founders-copy-centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.75rem !important;
}

.founders-grid {
    margin-top: 0.65rem;
}

.founder-card {
    overflow: hidden;
}

.founder-card .card-img-top {
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
}

.founder-card-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 290px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 2.5rem;
    background: linear-gradient(135deg, #153633 0%, #0f766e 100%);
}

.founder-role {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(15, 118, 110, 0.08);
}

.founder-card .card-body {
    padding: 1rem 1rem 1.05rem;
}

.founder-card .text-muted.mb-3 {
    margin-bottom: 0.65rem !important;
}

.service-side-card-header h3,
.service-cta-strip h3 {
    margin: 0.55rem 0 0.5rem;
    font-size: 1.4rem;
}

.service-link-list {
    display: grid;
    gap: 0.8rem;
}

.service-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    color: var(--dark-color);
    background: rgba(15, 118, 110, 0.05);
    border: 1px solid rgba(15, 118, 110, 0.09);
}

.service-link-item:hover {
    background: rgba(15, 118, 110, 0.1);
    transform: translateX(4px);
}

.service-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.65;
    pointer-events: none;
}

.service-hero-orb-one {
    top: 2rem;
    left: -5rem;
    width: 14rem;
    height: 14rem;
    background: rgba(255, 255, 255, 0.08);
    animation: drift 8s ease-in-out infinite;
}

.service-hero-orb-two {
    right: -3rem;
    bottom: 1rem;
    width: 11rem;
    height: 11rem;
    background: rgba(250, 204, 21, 0.14);
    animation: drift 9.5s ease-in-out infinite reverse;
}

.intro-image-stack {
    position: relative;
    min-height: 30rem;
    padding: 1rem 0 0 2rem;
}

.intro-image-main,
.intro-image-accent,
.about-visual-main,
.about-visual-side {
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.intro-image-main {
    width: min(100%, 33rem);
    aspect-ratio: 4 / 5;
}

.intro-image-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(42%, 15rem);
    aspect-ratio: 4 / 5;
    border: 8px solid rgba(255, 255, 255, 0.9);
}

.about-visual-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr;
    gap: 1rem;
    align-items: stretch;
}

.about-visual-main,
.about-visual-side {
    width: 100%;
    min-height: 100%;
}

.about-side-visual-shell {
    padding: 1rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 246, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
}

.about-side-visual {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.5rem;
}

.about-visual-main {
    aspect-ratio: 4 / 5;
}

.about-visual-side {
    aspect-ratio: 3 / 5;
    margin-top: 2.5rem;
}

/* Homepage spacing */
.home-section {
    position: relative;
}

.home-section .section-title {
    margin-bottom: 0.55rem;
}

.home-section .section-subtitle {
    margin-bottom: 0;
}

.home-section .text-center.mb-4 .section-subtitle,
.home-testimonials-section .section-subtitle {
    max-width: 38rem;
}

.home-section .mt-4 {
    margin-top: 1rem !important;
}

.home-section-intro .lead,
.home-cta-section .lead {
    margin-bottom: 1rem !important;
}

.home-section .intro-image-stack {
    min-height: 24rem;
    padding-top: 0.25rem;
}

.home-section .row.align-items-center {
    row-gap: 0.75rem;
}

.product-details,
.product-gallery,
.pricing,
.cta-buttons {
    width: 100%;
}

.card form .row {
    row-gap: 0.25rem;
}

.card form .mb-3,
.card form .mb-4 {
    width: 100%;
}

.public-form-page {
    position: relative;
}

.public-form-card,
.public-side-card {
    border-radius: 28px;
}

.public-form-card .card-header,
.public-side-card .card-header {
    padding: 1.25rem 1.5rem 1rem;
}

.public-form-card .card-body,
.public-side-card .card-body {
    padding: 1.5rem;
}

.public-form-stack .row {
    row-gap: 0.35rem;
}

.public-form-stack .form-control,
.public-form-stack .form-select {
    min-height: 3.4rem;
    border-radius: 18px;
    padding: 0.95rem 1rem;
}

.public-form-stack textarea.form-control {
    min-height: 8.75rem;
    resize: vertical;
}

.public-form-stack .form-label {
    margin-bottom: 0.55rem;
    font-size: 0.96rem;
}

.public-form-stack .btn-lg,
.public-form-stack .btn,
.public-form-card .btn-lg {
    min-height: 3.75rem;
}

.public-form-card .alert {
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
}

.public-side-card img.img-fluid {
    border-radius: 22px;
}

.public-side-card .d-flex.justify-content-between {
    align-items: center;
}

/* Tables / lists */
.list-group-item {
    border-color: var(--line);
}

.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}

.list-group-flush > .list-group-item {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.list-group-item-action {
    color: var(--text);
    transition: background-color var(--transition), color var(--transition);
}

.list-group-item-action:hover,
.list-group-item-action:focus {
    background: rgba(15, 118, 110, 0.06);
    color: var(--primary-color);
}

.list-group-item.active {
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-color);
    border-color: rgba(15, 118, 110, 0.16);
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.85rem 0.95rem;
    border-top: 1px solid var(--line);
    vertical-align: top;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(23, 33, 31, 0.1);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-strong));
    color: #fff;
    border-color: transparent;
}

.alert-success {
    background: rgba(31, 157, 104, 0.1);
    color: #0d6b46;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #a12635;
}

.btn-close {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: currentColor;
    cursor: pointer;
}

.btn-close::before {
    content: 'x';
    font-size: 1rem;
    font-weight: 700;
}

.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    content: '';
}

.ratio > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ratio-16x9::before {
    padding-top: 56.25%;
}

.card-img-top {
    width: 100%;
    display: block;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.09);
    }
    to {
        transform: scale(1.02);
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
}

@keyframes loaderFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes pulseRing {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.42;
    }
}

.fade-in-up {
    animation: fadeInUp 0.65s ease both;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #ecf0eb;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-strong));
    border-radius: 999px;
}

/* Responsive */
@media (max-width: 992px) {
    .col-md-6,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-7,
    .col-lg-8 {
        width: 100%;
    }

    .navbar {
        width: calc(100% - 1rem);
    }

    .hero-section,
    .hero-section .carousel-inner,
    .hero-section .carousel-item,
    .hero-section .carousel-item img,
    .hero-fallback-content {
        min-height: 60vh;
    }

    .service-hero-shell {
        grid-template-columns: 1fr;
    }

    .service-cta-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-slider-track {
        grid-auto-columns: minmax(320px, 58%);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .navbar {
        margin-top: 0.55rem;
        padding: 0.85rem 1rem;
        border-radius: 20px;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .dropdown-menu {
        position: static;
        margin-top: 0.55rem;
    }

    .hero-section {
        width: calc(100% - 1rem);
        min-height: 54vh;
        border-radius: 26px;
    }

    .hero-fallback-content {
        min-height: 54vh;
        padding: 3rem 0;
    }

    .hero-section .carousel-caption {
        left: 6%;
        right: 6%;
        width: auto;
        bottom: 10%;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-loader-logo-ring {
        width: 114px;
        height: 114px;
    }

    .page-loader-logo {
        width: 64px;
    }

    .service-hero-actions,
    .service-strip-actions {
        flex-direction: column;
        width: 100%;
    }

    .intro-image-stack {
        min-height: auto;
        padding: 0;
    }

    .intro-image-accent {
        position: static;
        width: 100%;
        margin-top: 1rem;
        border-width: 0;
    }

    .about-visual-grid {
        grid-template-columns: 1fr;
    }

    .about-visual-side {
        margin-top: 0;
    }

    .service-hero-actions .btn,
    .service-strip-actions .btn {
        width: 100%;
    }

    .testimonial-slider-controls {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .testimonial-slider-track {
        grid-auto-columns: 86%;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 92px;
    }
}

@media (min-width: 768px) {
    .col-md-3 {
        width: 25%;
    }

    .col-md-4 {
        width: 33.333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .d-md-block {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .col-lg-9 {
        width: 75%;
    }

    .col-lg-3 {
        width: 25%;
    }

    .col-lg-4 {
        width: 33.333333%;
    }

    .col-lg-5 {
        width: 41.666667%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-7 {
        width: 58.333333%;
    }

    .col-lg-8 {
        width: 66.666667%;
    }

    .col-lg-12 {
        width: 100%;
    }

    .d-lg-inline-flex {
        display: inline-flex !important;
    }

    .navbar-toggler {
        display: none;
    }

    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        justify-content: space-between;
    }

    .navbar-nav {
        flex-direction: row;
        align-items: center;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 15rem;
    }
}
