/* main.css - Fastmount.es
   Colors: Primary #333e48, Gold #94784b, Dark #1a1a2e, Light #f5f5f5
   Font: Roboto (local) */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 1.6; color: #333e48; background: #fff; padding-top: 70px; }
img { max-width: 100%; height: auto; display: block; }
a { color: #94784b; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #333e48; }
h1, h2, h3, h4, h5, h6 { color: #333e48; line-height: 1.3; margin-top: 0; }
h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }
p { margin-top: 0; margin-bottom: 1rem; }
ul { list-style: none; padding: 0; margin: 0; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; line-height: 1.7; color: #555; }

/* === HEADER === */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 70px; border-bottom: 1px solid #e5e5e5; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { height: 52px; width: auto; }
.main-nav ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.main-nav a { color: #333e48; font-size: 0.9rem; font-weight: 500; padding: 0.5rem 0; transition: color 0.2s; }
.main-nav a:hover { color: #94784b; }
.lang-switcher { display: flex; gap: 0.5rem; }
.lang-switcher a { color: #999; font-size: 0.85rem; font-weight: 500; padding: 0.25rem 0.5rem; border-radius: 4px; transition: all 0.2s; }
.lang-switcher a.active, .lang-switcher a:hover { color: #333e48; background: #f5f5f5; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #333e48; transition: all 0.3s; }

/* === HERO WITH BACKGROUND IMAGE === */
.hero { background: #333e48; color: #fff; padding: 5rem 1.5rem; text-align: center; position: relative; }
.hero-image { background-size: cover; background-position: center; background-repeat: no-repeat; padding: 0; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.hero-image.hero-short { min-height: 350px; }
.hero-overlay { background: rgba(26, 26, 46, 0.65); width: 100%; padding: 5rem 1.5rem; display: flex; align-items: center; justify-content: center; min-height: inherit; }
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; line-height: 1.6; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === STATS BAR === */
.stats-bar { background: #94784b; color: #fff; padding: 1.5rem 0; }
.stats-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 700; line-height: 1.2; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.9; }

/* === BUTTONS === */
.btn { display: inline-block; padding: 0.75rem 2rem; border-radius: 9999px; font-size: 0.95rem; font-weight: 500; text-align: center; cursor: pointer; transition: all 0.2s ease; border: 2px solid transparent; text-decoration: none; }
.btn-primary { background: #94784b; color: #fff; border-color: #94784b; }
.btn-primary:hover { background: #7d6540; border-color: #7d6540; color: #fff; }
.btn-gold { background: #94784b; color: #fff; border-color: #94784b; }
.btn-gold:hover { background: #7d6540; border-color: #7d6540; color: #fff; }
.btn-outline { background: transparent; color: #333e48; border-color: #333e48; }
.btn-outline:hover { background: #333e48; color: #fff; }
.btn-outline-sm { background: transparent; color: #94784b; border-color: #94784b; padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-outline-sm:hover { background: #94784b; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: #333e48; }
.btn-white { background: #fff; color: #333e48; border-color: #fff; }
.btn-white:hover { background: #f5f5f5; color: #333e48; }

/* === SECTIONS === */
.section { padding: 4rem 0; }
.section-light { background: #f5f5f5; }
.section-dark { background: #1a1a2e; color: #fff; }
.section-dark h2 { color: #fff; }
.section-gold { background: #94784b; color: #fff; }
.section-gold h2 { color: #fff; }
.section-cta { text-align: center; margin-top: 2rem; }
.page-header { padding: 3rem 0 2rem; background: #f5f5f5; }
.page-header h1 { margin-bottom: 0.5rem; }

/* === CARDS WITH IMAGES === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); }
.card-image { overflow: hidden; aspect-ratio: 16/10; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.card:hover .card-image img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card h2, .card h3 { margin-bottom: 0.75rem; }
.card h2 a, .card h3 a { color: #333e48; }
.card h2 a:hover, .card h3 a:hover { color: #94784b; }
.card-meta { color: #94784b; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; }
.card p { color: #666; font-size: 0.95rem; margin-bottom: 1rem; }

/* Sector home cards */
.card-sector-home .sector-icon { width: 48px; height: 48px; margin-bottom: 0.75rem; opacity: 0.7; }

/* === PRODUCT GRID === */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.product-item { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 1rem; transition: border-color 0.2s, box-shadow 0.2s; text-align: center; }
.product-item:hover { border-color: #94784b; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.product-img { margin-bottom: 0.75rem; }
.product-img img { width: 100%; max-width: 200px; margin: 0 auto; aspect-ratio: 1; object-fit: contain; }
.product-item h3 { font-size: 0.9rem; margin: 0 0 0.5rem; color: #333e48; }
.product-links { display: flex; gap: 0.5rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 0.5rem; }
.btn-link { font-size: 0.8rem; color: #94784b; font-weight: 500; text-decoration: underline; transition: color 0.2s; }
.btn-link:hover { color: #333e48; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; border-radius: 9999px; }

/* === BENEFITS === */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; text-align: center; }
.benefit-item { padding: 1.5rem; }
.benefit-icon { width: 64px; height: 64px; margin: 0 auto 1rem; }
.benefit-item h3 { margin-bottom: 0.5rem; }
.benefit-item p { color: #666; font-size: 0.95rem; }

/* === CLIENT LOGOS === */
.client-logos { padding: 3rem 0; }
.logos-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; }
.logos-grid img { height: 40px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: all 0.3s; }
.logos-grid img:hover { filter: grayscale(0%); opacity: 1; }

/* === APPLICATION CARDS === */
.app-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.app-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; cursor: pointer; transition: transform 0.3s; }
.app-card img:hover { transform: scale(1.03); }
.app-card p { padding: 0.75rem 1rem; font-weight: 500; text-align: center; color: #333e48; margin: 0; }

/* === GALLERY === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.gallery-item { border-radius: 6px; overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; transition: transform 0.3s; }
.gallery-item img:hover { transform: scale(1.03); }

/* === AWARDS === */
.awards-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; margin-top: 1.5rem; }
.award-img { height: 100px; width: auto; }

/* === BREADCRUMBS === */
.breadcrumbs { padding: 0.75rem 1.5rem; background: #f9f9f9; font-size: 0.85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; max-width: 1200px; margin: 0 auto; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li::after { content: "/"; margin: 0 0.5rem; color: #ccc; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: #666; }
.breadcrumbs a:hover { color: #94784b; }

/* === FAQ ACCORDION === */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.25rem 0; background: none; border: none; cursor: pointer; font-size: 1rem; font-weight: 500; color: #333e48; text-align: left; font-family: inherit; line-height: 1.4; gap: 1rem; }
.faq-question:hover { color: #94784b; }
.faq-icon { font-size: 1.5rem; flex-shrink: 0; transition: transform 0.2s; color: #94784b; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.25rem; color: #555; line-height: 1.7; }
.faq-answer[hidden] { display: none; }
.faq-answer ul { margin: 0.5rem 0; padding-left: 1.5rem; list-style: disc; }
.faq-answer li { margin-bottom: 0.25rem; }

/* === CONTACT === */
.contact-grid { max-width: 700px; margin: 0 auto; }
.contact-info h2 { margin-bottom: 0.5rem; }
.contact-list { margin: 1rem 0 1.5rem; }
.contact-list li { padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.contact-list a { color: #94784b; }
.contact-cta { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #eee; }

/* === WHERE TO BUY === */
.wtb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.wtb-card { background: #f5f5f5; border-radius: 8px; padding: 2rem; text-align: center; }
.wtb-card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }

/* === CONTENT TEXT === */
.content-text { max-width: 800px; margin: 0 auto; }
.content-text p { margin-bottom: 1.25rem; color: #444; line-height: 1.8; }

/* === FOOTER === */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 3rem 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.footer-logo img { height: 42px; width: auto; margin-bottom: 1rem; filter: brightness(10); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.75rem; font-weight: 600; }
.footer-col ul { margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: #94784b; }
.footer-links-external { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.footer-links-external a { color: #94784b; font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding: 1rem 1.5rem; text-align: center; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* === ERROR PAGE === */
.error-page h1 { font-size: 6rem; color: #94784b; margin-bottom: 0.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .main-nav ul { gap: 1rem; }
    .main-nav a { font-size: 0.85rem; }
}
@media (max-width: 768px) {
    body { font-size: 15px; }
    .hamburger { display: flex; }
    .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-top: 1px solid #eee; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 0.75rem 0; border-bottom: 1px solid #f0f0f0; font-size: 1rem; }
    .lang-switcher { display: none; }
    .main-nav.open + .lang-switcher { display: flex; position: absolute; top: 70px; right: 1rem; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }
    .hero { padding: 3rem 1rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero-image { min-height: 350px; }
    .hero-image.hero-short { min-height: 250px; }
    .section { padding: 2.5rem 0; }
    .card-grid, .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
    .wtb-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .stats-grid { gap: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
    .logos-grid img { height: 30px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 480px) {
    body { padding-top: 60px; }
    .site-header { height: 60px; }
    .hero { padding: 2rem 1rem; }
    .hero h1 { font-size: 1.5rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { padding: 0.65rem 1.5rem; font-size: 0.9rem; }
    .footer-inner { grid-template-columns: 1fr; }
    .error-page h1 { font-size: 4rem; }
    .card-grid-2 { grid-template-columns: 1fr; }
}
