@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #e24d28;
    --primary-dark: #b8381a;
    /* Small UI text on white / #eef0f3 (WCAG AA) */
    --primary-text: #6f2210;
    --accent: #ff9459;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --aluminum: #e1e4e8;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bootstrap primary → accessible brand text on light backgrounds */
.text-primary {
    color: var(--primary-text) !important;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 252, 250, 0.92);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0 1px 0 rgba(35, 14, 8, 0.06), 0 8px 32px rgba(35, 14, 8, 0.05);
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.main-header > nav.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: padding 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.main-header--compact {
    box-shadow: 0 1px 0 rgba(35, 14, 8, 0.07), 0 4px 20px rgba(35, 14, 8, 0.06);
}

.main-header.main-header--compact > nav.navbar {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.main-header.main-header--compact .navbar-brand__logo {
    height: 44px;
}

.main-header.main-header--compact .nav-link {
    padding: 0.5rem 0.7rem !important;
    font-size: 0.9375rem;
}

.main-header.main-header--compact .nav-link::after {
    bottom: 4px;
}

.main-header.main-header--compact .nav-link--home {
    gap: 0.35rem;
}

.main-header.main-header--compact .thm-btn.btn-sm {
    padding: 0.42rem 1rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.05em;
}

.main-header:hover {
    box-shadow: 0 1px 0 rgba(35, 14, 8, 0.08), 0 12px 40px rgba(35, 14, 8, 0.07);
}

.navbar-brand img {
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.25s ease;
}

.navbar-brand:hover .navbar-brand__logo,
.navbar-brand:focus-visible .navbar-brand__logo {
    transform: scale(1.03);
}

.navbar-brand__logo {
    height: 60px;
    width: auto;
    display: block;
    transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 992px) {
    .main-header .navbar-nav {
        align-items: center;
        gap: 0.2rem;
    }
}

.main-header .nav-link {
    font-weight: 600;
    color: var(--dark) !important;
    padding: 0.85rem 1rem !important;
    position: relative;
    letter-spacing: 0.01em;
    font-size: 1rem;
    transition: color 0.28s ease, transform 0.28s ease, background 0.28s ease, padding 0.32s ease, font-size 0.32s ease;
    border-radius: 0.4rem;
}

.main-header .nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-1px);
    background: rgba(226, 77, 40, 0.06);
}

.main-header .nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.25s ease;
    transform: translateX(-50%);
    opacity: 0.95;
}

.main-header .nav-link:hover::after,
.main-header .nav-link:focus-visible::after {
    width: 70%;
    max-width: 3.5rem;
}

