/* Kiya Legal Consultancy · site styles
   Palette and type follow the approved "Willow Lane" design direction. */

:root {
  --sage: #EEF1EA;
  --sage-deep: #D5DFD1;
  --white: #FFFFFF;
  --forest: #1E3A2F;
  --forest-2: #2B4D3F;
  --forest-3: #3B5E4F;
  --ink-muted: #4F5E55;
  --mint: #C9D6CE;
  --line: #D3DBCF;
  --sand: #F6EBD3;
  --sand-line: #E2CFA6;
  --marigold: #F2B544;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 8vw, 112px);
  --radius-lg: 32px;
  --radius-md: 24px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--forest);
  background: var(--sage);
}

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

a { color: var(--forest); }
a:hover { color: #0F2219; }

h1, h2, h3 { margin: 0; font-weight: 500; }

p { margin: 0; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--marigold); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--white); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.h2 { font-size: clamp(36px, 4.2vw, 56px); }
.lead { color: var(--ink-muted); font-size: 18px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 16px; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 15px 28px; border: 0; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn--accent { background: var(--marigold); color: var(--forest); }
.btn--accent:hover { background: #F5C262; color: var(--forest); }
.btn--light { background: var(--white); color: var(--forest); }
.btn--light:hover { background: #F7F9F5; color: var(--forest); }
.btn--dark { background: var(--forest); color: var(--white); }
.btn--dark:hover { background: var(--forest-2); color: var(--white); }
.btn--sm { min-height: 48px; padding: 12px 22px; font-size: 16px; }

/* Top bar */
.topbar { background: var(--forest); color: #E4EBE0; font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-block: 10px; }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; }
.topbar__note .icon { width: 16px; height: 16px; color: var(--marigold); }
.topbar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.topbar a { color: #E4EBE0; text-decoration: none; }
.topbar a:hover { color: var(--white); }

.lang-switch { display: flex; gap: 4px; font-weight: 700; }
.lang-switch a { padding: 2px 10px; border-radius: 999px; }
.lang-switch a[aria-current="true"] { background: var(--marigold); color: var(--forest); }

/* Header */
.site-header { background: var(--sage); position: relative; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 20px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.logo__mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--marigold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 600; font-style: italic;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.logo__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; }

.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--white); color: var(--forest); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav, .js .header-cta { display: none; }
  .js .site-header[data-open="true"] .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    width: 100%; padding: 12px 0 8px; border-top: 1px solid var(--line);
  }
  .js .site-header[data-open="true"] .nav a { padding: 10px 0; font-size: 18px; }
  .js .site-header[data-open="true"] .header-cta { display: inline-flex; width: 100%; }
}

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -0.025em; }
.hero__lead { margin-top: 28px; max-width: 560px; font-size: 19px; color: var(--ink-muted); }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { width: 18px; height: 18px; color: var(--forest); }

.hero__media { position: relative; padding-inline: 12px; }
.arch {
  height: clamp(420px, 44vw, 600px); border-radius: 400px 400px 32px 32px; overflow: hidden;
  background: var(--sage-deep);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.photo-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--ink-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 24px;
}
.photo-placeholder .icon { width: 40px; height: 40px; stroke-width: 1.3; }

.float-card {
  position: absolute; left: 0; bottom: 48px; max-width: calc(100% - 24px);
  background: var(--white); border-radius: 20px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 12px 32px rgba(30, 58, 47, 0.14);
}
.float-card__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--sage); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.float-card__icon .icon { width: 22px; height: 22px; }
.float-card__text { display: flex; flex-direction: column; line-height: 1.3; }
.float-card__text small { font-size: 13px; color: var(--ink-muted); font-weight: 600; }
.float-card__text strong { font-size: 16px; }

.float-chip {
  position: absolute; right: 0; top: 64px; max-width: calc(100% - 24px);
  background: var(--forest); color: var(--white); border-radius: 999px; padding: 12px 20px;
  font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.float-chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--marigold); flex: 0 0 auto; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

