/* =========================================
   ПЕГА Груп — recreation of ekoplovdiv.com
   Matches Sydney theme + Elementor (post-51) styles
   ========================================= */

:root {
    --primary: #0066bf;
    --header-bg: #023d99;
    --header-bg-floating: rgba(2, 61, 153, 0.9);
    --text: #47425d;
    --text-muted: #767676;
    --footer-bg: #1c1c1c;
    --grey-bg: #f5f5f5;
    --cta-bg: #252525;
    --white: #ffffff;
    --hover-light: #accbe0;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--hover-light); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    margin: 0 0 .5em 0;
    color: inherit;
}
h1 { font-size: 52px; }
h2 { font-size: 42px; }
h3 { font-size: 32px; }
h4 { font-size: 25px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p { margin: 0 0 1em 0; }

/* Bootstrap-style container for header/footer (1170 max) */
.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---------- Header ---------- */
/* Transparent at top of page; opaque dark blue once scrolled */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background-color .3s, padding .3s;
}
.site-header.float-header {
    background-color: var(--header-bg-floating);
}
.header-wrap { padding: 14px 0; transition: padding .3s; }
.site-header.float-header .header-wrap { padding: 8px 0; }

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo a { display: inline-block; }
.site-logo {
    max-height: 55px;
    width: auto;
    transition: max-height .3s;
}
.site-header.float-header .site-logo { max-height: 45px; }

.btn-menu {
    display: none;
    background: transparent;
    border: 0;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    padding: 8px 12px;
}

.mainnav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.mainnav .menu li { margin-left: 28px; }
.mainnav .menu li a {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 6px 0;
    position: relative;
    display: inline-block;
}
.mainnav .menu li a:hover,
.mainnav .menu li.current-menu-item a { color: var(--hover-light); }

/* ---------- Hero slider ---------- */
.sydney-hero-area {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.header-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide-item {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}
.slide-item.active { opacity: 1; z-index: 2; }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
}
.slide-inner {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}
.text-slider .maintitle,
.text-slider .subtitle {
    color: var(--white);
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.text-slider .maintitle {
    position: relative;
    display: inline-block;
    font-size: 57px;
    line-height: 67px;
    font-weight: 700;
    padding-bottom: 10px;
}
.text-slider .maintitle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40%;
    height: 1px;
    margin-left: -20%;
    background: var(--primary);
}
.text-slider .subtitle {
    font-size: 30px;
    line-height: 40px;
    padding: 20px 0 50px;
    font-weight: 300;
}

.text-slider {
    position: relative;
    display: block;
}

