/* ===== Design System ===== */
:root {
  --ink: #1c1c1c;
  --ink-soft: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e8e6e1;
  --paper: #f7f5f0;
  --white: #ffffff;
  --teal: #0d5c63;
  --teal-dark: #0a484e;
  --teal-light: #e8f3f4;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
  --radius: 6px;
  --shadow: 0 12px 40px rgba(28, 28, 28, 0.07);
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--sans);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-block { width: 100%; }

/* ===== Top bar ===== */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar a:hover { color: var(--white); }
.divider { opacity: 0.35; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.55rem;
}

.logo-gkj { color: var(--teal); }
.logo-law { color: var(--ink); letter-spacing: 0.04em; }

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

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

.header-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.header-cta:hover {
  background: var(--teal);
  color: var(--white);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 70px;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 32px;
  width: 100%;
  max-width: 340px;
  box-shadow: var(--shadow);
}

.panel-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.panel-card h2 {
  font-size: 1.7rem;
  margin-bottom: 4px;
}

.panel-role {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.panel-list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.panel-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

.panel-email {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--teal);
}

.panel-email:hover { text-decoration: underline; }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--teal);
  color: var(--white);
  padding: 28px 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.trust-item span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ===== About ===== */
.about {
  padding: 90px 0;
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.about-left h2 {
  max-width: 320px;
}

.about-right p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* ===== Services ===== */
.services {
  padding: 90px 0;
  background: var(--paper);
}

.section-intro {
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.service-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
  opacity: 0.7;
}

.service h3 {
  margin-bottom: 12px;
}

.service p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact {
  padding: 90px 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-lead {
  color: var(--muted);
  margin: 16px 0 36px;
  max-width: 400px;
}

.contact-blocks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.c-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.c-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.c-block a,
.c-block span:not(.c-label) {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}

.c-block a:hover { color: var(--teal); }

/* Form */
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px;
}

.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-disclaimer {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding-top: 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo-gkj,
.footer-brand .logo-law {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-brand .logo-gkj { color: #5eb0b8; }
.footer-brand .logo-law { color: var(--white); }

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: #5eb0b8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-panel { justify-content: flex-start; }
  .panel-card { max-width: 100%; }

  .trust-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .header-cta { display: none; }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .menu-btn { display: flex; }

  .form-pair { grid-template-columns: 1fr; }

  .hero { padding: 50px 0 60px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}

@media (max-width: 480px) {
  .form { padding: 24px 18px; }
  .services-grid { grid-template-columns: 1fr; }
}
