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

:root {
  --green:   #1a6b4a;
  --green-d: #134f37;
  --green-l: #e8f4ee;
  --ink:     #0d1f17;
  --gray:    #f7f8f7;
  --muted:   #4a5a52;
  --line:    #e0e5e2;
  --white:   #ffffff;
  --gold:    #c8a96e;
  --radius:  12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  animation: fadeDown .5s ease both;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.nav-logo .badge {
  background: var(--green); color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 4px;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: .88rem; color: var(--muted);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: .55rem 1.2rem; border-radius: var(--radius);
  font-weight: 500; transition: background .2s !important;
}
.nav-cta:hover { background: var(--green-d) !important; }

/* HERO */
.hero {
  background: var(--gray);
  padding: 5rem 2rem 4rem;
  text-align: center;
  animation: fadeUp .7s .1s ease both;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-l); color: var(--green-d);
  font-size: .8rem; font-weight: 500;
  padding: .35rem .9rem; border-radius: 99px;
  margin-bottom: 1.8rem;
}
.hero-pill::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.12; max-width: 720px; margin: 0 auto 1.2rem;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 3rem;
}
.btn-primary {
  background: var(--green); color: #fff;
  padding: .85rem 1.8rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600;
  text-decoration: none; transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover { background: var(--green-d); transform: translateY(-2px); }
.btn-outline {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line);
  padding: .85rem 1.8rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 500;
  text-decoration: none; transition: border-color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--green); transform: translateY(-2px); }
.hero-trust {
  display: flex; justify-content: center; gap: 2.5rem;
  flex-wrap: wrap; font-size: .82rem; color: var(--muted);
}
.trust-item { display: flex; align-items: center; gap: .4rem; }
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* PRACTICE TABS */
.practices {
  padding: 5rem 2rem;
  max-width: 1100px; margin: 0 auto;
}
.section-label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: .8rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: .6rem; line-height: 1.2;
}
.section-sub {
  color: var(--muted); font-size: .97rem;
  max-width: 560px; line-height: 1.65; margin-bottom: 2.5rem;
}

/* TABS */
.tabs {
  display: flex; gap: .5rem; margin-bottom: 2rem;
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
}
.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem; font-weight: 500;
  color: var(--muted);
  padding: .75rem 1.4rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
  display: flex; align-items: center; gap: .5rem;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* TAB PANELS */
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.sit-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.sit-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(26,107,74,.1);
  transform: translateY(-3px);
}
.sit-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 3px;
  background: var(--green);
  transition: width .3s ease;
}
.sit-card:hover::after { width: 100%; }
.sit-card[onclick]:hover { box-shadow: 0 6px 24px rgba(26,107,74,.15); }

.sit-tag {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--green-l); color: var(--green-d);
  font-size: .7rem; font-weight: 600;
  padding: .2rem .55rem; border-radius: 99px;
}
.sit-icon {
  width: 40px; height: 40px;
  background: var(--green-l); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.2rem;
}
.sit-situation {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .4rem;
}
.sit-title {
  font-weight: 600; font-size: 1rem;
  margin-bottom: .7rem; line-height: 1.3;
}
.sit-desc {
  font-size: .83rem; color: #3d4f46;
  line-height: 1.55; margin-bottom: 1.2rem;
}
.sit-doc {
  font-size: .8rem; color: var(--green-d);
  font-weight: 500;
  display: flex; align-items: center; gap: .3rem;
}
.sit-doc::before { content: '📄'; font-size: .85rem; }

/* HOW */
.how-section { background: var(--gray); padding: 5rem 2rem; }
.how-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.steps-list { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--green); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .88rem;
}
.step-title { font-weight: 600; margin-bottom: .3rem; }
.step-desc { font-size: .88rem; color: #3d4f46; line-height: 1.55; }

.how-visual {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 16px; padding: 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.06);
}
.chat-bubble {
  background: var(--green-l);
  border-radius: 12px 12px 12px 2px;
  padding: 1rem 1.2rem;
  font-size: .9rem; line-height: 1.55;
  margin-bottom: .5rem; color: var(--ink);
}
.chat-bubble.reply {
  background: var(--green); color: #fff;
  border-radius: 12px 12px 2px 12px;
  margin-left: 2rem;
}
.chat-meta {
  font-size: .75rem; color: var(--muted); margin-bottom: 1rem;
}
.delivery-badge {
  background: var(--green-l); border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: .8rem;
  font-size: .88rem; font-weight: 500; color: var(--green-d);
}

/* WHY */
.why-section { padding: 5rem 2rem; }
.why-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: border-color .2s, transform .2s;
}
.why-card:hover { border-color: var(--green); transform: translateY(-3px); }
.why-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem; color: var(--green);
  line-height: 1; margin-bottom: .5rem;
}
.why-title { font-weight: 600; margin-bottom: .5rem; font-size: .97rem; }
.why-desc { font-size: .83rem; color: #3d4f46; line-height: 1.55; }

/* CTA */
.cta-section {
  background: var(--green); padding: 5rem 2rem;
  text-align: center; color: #fff;
}
.cta-section .section-label { color: rgba(255,255,255,.65); }
.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 1rem; line-height: 1.15;
}
.cta-section p {
  color: rgba(255,255,255,.8);
  max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.65;
}
.btn-white {
  background: #fff; color: var(--green);
  padding: .9rem 2rem; border-radius: var(--radius);
  font-size: .97rem; font-weight: 700;
  text-decoration: none; display: inline-block;
  transition: transform .15s, box-shadow .15s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* FOOTER */
footer {
  border-top: 1px solid var(--line); padding: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--muted);
  flex-wrap: wrap; gap: 1rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 900px) {
  .tab-panel.active { grid-template-columns: 1fr 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 2rem; }
  .why-inner { grid-template-columns: 1fr 1fr !important; }
  .for-whom-grid { grid-template-columns: 1fr 1fr !important; }
  .price-cards { grid-template-columns: 1fr !important; }
  .repr-inner { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .cases-grid { grid-template-columns: 1fr 1fr !important; }
  .why-photo-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr !important; }
  .for-whom-grid { grid-template-columns: 1fr 1fr !important; }
  footer { justify-content: center; text-align: center; }
  .why-photo-grid { grid-template-columns: 1fr !important; }
  .cases-grid { grid-template-columns: 1fr !important; }
  .price-cards { grid-template-columns: 1fr !important; }
  .repr-inner { grid-template-columns: 1fr !important; }
}