@keyframes slideInRight {
    from { transform: translateX(120px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}
/* Animation only on slides that JS marks as freshly entered — first slide
   is shown at rest, subsequent slides slide in */
.slide-item.active.animate .text-slider {
    animation: slideInRight .9s ease-out;
}

/* ---------- Page wrap ---------- */
.page-wrap {
    padding-top: 83px;
    padding-bottom: 100px;
    background: #fff;
}

/* ---------- Elementor section primitives ---------- */
.el-section {
    position: relative;
    width: 100%;
}
.el-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
}
.el-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    align-items: stretch;
}
.el-col {
    padding: 0 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.el-col-33 { flex: 0 0 33.333%; max-width: 33.333%; }
.el-col-50 { flex: 0 0 50%; max-width: 50%; }
.el-col-66 { flex: 0 0 66.666%; max-width: 66.666%; }

.col-img-center {
    justify-content: center;
    align-items: center;
}

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

.el-spacer { width: 100%; }

/* Heading widget */
.el-heading {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1;
    color: var(--text);
}

/* Section-style heading (centered, uppercase) used across Mission/Services/About/Clients/Contact */
.section-heading,
.mission-title,
.about-heading,
.why-heading {
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.why-heading { line-height: 1.5em; }

/* Divider widget */
.el-divider {
    text-align: center;
    margin-bottom: 50px;
    line-height: 0;
}
.el-divider span {
    display: inline-block;
    width: 50px;
    border-top: 1px solid var(--primary);
}
.divider-full { padding: 15px 0; margin-bottom: 0; }
.divider-full span {
    display: block;
    width: 100%;
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Text editor widget */
.el-text-editor h4 {
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}
.mission-text { text-align: center; }

/* ---------- Mission section ---------- */
#mission-section { padding: 0 0 0 0; }

/* ---------- Services section ---------- */
.section-services {
    padding: 50px 0 100px 0;
}
.services-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.services-grid .service-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 0 15px;
}
a.service-link {
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease;
}
a.service-link:hover { transform: translateY(-3px); }
a.service-link:hover .el-icon-box-title { color: var(--header-bg); }

/* ---------- Elementor icon-box ---------- */
.el-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}
.el-icon-box-top { flex-direction: column; align-items: center; }
.el-icon-box-top .el-icon { margin-bottom: 20px; }

.el-icon-box-left {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
}
.el-icon-box-left .el-icon { margin-right: 30px; flex-shrink: 0; }

.el-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .3s ease;
}
.el-icon-framed {
    color: var(--primary);
    border: 1px solid var(--primary);
    background: transparent;
    padding: 21px;
    width: 72px;
    height: 72px;
    font-size: 30px;
}
.el-icon-box-left .el-icon-framed {
    width: 68px;
    height: 68px;
    padding: 21px;
    font-size: 26px;
}
.el-icon-framed i { color: inherit; }

.el-icon-box:hover .el-icon-framed {
    background: var(--primary);
    color: var(--white);
}

.el-icon-box-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
}
.el-icon-box-desc {
    font-size: 18px;
    margin: 0;
    line-height: 1.5;
    color: var(--text);
}

/* Top services: blue title */
.section-services .el-icon-box-title { color: var(--primary); }

/* Why-us: uppercase title */
.why-title { text-transform: uppercase; }

.el-icon-box-content { flex: 1; }

/* ---------- CTA banner ---------- */
.section-cta {
    position: relative;
    background-color: var(--cta-bg);
    background-image: image-set(url('../images/water-4.webp') type('image/webp'),
                                url('../images/water-4.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 0;
    text-align: center;
}
.section-cta .el-container {
    max-width: 1140px;
    padding: 0 10px;
}
.section-cta .cta-title {
    color: var(--white);
    font-size: 34px;
    line-height: 1.2em;
    letter-spacing: 0.6px;
    text-align: center;
    text-transform: uppercase;
    margin: 15px 0 0;
    font-weight: 700;
}
.section-cta .cta-title:first-child { margin-top: 15px; }
.section-cta .cta-phone {
    color: var(--white);
    font-size: 50px;
    line-height: 1em;
    letter-spacing: 0.6px;
    text-align: center;
    margin: 15px 0 0;
    font-weight: 700;
}

/* ---------- Why us ---------- */
.section-why {
    background-color: var(--grey-bg);
    padding: 100px 0;
}
.section-why .el-row { align-items: stretch; margin: 0 -15px; }
.section-why .el-row > .el-col { padding: 0 15px; }
.section-why .col-img-center { display: flex; }
.section-why .col-img-center .widget-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.section-why .col-img-center img { max-width: 100%; height: auto; }

/* ---------- About ---------- */
.section-about {
    padding: 100px 0;
}
.about-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
}
.about-text p { margin-bottom: 1em; }

/* About carousel */
.about-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 11 / 8;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease-in-out;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    z-index: 5;
    transition: background .25s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-arrow:hover { background: var(--primary); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.carousel-dots li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background .25s;
}
.carousel-dots li.active { background: var(--primary); }

/* ---------- Clients ---------- */
.section-clients {
    background-color: var(--grey-bg);
    padding: 30px 0 60px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px -15px 0;
}
.gallery-columns-5 .gallery-item {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 15px 15px 0;
    margin: 0;
    text-align: center;
}
.gallery-item img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: opacity .25s;
}
.gallery-item:hover img { opacity: 0.85; }

