:root {
    --teal: #1a6b6b;
    --teal-dark: #134f4f;
    --teal-light: #2a8a8a;
    --accent: #00b5ad;
    --text-dark: #222;
    --text-muted: #666;
    --bg-light: #f5f5f5;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'PT Sans', sans-serif;
    color: var(--text-dark);
    margin: 0;
}

a {
    color: var(--teal);
    text-decoration:none;
}
a:hover {
    color: var(--teal-dark);
    text-decoration:none;
}



/* ─── TOP BAR ─────────────────────────────────────── */
/* Always visible — mobile too */
.topbar {
    background: #111;
    font-size: .82rem;
    padding: 0;
}

.topbar-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 40px;
}

.topbar .phones {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .7rem;
    align-items: center;
    padding: .4rem 0;
}

.topbar a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

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

.topbar .phones i {
    color: var(--accent);
}

/* On mobile hide extra phones — keep 1 phone + email + button */
@media (max-width: 767.98px) {
    .topbar {
        font-size: .74rem;
    }

    .topbar-inner {
        min-height: 34px;
    }

    .topbar .phone-hide {
        display: none;
    }

    .topbar .phones {
        padding: .3rem 0;
    }
}

.btn-callback {
    background: var(--accent);
    color: #fff !important;
    border: none;
    border-radius: 0;
    font-size: .8rem;
    font-weight: 700;
    padding: 0 1.2rem;
    align-self: stretch;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    flex-shrink: 0;
    transition: background .2s;
}

.btn-callback:hover {
    background: var(--teal);
}

@media (max-width: 767.98px) {
    .btn-callback {
        font-size: .7rem;
        padding: 0 .75rem;
        letter-spacing: .03em;
    }
}

/* ─── NAVBAR ──────────────────────────────────────── */
/* All pages desktop (≥992px): transparent, absolutely overlaid on hero/slider */
.main-nav {
    background: rgba(0, 0, 0, .22);
    position: absolute;
    top: 40px; /* topbar height */
    left: 0;
    right: 0;
    z-index: 20;
    padding: .6rem 0;
}

/* All pages mobile (<992px): solid black, flows in document (no overlap) */
@media (max-width: 991.98px) {
    .main-nav {
        position: relative;
        background: #111;
        top: auto;
    }
}

/* Expanded mobile menu — always solid black regardless of page */
.main-nav .navbar-collapse.show,
.main-nav .navbar-collapse.collapsing {
    background: #111;
    margin: 0 -.75rem;
    padding: .25rem .75rem .75rem;
}

.main-nav .navbar-brand {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: .08em;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.main-nav .navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    font-weight: 900;
}

.main-nav .nav-link {
    color: rgba(255, 255, 255, .88) !important;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 1rem;
    padding: .45rem .9rem !important;
    transition: color .2s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #fff !important;
    border-bottom: 2px solid var(--accent);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .4);
}

.navbar-toggler-icon {
    filter: invert(1);
}


/* ─── PAGE HERO (replaces slider) ─────────────────── */
.page-hero {
    background-color: var(--teal-dark);
    background-size: cover;
    background-position: center;
    padding: 3rem 0 2.6rem;
    padding-top: calc(3rem + 60px); /* extra space for overlaid nav */
    position: relative;
}

.page-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: .6rem;
    padding: 0;
    background: none;
    font-size: .85rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, .5);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .35);
    content: "›";
}

/* ─── SECTION TITLES ─────────────────────────────── */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--teal-dark);
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: .04em;
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--accent);
    margin: .6rem auto 0;
    border-radius: 2px;
}

/* ─── SPEC CARDS ─────────────────────────────────── */
.specs-section {
    padding: 4rem 0;
    background: #fff;
}

.spec-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
    transition: box-shadow .25s, transform .25s;
    height: 100%;
}

.spec-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
    transform: translateY(-3px);
}

.spec-card .card-img-wrap {
    overflow: hidden;
}

.spec-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.spec-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.spec-card .card-body {
    padding: 1.1rem 1.2rem 1rem;
}

.spec-card .card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--teal-dark);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}

