/* COMFORRT Mattress & Home Furnishing - Stylesheet */

:root {
    --p: #393186;
    --r: #c8202f;
    --bg: #ffffff;
    --tx: #555555;
    --gray: #f1f1f1;
    --card: #ffffff;
    --dk: #1f1f1f;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--tx);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, background 0.2s;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
}

.w {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

@media(min-width: 901px) {
    body {
        font-size: 16px;
    }
    .w {
        max-width: 1380px;
        padding: 0 15px;
    }
}

.sec {
    padding: 70px 0;
}

@media(min-width: 901px) {
    .sec {
        padding: 90px 0;
    }
}

.ttl {
    text-align: center;
    color: var(--p);
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 700;
}

.ttl:after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--r);
    margin: 14px auto 0;
}

@media(min-width: 901px) {
    .ttl {
        font-size: 36px;
    }
    .ttl:after {
        width: 70px;
        margin-top: 18px;
    }
}

.btn {
    display: inline-block;
    padding: 9px 22px;
    background: #ffffff;
    color: var(--p);
    font-weight: 500;
    font-size: 13px;
    border: 1px solid #dddddd;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn:hover {
    background: var(--p);
    color: #ffffff;
    border-color: var(--p);
}

.btn.r {
    background: var(--r);
    color: #ffffff;
    border-color: var(--r);
}

.btn.r:hover {
    background: #a51824;
    border-color: #a51824;
}

/* =========================================================
   TOP HEADER
   ========================================================= */
.top {
    background: #ffffff;
    border-bottom: 1px solid #f2f2f7;
}

.top .w {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

@media(min-width: 901px) {
    .top .w {
        height: 90px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

@media(min-width: 901px) {
    .logo img {
        height: 58px;
    }
}

.ct {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media(min-width: 901px) {
    .ct {
        gap: 40px;
    }
}

.ct-box-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.ct-icon {
    font-size: 32px;
    color: #be272e;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ct-divider {
    width: 1px;
    height: 38px;
    background-color: rgba(0, 0, 0, 0.14);
    margin: 0 16px 0 18px;
}

.ct-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ct-label {
    display: block;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    font-weight: 300;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 2px;
}

.ct-val {
    display: block;
    color: #393186;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.ct-box-link:hover .ct-val {
    color: #be272e;
}

/* =========================================================
   NAVIGATION BAR & MEGA MENU
   ========================================================= */
nav {
    background: #393186;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

nav > .w {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 54px;
}

@media(min-width: 901px) {
    nav > .w {
        height: 56px;
    }
}

nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
}

nav > .w > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

nav > .w > ul > li > a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    color: #ffffff;
    padding: 0 18px;
    font: 500 15px 'Montserrat', Arial, sans-serif;
    text-transform: none; /* Exact Title Case matching design */
    letter-spacing: 0.2px;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    transition: color 0.2s, border-color 0.2s;
}

nav > .w > ul > li:hover > a {
    border-bottom-color: #be272e;
    background: transparent;
    color: #ffffff;
}

nav > .w > ul > li.on > a {
    border-bottom-color: #be272e;
    background: transparent;
    color: #ffffff;
}

@media(min-width: 901px) {
    nav > .w > ul > li > a {
        padding: 0 22px;
        font-size: 15px;
    }
}

/* Mega menu */
nav li.has {
    position: static;
}

.mega {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 880px;
    background: #ffffff;
    color: var(--tx);
    padding: 26px 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    border-top: 2px solid #be272e;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    z-index: 999;
}

nav li.has:hover .mega {
    display: grid;
}

@media(min-width: 901px) {
    .mega {
        width: 1000px;
        padding: 30px 20px;
    }
}

.mega h4 {
    margin: 0 0 6px;
    color: #393186;
    font: 700 16px 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
    padding-bottom: 12px;
    position: relative;
}

.mega h4:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #be272e;
}

.mega a {
    display: block;
    color: #393186;
    font-size: 13px;
    padding: 5px 0 5px 4px;
    text-transform: uppercase;
}

.mega a:before {
    content: "↗";
    margin-right: 8px;
    font-size: 13px;
}

.mega a:hover {
    color: #be272e;
}

/* "Get In Touch!" Button centered in navbar */
.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #be272e;
    color: #ffffff;
    font: 400 15px 'Montserrat', Arial, sans-serif;
    padding: 7px 22px;
    border-radius: 2px;
    margin-left: auto;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: normal;
    transition: background-color 0.2s, color 0.2s;
}

.nav-contact-btn i {
    font-size: 14px;
}

.nav-contact-btn:hover {
    background-color: #ffffff;
    color: #2e2e2e;
}

.burger {
    display: none;
    background: none;
    border: 0;
    color: #ffffff;
    font-size: 26px;
    padding: 8px;
    cursor: pointer;
}

/* =========================================================
   HERO BANNER & KEN BURNS ZOOM-OUT EFFECT
   ========================================================= */
.hero {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: #111116;
}

@media(min-width: 901px) {
    .hero {
        height: 620px; /* Exact banner height matching comfortmattress.in */
    }
}

.sl {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}

.sl.on {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background image with Ken Burns slow zoom out */
.sl-bg {
    position: absolute;
    inset: -25px; /* slight overflow to prevent border gap during scale */
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    z-index: -1;
}

.sl.on .sl-bg {
    animation: kenBurnsZoomOut 7.5s cubic-bezier(0.1, 0.2, 0.3, 1) forwards;
}

@keyframes kenBurnsZoomOut {
    0% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1.0);
    }
}