/* ---------- Contact ---------- */
.section-contact-heading {
    margin-top: 50px;
    margin-bottom: 0;
}
.section-contact-heading .section-heading { text-align: center; }
.section-contact {
    margin-top: 0;
    margin-bottom: 100px;
}
/* Subpages without the section-contact-heading need their own top spacing
   so the map+contact block doesn't crowd the section above it. */
.section-contact--standalone { margin-top: 80px; }
@media (max-width: 768px) {
    .section-contact--standalone { margin-top: 50px; }
}

.contact-form { font-weight: 400; }
.contact-form p { margin: 0 0 18px; }
.contact-form label {
    display: block;
    color: var(--text);
    font-weight: 400;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    border: 1px solid #e1e1e1;
    background: #fafafa;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text);
    margin-top: 6px;
    transition: border-color .25s;
    border-radius: 0;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: var(--primary);
}
.contact-form textarea { resize: vertical; min-height: 220px; }

.contact-form input[type="submit"] {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: .5px;
    transition: all .25s;
    border-radius: 0;
}
.contact-form input[type="submit"]:hover {
    background: transparent;
    color: var(--primary);
}

/* Contact info card and map sit side-by-side at equal heights on desktop,
   then stack cleanly on mobile. */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}
.contact-grid .contact-info {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-grid .contact-map {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.contact-grid .contact-map iframe {
    flex: 1 1 auto;
    min-height: 360px;
    width: 100%;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: block;
}
.contact-grid .map-link {
    text-align: center;
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}
.contact-grid .map-link a { color: var(--primary); font-weight: 700; }

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .contact-grid .contact-info { padding: 30px 22px; }
    .contact-grid .contact-map iframe { min-height: 280px; }
}
@media (max-width: 480px) {
    .contact-grid .contact-map iframe { min-height: 240px; }
}

.contact-info {
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 30px;
    background: var(--grey-bg);
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.contact-info .widget-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-info .widget-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary);
    margin: 14px auto 22px;
}
.contact-info .el-icon-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-grid;
    grid-template-columns: 36px auto;
    gap: 14px 14px;
    text-align: left;
    align-items: center;
}
.contact-info .el-icon-list li {
    display: contents;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
}
.contact-info .el-icon-list-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--white);
    background: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-info .el-icon-list-icon i { font-size: 16px; }
.contact-info .el-icon-list-text {
    padding-left: 0;
    font-weight: 400;
}
.contact-info a {
    color: var(--text);
    transition: color .2s;
}
.contact-info a:hover { color: var(--primary); }

/* ---------- Testimonials ---------- */
.section-testimonials {
    background-color: var(--grey-bg);
    padding: 80px 0 90px;
}
.section-testimonials .section-heading { text-align: center; }

.testimonials-carousel {
    position: relative;
    max-width: 820px;
    margin: 20px auto 0;
    padding: 0 60px;
}
.testimonials-track {
    position: relative;
    min-height: 240px;
}
.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-in-out;
    background: var(--white);
    padding: 38px 36px 32px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}
