.et_pb_code_inner iframe {
  width: 100%;
  max-width: 100%;
  min-height: 450px;
  border: 0;
}
.et_pb_contact .et_pb_contact_field input[type=file] {
  padding: 10px;
  background: #eee;
}
#top-menu li a {
  white-space: nowrap;
}

/* Eşit hücreli galeri ızgarası — float/masonry dağınıklığını kapatır */
.et_pb_gallery_grid .et_pb_gallery_items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.et_pb_gallery_grid .et_pb_gallery_item,
.et_pb_column .et_pb_gallery_grid .et_pb_grid_item {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  clear: none !important;
  position: relative !important;
  padding: 0 !important;
}
.et_pb_gallery_grid .et_pb_gallery_image {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #efeae3;
}
.et_pb_gallery_grid .et_pb_gallery_image a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.et_pb_gallery_grid .et_pb_gallery_image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Ana sayfa öncesi-sonrası: kolajlar kırpılmadan eşit karelerde */
.mti-gallery-home_1 .et_pb_gallery_image {
  aspect-ratio: 1 / 1;
  background: #f4f1ea;
  border: 1px solid #ece6dc;
}
.mti-gallery-home_1 .et_pb_gallery_image img {
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .et_pb_gallery_grid .et_pb_gallery_items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
}
@media (max-width: 479px) {
  .et_pb_gallery_grid .et_pb_gallery_items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
}

