/* =========================================================
   Gennen Consulting — Freelancer site
   Color system, layout, and components
   ========================================================= */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fb;
  --color-ink: #0c1626;
  --color-ink-soft: #3b4a63;
  --color-muted: #6b7a93;
  --color-line: #e3e8f0;
  --color-brand: #0f2748;
  --color-brand-2: #1e4a85;
  --color-accent: #3b82c4;
  --color-accent-soft: #e6f0fa;

  --max-width: 1120px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 72, 0.04), 0 2px 4px rgba(15, 39, 72, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 39, 72, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 39, 72, 0.12);

  --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

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

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

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

/* =========================================================
   Header / Nav
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img { border-radius: 8px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--color-muted);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.93rem;
  color: var(--color-ink-soft);
  font-weight: 500;
  transition: color 0.15s var(--ease);
}

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

.nav-cta {
  background: var(--color-brand);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}

.nav-cta:hover {
  background: var(--color-brand-2);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  margin: 5px auto;
  width: 22px;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 88px 0 96px;
  background:
    radial-gradient(1200px 600px at 110% -10%, rgba(59, 130, 196, 0.10), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(15, 39, 72, 0.06), transparent 60%),
    var(--color-bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 14px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--color-ink);
}

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

.lede {
  font-size: 1.12rem;
  color: var(--color-ink-soft);
  max-width: 540px;
  margin: 0 0 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 39, 72, 0.22);
}
.btn-primary:hover {
  background: var(--color-brand-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 39, 72, 0.26);
}

.btn-ghost {
  background: transparent;
  color: var(--color-brand);
  border: 1px solid var(--color-line);
}
.btn-ghost:hover {
  border-color: var(--color-brand);
  background: var(--color-accent-soft);
}

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}
.hero-facts strong {
  color: var(--color-ink);
  font-weight: 700;
  margin-right: 6px;
}

/* Hero card */
.hero-card {
  position: relative;
  padding: 8px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, var(--color-brand) 0%, var(--color-brand-2) 70%, var(--color-accent) 100%);
  box-shadow: var(--shadow-lg);
}

.card-blueprint {
  position: relative;
  border-radius: 16px;
  background: #0a1c36;
  padding: 28px 28px 20px;
  color: #cbd5e1;
  overflow: hidden;
}

.blueprint-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.card-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-size: 0.95rem;
  font-weight: 500;
  color: #cdd6e3;
}
.card-row:last-child { border-bottom: 0; }

.card-row .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
}
.card-row .dot.active {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(59,130,196,0.25), 0 0 16px rgba(59,130,196,0.7);
}

/* =========================================================
   Sections
   ========================================================= */

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 32px;
  color: var(--color-ink);
  max-width: 720px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 0 28px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--color-ink-soft);
  margin: 0 0 18px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  margin: 28px 0 0;
}
.meta-grid > div {
  border-top: 1px solid var(--color-line);
  padding-top: 14px;
}
.meta-grid dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.meta-grid dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-ink);
}

/* =========================================================
   Skills
   ========================================================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.skill-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.skill-card:hover {
  transform: translateY(-3px);
  border-color: #c5d3e8;
  box-shadow: var(--shadow-md);
}

.skill-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.skill-icon svg { width: 22px; height: 22px; }

.skill-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-ink);
}
.skill-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

/* =========================================================
   Timeline
   ========================================================= */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  border-left: 2px solid var(--color-line);
}

.timeline-item {
  position: relative;
  padding: 6px 0 36px 36px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 8px;
}
.timeline-date {
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--color-brand);
  letter-spacing: 0.02em;
}
.timeline-tag {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  padding: 4px 10px;
  background: var(--color-bg-alt);
  border-radius: 999px;
}
.section-alt .timeline-tag { background: #fff; }

.timeline-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 4px 0 8px;
  color: var(--color-ink);
}
.timeline-body p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.98rem;
  max-width: 760px;
}

.timeline-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 760px;
}
.timeline-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
}
.timeline-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent);
}

/* =========================================================
   Certifications
   ========================================================= */

.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.cert-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.cert-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.cert-list strong {
  display: block;
  font-size: 0.98rem;
  color: var(--color-ink);
  margin-bottom: 2px;
}
.cert-list span {
  font-size: 0.84rem;
  color: var(--color-muted);
}

/* =========================================================
   Contact
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.contact-card {
  background: var(--color-brand);
  color: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.15s var(--ease);
  border-radius: 6px;
}
a.contact-row {
  margin: 0 -10px;
  padding: 16px 10px;
}
a.contact-row:hover {
  background: rgba(255,255,255,0.05);
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ec5ee;
  font-weight: 600;
}

.contact-value {
  font-weight: 600;
  font-size: 0.98rem;
}

.contact-btn {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--color-brand);
  box-shadow: none;
}
.contact-btn:hover {
  background: var(--color-accent-soft);
  color: var(--color-brand);
}

/* =========================================================
   Booking embed
   ========================================================= */

.booking-embed {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.booking-embed iframe {
  display: block;
  width: 100%;
  min-height: 1000px;
  border: 0;
}
@media (max-width: 700px) {
  .booking-embed iframe { min-height: 1300px; }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: #0a1326;
  color: #94a3b8;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .brand-name { color: #fff; }
.site-footer .brand img { background: transparent; }

.footer-note {
  font-size: 0.85rem;
  margin: 14px 0 0;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s var(--ease);
}
.footer-links a:hover { color: #fff; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 420px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }

  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--color-line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--color-line);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 8px; border-radius: 10px; }

  .nav-toggle { display: inline-block; }

  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .brand-sub { display: none; }
  .meta-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
