/* =========================================
   FOX SIGNS — splash page
   Full-width layout, image LEFT (max-width 1050px), content RIGHT
   ========================================= */

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

:root {
  --primary:      #dd3333;
  --primary-dark: #b82020;
  --white:        #ffffff;
  --off-white:    #f5f5f5;
  --text-dark:    #111111;
  --text-muted:   #555555;
  --radius:       8px;
  --panel-width:  480px;
  --transition:   0.3s ease;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #111;
  overflow-x: hidden;
}

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

/* ============================
   FULL-WIDTH TWO-COLUMN LAYOUT
   ============================ */
.splash-wrap {
  display: flex;
  min-height: 100dvh;
  width: 100%;
}

/* ---- LEFT: image panel — takes remaining space, image capped at 1050px ---- */
.splash-left {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  justify-content: flex-end; /* image hugs the content panel */
}

.splash-left img {
  display: block;
  width: 100%;
  max-width: 1050px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- RIGHT: content panel ---- */
.splash-right {
  width: 460px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: #111111;
  padding: 3rem clamp(2rem, 4vw, 3.5rem);
}

.splash-right-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  color: #ffffff;
}

/* Logo — white pill on dark panel */
.logo-wrap {
  display: inline-block;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 18px;
  align-self: flex-start;
  line-height: 0;
}

.hero-logo {
  max-height: 60px;
  width: auto;
  max-width: 220px;
  display: block;
}

h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.85;
}

/* Contact list */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.contact-list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: var(--primary);
}

.contact-list a:hover { opacity: 0.75; }

/* Social links */
.social-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* CTA button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  align-self: flex-start;
  box-shadow: 0 4px 20px rgba(221,51,51,0.35);
  margin-top: 0.25rem;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(221,51,51,0.45);
  outline: none;
}

/* Footer line */
.footer-line {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: auto;
  padding-top: 1rem;
}

.footer-line a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-line a:hover { color: var(--white); }

/* ============================
   PANEL BACKDROP
   ============================ */
.panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.panel-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================
   CONTACT PANEL (flyout)
   ============================ */
.contact-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(var(--panel-width), 100vw);
  background: var(--white);
  color: var(--text-dark);
  z-index: 101;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -4px 0 40px rgba(0,0,0,0.25);
}

.contact-panel.is-open { transform: translateX(0); }

.panel-close {
  position: sticky;
  top: 0;
  left: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 1rem 1rem 0 auto;
  background: var(--off-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}

.panel-close:hover,
.panel-close:focus-visible { background: #e0e0e0; outline: none; }

.panel-close svg { width: 20px; height: 20px; fill: var(--text-dark); }

.panel-inner { padding: 0 2rem 2.5rem; }

.panel-inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.panel-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.field-group label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(221,51,51,0.15);
}

.field-group textarea { min-height: 110px; }

.cf-turnstile { margin: 1rem 0 0.5rem; }

.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
  margin: 0.5rem 0;
}

.form-status.is-success { color: #1a7f37; font-weight: 600; }
.form-status.is-error   { color: #b91c1c; font-weight: 600; }

.submit-btn {
  display: block;
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.75rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background-color var(--transition), opacity var(--transition);
}

.submit-btn:hover:not(:disabled) { background-color: var(--primary-dark); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================
   RESPONSIVE — stack on mobile
   ============================ */
@media (max-width: 768px) {
  .splash-wrap { flex-direction: column; }

  .splash-left {
    min-height: 280px;
    width: 100%;
    justify-content: center;
  }

  .splash-left img {
    width: 100%;
    max-width: 100%;
    height: 280px;
    object-fit: cover;
  }

  .splash-right {
    width: 100%;
    padding: 2.5rem 1.5rem 2rem;
  }

  .cta-btn { width: 100%; align-self: stretch; justify-content: center; }
  .contact-panel { width: 100vw; }
}