.main-header .nav-link--home {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.main-header .nav-link__home-icon {
    font-size: 0.92em;
    color: var(--primary);
    opacity: 0.88;
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.25s ease, color 0.25s ease;
}

.main-header .nav-link--home:hover .nav-link__home-icon,
.main-header .nav-link--home:focus-visible .nav-link__home-icon {
    opacity: 1;
    transform: scale(1.12);
    color: var(--primary-dark);
}

/* Current page: mockup-style coral text + icon + gradient rule + soft pill */
.main-header .nav-link.is-active {
    color: var(--primary) !important;
    background: rgba(255, 248, 245, 0.98) !important;
    box-shadow: inset 0 0 0 1px rgba(226, 77, 40, 0.12);
    transform: none;
}

.main-header .nav-link.is-active:hover {
    color: var(--primary-dark) !important;
    background: rgba(255, 244, 240, 1) !important;
    transform: none;
}

.main-header .nav-link.is-active::after {
    width: 70%;
    max-width: 3.75rem;
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.main-header .nav-link--home.is-active .nav-link__home-icon {
    opacity: 1;
    color: var(--primary);
    transform: none;
}

.main-header .nav-link--home.is-active:hover .nav-link__home-icon {
    color: var(--primary-dark);
    transform: scale(1.06);
}

/* Hero Section */
.slider-height {
    min-height: 80vh;
    background-size: cover !important;
    background-position: center !important;
}

.slider-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

.slider-content h1 {
    font-weight: 800;
    color: var(--dark);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.slider-content h1 span {
    color: var(--primary);
}

/* Buttons */
.thm-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(226, 77, 40, 0.35);
    transition: var(--transition);
}

.thm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(226, 77, 40, 0.45);
}

.thm-btn::before,
.thm-btn::after {
    border-radius: 50px !important;
}

.border-btn {
    border-color: var(--primary) !important;
    color: var(--primary-dark) !important;
}

.border-btn:hover {
    background: rgba(226, 77, 40, 0.08);
    color: var(--primary) !important;
}

/* Service Boxes */
.services-box {
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.services-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.services-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.services-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-box-content {
    padding: 30px;
}

.services-box h2,
.services-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.services-box p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 25px;
    min-height: 3em;
}

/* About Section Image */
.about-right-thumb img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* FAQ Accordion (contrast-safe vs style.css #002052 / #ff5e15) */
.faq-wrapper .card {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-wrapper .card-header {
    background: var(--white);
    border: none;
    padding: 0;
}

.faq-wrapper .card-header h5 a,
.faq-wrapper .card-header h5 a.btn-link,
.faq-wrapper .card-header .faq-card__title a,
.faq-wrapper .card-header .faq-card__title a.btn-link,
.faq-wrapper .btn-link {
    color: #0a1628 !important;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-wrapper .btn-link::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-text);
}

.faq-wrapper .btn-link:not(.collapsed),
.faq-wrapper .card-header h5 a.btn-link:not(.collapsed),
.faq-wrapper .card-header .faq-card__title a.btn-link:not(.collapsed) {
    color: var(--primary-text) !important;
}

.faq-wrapper .btn-link:not(.collapsed)::after {
    content: '-';
}

.faq-wrapper .card-header h5 a::before,
.faq-wrapper .card-header h5 a.collapsed::before,
.faq-wrapper .card-header .faq-card__title a::before,
.faq-wrapper .card-header .faq-card__title a.collapsed::before {
    color: var(--primary-text) !important;
    border-color: #c5ccd4 !important;
}

.page-home__faq .text-muted {
    color: #3d4756 !important;
}

/* Footer */
.footer-area {
    position: relative;
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

/* Footer with photo + dark overlay (PHP site footer) */
.footer-area.footer-area--site {
    background-color: #141210;
    background-image: url('../img/hero-luxury.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.footer-area.footer-area--site::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
    pointer-events: none;
}

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

/* Override theme footer defaults (style.css: huge widget padding, navy copyright band) */
.footer-area .footer-widget {
    padding-top: 0 !important;
}

.footer-area__grid > [class*="col-"] {
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .footer-area__grid > [class*="col-"] {
        margin-bottom: 0;
    }
}

.footer-area__logo {
    height: 50px;
    width: auto;
    max-width: 100%;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.96;
}

.footer-area__logo--light {
    height: clamp(3.25rem, 5.5vw, 4.5rem);
    max-height: 4.75rem;
    filter: none;
    opacity: 1;
}

.footer-widget--brand .footer-area__lead {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    max-width: 26rem;
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* Footer NAP (name, address, phone) */
.footer-nap {
    margin-top: 0.15rem;
}

.footer-nap__name {
    font-weight: 700;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.96);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.footer-widget--contact .footer-nap__address {
    font-style: normal;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.footer-nap__phone {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.footer-nap__phone .footer-tel-link {
    font-weight: 600;
}

.footer-nap__phone--secondary {
    margin-bottom: 0.85rem;
    font-size: 0.9375rem;
}

.footer-nap__phone--secondary .footer-tel-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

.footer-nap__email {
    margin: 0;
    font-size: 0.875rem;
}

.footer-nap__email .footer-tel-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
}

.footer-widget h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 10px;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.72);
    transition: var(--transition);
    font-size: 0.9375rem;
}

.footer-widget ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-widget ul li.footer-widget__privacy-item {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 0;
}

.footer-widget ul li.footer-widget__privacy-item a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.62);
}

.footer-widget ul li.footer-widget__privacy-item a:hover {
    color: var(--primary);
}

.footer-area .copyright-area,
.footer-area__copyright {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.75rem;
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-area__copyright p {
    margin: 0;
    font-weight: 400;
    text-transform: none;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.52);
}

.footer-area__credit-sep {
    color: rgba(255, 255, 255, 0.35);
}

.footer-area__developer-link {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-area__developer-link:hover {
    color: var(--primary);
    border-bottom-color: rgba(226, 77, 40, 0.45);
}

/* Testimonials */
.testimonial-area {
    padding: 100px 0;
    background: var(--light);
}

.testimonial-item {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 20px;
    text-align: center;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 30px;
}

.testimonial-author h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Feature Grid (Colored Columns) */
.feature-grid-area {
    padding: 0;
}

.feature-grid-item {
    padding: 60px 40px;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-grid-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: var(--transition);
}

.feature-grid-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.feature-grid-item h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-grid-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0;
}

.bg-light-1 {
    background-color: #ffffff;
}

.bg-light-2 {
    background-color: #fef0f0;
}

.bg-light-3 {
    background-color: #ffdad7;
}

.feature-grid-item:hover {
    filter: brightness(0.98);
}

/* Section Titles */
.section-title {
    max-width: 100% !important;
    margin-bottom: 50px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Eyebrow label (not a heading) — matches .section-title h5 from style.css */
.section-title .section-eyebrow {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-family: 'Roboto', sans-serif;
}

.faq-wrapper .faq-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Best Services Section */
.best-services-area {
    padding: 100px 0;
    overflow: hidden;
}

.best-services-area .subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-top: 0;
    margin-bottom: 20px;
}

.best-services-area h2.huge-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 60px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .best-services-area h2.huge-title {
        font-size: 2.5rem;
    }
}

.best-services-thumb img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.best-services-content {
    padding-left: 30px;
}

.best-services-item {
    margin-bottom: 40px;
}

.best-services-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
}

.best-services-item p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
}