/* Sections */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--sage { background: var(--sage); }
.section--forest { background: var(--forest); color: var(--white); }
.section--rounded { border-radius: 48px 48px 0 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .h2 { margin-bottom: 16px; }
.section-head--split { max-width: none; text-align: left; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: 48px; }
.section-head--split .h2 { flex: 1 1 520px; margin: 0; }
.section-head--split p { flex: 0 1 420px; color: var(--ink-muted); }

/* Help cards */
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.help-card { border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; gap: 22px; }
.help-card--dark { background: var(--forest); color: var(--white); }
.help-card--sand { background: var(--sand); }
.help-card__icon { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.help-card--dark .help-card__icon { background: var(--forest-2); color: var(--marigold); }
.help-card--sand .help-card__icon { background: var(--white); color: var(--forest); }
.help-card__icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.help-card h3 { font-family: var(--font-display); font-size: 38px; letter-spacing: -0.01em; margin-bottom: 8px; }
.help-card--dark p { color: var(--mint); }
.help-card--sand p { color: var(--ink-muted); }
.help-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--forest-3); }
.help-card--sand .help-list { border-top-color: var(--sand-line); }
.help-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--forest-3); font-weight: 600; min-height: 44px; }
.help-card--sand .help-list li { border-bottom-color: var(--sand-line); }
.help-list li::after { content: "→"; color: var(--marigold); }
.help-card--sand .help-list li::after { color: var(--forest); }
.help-card__link { font-weight: 700; text-decoration: none; }
.help-card--dark .help-card__link { color: var(--marigold); }

@media (max-width: 860px) { .help-grid { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { background: var(--white); border-radius: 28px; padding: 32px; }
.step__num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--marigold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
}
.step h3 { margin: 22px 0 8px; font-size: 20px; font-weight: 700; }
.step p { color: var(--ink-muted); font-size: 16px; }

@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Fees */
.fees-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 24px 48px; align-items: center;
  background: var(--sand); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px);
}
.fees-band .eyebrow { color: var(--forest); }
.fees-band p:not(.eyebrow) { color: var(--ink-muted); }

@media (max-width: 960px) {
  .fees-band { grid-template-columns: minmax(0, 1fr); }
  .fees-band .btn { justify-self: start; }
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 400px 400px 32px 32px; overflow: hidden; background: var(--sage-deep); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about .h2 { margin-bottom: 8px; }
.about__role { font-weight: 700; color: var(--ink-muted); margin-bottom: 24px; }
.about__bio { display: flex; flex-direction: column; gap: 16px; font-size: 18px; margin-bottom: 28px; }
.tag-group { margin-bottom: 20px; }
.tag-group__label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { background: var(--sage); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.tags--accent li { background: var(--marigold); }

@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .portrait { max-width: 420px; }
}

/* FAQ + contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.contact .h2 { margin-bottom: 32px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--sage); border-radius: 22px; padding: 20px 24px; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 18px; font-weight: 700; min-height: 44px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600;
}
.faq details[open] summary::after { content: "−"; background: var(--marigold); }
.faq details p { margin: 8px 0 4px; color: var(--ink-muted); font-size: 16px; }

.form-card { background: var(--forest); color: var(--white); border-radius: 36px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.form-card h2 { font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); line-height: 1.15; margin-bottom: 6px; }
.form-card__intro { color: var(--mint); font-size: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  border: 0; border-radius: 14px; padding: 12px 16px; min-height: 50px;
  font: inherit; font-size: 16px; font-weight: 400; background: var(--white); color: var(--forest);
}
.field textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mint); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--marigold); flex: 0 0 auto; }
.consent a { color: var(--white); }
.form-card .btn { align-self: flex-start; }
.form-card .btn:disabled { opacity: 0.6; cursor: wait; }
.form-status { background: var(--forest-2); border-left: 0; border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.form-status::before { content: "✓ "; color: var(--marigold); }
.form-status--error { background: #5A2A22; }
.form-status--error::before { content: "! "; }
.cf-turnstile { min-height: 65px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alt { font-size: 15px; color: var(--mint); border-top: 1px solid var(--forest-3); padding-top: 18px; }
.form-alt a { color: var(--white); font-weight: 600; }

@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--forest); color: var(--mint); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px 64px; padding-block: 72px 48px; border-bottom: 1px solid var(--forest-3); }
.footer-brand { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marigold); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--white); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-block: 28px 36px; font-size: 13px; }
.footer-legal p { flex: 1 1 520px; max-width: 760px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: var(--white); text-decoration: none; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp shortcut */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 20px;
  background: var(--forest); color: var(--white); border-radius: 999px; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 28px rgba(30, 58, 47, 0.28);
}
.wa-float:hover { background: var(--forest-2); color: var(--white); }
.wa-float .icon { color: var(--marigold); }

@media (max-width: 600px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float .icon { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
