/**
 * Tailor Made Sayfası Stilleri
 * Desktop-first responsive yaklaşım
 */

/* ============================================
   SECTION 2: FULL-WIDTH HERO PHOTO
   ============================================ */
.tm-hero-photo {
  width: calc(100% + 40px);
  margin-left: -20px;
}

.tm-hero-photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* ============================================
   SECTION 3: STATEMENT
   ============================================ */
.tm-statement {
  padding: 80px 0 60px;
}

.tm-statement__text {
  font-family: 'Mont', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -1px;
  color: var(--color-text);
  margin: 0;
  width: 100%;
}

/* ============================================
   SECTION 4: CONTENT + STAGGERED IMAGES
   ============================================ */
.tm-content {
  padding: 60px 0 80px;
  overflow: visible;
}

.tm-content .container {
  width: 100%;
  max-width: 1920px;
}

.tm-content__upper {
  width: 100%;
  margin: 0 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: 48px;
  align-items: start;
}

.tm-content__text {
  width: 100%;
  padding-top: 0;
}

.tm-content__visuals {
  display: grid;
  gap: 16px;
}

.tm-content__visual {
  margin: 0;
}

.tm-content__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.tm-content__text img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 32px 0;
}

.tm-content__text p {
  font-family: 'Mont', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 24px 0;
}

.tm-content__text ul,
.tm-content__text ol {
  margin: 0 0 24px 0;
  padding-left: 1.5em;
}

.tm-content__text ul {
  list-style: disc;
}

.tm-content__text ol {
  list-style: decimal;
}

.tm-content__text ul li,
.tm-content__text ol li {
  font-family: 'Mont', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 24px 0;
}

.tm-content__text ul li:last-child,
.tm-content__text ol li:last-child {
  margin-bottom: 0;
}

.tm-content__text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SECTION 5: CUSTOM ORDER FORM
   ============================================ */
.tm-form {
  padding: 80px 0 100px;
}

.tm-form .container {
  border: 1px solid var(--border-dark-soft);
  padding: 56px 40px 64px;
}

.tm-form__header {
  display: grid;
  grid-template-columns: var(--layout-kicker-col) minmax(0, 1fr);
  column-gap: var(--layout-kicker-gap);
  align-items: start;
  margin-bottom: 60px;
}

.tm-form__header-kicker {
  padding-top: 6px;
}

.tm-form__header-content {
  max-width: none;
  width: 100%;
}

.tm-form__label {
  font-family: 'Mont', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(31, 31, 31, 0.45);
  display: block;
  margin: 0;
}

.tm-form__title {
  font-family: 'Mont', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -1px;
  color: var(--color-text);
  margin: 0 0 24px 0;
  width: 100%;
}

.tm-form__desc {
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
  max-width: 800px;
}

.tm-form__form {
  padding: 0;
}

.tm-form__external {
  display: grid;
  grid-template-columns: var(--layout-kicker-col) minmax(0, 1fr);
  column-gap: var(--layout-kicker-gap);
  align-items: start;
}

.tm-form__external-content {
  grid-column: 2;
  max-width: 760px;
}

.tm-form__external-text {
  margin: 0 0 24px;
  font-family: 'Mont', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
}

.tm-form__external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 66px;
  padding: 20px 36px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease;
}

.tm-form__external-start,
.tm-form__external-end {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.tm-form__external-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 5px;
}

.tm-form__external-line {
  height: 1px;
  background: currentColor;
  border-radius: 999px;
  transition: width 0.28s ease, opacity 0.28s ease;
}

.tm-form__external-line--start {
  width: 0;
  opacity: 0;
}

.tm-form__external-line--end {
  width: 40px;
  opacity: 1;
}

.tm-form__external-end .tm-form__external-bullet {
  margin-left: -1px;
}

.tm-form__external-link:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.tm-form__external-link:hover .tm-form__external-line--start {
  width: 40px;
  opacity: 1;
}

.tm-form__external-link:hover .tm-form__external-line--end {
  width: 0;
  opacity: 0;
}

.tm-form__messages {
  margin: 0 0 32px;
  padding: 18px 22px;
  border-radius: 16px;
  font-family: 'Mont', sans-serif;
}

.tm-form__messages p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.tm-form__messages p + p {
  margin-top: 8px;
}

.tm-form__messages--error {
  background: rgba(168, 60, 44, 0.08);
  color: #8B2D1F;
  border: 1px solid rgba(168, 60, 44, 0.18);
}