.mission-text {
    max-width: 100%;
}

.mission-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.mission-text p {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Independent Mission Box */
.mission-area {
    padding: 60px 0;
    margin-top: -30px;
    /* Slight overlap or tight spacing */
    position: relative;
    z-index: 2;
}

.mission-box {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-top: 5px solid var(--primary);
}

.mission-box h2,
.mission-box h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.page-home__mission-visual {
    margin: 0 auto 1.75rem;
    max-width: 56rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(15, 12, 10, 0.12);
}

.page-home__mission-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.page-home__services-detail-visual {
    margin: 0 auto 2.25rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 12, 10, 0.1);
}

.page-home__services-detail-visual img {
    width: 100%;
    height: clamp(220px, 38vw, 420px);
    display: block;
    object-fit: cover;
    object-position: center;
}

.mission-box p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 25px;
}

.mission-box p:last-child {
    margin-bottom: 0;
}

/* Expertise Grid Section */
.expertise-area {
    padding: 100px 0;
    background: #fff;
}

.expertise-thumb img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.expertise-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
    text-transform: uppercase;
}

.expertise-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 30px;
}

.expertise-item {
    margin-bottom: 20px;
}

/* —— Home page (body.page-home) —— */
.page-home #ap,
.page-home #ac,
.page-home #apo,
.page-home #sc {
    scroll-margin-top: 96px;
}

.page-home__hero .single-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(45, 18, 12, 0.5) 0%, rgba(55, 22, 14, 0.32) 45%, rgba(80, 30, 18, 0.18) 100%);
    z-index: 0;
}

.page-home__hero .single-slider > .container {
    z-index: 1;
}

