:root {
    --roper-yellow: #FFDE00;
    --roper-black: #111111;
    --roper-gray: #353A42;
    --text-white: #FFFFFF;
    --text-light: #C8CDD4;
    --bg-dark: #2B2F36;
    --bg-dark-elevated: #353A42;
    --bg-light: #EEF0F3;
    --bg-light-alt: #F7F8FA;
    --text-dark: #1C1F24;
    --text-muted: #5A616B;
    --border-light: rgba(28, 31, 36, 0.1);
    --border-dark: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.mobile-only {
    display: none;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header — floating pill (estilo Vicentino) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    padding: 0.7rem 1.25rem 0;
    transition: padding 0.3s ease;
}

.top-bar {
    max-width: 1200px;
    margin: 0 auto 0.55rem;
    padding: 0.4rem 1.5rem;
    max-height: 48px;
    border-radius: 20px;
    background: rgba(28, 31, 36, 0.72);
    backdrop-filter: blur(8px);
    transition: max-height 0.3s ease, margin 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}

.header.scrolled .top-bar {
    max-height: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    border: none;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.top-bar-info {
    display: flex;
    gap: 1.25rem;
}

.info-item {
    font-size: 0.72rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.info-item svg {
    color: var(--roper-yellow);
}

.top-bar-social {
    display: flex;
    gap: 0.85rem;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--roper-yellow);
}

.header.scrolled {
    padding-top: 0.85rem;
    padding-bottom: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
    margin-right: 0.35rem;
}

.hamburger span {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 0.55rem 0.75rem 0.55rem 1.75rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.14);
    border: 1px solid rgba(16, 24, 40, 0.06);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled .header-container {
    box-shadow: 0 14px 44px rgba(16, 24, 40, 0.18);
}

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

.header-logo {
    height: 48px;
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .header-logo {
    height: 42px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #a38b00;
}

.header-container .nav-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.8rem;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using an image from the Assets folder parsed previously - preferably a factory shot */
    background-image: url('Assets/408180_8d9cef4260894c4696525c2dfba6d2e7.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Welbim-style gradient overlay: dark on the left to show text, fading to transparency on the right */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(43,47,54,0.92) 0%, rgba(43,47,54,0.72) 45%, rgba(43,47,54,0.18) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    width: 100%;
    margin-left: max(0px, calc((100vw - 1200px) / 2));
    padding-top: 80px; /* offset for header */
}

.hero-subtitle {
    color: var(--roper-yellow);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    padding-left: 50px;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--roper-yellow);
    transform: translateY(-50%);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--roper-yellow);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}


/* About Section */
/* Light sections */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-top: 1px solid var(--border-light);
}

.section-light .section-title,
.section-light .solution-title,
.section-light .feature-text h3,
.section-light .detail-text h4,
.section-light .about-quote {
    color: var(--text-dark);
}

.section-light .about-text,
.section-light .solution-text,
.section-light .feature-text p,
.section-light .contact-text,
.section-light .detail-text p {
    color: var(--text-muted);
}

.section-light .btn-primary:hover {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--roper-yellow);
}

.section-light .btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: rgba(17, 17, 17, 0.25);
}

.section-light .btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--text-white);
    border-color: var(--text-dark);
}

.about {
    padding: 100px 2rem;
    background-color: var(--bg-light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 10px solid var(--roper-yellow);
    border-radius: 8px;
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    display: block;
    border-radius: 8px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.5);
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background-color: var(--roper-yellow);
    padding: 2rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    text-align: center;
    margin-top: 5px;
}

.section-subtitle {
    color: var(--roper-yellow);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-white);
    text-transform: uppercase;
}

.section-title span {
    color: var(--roper-yellow);
}

.about-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    color: var(--roper-yellow);
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-quote {
    border-left: 3px solid var(--roper-yellow);
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-white);
    font-weight: 500;
}

/* Animations Scroll Reveal (Placeholder logic) */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.btn:hover {
    transition-delay: 0s !important;
}

.btn-primary {
    background-color: var(--roper-yellow);
    color: #000;
    border: 2px solid var(--roper-yellow);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--roper-yellow);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: #000;
    border-color: var(--text-white);
}

