/* ============================================================
   OBP — Other Brothers Proformance
   Color palette pulled directly from logo:
     Navy:  #0d1b2e (bg), #132239 (cards), #1a2d4a (elevated)
     Red:   #c0281f (accent)
     White: #ffffff
     Gray:  #94a3b8 (muted text), #64748b (secondary)
   ============================================================ */

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

:root {
  --navy:       #0d1b2e;
  --navy-card:  #132239;
  --navy-hi:    #1a2d4a;
  --navy-border:#1e3352;
  --red:        #c0281f;
  --red-hover:  #a82118;
  --white:      #ffffff;
  --gray:       #94a3b8;
  --gray-dim:   #64748b;
  --font-head:  'Oswald', sans-serif;
  --font-body:  'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }

p { color: var(--gray); font-size: 0.95rem; }

.accent { color: var(--red); }

a { text-decoration: none; color: inherit; }

/* ── NAV ────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 44px;
  width: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--red-hover) !important; }

/* ── HERO ───────────────────────────────────────────────── */

.hero {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 3rem 2rem 4rem;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden; /* contain gradients/grid here, not on hero itself */
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(192, 40, 31, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(26, 45, 74, 0.6) 0%, transparent 60%);
  pointer-events: none;
}

/* subtle grid texture */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: auto;
  margin-bottom: auto;
}

.hero-logo {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 60px rgba(192, 40, 31, 0.25), 0 4px 24px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--red);
  margin: 1rem 0 0.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ── BUTTONS ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(192, 40, 31, 0.35);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.14);
}

/* ── BAND ───────────────────────────────────────────────── */

.band {
  background: var(--navy-card);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}

.band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.band-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 2rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  font-weight: 600;
}

.band-icon { font-size: 1.1rem; }

.band-divider {
  width: 1px;
  height: 24px;
  background: var(--navy-border);
}

/* ── SECTIONS ───────────────────────────────────────────── */

.section {
  padding: 6rem 2rem;
}

.section--dark {
  background: var(--navy-card);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--gray);
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.8;
}

/* ── SERVICES GRID ──────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--navy-border);
  border: 1.5px solid var(--navy-border);
  border-radius: 10px;
  overflow: hidden;
}

.service-card {
  background: var(--navy-card);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--navy-hi);
}

.service-card--featured {
  background: linear-gradient(135deg, #1a2d4a 0%, #14243d 100%);
  border-left: 3px solid var(--red);
}

.service-card--featured:hover {
  background: linear-gradient(135deg, #1e3452 0%, #162840 100%);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--red);
}

.service-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.75;
}

.card-badge {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.25rem 0.75rem;
  background: rgba(192, 40, 31, 0.15);
  border: 1px solid rgba(192, 40, 31, 0.4);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}

/* ── WHY OBP ────────────────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.why-left h2 { margin-bottom: 1.25rem; }
.why-left p { margin-bottom: 0.85rem; line-height: 1.8; }

.why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--navy-border);
}

.why-item:first-child { border-top: 1px solid var(--navy-border); }

.why-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.5;
  min-width: 2.5rem;
  line-height: 1.2;
}

.why-item h4 { color: var(--white); }
.why-item p { font-size: 0.9rem; line-height: 1.75; }

/* ── CONTACT ────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.contact-card:hover {
  border-color: var(--red);
  background: var(--navy-hi);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(192, 40, 31, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.contact-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-dim);
}

.contact-value {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-arrow {
  color: var(--red);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-4px);
}

.contact-card:hover .contact-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-area {
  text-align: center;
  padding: 1.5rem;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
}

.service-area p {
  font-size: 0.9rem;
  color: var(--gray);
}

.service-area strong {
  color: var(--white);
}

/* ── FOOTER ─────────────────────────────────────────────── */

.footer {
  background: #090f1a;
  border-top: 1px solid var(--navy-border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  opacity: 0.85;
}

.footer-text { flex: 1; min-width: 200px; }

.footer-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--gray-dim);
  margin-bottom: 0.15rem;
}

.footer-tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  opacity: 0.7;
}

/* ── SHORT VIEWPORTS (laptops, small monitors) ──────────── */

@media (max-height: 750px) {
  .hero { padding: 2rem 2rem 3rem; }
  .hero-logo { width: 80px; height: 80px; margin-bottom: 0.75rem; }
  h1 { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-tagline { margin: 0.5rem 0 0.4rem; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 1.5rem; }
}

@media (max-height: 600px) {
  .hero { padding: 1.5rem 2rem 2.5rem; }
  .hero-logo { width: 60px; height: 60px; margin-bottom: 0.5rem; }
  .hero-tagline { font-size: 0.7rem; }
  .hero-sub { display: none; }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 680px) {
  /* Nav: logo + CTA only */
  .nav-inner { padding: 0.6rem 1.25rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 0.45rem 1rem; font-size: 0.8rem; }

  /* Hero: tighten everything, keep centered */
  .hero { margin-top: 56px; height: calc(100svh - 56px); padding: 1.25rem; }
  .hero-logo { width: 96px; height: 96px; margin-bottom: 1rem; }
  h1 { font-size: 2.4rem; }
  .hero-tagline { font-size: 0.78rem; letter-spacing: 0.18em; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-scroll { bottom: 1.5rem; }

  /* Band: 2×2 grid */
  .band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
  .band-item {
    padding: 0.9rem 0.75rem;
    font-size: 0.75rem;
    border: 1px solid var(--navy-border);
    justify-content: center;
  }
  .band-divider { display: none; }

  /* Sections */
  .section { padding: 3.5rem 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }
  h2 { font-size: 1.75rem; }

  /* Services: single column, no grid gap border trick */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .service-card { padding: 1.75rem 1.25rem; }

  /* Why OBP */
  .why-grid { gap: 2.5rem; }
  .why-item { gap: 1rem; padding: 1.25rem 0; }
  .why-num { font-size: 1.2rem; min-width: 2rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.25rem; }
  .contact-value { font-size: 0.9rem; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-tag { margin-top: 0.25rem; }
}