.page-home__hero .slider-content.page-home__hero-card {
    background: rgba(255, 255, 255, 0.22) !important;
    border-radius: 22px !important;
    padding: 2.25rem 2rem !important;
    box-shadow: 0 20px 50px rgba(35, 14, 8, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.page-home__hero .slider-content.page-home__hero-card h1 {
    font-size: clamp(1.85rem, 4.2vw, 2.85rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 1.5rem !important;
    text-transform: none;
    color: #0a0a0a;
}

.page-home__hero .slider-content.page-home__hero-card h1 .page-home__hero-brand {
    color: var(--primary);
    font-weight: 800;
}

.page-home__hero .slider-content.page-home__hero-card h1 .page-home__hero-tagline {
    color: #0a0a0a;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.page-home__hero .slider-content.page-home__hero-card p {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #0a0a0a;
    max-width: 36rem;
}

.page-home__hero .slider-content.page-home__hero-card p a {
    color: #0a0a0a;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(10, 10, 10, 0.35);
}

.page-home__hero .slider-content.page-home__hero-card p a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.page-home__hero .slider-btn {
    margin-top: 0.5rem;
}

.page-home__services {
    padding-top: 3.5rem !important;
    padding-bottom: 3rem !important;
    background: #eef0f3;
}

.page-home__services .section-title p.text-muted {
    color: #3d4756 !important;
}

/* Service cards: CSS Grid + gap so separation is always visible */
.page-home__services .page-home__services-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

.page-home__services .page-home__services-grid > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
    flex: none !important;
    width: 100% !important;
}

.page-home__services .page-home__services-grid .services-box {
    margin-bottom: 0 !important;
    box-shadow: 0 4px 14px rgba(15, 12, 10, 0.08);
}

@media (min-width: 768px) {
    .page-home__services .page-home__services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .page-home__services .page-home__services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }
}

.page-home__section-title h2 {
    text-transform: none;
    letter-spacing: -0.02em;
}

.page-home .feature-grid-item {
    padding: 48px 28px;
}

.page-home .feature-grid-card {
    padding: 32px 26px;
}

.page-home__best-services .subtitle {
    color: var(--primary-text) !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8125rem !important;
}

.page-home__huge-title,
.page-home .best-services-area h2.huge-title {
    font-size: clamp(1.65rem, 4.5vw, 2.75rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem !important;
    max-width: 40rem;
}

@media (min-width: 992px) {
    .page-home .best-services-content {
        padding-left: 2.5rem;
    }
}

@media (max-width: 991px) {
    .page-home .best-services-content {
        padding-left: 0;
        padding-top: 2rem;
    }
}

.page-home__mission {
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.page-home__mission-box {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem 1.75rem !important;
}

@media (min-width: 768px) {
    .page-home__mission-box {
        padding: 3.5rem 3rem !important;
    }
}

.page-home__services-lead {
    max-width: 48rem;
}

.page-home__services-lead h2 {
    text-transform: none;
    letter-spacing: -0.02em;
}

.page-home__cta-band {
    position: relative;
}

.page-home__cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 0;
}

.page-home__cta-band .container {
    position: relative;
    z-index: 1;
}

.page-home__cta-text h2 {
    text-transform: none;
    letter-spacing: -0.02em;
}

.page-home__contact-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0;
}

.page-home__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(226, 77, 40, 0.12), rgba(255, 138, 92, 0.08));
    color: var(--primary);
}

.page-home__contact-line a {
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home__contact-line a:hover {
    color: var(--primary);
    border-bottom-color: rgba(226, 77, 40, 0.35);
}

.page-home__testimonial-head {
    margin-bottom: 0.5rem;
}

.page-home__testimonial-head h2 {
    text-transform: none;
    letter-spacing: -0.02em;
}

.page-home__testimonials .testimonial-item {
    margin: 12px 8px;
}

.page-home__faq-inner .card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
}

.page-home__faq-inner h2 {
    text-transform: none;
    letter-spacing: -0.02em;
}

.page-home .expertise-content h3 {
    text-transform: none;
    letter-spacing: -0.01em;
}

/* Portfolio grid: 3 aligned columns, gutters, rounded tiles (reference layout) */
.gallery-area--portfolio-grid {
    background: #f0f1f3;
}

.gallery-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

@media (max-width: 991px) {
    .gallery-grid-3col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 575px) {
    .gallery-grid-3col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.gallery-grid-3col .gallery-grid-cell {
    min-width: 0;
}

.gallery-grid-3col .gallery-grid-cell a.popup-image {
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
}

.gallery-grid-3col .gallery-item {
    border-radius: 22px !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07) !important;
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.gallery-grid-3col .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1) !important;
}

.gallery-grid-3col .gallery-item:hover img {
    transform: scale(1.02);
}

