/* ===== Cauldren, Inc. — site styles =====
   Palette pulled from the logo: deep navy + electric cyan + silver. */
:root {
  --navy-900: #021527;
  --navy-800: #022342;
  --navy-700: #033056;
  --cyan-400: #38bdf8;
  --cyan-300: #67d3fb;
  --cyan-glow: rgba(56, 189, 248, 0.35);
  --silver: #d7e3ee;
  --text: #e8f1f8;
  --text-muted: #9fb3c5;
  --border: rgba(120, 170, 210, 0.18);
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(56,189,248,0.14), transparent 60%),
    var(--navy-900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: rgba(2, 21, 39, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.brand-logo { height: 40px; width: auto; }
.brand-name { font-weight: 800; letter-spacing: 0.12em; font-size: 1.1rem; }

.tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.tab {
  font: inherit;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.tab:hover { color: var(--text); background: rgba(56,189,248,0.08); }
.tab.is-active {
  color: var(--navy-900);
  background: var(--cyan-400);
  box-shadow: 0 0 18px var(--cyan-glow);
}

/* ===== Panels ===== */
main { flex: 1; width: 100%; }
.panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  animation: fade 0.35s ease;
}
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Hero ===== */
.hero { text-align: center; padding: 1.5rem 0 2.5rem; }
.hero-logo {
  width: 180px; max-width: 60%;
  filter: drop-shadow(0 0 30px var(--cyan-glow));
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--cyan-400);
  color: var(--navy-900);
  box-shadow: 0 0 20px var(--cyan-glow);
}
.btn-primary:hover { background: var(--cyan-300); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--cyan-400); }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.card {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.card h3 { color: var(--cyan-300); margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p { color: var(--text-muted); }

/* ===== Content (About / Contact) ===== */
.content-wrap { max-width: 720px; }
.content-wrap h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.2rem;
}
.content-wrap h3 { color: var(--cyan-300); margin: 1.6rem 0 0.4rem; }
.content-wrap p { margin-bottom: 1rem; color: var(--text); }
.content-wrap a { color: var(--cyan-300); }
.muted { color: var(--text-muted); }

/* ===== Contact form ===== */
.contact-form { margin-top: 1.5rem; max-width: 520px; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit;
  color: var(--text);
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.18);
}
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--cyan-300); }
.form-status.err { color: #ff8a8a; }

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .site-header { justify-content: center; }
  .tabs { width: 100%; justify-content: center; }
}