.sl .w {
    position: relative;
    z-index: 3;
    width: 100%;
}

.sl h1 {
    color: #ffffff;
    font-size: 36px;
    letter-spacing: 1.5px;
    max-width: 760px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 14px;
}

.sl p {
    color: #ffffff;
    max-width: 620px;
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.7;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.sl .btn {
    background: #ffffff;
    color: var(--p);
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.sl .btn:hover {
    background: var(--r);
    color: #ffffff;
}

@media(min-width: 901px) {
    .sl .w {
        padding-left: 125px;
    }
    .sl h1 {
        font-size: 58px;
        letter-spacing: 2.5px;
        line-height: 74px;
        max-width: 1100px;
        font-weight: 700;
    }
    .sl p {
        font-size: 15px;
        margin-bottom: 28px;
    }
}

.dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dots b {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dots b.on {
    background: #ffffff;
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    z-index: 5;
    pointer-events: none;
}

.hero-scroll:before {
    content: "";
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
}

/* =========================================================
   ABOUT SECTION (Red Offset Box)
   ========================================================= */
.about .w {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ph {
    position: relative;
    aspect-ratio: 1 / 1.05;
    width: 90%;
    margin-left: 18px;
    display: flex;
}

.ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ph:before {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 60%;
    height: 60%;
    background: var(--r);
    z-index: 1;
}

.about h2 {
    color: var(--p);
    font-size: 15px;
    text-transform: uppercase;
    margin: 10px 0 14px;
    font-weight: 700;
}

.about p {
    font-size: 12.5px;
    margin: 0 0 14px;
    line-height: 1.9;
    color: var(--tx);
}

.about .btn {
    background: #e8e8ee;
    color: var(--p);
    padding: 8px 18px;
    font-size: 12px;
    border: none;
    font-weight: 600;
}

.about .btn:hover {
    background: var(--r);
    color: #ffffff;
}

@media(min-width: 901px) {
    .about .w {
        grid-template-columns: 635px 1fr;
        gap: 60px;
    }
    .ph {
        width: 635px;
        margin: 0;
        aspect-ratio: 635 / 560;
    }
    .ph:before {
        left: -40px;
        bottom: -40px;
        width: 340px;
        height: 340px;
    }
}

/* =========================================================
   FOUNDER SECTION
   ========================================================= */
.founder {
    padding: 0 0 60px;
}

.fc {
    background: var(--card);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 30px;
    padding: 14px;
    border: 1px solid #ebebef;
    align-items: center;
}

.fc .im {
    min-height: 210px;
    overflow: hidden;
}

.fc .im img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fc h2 {
    color: var(--p);
    font-size: 18px;
    text-transform: uppercase;
    margin: 16px 0 10px;
    font-weight: 700;
}

.fc p {
    font-size: 11.5px;
    margin: 0 0 12px;
    padding-right: 20px;
    line-height: 1.8;
    color: var(--tx);
}

.fc .btn {
    background: var(--r);
    color: #ffffff;
    border: none;
    font-size: 11px;
    padding: 7px 16px;
    font-weight: 600;
}

.fc .btn:hover {
    background: #a51824;
}

@media(min-width: 901px) {
    .fc {
        max-width: 900px;
        grid-template-columns: 250px 1fr;
    }
    .fc h2 {
        font-size: 26px;
        margin: 36px 0 14px;
    }
    .fc p {
        font-size: 14px;
        line-height: 26px;
    }
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why {
    background: var(--gray);
    padding: 70px 0;
}

.cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.cols .ic {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border: 2px solid var(--p);
    border-radius: 50%;
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.cols .ic img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.cols:hover .ic {
    border-color: var(--r);
}

.cols h3 {
    font-size: 13px;
    color: var(--p);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

.cols p {
    font-size: 11.5px;
    margin: 0;
    line-height: 1.7;
    color: var(--tx);
}

@media(min-width: 901px) {
    .cols h3 {
        font-size: 18px;
    }
    .cols p {
        font-size: 14px;
    }
    .cols .ic {
        width: 64px;
        height: 64px;
    }
    .cols .ic img {
        max-width: 38px;
        max-height: 38px;
    }
}

/* =========================================================
   HOME FURNISHING PRODUCTS (Dark Section)
   ========================================================= */
.prod {
    background: linear-gradient(rgba(10, 10, 20, 0.88), rgba(10, 10, 20, 0.88)), url('/images/original/banner-1.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 70px 0;
}

.prod .ttl {
    color: var(--r);
}

.prod .ttl:after {
    background: #ffffff;
}

.prod > .w > p {
    text-align: center;
    font-size: 12px;
    max-width: 1000px;
    margin: 20px auto 36px;
    color: #dddddd;
    line-height: 1.8;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 30px;
    max-width: 840px;
    margin: auto;
}

.pc {
    background: #ffffff;
    padding: 6px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.pc:hover {
    transform: translateY(-6px);
}

.pc img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.pc span {
    display: block;
    padding: 10px 0 6px;
    color: var(--r);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Montserrat', Arial, sans-serif;
}

.prod .more {
    text-align: center;
    margin-top: 36px;
}

@media(min-width: 901px) {
    .prod > .w > p {
        font-size: 14px;
    }
    .grid3 {
        max-width: 1000px;
        gap: 26px 34px;
    }
    .pc img {
        height: 200px;
    }
    .pc span {
        font-size: 15px;
        padding: 14px 0 10px;
    }
}

/* =========================================================
   MATTRESS TYPES
   ========================================================= */
.types p.in {
    text-align: center;
    max-width: 820px;
    margin: 24px auto 36px;
    font-size: 12.5px;
    color: var(--tx);
}

.types h3 {
    text-align: center;
    color: var(--p);
    font-size: 24px;
    margin-bottom: 22px;
    text-transform: uppercase;
    font-weight: 700;
}

.tb {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;
    max-width: 840px;
    margin: auto;
}

.tb a {
    background: var(--p);
    color: #ffffff;
    text-align: center;
    padding: 18px 10px;
    font: 700 16px/1.4 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb a:hover {
    background: var(--r);
}

@media(min-width: 901px) {
    .types p.in {
        font-size: 14px;
    }
    .types h3 {
        font-size: 30px;
    }
    .tb {
        max-width: 1000px;
    }
    .tb a {
        font-size: 22px;
        padding: 24px 10px;
    }
}

/* =========================================================
   COMFORRT AT A GLANCE
   ========================================================= */
.gl {
    padding-bottom: 70px;
}

.gl small {
    color: var(--r);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.gl h2 {
    color: var(--p);
    font-size: 26px;
    text-transform: uppercase;
    margin: 6px 0 24px;
    font-weight: 700;
}

.ac {
    border-top: 1px solid #dddddd;
}

.ai {
    border-bottom: 1px solid #dddddd;
    padding: 24px 0;
    display: grid;
    grid-template-columns: 1fr 2fr 40px;
    gap: 20px;
    align-items: center;
}

.ai b {
    color: var(--p);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13.5px;
}

.ai p {
    margin: 0;
    font-size: 11.5px;
    max-width: 600px;
    color: var(--tx);
    line-height: 1.8;
}

.ai i {
    font-style: normal;
    font-size: 20px;
    color: var(--p);
    text-align: right;
}

@media(min-width: 901px) {
    .gl h2 {
        font-size: 34px;
    }
    .gl small {
        font-size: 14px;
    }
    .ai b {
        font-size: 17px;
    }
    .ai p {
        font-size: 14px;
        max-width: 520px;
    }
    .ai {
        padding: 34px 0;
    }
}

/* =========================================================
   TESTIMONIALS (Dark Section)
   ========================================================= */
.tm {
    background: var(--dk);
    color: #ffffff;
    text-align: center;
    padding: 70px 0;
}

.tm small {
    font-size: 11px;
    color: var(--r);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    display: block;
}

.tm h2 {
    font-size: 26px;
    margin: 6px 0 10px;
    color: #ffffff;
    font-weight: 700;
}

.tm .sub {
    color: #999999;
    font-size: 12px;
}

.q {
    font-size: 70px;
    color: var(--r);
    font-family: Georgia, serif;
    line-height: 1;
    margin-top: 20px;
    height: 44px;
}

.tt {
    max-width: 780px;
    margin: 0 auto;
    min-height: 60px;
    font-size: 13px;
    line-height: 1.8;
    color: #dddddd;
    font-style: italic;
}

.who {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-top: 24px;
}

.who button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 10px;
    transition: color 0.2s;
}

.who button:hover {
    color: var(--r);
}

.av {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
}

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

.who span {
    color: var(--r);
    font-weight: 600;
    min-width: 140px;
    text-align: left;
    font-size: 13.5px;
}

@media(min-width: 901px) {
    .tm h2 {
        font-size: 34px;
    }
    .tm .sub, .tm small {
        font-size: 15px;
    }
    .tt {
        font-size: 16px;
        max-width: 900px;
    }
    .who span {
        font-size: 20px;
    }
}

/* =========================================================
   CLIENT LOGOS (Exact constrained grid to prevent overflow)
   ========================================================= */
.lg {
    padding: 60px 0;
    background: var(--bg);
}

.lgrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 100%;
}

.lgrid div {
    height: 85px;
    border: 1px solid #dcdce6;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: transform 0.2s, border-color 0.2s;
}

.lgrid div:hover {
    border-color: var(--r);
    transform: translateY(-2px);
}

.lgrid div img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media(max-width: 991px) {
    .lgrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 550px) {
    .lgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   FAQ (Dark Section)
   ========================================================= */
.faq {
    background: var(--dk);
    padding: 70px 0;
}

.faq .ttl {
    color: var(--r);
}

.faq .ttl:after {
    background: #ffffff;
}

.fq {
    max-width: 680px;
    margin: 36px auto 0;
}

.fi {
    background: #ffffff;
    margin-bottom: 10px;
    border-radius: 2px;
    overflow: hidden;
}

.fi button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 13px 18px;
    font: 600 12px 'Roboto', Arial, sans-serif;
    color: #222222;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.fi button:after {
    content: "A";
    font-size: 18px;
    font-weight: bold;
    color: var(--r);
    transition: transform 0.3s ease;
}

.fi.on button:after {
    transform: rotate(90deg);
}

.fi div {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 12.5px;
    color: #555555;
    padding: 0 18px;
    line-height: 1.8;
}

.fi.on div {
    max-height: 160px;
    padding-bottom: 14px;
}

@media(min-width: 901px) {
    .fq {
        max-width: 760px;
    }
    .fi button {
        font-size: 14px;
        padding: 14px 18px;
    }
    .fi div {
        font-size: 14px;
    }
}

/* =========================================================
   FOOTER (Light Gray/Lavender Background - Exact match)
   ========================================================= */
footer {
    background: #e8e8ee;
    color: #444444;
}

footer .w {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 50px;
    padding: 50px 20px;
}

footer p {
    font-size: 11px;
    line-height: 1.8;
    color: #555555;
}

footer h4 {
    color: var(--p);
    margin: 0 0 14px;
    font: 700 13.5px 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
}

footer a {
    display: block;
    font-size: 11.5px;
    margin-bottom: 8px;
    color: #444444;
}

footer a:hover {
    color: var(--r);
}

footer li {
    list-style: none;
    font-size: 11.5px;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    color: #444444;
    line-height: 1.6;
}

footer ul {
    padding: 0;
    margin: 0;
}

.soc a {
    display: inline-flex;
    width: 26px;
    height: 26px;
    background: var(--p);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
}

.soc a:hover {
    background: var(--r);
}

.cp {
    background: var(--p);
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    padding: 10px;
    letter-spacing: 0.3px;
}

@media(min-width: 901px) {
    footer p {
        font-size: 13px;
    }
    footer h4 {
        font-size: 17px;
    }
    footer a, footer li {
        font-size: 14px;
    }
    .cp {
        font-size: 13px;
        padding: 12px;
    }
}

/* Floating WhatsApp */
.wa {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.wa:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* =========================================================
   INTERNAL PAGES (Breadcrumb, Catalog, Product, Form)
   ========================================================= */
.pb {
    background: linear-gradient(90deg, rgba(15, 15, 25, 0.88), rgba(40, 40, 55, 0.55)), linear-gradient(135deg, #30323d, #14151c);
    color: #ffffff;
    padding: 60px 0;
    margin-bottom: 40px;
}

.pb small {
    font-size: 13px;
    color: #ccc;
    text-transform: uppercase;
}

.pb small a {
    color: #ffffff;
    text-decoration: underline;
}

.pb h1 {
    font-size: 36px;
    color: #ffffff;
    margin-top: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

.pg3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cd {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.cd:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.cd img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 12px;
}

.cd h3 {
    color: var(--p);
    font-size: 17px;
    margin-bottom: 8px;
}

.cd p {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.6;
}

.ctg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.fm {
    display: grid;
    gap: 14px;
    max-width: 520px;
}

.fm input, .fm textarea {
    padding: 12px 14px;
    border: 1px solid #ccc;
    font: inherit;
    width: 100%;
    font-size: 13.5px;
    box-sizing: border-box;
}

.fm button {
    background: var(--r);
    color: #ffffff;
    border: 0;
    padding: 13px 28px;
    font: 600 13.5px 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.fm button:hover {
    background: #a51824;
}

.alert-success {
    background: #eafaf1;
    color: #27ae60;
    border: 1px solid #c1efd4;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 13px;
}

/* =========================================================
   RESPONSIVE QUERIES
   ========================================================= */
@media (max-width: 900px) {
    .ct {
        display: none;
    }
    .burger {
        display: block;
    }
    nav ul {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--p);
        flex-direction: column;
        max-height: 75vh;
        overflow-y: auto;
    }
    nav ul.open {
        display: flex;
    }
    .mega {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
    }
    nav li.has:hover .mega {
        display: block;
    }
    nav .btn.r,
    .nav-contact-btn {
        display: none;
    }
    .about .w {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .fc {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tb {
        grid-template-columns: 1fr;
    }
    footer .w {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ai {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .ai i {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .grid3, .cols, .tb {
        grid-template-columns: 1fr;
    }
}