/* Solutions — Estamparia + Press catalog */
.solutions {
    padding: 100px 2rem;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.solution-intro {
    max-width: 760px;
    margin-bottom: 3.5rem;
}

.solution-subtitle {
    color: var(--roper-yellow);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.solution-title {
    color: var(--text-white);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.solution-title span {
    color: var(--roper-yellow);
}

.solution-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Press catalog */
.press-catalog {
    background-color: var(--bg-dark-elevated);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 2rem;
}

.press-catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--roper-yellow);
}

.press-catalog-header h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.press-catalog-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

.press-filters {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-chip:hover {
    border-color: var(--roper-yellow);
    color: var(--roper-yellow);
}

.filter-chip.active {
    background: var(--roper-yellow);
    color: var(--roper-black);
    border-color: var(--roper-yellow);
}

.press-search {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
}

.press-search:focus {
    outline: none;
    border-color: var(--roper-yellow);
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.press-card {
    background: rgba(0, 0, 0, 0.28);
    border-left: 3px solid var(--roper-yellow);
    border-radius: 0 8px 8px 0;
    padding: 1.2rem;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.press-card:hover {
    transform: translateX(4px);
    background: rgba(255, 222, 0, 0.06);
}

.press-card.is-hidden {
    display: none;
}

.press-card .press-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--roper-yellow);
    margin-bottom: 0.55rem;
}

.press-card .press-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.85rem;
}

.press-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.press-qty,
.press-tag {
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
}

.press-qty {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.press-tag {
    color: var(--roper-black);
    background: var(--roper-yellow);
}

.press-empty {
    text-align: center;
    color: var(--text-light);
    padding: 2rem 1rem;
    font-size: 1rem;
}

/* Products duo — Telecom + Suportes */
.products {
    padding: 100px 2rem;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.product-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-light-alt);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
}

.product-heading {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-block .solution-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 0;
    min-height: 0;
}

.product-block .solution-text {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    flex: 0 0 auto;
    min-height: 0;
}

.product-block .product-cta {
    margin-top: auto;
    align-self: flex-start;
    width: calc((100% - 0.65rem) / 2);
    box-sizing: border-box;
    text-align: center;
    padding: 0.9rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.product-media {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    margin: 0.25rem 0 1.5rem;
}

.product-highlights {
    width: 100%;
    margin-top: 0.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.product-highlights h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.75rem;
}

.highlights-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.4;
}

.highlights-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--roper-yellow);
}

.highlights-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    margin-top: auto;
}

.highlights-actions .btn {
    flex: 1 1 0;
    padding: 0.9rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    white-space: nowrap;
    min-width: 0;
}

/* Portfolio modal */
body.modal-open {
    overflow: hidden;
}

.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.portfolio-modal[hidden] {
    display: none;
}

.portfolio-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 31, 36, 0.62);
    backdrop-filter: blur(3px);
}

.portfolio-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: min(90vh, 900px);
    overflow: auto;
    background: var(--bg-light-alt);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    padding: 1.5rem 1.5rem 2rem;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--roper-yellow);
}