.spec-card .card-text {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.spec-card .more-link {
    font-family: 'Oswald', sans-serif;
    font-size: .88rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .7rem;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, color .2s;
}

.spec-card .more-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ─── CONTACT FORM ──────────────────────────────── */
.contact-section {
    background: var(--bg-light);
    padding: 1rem 0 3.5rem 0;
}

.contact-subtitle {
    text-align: center;
    font-size: .95rem;
    color: var(--text-muted);
    margin-top: -.5rem;
    margin-bottom: 2rem;
}

.form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    font-size: 1rem;
    padding: .6rem .9rem;
}

.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 .15rem rgba(26, 107, 107, .15);
}

.form-label {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: .25rem;
}

.btn-submit {
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .65rem 2.8rem;
    transition: background .2s;
}

.btn-submit:hover {
    background: var(--teal-light);
    color: #fff;
}

.form-privacy {
    font-size: .8rem;
    color: #999;
    margin-top: .8rem;
    line-height: 1.4;
}

.form-privacy a {
    color: #999;
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
    background: var(--teal-dark);
    color: rgba(255, 255, 255, .8);
    padding: 2.5rem 0 1.5rem;
    font-size: .92rem;
}

.site-footer .brand {
    font-family: 'Oswald', sans-serif;
    font-size: 1.45rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: .08em;
}

.site-footer a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent);
}

.site-footer .footer-divider {
    border-color: rgba(255, 255, 255, .15);
    margin: 1.5rem 0 1rem;
}

.site-footer .copyright {
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .35rem;
}


/* ─── GRID ───────────────────────────────────────── */
.cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ─── CARD ───────────────────────────────────────── */
a.cat-card {
    border: 1px solid #ccc;
    background: #fff;
    padding: 1.1rem 1rem 1rem;
    position: relative;
    overflow: hidden;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: #111;
    cursor: pointer;
    transition: background .15s, color .15s;
}

a.cat-card:hover {
    background: #f5fdf5;
    color: var(--teal);
}

/* ─── SPAN MODIFIERS ─────────────────────────────── */
.cat-card.span-rows {
    grid-row: span 2;
}

.cat-card.span-cols {
    grid-column: span 2;
}

/* ─── TITLE ──────────────────────────────────────── */
.cat-card h3 {
    margin: 0;
    position: relative;
    z-index: 1;
    padding-right: 130px;
}

/* ─── BODY ───────────────────────────────────────── */
.cat-body {
    position: relative;
    z-index: 1;
    flex: 1;
    padding-right: 130px;
}

/* No padding-right when no image or spanning */
.cat-card.no-img h3,
.cat-card.no-img .cat-body,
.cat-card.span-rows h3,
.cat-card.span-rows .cat-body,
.cat-card.span-cols h3,
.cat-card.span-cols .cat-body {
    padding-right: 0;
}

/* ─── LIST ───────────────────────────────────────── */
.cat-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-body ul li {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.75;
    transition: color .15s;
}

.cat-card:hover .cat-body ul li {
    color: var(--teal);
}

/* ─── IMAGE ──────────────────────────────────────── */
.cat-img {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 100%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    filter: grayscale(1);
    transition: filter .4s ease;
}

.cat-card:hover .cat-img {
    filter: grayscale(0);
}

/* ─── MOBILE ─────────────────────────────────────── */
@media (max-width: 575.98px) {
    .cat-grid {
        grid-template-columns: 1fr;
    }

    .cat-card.span-cols {
        grid-column: span 1;
    }

    .cat-card h3,
    .cat-body {
        background: rgba(255, 255, 255, .70);
        padding: .25rem .4rem;
        border-radius: 2px;
    }
}


/* ─── HERO SLIDER ─────────────────────────────────── */
#heroCarousel {
    position: relative;
}

.hero-slide {
    position: relative;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 110px;
    /* desktop: clears overlaid navbar */
    padding-bottom: 40px;
}

/* Mobile: navbar is in flow, no overlap — normal padding */
@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 300px;
        padding-top: 36px;
        padding-bottom: 28px;
    }
}

@media (max-width: 575.98px) {
    .hero-slide {
        min-height: 240px;
        padding-top: 24px;
    }
}

