/* =========================================================
   Ferrule Printing Machine — unified site stylesheet
   Single source of truth for the homepage AND all inner
   pages (products/, guide articles). Do not fork this file —
   the homepage links to it exactly like every other page.
   ========================================================= */

:root {
    --primary: #0056b3;
    --secondary: #e63946;
    --accent: #ff9800;
    --dark: #2a2a2a;
    --light: #f8f9fa;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

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

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    z-index: 1001;
}

.logo-img {
    height: 32px;
    margin-right: 8px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-menu li {
    margin-left: 0.9rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.88rem;
    white-space: nowrap;
    padding: 0.5rem 0.55rem;
    border-radius: 20px;
}

.nav-menu a:hover,
        .nav-menu li.active > a {
    color: var(--primary);
    background: rgba(0, 86, 179, 0.1);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
    color: var(--dark);
}

.has-dropdown > a i.fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 4px;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1002;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin-left: 0 !important;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    border-radius: 0;
    white-space: nowrap;
    font-size: 0.95rem;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("https://ferruleprintingmachines.com/images/LMark-LK330-Ferrule-Printer-with- accessories.png") no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 58px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 2px solid #0056b3;
    font-size: 1.1rem;
    text-align: center;
    min-width: 200px;
}

.btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #0056b3;
}

.btn-download {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    min-width: 260px;
    text-align: center;
}

.btn-download:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-hero {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: white;
    padding: 9rem 0 4rem;
    text-align: center;
}

.page-hero .breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.page-hero .breadcrumb a {
    color: white;
    text-decoration: underline;
}

.page-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #6c757d;
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text, .about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    max-width: 100%;
    height: auto;
}

.about-image img:hover {
    transform: scale(1.02);
}

