/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-text: #1a1a2e;
  --color-text-muted: #5a5a72;
  --color-primary: #0f2b46;
  --color-primary-light: #163d5e;
  --color-accent: #2774ae;
  --color-border: #e2e4e9;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1120px;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.08), 0 12px 32px rgba(0,0,0,.06);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.nav-logo {
  font-size: 1.35rem; font-weight: 700; letter-spacing: 2px;
  color: var(--color-primary); text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo-img { height: 44px; width: auto; }

.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--color-text-muted); font-size: .9rem;
  font-weight: 500; transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px 0;
  background: var(--color-text); transition: var(--transition);
}

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-accent) 100%);
  color: #fff; text-align: center;
}
.hero-logo {
  width: 120px; height: auto; margin-bottom: 24px;
  filter: brightness(0) invert(1);
}
.hero h1 { font-size: 3.2rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero-subtitle {
  font-size: 1.15rem; max-width: 540px; margin: 0 auto 36px;
  color: rgba(255,255,255,.8); font-weight: 300; line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 14px 36px; font-size: .95rem; font-weight: 600;
  border: none; border-radius: var(--radius); cursor: pointer;
  text-decoration: none; transition: var(--transition); font-family: var(--font);
}
.btn-primary {
  background: #fff; color: var(--color-primary);
}
.btn-primary:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }

.section .btn-primary {
  background: var(--color-primary); color: #fff;
}
.section .btn-primary:hover {
  background: var(--color-primary-light); transform: translateY(-1px);
}
.btn-full { width: 100%; text-align: center; }

/* ── Sections ── */
.section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-title {
  font-size: 2rem; font-weight: 700; margin-bottom: 48px;
  text-align: center; color: var(--color-primary);
}

/* ── About ── */
.about-content {
  max-width: 720px; margin: 0 auto; text-align: center;
  color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.8;
}
.about-content p + p { margin-top: 16px; }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 40px 32px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-icon { width: 40px; height: 40px; margin-bottom: 20px; color: var(--color-accent); }
.card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--color-primary); }
.card p { color: var(--color-text-muted); font-size: .95rem; line-height: 1.7; }

/* ── Brands ── */
.brands-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; max-width: 720px; margin: 0 auto;
}
.brand-item {
  text-align: center; padding: 48px 32px;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  transition: var(--transition);
}
.brand-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.brand-logo {
  height: 100px; width: auto; max-width: 200px; margin-bottom: 20px;
  object-fit: contain;
}
.brand-item h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--color-primary); }
.brand-item p { color: var(--color-text-muted); font-size: .95rem; }

/* ── Contact ── */
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px;
  max-width: 880px; margin: 0 auto; align-items: start;
}
.contact-info p { color: var(--color-text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 12px; color: var(--color-text-muted); }
.contact-detail svg { width: 20px; height: 20px; flex-shrink: 0; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 6px; font-size: .85rem;
  font-weight: 600; color: var(--color-text);
}
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius); font-family: var(--font); font-size: .95rem;
  transition: border var(--transition); background: var(--color-bg);
  color: var(--color-text);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(39,116,174,.12);
}
.form-group textarea { resize: vertical; }

.form-status {
  margin-top: 16px; text-align: center; font-size: .9rem; min-height: 24px;
}
.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }

/* ── Footer ── */
.footer {
  background: var(--color-primary); color: rgba(255,255,255,.7);
  padding: 48px 0;
}
.footer-content {
  display: flex; justify-content: space-between; align-items: center;
}
.footer .nav-logo { color: #fff; }
.footer-logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 8px; font-size: .85rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero { padding: 130px 0 72px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
    flex-direction: column; align-items: center; gap: 0; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.open { max-height: 280px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 16px 0; font-size: 1rem; }

  .section { padding: 64px 0; }
  .section-title { font-size: 1.6rem; margin-bottom: 32px; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .footer-content { flex-direction: column; gap: 20px; text-align: center; }
  .cards { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr; }
}
