/* main.css — Tree Removal Cost Calculator
 * Layout: white cards on a light grey page background.
 * Each section is a lifted card — clear visual separation without heavy borders.
 */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #edecea;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: #2d6a2d; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ──────────────────────────────────────────────────────────── */

h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  max-width: 68ch;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Page wrapper — vertical spacing between cards */
main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 20px;
}

/* Every section is a lifted white card */
main > section {
  background: #ffffff;
  border: 1px solid #e2dfda;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
  padding: 2.5rem 0;
  max-width: 880px;
  margin: 0 auto;
  width: calc(100% - 2.5rem);
}

/* ── Site header ─────────────────────────────────────────────────────────── */

.site-header {
  background: #1a2e1a;
  border-bottom: 1px solid #2d6a2d;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.site-header__logo-icon {
  width: 26px;
  height: 26px;
  color: #5ab85a;
  flex-shrink: 0;
}

.site-header__logo-text {
  font-size: 0.97rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-header__logo-sub {
  font-size: 0.62rem;
  font-weight: 400;
  color: #8fbc8f;
  display: block;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

/* ── Hero strip ──────────────────────────────────────────────────────────── */

.hero-strip {
  background: #1a2e1a;
  padding: 0;
  border-bottom: 3px solid #22401a;
  padding-top: 50px;
}

.hero-strip__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-strip__content {
  flex: 1;
  min-width: 0;
}

/* Verified badge above H1 */
.hero-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(90, 184, 90, 0.15);
  border: 1px solid rgba(90, 184, 90, 0.3);
  border-radius: 20px;
  padding: 3px 10px 3px 6px;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #7dd87d;
  letter-spacing: 0.03em;
}

.hero-strip__badge svg {
  width: 13px;
  height: 13px;
  color: #5ab85a;
  flex-shrink: 0;
}

.hero-strip h1 {
  color: #ffffff;
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
}

.hero-strip__sub {
  font-size: 0.95rem;
  color: #9abf9a;
  max-width: 54ch;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.hero-strip__sub strong {
  color: #dff0df;
  font-weight: 600;
}

/* Stat pills row */
.hero-strip__stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-stat__val {
  font-size: 0.97rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hero-stat__lbl {
  font-size: 0.65rem;
  color: #7a9f7a;
  letter-spacing: 0.02em;
}

/* Decorative tree SVG — right side of hero */
.hero-strip__graphic {
  flex-shrink: 0;
  opacity: 0.18;
  color: #5ab85a;
  display: flex;
  align-items: center;
}

.hero-strip__graphic svg {
  width: 90px;
  height: 90px;
}

/* ── Calculator card ─────────────────────────────────────────────────────── */

.calc-card {
  background: #ffffff;
  border: 1px solid #ddd9d1;
  border-radius: 10px;
  padding: 1.75rem;
}

.calc-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-field label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calc-field select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid #ccc8c0;
  border-radius: 6px;
  font-size: 0.93rem;
  color: #1a1a1a;
  background: #fafaf8;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}

.calc-field select:focus {
  outline: none;
  border-color: #2d6a2d;
  background: #fff;
}

.calc-checks {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  padding-top: 0.25rem;
}

.calc-check {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #3a3a3a;
  user-select: none;
}

.calc-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2d6a2d;
  cursor: pointer;
}

.calc-check__note {
  font-size: 0.75rem;
  color: #999;
  font-weight: 400;
}

.calc-result {
  margin-top: 1.25rem;
  background: #f0f7f0;
  border: 2px solid #2d6a2d;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-result__left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.calc-result__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #2d5a2d;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.calc-result__price {
  font-size: 2rem;
  font-weight: 700;
  color: #1a4a1a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.calc-result__note {
  font-size: 0.75rem;
  color: #5a7a5a;
  max-width: 40ch;
  line-height: 1.4;
  margin-top: 2px;
}

.calc-result__breakdown {
  font-size: 0.8rem;
  color: #4a6a4a;
  text-align: right;
  line-height: 1.7;
}

/* ── Section header inside cards ─────────────────────────────────────────── */

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d6a2d;
  margin-bottom: 0.3rem;
}

/* ── Data tables ─────────────────────────────────────────────────────────── */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid #e4e0d8;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}

.data-table th {
  background: #f5f3ef;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e4e0d8;
  white-space: nowrap;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f0ede7;
  color: #2a2a2a;
  vertical-align: top;
  font-size: 0.9rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: #faf9f7;
}

.data-table td:last-child,
.data-table th:last-child {
  text-align: right;
}

.data-table--desc td:last-child,
.data-table--desc th:last-child {
  text-align: left;
}

.price-range {
  font-weight: 600;
  color: #1a4a1a;
  white-space: nowrap;
}

.price-avg {
  font-size: 0.78rem;
  color: #888;
  display: block;
}

.table-source {
  font-size: 0.73rem;
  color: #aaa;
  margin-top: 0.55rem;
  line-height: 1.4;
}

td.diff-low  { color: #2d6a2d; font-weight: 500; }
td.diff-med  { color: #8a6a00; font-weight: 500; }
td.diff-high { color: #9a2a2a; font-weight: 500; }

/* ── Factor cards ────────────────────────────────────────────────────────── */

.factor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.875rem;
}

.factor-card {
  background: #fafaf8;
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  padding: 1rem 1.1rem 1.1rem;
  transition: box-shadow 0.15s, border-color 0.15s, background 0.15s;
}

.factor-card:hover {
  background: #fff;
  border-color: #b8d4b8;
  box-shadow: 0 2px 10px rgba(45,106,45,0.07);
}

.factor-card__icon {
  width: 32px;
  height: 32px;
  background: #edf5ed;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  color: #2d6a2d;
}

.factor-card h3 {
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.factor-card p {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.55;
  max-width: none;
}

.factor-stat {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2d6a2d;
  background: #edf5ed;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

/* ── FAQ accordion ───────────────────────────────────────────────────────── */

.faq-list {
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid #ece9e3;
}

.faq-item:first-child {
  border-top: 1px solid #ece9e3;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.95rem 0;
  font-size: 0.93rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  transition: color 0.15s;
}

.faq-btn:hover { color: #2d6a2d; }

.faq-btn svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: #bbb;
  transition: transform 0.2s, color 0.15s;
}

.faq-item.open .faq-btn { color: #2d6a2d; }

.faq-item.open .faq-btn svg {
  transform: rotate(45deg);
  color: #2d6a2d;
}

.faq-answer {
  display: none;
  padding: 0 0 1rem 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.65;
  max-width: 64ch;
}

.faq-item.open .faq-answer { display: block; }
.faq-answer strong { color: #1a4a1a; }

/* ── Tips list ───────────────────────────────────────────────────────────── */

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: #3a3a3a;
  line-height: 1.6;
}

.tips-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #2d6a2d;
  border-radius: 50%;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tips-check svg {
  width: 10px;
  height: 10px;
  color: #fff;
}

/* ── Utility spacing ─────────────────────────────────────────────────────── */

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* ── Site footer ─────────────────────────────────────────────────────────── */

.site-footer {
  background: #141f14;
  padding: 2rem 0;
}

.site-footer__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__copy {
  font-size: 0.78rem;
  color: #7a9a7a;
  line-height: 1.5;
  max-width: 52ch;
}

.site-footer__links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.site-footer__links a {
  font-size: 0.78rem;
  color: #7a9a7a;
}

.site-footer__links a:hover { color: #a8c8a8; }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 680px) {

  .site-footer__links {
    display: block;
  }


  main {
    padding: 0 0 3rem;
    gap: 2rem;
  }

  main > section {
    width: calc(100% - 1rem);
    padding: 1.75rem 0;
    border-radius: 10px;
  }

  .hero-strip__graphic { display: none; }

  .hero-strip__stats { gap: 0.5rem; }

  .hero-stat {
    padding: 0.4rem 0.7rem;
  }

  .calc-grid { grid-template-columns: 1fr; }
  .calc-card { padding: 1.25rem; }

  .calc-result {
    flex-direction: column;
  }

  .calc-result__price { font-size: 1.6rem; }
  .calc-result__breakdown { text-align: left; }


  .factor-grid { grid-template-columns: 1fr; }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
.table-scroll {
  border: none;
  border-radius: 0;
  overflow-x: visible;
}

.data-table {
  min-width: 0;
  display: block;
}

.data-table thead {
  display: none;
}

.data-table tbody {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.data-table tr {
  display: block;
  border: 1px solid #e4e0d8;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  background: #fff;
}

.data-table td {
  display: block;
  padding: 0.22rem 0;
  border-bottom: none;
  font-size: 0.88rem;
  text-align: left !important;
  color: #2a2a2a;
}

.data-table tr td:not(:last-child) {
  padding-bottom: 0.4rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid #f0ede7;
}

.data-table tbody tr:hover td {
  background: transparent;
}

.data-table td:first-child {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a1a;
}
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* ── Contact form ────────────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
  max-width: 520px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-field label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid #ccc8c0;
  border-radius: 6px;
  font-size: 0.93rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #fafaf8;
  transition: border-color 0.15s;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #2d6a2d;
  background: #fff;
}

.contact-field textarea { resize: vertical; }

.contact-submit {
  align-self: flex-start;
  background: #2d6a2d;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.5rem;
  font-size: 0.93rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-submit:hover { background: #245424; }

.contact-notice {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: 520px;
}

.contact-notice--ok  { background: #f0f7f0; color: #1a4a1a; border: 1px solid #b8d4b8; }
.contact-notice--err { background: #fdf0f0; color: #7a1a1a; border: 1px solid #e4b8b8; }


select,option,label,input {
    font-family: inherit;
}

#tree-cost-calculator {
    border:none;
    background:none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: none;

}


#tree-cost-calculator .tree {
padding: 0;
}

.official {
  margin-top: 20px;
}

/* ── Prose / kurumsal sayfalar ───────────────────────────────────────────── */
.prose p + p { margin-top: 0.75rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.25rem; }

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.prose li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}