/* Gallery Enhancements - Elegant & Complete View (Masonry) */
.gallery-grid-masonry {
    column-count: 3;
    column-gap: 30px;
    width: 100%;
}

@media (max-width: 991px) {
    .gallery-grid-masonry {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .gallery-grid-masonry {
        column-count: 1;
    }
}

.gallery-masonry-item {
    display: block;
    width: 100%;
    margin-bottom: 25px !important;
    position: relative;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    height: auto !important;
}

.gallery-masonry-item a.popup-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    line-height: 0 !important;
}

.gallery-item {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    cursor: pointer !important;
    line-height: 0 !important;
    font-size: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: transparent !important;
    display: block !important;
}

.gallery-item *, 
.gallery-item img,
.gallery-item a {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gallery-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.gallery-overlay {
    pointer-events: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(3px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.4s ease !important;
    line-height: normal !important;
    z-index: 2 !important;
}

.gallery-overlay i {
    display: inline-block !important; /* Icons shouldn't be block */
    height: auto !important;
}

.gallery-overlay i {
    color: #fff;
    font-size: 1.8rem;
    transform: scale(0.6);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Magnific Popup: gallery lightbox (counter, arrows, backdrop) */
.mfp-bg {
    background: #0a0a0a;
}

.mfp-bg.mfp-ready {
    opacity: 0.92 !important;
}

.mfp-fade.mfp-bg {
    transition: opacity 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.92 !important;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: opacity 0.25s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

.mfp-gallery .mfp-bottom-bar {
    margin-top: 8px;
}

.mfp-gallery .mfp-counter {
    position: static;
    display: block;
    text-align: right;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 6px 4px 0 0;
}

.mfp-gallery .mfp-arrow {
    opacity: 0.85;
}

.mfp-gallery .mfp-arrow:hover {
    opacity: 1;
}

.mfp-gallery .mfp-close {
    color: #fff !important;
    opacity: 0.85;
    font-size: 40px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    padding: 0;
    right: 8px;
    top: 8px;
}

.mfp-gallery .mfp-close:hover {
    opacity: 1;
}

/* Modern aluminum pergolas gallery — hero */
.page-gallery-pergolas__hero-section {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 4.5rem;
    background: linear-gradient(165deg, #f7ebe4 0%, #faf3ef 38%, #fff9f6 72%, #f2e6df 100%);
}

.page-gallery-pergolas__hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(226, 77, 40, 0.09) 0%, rgba(255, 138, 92, 0.04) 45%, transparent 70%);
    pointer-events: none;
}

.page-gallery-pergolas__hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 77, 40, 0.12), transparent);
    pointer-events: none;
}

.page-gallery-pergolas__hero-section .container {
    z-index: 1;
}

.page-gallery-pergolas__hero-section .gallery-breadcrumb {
    margin-bottom: 1.75rem;
    text-align: left;
}

.page-gallery-pergolas__hero-section .gallery-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0.85rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(45, 18, 12, 0.08);
}

.page-gallery-pergolas__hero-section .gallery-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.page-gallery-pergolas__hero-section .gallery-breadcrumb li:not(:last-child)::after {
    content: '/';
    color: #c5cdd6;
    font-weight: 400;
    margin-left: 0.5rem;
}

.page-gallery-pergolas__hero-section .gallery-breadcrumb a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.page-gallery-pergolas__hero-section .gallery-breadcrumb a:hover {
    text-decoration: underline;
}

.page-gallery-pergolas__hero-section .gallery-breadcrumb [aria-current="page"] {
    color: var(--dark);
    font-weight: 600;
}

.page-gallery-pergolas__hero-panel {
    position: relative;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(226, 77, 40, 0.2), rgba(255, 138, 92, 0.12), rgba(255, 255, 255, 0.4));
    box-shadow:
        0 4px 6px rgba(35, 14, 8, 0.04),
        0 24px 48px rgba(45, 18, 12, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.page-gallery-pergolas__hero-panel-inner {
    text-align: center;
    padding: 2.5rem 2rem 2.75rem;
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

.page-gallery-pergolas__kicker-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.page-gallery-pergolas__kicker-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--primary);
    background: linear-gradient(145deg, rgba(226, 77, 40, 0.1), rgba(255, 138, 92, 0.06));
    border: 1px solid rgba(226, 77, 40, 0.12);
}

