/* =====================================================
   Toothless Holdings – Global Stylesheet
   ===================================================== */

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

:root {
  --navy:   #0f1c35;
  --gold:   #c8900a;
  --gold-light: #f0b429;
  --white:  #ffffff;
  --light:  #f4f6f9;
  --text:   #1e2530;
  --muted:  #5a6272;
  --border: #dde2eb;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { display: block; max-width: 100%; height: auto; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo { display: flex; align-items: center; gap: 14px; }
.site-logo img { height: 184px; width: auto; background: #fff; border-radius: 8px; padding: 6px; }
.site-logo span {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .3px;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav a {
  color: rgba(255,255,255,.82);
  font-size: .925rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero / Page Banner ──────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3260 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold-light); }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 680px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-light); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ── Page Banner (inner pages) ───────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3260 100%);
  color: var(--white);
  padding: 72px 24px 64px;
  text-align: center;
}
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.page-banner p { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── Section ──────────────────────────────────────────── */
section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-block;
  background: rgba(200,144,10,.12);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 660px;
  margin-bottom: 56px;
}

.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.text-center { text-align: center; }

/* ── Cards grid ──────────────────────────────────────── */
.cards { display: grid; gap: 28px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(200,144,10,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ── Company / Product logos grid ────────────────────── */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.logo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-height: 160px;
}
.logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,.13);
  border-color: var(--gold);
}
.logo-card img {
  max-height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}
.logo-card .logo-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

/* ── Stats strip ─────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  color: var(--white);
  padding: 56px 24px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--gold-light); }
.stat-label { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ── Alt background section ───────────────────────────── */
.bg-light { background: var(--light); }

/* ── Two-col layout ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse { }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ── Contact section ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.contact-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.contact-item .icon {
  width: 48px; height: 48px;
  background: rgba(200,144,10,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.contact-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.contact-item p, .contact-item a { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ── Map placeholder ─────────────────────────────────── */
.map-placeholder {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 32px;
  text-align: center;
  color: var(--muted);
  margin-top: 48px;
}
.map-placeholder p { font-size: 1rem; }
.map-placeholder strong { display: block; font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }

/* ── Values / Features list ──────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: .97rem;
  color: var(--muted);
}
.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(200,144,10,.15);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  margin-top: 1px;
}

/* ── Divider ─────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}

/* ── Utility ─────────────────────────────────────────── */
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0  { margin-bottom: 0; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 56px 20px; }
  .hero { padding: 72px 20px 60px; }
  .page-banner { padding: 56px 20px 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 200px;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .site-nav.open { display: flex; }
  .site-nav a { display: block; padding: 12px 16px; }
}
