/* ============================================
   FitServe — Modern Redesign
   Gym Equipment Maintenance & Repair Engineers
   Colours: Based on original teal #006f77,
   modernised to a clean, engineering feel
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-secondary: #f4f6f8;
  --bg-dark: #0d1719;
  --text: #1a1a1a;
  --text-secondary: #545d60;
  --text-muted: #889498;
  --accent: #006f77;
  --accent-light: #009eaa;
  --accent-dark: #004c52;
  --accent-bg: rgba(0, 111, 119, 0.06);
  --accent-glow: rgba(0, 111, 119, 0.12);
  --border: #e2e6e8;
  --border-light: #eef1f2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
  --max-width: 1200px;
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em;
  color: var(--text);
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
}
.navbar .logo img {
  height: 58px;
  max-width: 260px;
  object-fit: contain;
}
.footer-brand .logo img {
  height: 52px;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}
.nav-links a { position: relative; }
.nav-cta {
  background: var(--accent); color: white !important;
  padding: 0.55rem 1.2rem; border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav-portal {
  font-size: 0.85rem; padding: 0.35rem 0.5rem;
  opacity: 0.5; transition: var(--transition);
}
.nav-portal:hover { opacity: 1; color: var(--accent) !important; }
.mobile-menu-btn {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--text);
}
.mobile-menu {
  display: none; position: fixed; top: 82px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem; z-index: 999; box-shadow: var(--shadow);
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block; padding: 0.75rem 0; font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu a:last-child { border: none; }
.mobile-menu .nav-cta { display: block; text-align: center; margin-top: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.85rem 1.8rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--text); background: var(--bg-secondary); }
.btn-dark { background: var(--bg-dark); color: white; }
.btn-dark:hover { background: #1a2527; transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-white { background: white; color: var(--accent); border-color: white; }
.btn-white:hover { background: var(--bg-secondary); }

/* Badges */
.badge {
  display: inline-block; padding: 0.25rem 0.7rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-accent { background: var(--accent-bg); color: var(--accent); }
.badge-dark { background: var(--bg-dark); color: white; }

/* Hero */
.hero {
  padding: 170px 0 80px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0a1a1c 50%, var(--accent-dark) 100%);
  color: white;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; font-weight: 800; color: white; }
.hero h1 span { color: #48cdd6; }
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  margin-bottom: 2rem; max-width: 500px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat strong { display: block; font-size: 1.5rem; color: white; font-weight: 700; }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* Hero Visual */
.hero-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.hero-visual-text { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.brand-marquee {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.25rem;
}
.brand-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  padding: 0.3rem 0.7rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 500;
}

/* Sections */
.section { padding: 90px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); }

/* Service Cards */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: var(--transition);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* Feature Row */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  margin-bottom: 5rem;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem; text-align: center;
}
.feature-visual-icon { font-size: 4rem; margin-bottom: 1rem; }
.feature-content h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.feature-content p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.02rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.95rem; color: var(--text-secondary);
}
.feature-list .check {
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.7rem; flex-shrink: 0;
}

/* Brands Section */
.brands-section { background: var(--bg-secondary); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.brand-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.6rem;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  text-align: center;
}
.brand-card:hover { border-color: var(--accent); color: var(--accent); }
.brand-logo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  min-height: 80px;
}
.brand-logo-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.brand-logo-card img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
}

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: var(--transition);
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-image {
  width: 80px; height: 80px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
.product-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.product-card .price { font-size: 1.6rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.product-card .desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.6; }
.product-card .features {
  text-align: left; font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.product-card .features li { padding: 0.25rem 0; }
.free-shipping {
  background: #e6f7f5; color: var(--accent);
  padding: 0.5rem 1rem; border-radius: 100px;
  display: inline-block; font-weight: 600; font-size: 0.85rem;
  margin: 1.5rem 0 1rem;
}

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; text-align: center;
  transition: var(--transition);
}
.trust-card .icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.trust-card h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.trust-card p { font-size: 0.85rem; color: var(--text-muted); }

/* CTA */
.cta-section {
  background: var(--accent);
  color: white; text-align: center;
  padding: 80px 1.5rem; border-radius: var(--radius);
  max-width: var(--max-width); margin: 0 auto;
}
.cta-section h2 { color: white; margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page Header */
.page-header {
  padding: 150px 0 60px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--accent-dark) 100%);
  color: white; text-align: center;
}
.page-header h1 { color: white; margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-method {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.contact-icon {
  width: 46px; height: 46px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-method h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.contact-method p { font-size: 0.9rem; color: var(--text-secondary); }
.contact-form {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; background: var(--bg);
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.3rem 0; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 1rem;
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-secondary); display: flex;
  align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
  flex-shrink: 0; margin-left: 1rem;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--accent); color: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 400px; padding-top: 1rem; }
.faq-answer p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* Footer */
.footer {
  background: var(--bg-secondary); color: var(--text-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--text); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.footer-links h4 {
  color: var(--text); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1.25rem;
}
.footer-links a {
  display: block; font-size: 0.9rem; color: var(--text-muted);
  padding: 0.35rem 0; transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem; display: flex; justify-content: space-between;
  font-size: 0.85rem; color: var(--text-muted);
}

/* Cert Badge */
.cert-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-bg); color: var(--accent);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid, .products-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 120px 0 50px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .services-grid, .products-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .brand-logo-card { min-height: 60px; padding: 0.75rem; }
  .brand-logo-card img { max-height: 36px; }
  .section { padding: 60px 0; }
  .cta-section { padding: 50px 1rem; margin: 0 0.5rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
