/* ==========================================================================
   Erdemoğlu Hukuk Bürosu — Design System
   Palette: Charcoal / Paper White / Soft Gray + Green (#1AAD43) as accent only
   Type: Fraunces (display) + Inter (body/UI)
   ========================================================================== */

:root {
  --paper: #ffffff;
  --paper-soft: #f4f5f4;
  --paper-soft-2: #eceeec;
  --charcoal: #1c1f1e;
  --charcoal-soft: #3a3e3c;
  --charcoal-mute: #6b706d;
  --line: #e3e5e2;
  --line-on-dark: rgba(244, 245, 244, 0.14);
  --green: #1aad43;
  --green-deep: #12822f;
  --green-tint: #e9f6ec;
  --cream: #f4f5f4;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --container-narrow: 760px;
  --gutter: clamp(24px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 460; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--font-body); }

p { color: var(--charcoal-soft); max-width: 62ch; }
p.lede { font-size: 1.15rem; line-height: 1.65; color: var(--charcoal-soft); }

.small-caps-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: 0.02em;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 10vw, 128px); }
.section-soft { background: var(--paper-soft); }
.section-dark { background: var(--charcoal); color: var(--cream); }
.section-dark p { color: rgba(244, 245, 244, 0.72); }
.section-dark h2, .section-dark h3 { color: var(--cream); }

.hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}
.section-dark .hr { border-top-color: var(--line-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 3px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--paper);
}
.btn-primary:hover { background: var(--green-deep); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--paper);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-on-dark);
}
.btn-ghost-light:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-whatsapp {
  background: var(--green);
  color: var(--paper);
}
.btn-whatsapp:hover { background: var(--green-deep); }

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 560;
  color: var(--charcoal);
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--charcoal-mute);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.main-nav a {
  font-size: 0.94rem;
  color: var(--charcoal-soft);
  padding-block: 4px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--green);
  transition: right 0.25s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--charcoal); font-weight: 600; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
}
.header-phone svg { width: 16px; height: 16px; color: var(--green-deep); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 22px; height: 1.5px;
  background: var(--charcoal);
  position: absolute;
  left: 50%; top: 50%;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span { transform: translate(-50%, -50%); }
.nav-toggle::before { transform: translate(-50%, -50%) translateY(-7px); }
.nav-toggle::after { transform: translate(-50%, -50%) translateY(7px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 110px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: var(--charcoal-mute);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 24px; max-width: 46ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 44px);
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--charcoal);
  font-weight: 500;
}
.hero-stat span {
  font-size: 0.82rem;
  color: var(--charcoal-mute);
}

.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
.hero-media-caption {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(28, 31, 30, 0.82);
  color: var(--cream);
  font-size: 0.72rem;
  padding: 8px 12px;
  border-radius: 2px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 26px;
}
.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}
.trust-strip li {
  font-size: 0.86rem;
  color: var(--charcoal-mute);
  display: flex;
  align-items: center;
  gap: 9px;
}
.trust-strip svg { width: 15px; height: 15px; color: var(--green-deep); flex-shrink: 0; }

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head h2 { max-width: 14ch; }
.section-head .section-desc { max-width: 40ch; }

/* ---------- Practice areas — "Madde" article-index list ---------- */
.madde-list {
  border-top: 1px solid var(--line);
}
.section-dark .madde-list { border-top-color: var(--line-on-dark); }

.madde-item {
  border-bottom: 1px solid var(--line);
  display: block;
}
.section-dark .madde-item { border-bottom-color: var(--line-on-dark); }

.madde-item a {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 28px;
  padding-block: 28px;
  transition: padding-left 0.3s var(--ease);
}
.madde-item a:hover { padding-left: 10px; }

.madde-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--charcoal-mute);
}
.section-dark .madde-num { color: rgba(244,245,244,0.5); }

.madde-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 500;
  transition: color 0.2s;
}
.madde-item a:hover .madde-title { color: var(--green-deep); }
.section-dark .madde-item a:hover .madde-title { color: var(--green); }

.madde-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal-mute);
  margin-top: 6px;
  max-width: 52ch;
}
.section-dark .madde-desc { color: rgba(244,245,244,0.55); }

.madde-arrow {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.3s var(--ease);
  flex-shrink: 0;
}
.madde-arrow svg { width: 14px; height: 14px; }
.madde-item a:hover .madde-arrow {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
  transform: rotate(45deg);
}
.section-dark .madde-arrow { border-color: var(--line-on-dark); }