.page-gallery-pergolas__kicker {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
}

.page-gallery-pergolas__title-rule {
    display: block;
    width: 3.5rem;
    height: 4px;
    margin: 0 auto 1.35rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 2px 12px rgba(226, 77, 40, 0.25);
}

.page-gallery-pergolas__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--dark);
}

.page-gallery-pergolas__intro {
    margin: 0 auto;
    max-width: 38rem;
    font-size: 1.0625rem;
    color: var(--gray);
    line-height: 1.7;
}

.page-gallery-pergolas__section {
    padding-top: 2.75rem;
}

.page-gallery-pergolas__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.page-gallery-pergolas__cta .border-btn,
.page-gallery-pergolas__cta .thm-btn {
    margin: 0 !important;
}

/* Privacy policy (same hero pattern as galleries; readable legal body) */
.page-privacy .page-privacy__article {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--gray);
}

.page-privacy .page-privacy__article h2 {
    margin: 2.25rem 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--heading-color, #1a1a1a);
    letter-spacing: -0.02em;
}

.page-privacy .page-privacy__article h2:first-of-type {
    margin-top: 0;
}

.page-privacy .page-privacy__article p {
    margin: 0 0 1rem;
}

.page-privacy .page-privacy__article p:last-child {
    margin-bottom: 0;
}

.page-privacy .page-privacy__article a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.page-privacy .page-privacy__article a:hover {
    color: var(--primary-dark);
}

.footer-area .footer-tel-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-area .footer-tel-link:hover {
    color: var(--primary);
    border-bottom-color: rgba(226, 77, 40, 0.45);
}

.mfp-gallery .mfp-title {
    color: rgba(255, 255, 255, 0.95);
    padding-right: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Footer & Other Adjustments */
@media (max-width: 768px) {
    .slider-content h1 {
        font-size: 2.5rem;
    }

    .slider-content {
        padding: 2rem;
    }

    .page-home__hero .slider-content.page-home__hero-card h1 {
        font-size: clamp(1.35rem, 5vw, 2.5rem) !important;
    }

    .page-gallery-pergolas__hero-section {
        padding: 2.25rem 0 3rem;
    }

    .page-gallery-pergolas__hero-section .gallery-breadcrumb {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .page-gallery-pergolas__hero-panel-inner {
        padding: 2rem 1.35rem 2.25rem;
    }
}

/* Meanmenu (mobile): replace template navy with brand */
.meanmenu-nav ul li a {
    color: var(--primary-dark) !important;
    transition: background 0.28s ease, color 0.28s ease, padding-left 0.28s ease;
}

.meanmenu-nav ul li a:hover {
    color: var(--primary) !important;
    background: rgba(226, 77, 40, 0.08) !important;
    padding-left: 1.1rem !important;
}

.meanmenu-nav ul li a.is-active {
    color: var(--primary) !important;
    background: rgba(255, 248, 245, 0.98) !important;
    border-left: 3px solid var(--primary);
    padding-left: 1rem !important;
    font-weight: 700 !important;
}

/* —— Home index: CLS-safe images + mobile tap targets + notch-safe WhatsApp —— */
.page-home .services-thumb img,
.page-home .best-services-thumb img,
.page-home .expertise-thumb img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .page-home .page-home__huge-title {
        font-size: clamp(1.7rem, 8.5vw, 2.35rem);
    }

    .page-home .page-home__services .thm-btn.btn-sm {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .page-home .accordion .btn-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .floating-whatsapp {
        bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 10px));
        right: max(14px, calc(env(safe-area-inset-right, 0px) + 10px));
        width: 54px;
        height: 54px;
        font-size: 1.65rem;
    }
}

@media (max-width: 991px) {
    .main-header .navbar-toggler {
        min-width: 48px;
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-header,
    .main-header .nav-link,
    .main-header .navbar-brand__logo,
    .navbar-brand img {
        transition: none !important;
    }

    .main-header .nav-link:hover {
        transform: none;
    }
}