.portfolio-header h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.portfolio-count {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.portfolio-close {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.portfolio-close:hover {
    border-color: var(--roper-yellow);
    background: #fffef3;
}

.portfolio-filters {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.portfolio-modal .filter-label {
    color: var(--text-muted);
}

.portfolio-modal .filter-chip {
    color: var(--text-dark);
    border-color: var(--border-light);
    background: var(--bg-light);
}

.portfolio-modal .filter-chip:hover {
    border-color: var(--roper-yellow);
    color: var(--text-dark);
}

.portfolio-modal .filter-chip.active {
    background: var(--roper-yellow);
    color: var(--roper-black);
    border-color: var(--roper-yellow);
}

.portfolio-modal .press-search {
    background: var(--bg-light);
    border-color: var(--border-light);
    color: var(--text-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portfolio-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.portfolio-card.is-hidden {
    display: none;
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.portfolio-card h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
}

.portfolio-tag {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: rgba(255, 222, 0, 0.25);
    color: var(--text-dark);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .portfolio-filters {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-dialog {
        padding: 1.1rem;
        max-height: 92vh;
    }

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

    .highlights-actions .btn {
        flex: 1 1 calc(50% - 0.35rem);
        font-size: 0.68rem;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
}

.catalog-carousel {
    overflow: hidden;
    flex-grow: 1;
    border-radius: 4px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
}

.carousel-item {
    flex: 0 0 100%;
    aspect-ratio: 1 / 1;
    max-height: 320px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

/* Moldura Effect Overlay */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: none;
    border-radius: 2px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.carousel-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--roper-yellow);
    color: var(--roper-black);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 20;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.carousel-ctrl:hover {
    background-color: var(--bg-dark);
    color: var(--roper-yellow);
    transform: translateY(-60%) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}

.carousel-ctrl svg {
    width: 24px;
    height: 24px;
}

.catalog-main-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    display: block;
    object-fit: contain;
    object-position: center center;
    background-color: transparent;
    border-radius: 8px;
}

.product-block .catalog-main-img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
    border-radius: 8px;
}

/* Staggered delays for About section & Services Cards */
.about-content [data-reveal]:nth-child(1) { transition-delay: 0.1s; }
.about-content [data-reveal]:nth-child(2) { transition-delay: 0.2s; }
.about-content [data-reveal]:nth-child(3) { transition-delay: 0.3s; }
.about-content [data-reveal]:nth-child(4) { transition-delay: 0.4s; }
.about-content [data-reveal]:nth-child(5) { transition-delay: 0.5s; }
.about-content [data-reveal]:nth-child(6) { transition-delay: 0.6s; }

.about-image[data-reveal] { transition-delay: 0.2s; }
/* Responsive About */
@media (max-width: 900px) {
    .about {
        padding: 60px 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .image-wrapper {
        padding-right: 15px;
        padding-bottom: 15px;
    }

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

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

/* Responsive Solutions + Products */
@media (max-width: 900px) {
    .solutions,
    .products {
        padding: 60px 1.5rem;
    }

    .solution-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .solution-text {
        font-size: 0.95rem;
    }

    .press-filters {
        grid-template-columns: 1fr;
    }

    .press-grid {
        grid-template-columns: 1fr;
    }

    .products-duo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-block {
        padding: 1.5rem;
    }

    .product-heading,
    .product-block .solution-title,
    .product-block .solution-text {
        min-height: 0;
    }

    .catalog-main-img,
    .product-block .catalog-main-img {
        max-height: none;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .carousel-item {
        flex: 0 0 100%;
    }

    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }

    .carousel-ctrl {
        width: 45px;
        height: 45px;
        opacity: 0.9;
    }
}

@media (max-width: 600px) {
    .press-catalog {
        padding: 1.25rem 1rem;
    }

    .press-catalog-header h3 {
        font-size: 1.2rem;
    }

    .press-card .press-details {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Stats Section */
.stats {
    position: relative;
    padding: 80px 2rem;
    background-color: var(--bg-dark);
    overflow: hidden;
    border-top: 1px solid var(--border-dark);
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Assets/408180_1f85fd2a606d465abfc0c6b79d0efad2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--roper-yellow);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
}

/* Contact Section */
.contact {
    padding: 100px 2rem;
    background-color: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.detail-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 222, 0, 0.1);
    color: var(--roper-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.detail-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.detail-text p {
    font-size: 0.95rem;
}

.detail-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.detail-text a:hover {
    color: var(--roper-yellow);
}

.contact-form-wrapper {
    background-color: var(--bg-light-alt);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}

.section-light .form-group label {
    color: var(--text-dark);
}

.section-light .form-group input,
.section-light .form-group textarea {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
}

.section-light .form-group input::placeholder,
.section-light .form-group textarea::placeholder {
    color: #8A9099;
}

.section-light .form-group input:focus,
.section-light .form-group textarea:focus {
    border-color: var(--roper-yellow);
    background-color: #fffef3;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--roper-yellow);
    background-color: rgba(255, 222, 0, 0.05);
}

.form-group.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(17, 17, 17, 0.06);
    color: var(--text-dark);
}

.form-status.success {
    background: rgba(34, 160, 90, 0.12);
    color: #146c3a;
}

.form-status.error {
    background: rgba(200, 40, 40, 0.1);
    color: #a11919;
}

#contact-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    padding: 5rem 2rem 0; 
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 45px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--roper-yellow);
    color: var(--roper-black);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--roper-yellow);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--roper-yellow);
    flex-shrink: 0;
}

.footer-contact-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copy {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0 !important;
}

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

.hero-subtitle { animation: fadeInUp 0.8s ease forwards; }
.hero-title { animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }
.hero-text { animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; }
.hero-actions { animation: fadeInUp 0.8s ease 0.6s forwards; opacity: 0; }

/* Responsive */
@media (max-width: 900px) {
    .header {
        padding: 0.65rem 0.85rem 0;
    }

    .top-bar {
        display: none;
    }

    .header-container {
        padding: 0.45rem 0.7rem 0.45rem 1.25rem;
        border-radius: 18px;
    }

    .header-logo {
        height: 40px;
    }

    .pc-only, .hide-mobile {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 150;
        box-shadow: -10px 0 30px rgba(0,0,0,0.18);
        border-radius: 0;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.15rem;
        color: var(--text-dark);
    }

    .nav-social {
        margin-top: 2rem;
        gap: 2rem;
    }

    .nav-social a {
        color: var(--text-dark);
        transition: color 0.3s ease;
    }

    .nav-social a:hover {
        color: #a38b00;
    }

    /* Hero Responsive */
    .hero {
        padding-top: 180px;
        text-align: center;
        align-items: flex-start;
        height: auto;
        min-height: 100vh;
    }

    .hero::after {
        background: linear-gradient(0deg, rgba(43,47,54,0.9) 0%, rgba(43,47,54,0.65) 100%);
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-subtitle {
        padding-left: 0;
        margin-bottom: 1rem;
    }

    .hero-subtitle::before {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-text {
        font-size: 1rem;
        margin: 0 auto 2.5rem;
    }

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

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact {
        padding: 60px 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