.testimonial-stars {
    color: #f5b301;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 18px;
    line-height: 1;
}
.testimonial-stars .fa { font-size: 20px; }
.testimonial-stars .fa-star-o { color: #d6d6d6; }
.testimonial-text {
    font-size: 18px;
    line-height: 1.65;
    font-style: italic;
    color: var(--text);
    margin: 0 0 18px;
    quotes: "\201E" "\201C";
}
.testimonial-text::before { content: open-quote; }
.testimonial-text::after  { content: close-quote; }
.testimonial-author {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonials-carousel .carousel-arrow {
    background: var(--primary);
    color: var(--white);
}
.testimonials-carousel .carousel-arrow:hover {
    background: var(--header-bg);
}
.testimonials-carousel .carousel-prev { left: 0; }
.testimonials-carousel .carousel-next { right: 0; }
.testimonials-carousel .carousel-dots { margin-top: 22px; }

@media (max-width: 767px) {
    .section-testimonials { padding: 60px 0 70px; }
    .testimonials-carousel { padding: 0 44px; }
    .testimonial-slide { padding: 28px 22px 24px; }
    .testimonial-text { font-size: 16px; }
    .testimonials-track { min-height: 280px; }
}
@media (max-width: 480px) {
    .testimonials-carousel { padding: 0 36px; }
    .testimonials-carousel .carousel-arrow { width: 34px; height: 34px; font-size: 18px; }
    .testimonials-track { min-height: 320px; }
}

/* ---------- Go-top ---------- */
.go-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    cursor: pointer;
}
.go-top.show { opacity: 1; visibility: visible; }
.go-top:hover { background: var(--header-bg); color: var(--white); }

/* ---------- Dropdown menu ---------- */
.mainnav .menu li.has-dropdown { position: relative; }
.mainnav .menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: var(--header-bg);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 110;
}
.mainnav .menu li.has-dropdown:hover > .sub-menu,
.mainnav .menu li.has-dropdown:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
}
.mainnav .menu .sub-menu li { margin: 0; }
.mainnav .menu .sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mainnav .menu .sub-menu li:last-child a { border-bottom: 0; }
.mainnav .menu .sub-menu li a:hover { background: rgba(255,255,255,0.08); }

/* ---------- Service detail pages ---------- */
.service-hero {
    position: relative;
    height: 60vh;
    min-height: 380px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.service-hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}
.service-hero h1 {
    color: var(--white);
    font-size: 52px;
    line-height: 1.15;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
.service-hero p {
    font-size: 22px;
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.breadcrumbs {
    background: var(--grey-bg);
    padding: 14px 0;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.breadcrumbs li::after {
    content: "›";
    margin-left: 6px;
    color: #aaa;
}
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { color: var(--header-bg); }

.service-content {
    padding: 70px 0;
}
.service-content .el-container { max-width: 900px; }
.service-content h2 {
    color: var(--text);
    font-size: 32px;
    margin: 0 0 18px;
    text-transform: uppercase;
}
.service-content h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary);
    margin-top: 14px;
}
.service-content h3 {
    color: var(--text);
    font-size: 22px;
    margin: 32px 0 12px;
}
.service-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
}
.service-content ul {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
    padding-left: 24px;
    margin: 0 0 24px;
}
.service-content ul li { margin-bottom: 6px; }
.service-content ul li::marker { color: var(--primary); }