/* Teklif Al — modern form */
.mti-quote-section { padding: 0 0 48px; }
.mti-quote {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 8px;
}
.mti-quote-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}
.mti-quote-aside {
  background: linear-gradient(165deg, #1f1a16 0%, #3a2a1c 55%, #5a3a22 100%);
  color: #f7f1e8;
  border-radius: 18px;
  padding: 36px 32px;
  min-height: 100%;
}
.mti-quote-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.22);
  color: #ffb070;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mti-quote-aside h1 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.15;
  color: #fff;
  font-weight: 600;
}
.mti-quote-lead { margin: 0 0 22px; color: #eadfce; font-size: 16px; line-height: 1.6; }
.mti-quote-steps {
  margin: 0 0 28px;
  padding: 0;
  list-style: none !important;
  list-style-type: none !important;
  counter-reset: step;
}
.mti-quote-steps li {
  list-style: none !important;
  list-style-type: none !important;
  counter-increment: step;
  position: relative;
  padding: 0 0 16px 42px;
  color: #f3eadc;
  font-size: 14px;
  line-height: 1.45;
}
.mti-quote-steps li::marker { content: none; }
.mti-quote-steps li:last-child { padding-bottom: 0; }
.mti-quote-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #e85d04;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mti-quote-steps strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.mti-quote-contacts { display: flex; flex-direction: column; gap: 8px; }
.mti-quote-call, .mti-quote-mail {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
}
.mti-quote-call { font-size: 22px; }
.mti-quote-mail { color: #ffb070 !important; font-weight: 500; }

.mti-quote-card {
  background: #fff;
  border: 1px solid #ece4d8;
  border-radius: 18px;
  padding: 32px 28px 28px;
  box-shadow: 0 18px 40px rgba(40, 24, 10, 0.08);
}
.mti-quote-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #1b1b1b;
}
.mti-quote-card-lead { margin: 0 0 20px; color: #6b6156; font-size: 14px; }
.mti-quote-flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.mti-quote-flash.ok { background: #e8f6eb; color: #2f6f3e; }
.mti-quote-flash.err { background: #fdecec; color: #9b2c2c; }

.mti-quote-form { margin: 0; }
.mti-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.mti-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.mti-field-full { grid-column: 1 / -1; }
.mti-field > span {
  font-size: 13px;
  color: #3f3a34;
  font-weight: 600;
}
.mti-field > span em { color: #e85d04; font-style: normal; }
.mti-field > span small { font-weight: 500; color: #8a8176; }
.mti-quote-form input[type="text"],
.mti-quote-form input[type="tel"],
.mti-quote-form input[type="email"],
.mti-quote-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2d8cc;
  background: #fbf8f3;
  border-radius: 10px;
  padding: 12px 14px;
  font: 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1b1b1b;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.mti-quote-form textarea { min-height: 120px; resize: vertical; }
.mti-quote-form input:focus,
.mti-quote-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #e85d04;
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.16);
}

.mti-file-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 108px;
  padding: 18px 14px;
  border: 1.5px dashed #d3c6b4;
  border-radius: 12px;
  background: #faf6f0;
  text-align: center;
  cursor: pointer;
}
.mti-file-box.on,
.mti-file-box:hover { border-color: #e85d04; background: #fff7f0; }
.mti-file-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.mti-file-box strong { font-size: 14px; color: #3a322a; }
.mti-file-box em { font-style: normal; font-size: 12px; color: #8a8176; }

.mti-quote-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}
.mti-captcha { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.mti-captcha > span { font-size: 13px; font-weight: 600; color: #3f3a34; }
.mti-captcha > span em { color: #e85d04; font-style: normal; }
.mti-captcha-row { display: flex; align-items: center; gap: 8px; }
.mti-captcha-row b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 46px;
  padding: 0 10px;
  border-radius: 10px;
  background: #1f1a16;
  color: #fff;
  font-size: 16px;
}
.mti-captcha-row input {
  width: 72px !important;
  height: 46px;
  text-align: center;
  font-size: 18px !important;
  font-weight: 700;
}
.mti-quote-submit {
  appearance: none;
  border: 0;
  border-radius: 12px;
  height: 50px;
  padding: 0 22px;
  background: #e85d04;
  color: #fff !important;
  font: 600 16px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(232, 93, 4, 0.28);
}
.mti-quote-submit:hover { background: #cf5203; }
.mti-quote-note { margin: 14px 0 0; font-size: 13px; color: #7a7168; }
.mti-quote-note a { color: #e85d04; }

@media (max-width: 900px) {
  .mti-quote-wrap { grid-template-columns: 1fr; }
  .mti-quote-aside { padding: 28px 22px; }
  .mti-quote-aside h1 { font-size: 30px; }
}
@media (max-width: 560px) {
  .mti-quote-grid,
  .mti-quote-actions { grid-template-columns: 1fr; }
  .mti-quote-card { padding: 22px 16px; }
  .mti-quote-submit { width: 100%; }
}

/* Hakkımızda — sekmeler yerine açık bölümler */
.mti-about {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}
.mti-about-hero {
  margin: 0 0 28px;
  padding: 8px 0 4px;
}
.mti-about-kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: #e85d04;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.mti-about-hero h1 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.15;
  color: #1b1b1b;
}
.mti-about-hero p,
.mti-about-block p,
.mti-about-grid p {
  margin: 0 0 12px;
  color: #4a433c;
  font-size: 16px;
  line-height: 1.65;
}
.mti-about-block { margin: 0 0 28px; }
.mti-about-block h2,
.mti-about-grid h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #1b1b1b;
}
.mti-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none !important;
  list-style-type: none !important;
  margin: 12px 0 0;
  padding: 0;
}
.mti-about-tags li {
  list-style: none !important;
  background: #f6f0e6;
  border: 1px solid #ece4d8;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: #3a322a;
}
.mti-about-tags li::marker { content: none; }
.mti-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 36px;
}
.mti-about-grid article {
  background: #fff;
  border: 1px solid #ece4d8;
  border-radius: 14px;
  padding: 22px 20px 16px;
  box-shadow: 0 10px 24px rgba(40, 24, 10, 0.05);
}
.mti-about-grid article h2 {
  padding-bottom: 8px;
  border-bottom: 2px solid #e85d04;
  display: inline-block;
}
@media (max-width: 760px) {
  .mti-about-hero h1 { font-size: 28px; }
  .mti-about-grid { grid-template-columns: 1fr; }
}