.tm-form__messages--success {
  background: rgba(15, 121, 140, 0.08);
  color: #0F798C;
  border: 1px solid rgba(15, 121, 140, 0.18);
}

.tm-form__step {
  display: grid;
  grid-template-columns: var(--layout-kicker-col) minmax(0, 1fr);
  column-gap: var(--layout-kicker-gap);
  align-items: start;
}

.tm-form__section-label {
  grid-column: 1;
  grid-row: 1 / span 10;
  margin: 6px 0 0 0;
  padding: 0;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tm-form__section-num,
.tm-form__section-name {
  font-family: 'Mont', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tm-form__section-num {
  color: rgba(31, 31, 31, 0.45);
  margin-right: 0;
}

.tm-form__section-name {
  color: var(--color-text);
  line-height: 1.35;
}

.tm-form__field {
  grid-column: 2;
  margin-bottom: 28px;
}

.tm-form__field label {
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-bottom: 12px;
}

.tm-form__choices {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.tm-form__field .tm-form__choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 400;
}

.tm-form__field .tm-form__choice input {
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  margin: 3px 0 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  justify-self: start;
  align-self: start;
  order: 0;
  accent-color: var(--color-primary);
  flex: 0 0 auto;
}

.tm-form__field .tm-form__choice span {
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  min-width: 0;
}

.tm-form__choice-inline-input {
  display: block;
  width: min(100%, 420px);
}

.tm-form__choice-inline-input input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  padding: 2px 0 6px;
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  outline: none;
}

.tm-form__step-copy {
  margin-bottom: 24px;
}

.tm-form__step-copy p {
  margin: 0 0 10px;
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
}

.tm-form__module-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.tm-form__module-list li {
  margin: 0 0 10px;
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
}

.tm-form__hint {
  font-weight: 400;
  font-style: italic;
  color: rgba(31, 31, 31, 0.6);
  font-size: 14px;
}

.tm-form__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tm-form__field input,
.tm-form__field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  padding: 16px 0;
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}

.tm-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tm-form__field input:focus,
.tm-form__field textarea:focus {
  border-bottom-color: var(--color-primary);
}

.tm-form__field input::placeholder,
.tm-form__field textarea::placeholder {
  color: var(--color-text);
  font-style: normal;
  font-weight: 700;
}

.tm-form__field textarea {
  min-height: 50px;
}

.tm-form__field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  padding: 16px 0;
  font-family: 'Mont', sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  outline: none;
  cursor: pointer;
  color: var(--color-text);
}

.tm-form__field select:required:invalid {
  color: var(--color-text);
  font-weight: 700;
}

.tm-form__field select option {
  color: var(--color-text);
  font-weight: 400;
}

.tm-form__field select:focus {
  border-bottom-color: var(--color-primary);
}

.tm-form__step--hidden {
  display: none !important;
}

.tm-form__thank-you {
  padding: 40px 0;
  text-align: center;
}

.tm-form__thank-you-content {
  max-width: 560px;
  margin: 0 auto;
}

.tm-form__thank-you-title {
  font-family: 'Mont', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 24px 0;
}

.tm-form__thank-you-text {
  font-family: 'Mont', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 32px 0;
}

.tm-form__thank-you-link {
  display: inline-block;
  background: var(--color-primary);
  color: #FFFFFF;
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.tm-form__thank-you-link:hover {
  background: var(--color-primary-hover);
}

.tm-form__prev-btn {
  background: transparent;
  color: var(--color-text);
  font-family: 'Mont', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--border-dark);
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.tm-form__prev-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tm-form__prev-btn--hidden {
  display: none !important;
}

.tm-form__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
  padding-top: 0;
  border-top: none;
}

.tm-form__actions > .tm-form__next-btn {
  margin-left: auto;
}

.tm-form__actions.tm-form__actions--thank-you {
  display: none;
}

.tm-form__next-btn {
  background: var(--color-primary);
  color: #FFFFFF;
  font-family: 'Mont', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 17px 34px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.7px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.tm-form__next-btn:hover {
  background: #0D6A7A;
}

.tm-form__progress {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #F8F1E9;
  min-width: 320px;
}

.tm-form__progress-label {
  font-family: 'Mont', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-primary);
}

.tm-form__progress-bar {
  width: 210px;
  height: 2px;
  background: rgba(12, 128, 148, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.tm-form__progress-fill {
  height: 100%;
  background: var(--surface-panel);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.tm-form__progress-count {
  font-family: 'Mont', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  min-width: 40px;
  text-align: right;
}
