:root {
  --bg: #f6f1e7;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #fffdf8;
  --line: rgba(38, 67, 61, 0.12);
  --line-strong: rgba(38, 67, 61, 0.2);
  --text: #18332f;
  --muted: #5b6d69;
  --accent: #184a45;
  --accent-2: #c97c4a;
  --white: #ffffff;
  --shadow-lg: 0 28px 60px rgba(39, 56, 52, 0.12);
  --shadow-md: 0 16px 36px rgba(39, 56, 52, 0.08);
  --shadow-sm: 0 10px 20px rgba(39, 56, 52, 0.05);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 4%, rgba(201, 124, 74, 0.2), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(24, 74, 69, 0.2), transparent 30%),
    linear-gradient(180deg, #f8f4ec 0%, #f4eee4 100%);
  line-height: 1.68;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.96);
  backdrop-filter: blur(16px);
}

.header-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 82px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  color: var(--accent);
  font-size: 1.02rem;
  line-height: 1.2;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.header-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.header-links a,
.cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 760;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.header-links a {
  padding: 0 13px;
  border: 1px solid rgba(24, 74, 69, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.header-links a:hover,
.header-links a:focus-visible,
.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
}

.header-links .phone-link {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(24, 74, 69, 0.18);
}

.header-links a[href*="takip"] {
  background: #103c37;
  color: var(--white);
  border-color: rgba(16, 60, 55, 0.24);
}

.intro-section {
  padding: 22px 0 12px;
}

.intro-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 0.84fr);
  gap: 22px;
  align-items: center;
  min-height: 148px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(24, 74, 69, 0.95) 0%, rgba(31, 82, 76, 0.9) 68%, rgba(201, 124, 74, 0.72) 100%);
  box-shadow: 0 22px 48px rgba(39, 56, 52, 0.1);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.intro-shell::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--accent);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.intro-shell > p {
  max-width: 640px;
  margin: 0 0 2px auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.62;
  letter-spacing: 0.002em;
  position: relative;
  z-index: 1;
}

.intro-shell h1 {
  color: var(--white);
  text-shadow: 0 10px 20px rgba(7, 29, 26, 0.14);
}

.intro-shell .eyebrow {
  color: rgba(255, 231, 211, 0.95);
}

.intro-shell > div {
  position: relative;
  z-index: 1;
}

.calculator-section {
  padding: 10px 0 26px;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.calculator-card,
.result-card,
.info-card,
.site-footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.calculator-card,
.result-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  border-color: rgba(24, 74, 69, 0.16);
}

.calculator-card {
  padding: 26px;
  box-shadow: 0 22px 52px rgba(39, 56, 52, 0.12);
}

.result-card {
  position: sticky;
  top: 96px;
  padding: 26px;
  background: linear-gradient(180deg, #fffdf8 0%, rgba(255, 248, 238, 0.96) 100%);
  box-shadow: 0 24px 58px rgba(24, 74, 69, 0.14);
}

.card-heading {
  margin-bottom: 18px;
}

.card-heading h2 {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.16;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.card-heading p,
.result-list dt,
.info-card p,
.footer-shell {
  color: #425b56;
}

.result-note {
  color: #3f5752;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.wide {
  grid-column: span 4;
}

.form-field.compact {
  grid-column: span 2;
}

.form-field span {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 760;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(24, 74, 69, 0.2);
  border-radius: var(--radius-md);
  outline: none;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input:focus,
.form-field select:focus {
  border-color: rgba(24, 74, 69, 0.42);
  box-shadow: 0 0 0 4px rgba(24, 74, 69, 0.08);
}

.result-price {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #103c37 0%, #184a45 58%, #c97c4a 100%);
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 820;
  line-height: 1.08;
  box-shadow: 0 18px 36px rgba(24, 74, 69, 0.2);
}

.result-list {
  display: grid;
  gap: 0;
  margin: 18px 0;
}

.result-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.result-list dt,
.result-list dd {
  margin: 0;
}

.result-list dd {
  color: var(--accent);
  font-weight: 780;
  text-align: right;
}

.warning {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 124, 74, 0.28);
  border-radius: var(--radius-md);
  background: rgba(201, 124, 74, 0.1);
  color: #8f4b24;
  font-weight: 760;
}

.result-note {
  margin-bottom: 0;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.cta {
  min-height: 50px;
  padding: 0 16px;
  text-align: center;
}

.cta.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(24, 74, 69, 0.16);
}

.cta.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
}

.info-section {
  padding: 0 0 34px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.82);
}

.info-card h2 {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1.2rem;
}

.info-card p {
  margin-bottom: 0;
}

.site-footer {
  margin: 0 auto 24px;
  width: min(calc(100% - 40px), var(--container));
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.footer-shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-shell a {
  color: var(--accent);
  font-weight: 780;
}

@media (max-width: 980px) {
  .header-shell,
  .intro-shell,
  .calculator-layout,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .header-links {
    justify-content: flex-start;
  }

  .intro-shell {
    gap: 14px;
    min-height: 0;
  }

  .intro-shell > p {
    max-width: 100%;
    margin-left: 0;
  }

  .result-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 14px;
  }

  .site-header {
    position: static;
  }

  .header-shell {
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-logo {
    width: 76px;
    height: 52px;
  }

  .header-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-links a {
    width: 100%;
  }

  .intro-section {
    padding-top: 20px;
  }

  .intro-shell {
    padding: 22px 20px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.1;
  }

  .intro-shell > p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .calculator-card,
  .result-card,
  .info-card,
  .site-footer {
    border-radius: 18px;
  }

  .calculator-card,
  .result-card {
    padding: 20px;
  }

  .form-grid,
  .cta-row {
    grid-template-columns: 1fr;
  }

  .form-field,
  .form-field.wide,
  .form-field.compact {
    grid-column: span 1;
  }

  .footer-shell {
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
}