/* ---------- Process / steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-step {
  background: var(--paper);
  padding: 32px 26px;
}
.process-step .madde-num { display: block; margin-bottom: 18px; }
.process-step h4 { margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; }

/* ---------- Cards (values / why-us) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
.value-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.value-card p { font-size: 0.94rem; }
.value-icon {
  width: 42px; height: 42px;
  margin-bottom: 22px;
  color: var(--green-deep);
}
.value-icon svg { width: 100%; height: 100%; }

/* ---------- Quote / CTA banner ---------- */
.quote-block {
  border-left: 2px solid var(--green);
  padding-left: 28px;
  max-width: 58ch;
}
.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--charcoal);
  font-weight: 460;
  line-height: 1.35;
}
.quote-block cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--charcoal-mute);
}
.section-dark .quote-block p { color: var(--cream); }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 16ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 44px);
}
.team-card figure {
  aspect-ratio: 3 / 3.6;
  background: var(--paper-soft-2);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.1rem; }
.team-card .role {
  font-size: 0.86rem;
  color: var(--green-deep);
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 10px;
}
.team-card p { font-size: 0.9rem; }

/* ---------- Timeline (about) ---------- */
.timeline {
  border-top: 1px solid var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-deep);
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.92rem; }

/* ---------- Info / two-col ---------- */
.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 88px);
}
.two-col.reverse { grid-template-columns: 1.15fr 0.85fr; }

.stat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; margin-top: 40px; }
.stat-list b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--charcoal);
}
.stat-list span { font-size: 0.85rem; color: var(--charcoal-mute); }

/* ---------- FAQ / accordion ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--charcoal);
}
.faq-q .plus {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.faq-q .plus::before { left: 0; top: 50%; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { top: 0; left: 50%; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq-item[data-open="true"] .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item[data-open="true"] .faq-a { max-height: 340px; }
.faq-a p { padding-bottom: 24px; font-size: 0.94rem; max-width: 68ch; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}
.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h4 { margin-bottom: 8px; }
.contact-card a, .contact-card p { font-size: 0.95rem; }
.contact-card .big-link {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--charcoal);
}
.contact-card .big-link:hover { color: var(--green-deep); }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 14px;
  font-size: 0.95rem;
  background: var(--paper);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--green);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.8rem; color: var(--charcoal-mute); margin-top: 6px; }

.map-frame {
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-top: 28px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ---------- Practice detail page ---------- */
.detail-hero {
  padding-block: clamp(48px, 7vw, 84px) clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--charcoal-mute);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--green-deep); }
.detail-hero h1 { max-width: 16ch; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.detail-hero .lede { margin-top: 20px; max-width: 60ch; }

.detail-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(40px, 6vw, 80px);
}
.detail-content h3 { margin-top: 44px; margin-bottom: 16px; }
.detail-content h3:first-child { margin-top: 0; }
.detail-content p { max-width: 68ch; margin-bottom: 16px; font-size: 0.98rem; }
.detail-content ul.check-list { margin-top: 18px; margin-bottom: 28px; }
.check-list li {
  display: flex;
  gap: 12px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--green-deep); }

.side-card {
  border: 1px solid var(--line);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 108px;
}
.side-card h4 { margin-bottom: 8px; }
.side-card p { font-size: 0.88rem; margin-bottom: 20px; }
.side-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.side-related { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.side-related span { font-size: 0.78rem; color: var(--charcoal-mute); display: block; margin-bottom: 12px; }
.side-related a {
  display: block;
  font-size: 0.9rem;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
}
.side-related a:last-child { border-bottom: none; }
.side-related a:hover { color: var(--green-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding-top: clamp(56px, 8vw, 92px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { margin-top: 18px; font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 { color: var(--cream); font-size: 0.82rem; letter-spacing: 0.02em; margin-bottom: 18px; color: rgba(244,245,244,0.5); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: 0.9rem; color: rgba(244,245,244,0.78); }
.footer-col a:hover { color: var(--green); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: rgba(244,245,244,0.78); }
.footer-contact svg { width: 15px; height: 15px; margin-top: 3px; color: var(--green); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(244,245,244,0.5);
}
.footer-bottom a:hover { color: var(--green); }

/* ---------- Floating contact buttons ---------- */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s var(--ease);
}
.float-btn:hover { transform: translateY(-2px); }
.float-btn svg { width: 24px; height: 24px; }
.float-whatsapp { background: var(--green); color: var(--paper); }
.float-call { background: var(--charcoal); color: var(--paper); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: 32px var(--gutter);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-sub {
  padding-left: 16px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-sub a { font-size: 1.02rem; font-family: var(--font-body); border-bottom: none; padding-block: 10px; color: var(--charcoal-mute); }
.mobile-nav-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-actions .btn { width: 100%; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-body { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding-block: 56px; }
  .process-grid, .value-grid, .team-grid { grid-template-columns: 1fr; }
  .madde-item a { grid-template-columns: 50px 1fr auto; gap: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .trust-strip ul { justify-content: flex-start; }
  .hero-stats { gap: 22px; }
}
