/* Footer hızlı iletişim CTA + modallar */

.footer-cta {
  margin-top: 0.5rem;
}

.footer-cta__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 194, 62, 0.85);
  margin-bottom: 0.75rem;
}

.footer-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.footer-cta__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.footer-cta__btn:active {
  transform: translateY(0);
}

.footer-cta__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.footer-cta__btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.footer-cta__btn--write {
  background: #f6c23e;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(246, 194, 62, 0.3);
}

.footer-cta__btn--meeting {
  background: #1e3a5f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.4);
}

@media (min-width: 1024px) {
  .footer-cta__actions {
    max-width: 220px;
  }
}

/* Modallar */
.footer-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.footer-modal[hidden] {
  display: none;
}

.footer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.footer-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: min(92vh, 720px);
  overflow-y: auto;
  background: #fff;
  color: #0f172a;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
}

.footer-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.footer-modal__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.footer-modal__head {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-right: 2rem;
}

.footer-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-modal__icon--brand {
  background: #f6c23e;
  color: #0f172a;
}

.footer-modal__icon--navy {
  background: #0f172a;
  color: #f6c23e;
}

.footer-modal__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a !important;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.footer-modal__subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.footer-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 520px) {
  .footer-modal__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-modal__field--full {
  grid-column: 1 / -1;
  margin-bottom: 0.875rem;
}

.footer-modal__field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
}

.footer-modal__req {
  color: #dc2626;
}

.footer-modal__field input,
.footer-modal__field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.footer-modal__field input::placeholder,
.footer-modal__field textarea::placeholder {
  color: #94a3b8;
}

.footer-modal__field input:focus,
.footer-modal__field textarea:focus {
  outline: none;
  border-color: #f6c23e;
  box-shadow: 0 0 0 3px rgba(246, 194, 62, 0.25);
}

.footer-modal__field--error input,
.footer-modal__field--error textarea,
.footer-modal__field--error .footer-modal__date-wrap {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 1px #dc2626;
}

.footer-modal__error {
  font-size: 0.75rem;
  color: #dc2626;
  margin: 0;
  min-height: 0;
  display: none;
}

.footer-modal__field--error .footer-modal__error {
  display: block;
}

.footer-modal__hint {
  font-size: 0.7rem;
  color: #94a3b8;
  margin: 0;
}

.footer-modal__field--error .footer-modal__hint {
  display: none;
}

.footer-modal__date-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  padding: 0 0.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.footer-modal__date-wrap:focus-within {
  border-color: #f6c23e;
  box-shadow: 0 0 0 3px rgba(246, 194, 62, 0.25);
}

.footer-modal__date-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: #f6c23e;
  flex-shrink: 0;
}

.footer-modal__field--date input[type="date"] {
  border: none;
  padding-left: 0;
  box-shadow: none;
  flex: 1;
}

.footer-modal__field--date input[type="date"]:focus {
  box-shadow: none;
}

.footer-modal__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.footer-modal__form-msg {
  font-size: 0.8125rem;
  margin: 0 0 0.75rem;
  min-height: 1.25rem;
}

.footer-modal__form-msg--ok {
  color: #15803d;
}

.footer-modal__form-msg--err {
  color: #dc2626;
}

.footer-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  background: #f6c23e;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}

.footer-modal__submit:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.footer-modal__submit--navy {
  background: #0f172a;
  color: #fff;
}

.footer-modal__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

body.footer-modal-open {
  overflow: hidden;
}
