/* ============================================================
   Tesch Corporate Solutions — Stylesheet
   Palette: Navy / White / Gold accent
   ============================================================ */

:root {
  --navy: #16263f;
  --navy-deep: #0f1c30;
  --navy-soft: #24385a;
  --gold: #c2a04c;
  --gold-soft: #d8bd78;
  --cream: #f4f1ea;
  --white: #ffffff;
  --grey-text: #5b6678;
  --line: #e4e7ec;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 48px rgba(16, 28, 48, 0.10);
  --shadow-sm: 0 8px 24px rgba(16, 28, 48, 0.07);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: 0.01em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 22px; }

.section-lead { font-size: 1.12rem; color: var(--grey-text); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.04em;
  padding: 15px 34px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(194,160,76,.35); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.14em; font-weight: 600; }
.brand-sub { font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--navy); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 11px 24px !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .3s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 80% 0%, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 130px;
}
.hero::after {
  content: ""; position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; border: 1.5px solid rgba(194,160,76,.28); border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 22px; }
.hero .tagline {
  font-family: var(--sans); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 500;
  letter-spacing: 0.04em; color: var(--gold-soft); margin-bottom: 28px;
}
.hero .tagline .dot { color: var(--gold); }
.hero p.intro { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   Sections
   ============================================================ */
section { padding: 100px 0; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-text p { font-size: 1.12rem; color: var(--grey-text); margin-bottom: 20px; }
.about-text p strong { color: var(--navy); font-weight: 600; }
.about-aside {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow-sm);
}
.about-aside ul { list-style: none; }
.about-aside li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.about-aside li:last-child { border-bottom: none; }
.about-aside .tick { color: var(--gold); font-weight: 700; flex: none; }

/* Expertise cards */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold);
  transition: width .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: 100%; }
.card .num { font-family: var(--serif); font-size: 1rem; color: var(--gold); font-weight: 600; }
.card h3 { font-size: 1.32rem; margin: 14px 0 10px; }
.card p { font-size: 0.96rem; color: var(--grey-text); }

/* How we work */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 24px; }
.step .step-num {
  font-family: var(--serif); font-size: 3.4rem; font-weight: 600; color: var(--gold);
  line-height: 1; opacity: .9;
}
.bg-navy .step .step-num { color: var(--gold-soft); }
.step h3 { font-size: 1.5rem; margin: 14px 0 12px; }
.step p { color: var(--grey-text); }
.bg-navy .step p { color: rgba(255,255,255,.75); }
.bg-navy .section-lead { color: rgba(255,255,255,.78); }

/* Positioning */
.positioning { text-align: center; }
.positioning .container { max-width: 880px; }
.positioning .quote {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.25;
  font-weight: 500;
}
.positioning .quote em { color: var(--gold); font-style: normal; }
.positioning .rule { width: 60px; height: 3px; background: var(--gold); margin: 0 auto 34px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px; box-shadow: var(--shadow-sm);
}
.contact-card .field { margin-bottom: 22px; }
.contact-card .label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.contact-card .value { font-size: 1.3rem; font-family: var(--serif); margin-top: 4px; }
.contact-card .value a:hover { color: var(--gold); }
.contact-actions { margin-top: 30px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: var(--white); font-size: 1.4rem; }
.footer-brand p { max-width: 320px; margin-top: 14px; font-size: 0.95rem; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 0.95rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   Legal pages
   ============================================================ */
.legal { padding: 90px 0; max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal .placeholder-note {
  background: #fff7e3; border: 1px solid var(--gold); border-radius: 10px;
  padding: 18px 22px; margin: 26px 0 40px; color: #7a5e16; font-size: 0.95rem;
}
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--grey-text); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.back-link { display: inline-block; margin-top: 40px; color: var(--gold); font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .hero { padding: 90px 0 96px; }
  .hero::after, .hero::before { display: none; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  }
  .nav-links.open { max-height: 420px; padding: 12px 28px 24px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 10px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