/* Overlay — pointer-events:none so it never blocks clicks */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19, 79, 79, .78) 0%, rgba(0, 0, 0, .35) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 660px;
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.45rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
    margin-bottom: .9rem;
}

.hero-content p {
    font-size: clamp(.9rem, 2.2vw, 1.2rem);
    opacity: .92;
    margin-bottom: 1.4rem;
}

.btn-hero {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: .95rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .55rem 1.8rem;
    border-radius: 2px;
    transition: background .2s, color .2s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background: #fff;
    color: var(--teal-dark);
}

/* Carousel controls always on top and fully clickable */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    z-index: 10;
}

.carousel-indicators {
    z-index: 10;
}

.carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, .7);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: var(--accent);
}


 /* ─── CONTACTS SECTION ────────────────────────── */
    .contacts-section { padding: 4rem 0; background: #fff; }

    /* Info cards */
    .contact-info-card {
      background: var(--bg-light);
      padding: 1.4rem 1.4rem;
      height: 100%;
    }
    .contact-info-card .ci-header {
      display: flex; align-items: center; gap: .75rem;
      margin-bottom: .75rem;
    }
    .contact-info-card .ci-icon {
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); font-size: 1.4rem; flex-shrink: 0;
    }
    .contact-info-card h3 {
      font-family: 'Oswald', sans-serif;
      font-size: 1.05rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: .05em;
      color: var(--teal-dark); margin: 0;
    }
    .contact-info-card p,
    .contact-info-card a {
      font-size: .97rem; color: var(--text-dark);
      text-decoration: none; margin: 0; line-height: 1.7;
      display: block;
    }
    .contact-info-card a:hover { color: var(--accent); }
    .contact-info-card .label {
      font-size: .78rem; color: var(--text-muted);
      text-transform: uppercase; letter-spacing: .06em;
      margin-bottom: .1rem; display: block;
    }

    /* Divider label */
    .section-label {
      font-family: 'Oswald', sans-serif;
      font-size: clamp(1.5rem, 3.5vw, 2.1rem);
      font-weight: 600; color: var(--teal-dark);
      margin-bottom: 1.8rem; letter-spacing: .04em;
    }
    .section-label::after {
      content: '';
      display: block; width: 48px; height: 3px;
      background: var(--accent); margin-top: .5rem; border-radius: 2px;
    }

    /* ─── MAP PLACEHOLDER ─────────────────────────── */
    .map-wrap {
      width: 100%; height: 380px;
      background: #e8f0ef;
      position: relative; overflow: hidden;
    }
    .map-wrap iframe {
      width: 100%; height: 100%; border: 0; display: block;
    }
    @media (max-width: 575.98px) { .map-wrap { height: 260px; } }


#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 20px;
    font-family: sans-serif;
    font-size: 14px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#cookie-banner p {
    margin: 0;
    flex: 1 1 auto;
    color: #fff;
}

.modal-cookies-body {
    padding-bottom: 20px;
}

.modal-cookies-footer {
    margin-top: 20px;
    text-align: center;
}

.cookies-row {
    margin-top: 20px;
}

.cookies-row-title {
    font-size: 1rem;
    font-weight: bold;
}

.cookies-row-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height:1.3;
}

.cookies-row-switch {
    margin-top: 15px;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cookie-buttons button {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}

.cookie-accept-btn {
    background-color: #4caf50;
    color: white;
}

.cookie-settings-btn {
    background-color: #2196f3;
    color: white;
}

.modal-cookies {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
}

.modal-cookies-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
}

.modal-cookies-header {
    position: relative;
    padding: 10px 10px 10px 0;
    padding-right: 40px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ccc;
}

.modal-cookies-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.modal-cookies-close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 30px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
}

.modal-cookies-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-cookies-footer button {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cookies-save-btn {
    background-color: #4caf50;
    color: white;
}

.cookies-cancel-btn {
    background-color: #f44336;
    color: white;
}

.cookies-switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.cookies-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookies-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 50px;
}

.cookies-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    border-radius: 50px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

input:checked+.cookies-slider {
    background-color: #4caf50;
}

input:checked+.cookies-slider:before {
    transform: translateX(14px);
}