.features {
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.specs-container {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
}

.specs-table th {
    background-color: var(--light);
    font-weight: 600;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:hover {
    background-color: #f5f9ff;
}

.spec-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray);
    background: var(--light);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.applications {
    background: linear-gradient(to right, #f5f7fa, #eef2f5);
    padding: 5rem 0;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-icon {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2a2a2a;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.model-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.model-card .best-seller-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.model-card.current {
    border: 2px solid var(--primary);
}

.model-card .model-photo {
    background: var(--light);
    padding: 1.5rem;
    text-align: center;
}

.model-card .model-photo img {
    max-height: 180px;
    width: auto;
    max-width: 100%;
}

.model-card .model-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.model-card .model-tagline {
    color: var(--gray);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.model-card .btn {
    min-width: 0;
    width: 100%;
    padding: 0.8rem 1rem;
}

.compare-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.compare-table th, .compare-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
}

.compare-table th {
    background-color: var(--primary);
    color: white;
}

.compare-table td:first-child, .compare-table th:first-child {
    font-weight: 600;
}

.compare-table tr:hover td {
    background-color: #f5f9ff;
}

.product-detail {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.product-detail-text, .product-detail-image {
    flex: 1;
    min-width: 300px;
}

.product-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-heading {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.lede {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.7;
}

.callout {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: #eef5ff;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1.3rem 1.5rem;
    margin: 2.5rem 0;
}

.callout .callout-icon {
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: 0.15rem;
}

.callout strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.callout p {
    margin: 0;
    color: var(--gray);
    line-height: 1.6;
}

.callout a {
    color: var(--primary);
    font-weight: 600;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.2rem 2.5rem 1.2rem 1.5rem;
    font-weight: 600;
    color: var(--dark);
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:after {
    content: "+";
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

.faq-item[open] summary:after {
    content: "−";
}

.faq-item p {
    padding: 0 1.5rem 1.3rem;
    color: var(--gray);
    margin: 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body p {
    margin-bottom: 1.2rem;
    line-height: 1.75;
}

.article-body ul, .article-body ol {
    margin: 0 0 1.2rem 1.5rem;
}

.article-body li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.article-meta {
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.reco-table th, .reco-table td {
    vertical-align: top;
}

.model-badge {
    display: inline-block;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #003d82 100%);
    color: white;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact {
    background-color: var(--light);
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 1.5rem;
    min-width: 30px;
    text-align: center;
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section p {
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #ccc;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
    text-decoration: none;
}

.whatsapp-link i {
    font-size: 26px;
}

.call-float {
    position: fixed;
    bottom: 85px;
    right: 25px;
    z-index: 1000;
    display: none;
}

.call-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #0056b3;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.5);
    transition: all 0.3s ease;
    animation: pulse-call 2s infinite;
    text-decoration: none;
}

.call-link:hover {
    background-color: #004494;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 86, 179, 0.7);
    text-decoration: none;
}

.call-link i {
    font-size: 22px;
}

@keyframes pulse { 
        0% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        }
     }

@keyframes pulse-call { 
        0% {
            box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.7);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(0, 86, 179, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(0, 86, 179, 0);
        }
     }

.has-dropdown {
    position: relative;
}

.has-dropdown > a i {
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform 0.3s;
}

.has-dropdown:hover .dropdown-menu,
        .has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a:hover {
    background: rgba(0, 86, 179, 0.08);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.best-seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.trust-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin-top: 1.8rem;
    font-size: 0.95rem;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f0f0f0;
}

.trust-strip i {
    color: var(--accent);
}

.model-strip {
    background: var(--light);
    border-bottom: 1px solid #e6e6e6;
    padding: 1.8rem 0;
}

.model-strip-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.model-strip-label {
    font-weight: 600;
    color: var(--dark);
    margin-right: 0.5rem;
}

.model-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.model-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    border-radius: 30px;
    background: white;
    border: 2px solid #ddd;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.model-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.model-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.model-pill .pill-tag {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.85;
}

.model-pill.compare-pill {
    background: var(--dark);
    border-color: var(--dark);
    color: white;
}

.model-strip-help {
    text-align: center;
    margin: 1rem 0 0;
    font-size: 0.95rem;
    color: var(--gray);
}

.model-strip-help a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.model-strip-help a:hover {
    text-decoration: underline;
}

.resources {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.resource-header {
    padding: 2rem;
    color: white;
    text-align: center;
}

.resource-catalogue {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.resource-manual {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.resource-content p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.resource-footer {
    padding: 0 2rem 2rem;
    display: flex;
    justify-content: center;
}

.text-center {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accessories {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.accessories-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #0056b3;
    color: #0056b3;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #0056b3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.accessory-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accessory-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header i {
    font-size: 1.8rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.label-tape {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.ribbon {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.heat-shrink {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.tool {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.card-content {
    padding: 1.5rem;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f1f1;
    align-items: center;
}

.product-item:last-child {
    border-bottom: none;
}

.product-code {
    font-weight: bold;
    color: #0056b3;
    font-size: 0.9rem;
}

.product-desc {
    color: #495057;
}

.product-package {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: right;
}

.faq-section {
    background: white;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 1.15rem;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: bold;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item .faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: #495057;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.form-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.form-btn:hover {
    background: #004494;
}

.recaptcha-info {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    background: none;
    border: none;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--dark);
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.success-icon {
    color: #28a745;
}

.error-icon {
    color: #dc3545;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.modal-message {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.6;
}

.modal-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-btn:hover {
    background: #004494;
}


/* Mobile/tablet responsiveness — the nav has 10 top-level items plus two
   dropdowns, which no longer fits in one row below ~1200px even with
   tightened spacing, so the hamburger menu takes over earlier than a
   typical phone-only breakpoint. */
@media (max-width: 1200px) {

    .hamburger {
    display: block;
    }

    .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    overflow-y: auto;
    }

    .nav-menu.active {
    right: 0;
    }

    .nav-menu li {
    margin: 1.5rem 0;
    }

    .nav-menu a {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    color: var(--dark);
    }

    .nav-menu a:hover {
    background: rgba(0, 86, 179, 0.1);
    }

    .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    transform: none;
    background: rgba(0, 86, 179, 0.04);
    border-radius: 8px;
    padding: 0;
    margin-top: 0;
    transition: max-height 0.3s ease;
    }

    .has-dropdown.open .dropdown-menu {
    visibility: visible;
    max-height: 400px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    }

    .dropdown-menu a {
    text-align: center;
    white-space: normal;
    font-size: 1.05rem;
    }

}


@media (max-width: 768px) {

    .hero-content h1 {
    font-size: 2.5rem;
    }

    .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    }

    .btn {
    width: 85%;
    margin: 0;
    padding: 1.1rem 2rem;
    }

    .btn-outline {
    margin-left: 0;
    }

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

    .page-hero {
    padding: 8rem 0 3rem;
    }

    .page-hero h1 {
    font-size: 2rem;
    }

    .product-detail {
    flex-direction: column;
    }

    .hero-content p {
    font-size: 1.2rem;
    }

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

    .whatsapp-float {
    bottom: 20px;
    right: 20px;
    }

    .call-float {
    bottom: 80px;
    right: 20px;
    display: flex;
    }

    .whatsapp-link, .call-link {
    width: 48px;
    height: 48px;
    }

    .whatsapp-link i {
    font-size: 24px;
    }

    .call-link i {
    font-size: 20px;
    }

}


@media (max-width: 576px) {

    .hero-content h1 {
    font-size: 2.2rem;
    }

    .btn {
    width: 90%;
    padding: 1rem 1.8rem;
    }

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

    .specs-container {
    padding: 1.5rem;
    }

    .whatsapp-float {
    bottom: 20px;
    right: 20px;
    }

    .call-float {
    bottom: 80px;
    right: 20px;
    }

    .whatsapp-link, .call-link {
    width: 48px;
    height: 48px;
    }

    .model-strip-label {
    width: 100%;
    text-align: center;
    margin-right: 0;
    }

    .hero-buttons {
    gap: 1.5rem;
    }

    .specs-table th, .specs-table td {
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
    }

    .modal-content {
    padding: 1.5rem;
    }

    .modal-icon {
    font-size: 2.5rem;
    }

    .modal-title {
    font-size: 1.5rem;
    }

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

    .product-item {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    }

    .product-package {
    grid-column: 1 / span 2;
    text-align: left;
    margin-top: 0.5rem;
    }

    .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    }

}


@media (max-width: 992px) {

    .hero-content h1 {
    font-size: 2.8rem;
    }

    .hero-content p {
    font-size: 1.3rem;
    }

}