.service-image {
    margin: 30px 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.service-image img { width: 100%; height: auto; display: block; }

.related-services {
    background: var(--grey-bg);
    padding: 60px 0;
}
.related-services .el-container { max-width: 1140px; }
.related-services h2 {
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.related-grid a {
    display: block;
    background: var(--white);
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    color: var(--text);
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.related-grid a:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    color: var(--primary);
}
.related-grid .related-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.related-grid h3 {
    font-size: 18px;
    margin: 0 0 8px;
    text-transform: uppercase;
    color: var(--primary);
}
.related-grid p { font-size: 15px; color: var(--text); margin: 0; }

/* On service-detail pages the header is opaque from the start */
.solid-header .site-header {
    background-color: var(--header-bg);
}

@media (max-width: 767px) {
    .service-hero h1 { font-size: 32px; }
    .service-hero p  { font-size: 16px; }
    .related-grid    { grid-template-columns: 1fr; }
    .service-content h2 { font-size: 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--footer-bg);
    color: #666;
    padding: 30px 0 25px;
    text-align: center;
}
.site-footer .site-info { padding: 0 15px; }
.site-footer p { margin: 0; }

.social-icons {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.social-icons li { margin: 0; }
.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    color: #b0b0b0;
    font-size: 18px;
    transition: transform .25s ease, background .25s ease, color .25s ease;
    text-decoration: none;
}
.social-icons a:hover {
    transform: translateY(-3px);
    color: #fff;
}
.social-icons a.facebook:hover  { background: #1877f2; }
.social-icons a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-icons a.google:hover    { background: #ea4335; }

/* ---------- Call now button (mobile) ---------- */
.call-now-button {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #009900;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: pulse 2.2s infinite;
}
.call-now-button svg { width: 32px; height: 32px; }

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 153, 0, .6); }
    70%  { box-shadow: 0 0 0 18px rgba(0, 153, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 153, 0, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    /* On tablet/mobile the header is always solid (matches Sydney behavior) */
    .site-header,
    .site-header.float-header { background-color: var(--header-bg); }

    .btn-menu { display: inline-block; }
    .mainnav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .mainnav.open { max-height: 600px; }
    .mainnav .menu {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }
    .mainnav .menu li {
        margin: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .mainnav .menu li a { display: block; padding: 14px 20px; }

    .sydney-hero-area { height: 70vh; min-height: 480px; }
    .text-slider .maintitle { font-size: 40px; line-height: 50px; }
    .text-slider .subtitle  { font-size: 22px; line-height: 30px; padding: 15px 0 30px; }

    .call-now-button { display: flex; }
}

@media (max-width: 991px) {
    .el-col-33, .el-col-50, .el-col-66 { flex: 0 0 100%; max-width: 100%; }
    .el-col-50:first-child { margin-bottom: 30px; }
    .services-grid { flex-direction: column; gap: 30px; }
    .gallery-columns-5 .gallery-item { flex: 0 0 33.333%; max-width: 33.333%; }
    .section-services { padding: 30px 0 60px; }
    .section-why, .section-about { padding: 60px 0; }
}

@media (max-width: 767px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    h4 { font-size: 18px; }
    h5 { font-size: 16px; }
    h6 { font-size: 14px; }

    .el-icon-box-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .el-icon-box-left .el-icon { margin-right: 0; margin-bottom: 30px; }
    .el-icon-box-left .why-title,
    .el-icon-box-left .el-icon-box-desc { text-align: center; }

    .el-icon-box-top .el-icon { margin-bottom: 20px; }

    .section-cta .cta-title { font-size: 26px; }
    .section-cta .cta-phone { font-size: 36px; }

    .text-slider .maintitle { font-size: 32px; line-height: 42px; }
    .text-slider .subtitle  { font-size: 18px; line-height: 26px; padding: 10px 0 20px; }

    .gallery-columns-5 .gallery-item { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 480px) {
    .sydney-hero-area { height: 60vh; min-height: 380px; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--footer-bg);
    color: var(--white);
    border-top: 3px solid var(--primary);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .25);
    padding: 18px 0;
    transform: translateY(110%);
    transition: transform .35s ease;
}
.cookie-consent.is-visible { transform: translateY(0); }

.cookie-consent .container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-consent__text {
    flex: 1 1 360px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--white);
}
.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-consent__btn {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
    line-height: 1.2;
}
.cookie-consent__btn--accept {
    background: var(--primary);
    color: var(--white);
}
.cookie-consent__btn--accept:hover {
    background: var(--hover-light);
    color: var(--header-bg);
}
.cookie-consent__btn--reject {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .35);
}
.cookie-consent__btn--reject:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--white);
}

@media (max-width: 600px) {
    .cookie-consent { padding: 14px 0; }
    .cookie-consent .container {
        gap: 12px;
        justify-content: stretch;
    }
    .cookie-consent__text { flex: 1 1 100%; font-size: 13px; }
    .cookie-consent__actions { flex: 1 1 100%; }
    .cookie-consent__btn { flex: 1 1 auto; padding: 10px 16px; }
}
