* {
  box-sizing: border-box;
}

.kamatchi-contact {
  --contact-bg: #050d18;
  --contact-text: #f7f8fb;
  --contact-muted: #b9c0cb;
  --contact-accent: #ffc400;
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 24px clamp(82px, 9vw, 112px);
  color: var(--contact-text);
  background: var(--contact-bg);
  font-family: "DM Sans", sans-serif;
}

.kamatchi-contact__container {
  width: min(100%, 1600px);
  margin: 0 auto;
}

.kamatchi-contact__heading {
  margin: 0 0 clamp(72px, 10vw, 145px);
  text-align: center;
}
/* --- Form Container --- */
.kamatchi-contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between each input group */
  margin-top: 30px;
}

/* --- Form Group (Label + Input) --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- Labels --- */
.kamatchi-contact__form label {
  color: #e2e8f0; /* Light gray text */
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Input Fields & Textarea --- */
.kamatchi-contact__form input,
.kamatchi-contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: #1a202c; /* Dark background */
  border: 1px solid #334155; /* Subtle border */
  border-radius: 8px;
  color: #ffffff; /* White text */
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensures padding doesn't break width */
}

/* Placeholder text color */
.kamatchi-contact__form input::placeholder,
.kamatchi-contact__form textarea::placeholder {
  color: #64748b;
}

/* Focus State (When user clicks inside) */
.kamatchi-contact__form input:focus,
.kamatchi-contact__form textarea:focus {
  outline: none;
  border-color: #eab308; /* Yellow border on focus */
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2); /* Yellow glow */
}

/* Textarea specific */
.kamatchi-contact__form textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Submit Button --- */
.kamatchi-contact__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  margin-top: 10px;
  background-color: #eab308; /* Yellow theme color */
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.kamatchi-contact__submit:hover {
  background-color: #ca8a04; /* Slightly darker yellow on hover */
}

.kamatchi-contact__submit:active {
  transform: scale(0.98); /* Slight click effect */
}

.kamatchi-contact__submit:disabled {
  background-color: #64748b;
  cursor: not-allowed;
  transform: none;
}
/* --- Form Container --- */
.kamatchi-contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between each input group */
  margin-top: 30px;
}

/* --- Form Group (Label + Input) --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- Labels --- */
.kamatchi-contact__form label {
  color: #e2e8f0; /* Light gray text */
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Input Fields & Textarea --- */
.kamatchi-contact__form input,
.kamatchi-contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: #1a202c; /* Dark background */
  border: 1px solid #334155; /* Subtle border */
  border-radius: 8px;
  color: #ffffff; /* White text */
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensures padding doesn't break width */
}

/* Placeholder text color */
.kamatchi-contact__form input::placeholder,
.kamatchi-contact__form textarea::placeholder {
  color: #64748b;
}

/* Focus State (When user clicks inside) */
.kamatchi-contact__form input:focus,
.kamatchi-contact__form textarea:focus {
  outline: none;
  border-color: #eab308; /* Yellow border on focus */
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2); /* Yellow glow */
}

/* Textarea specific */
.kamatchi-contact__form textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Submit Button --- */
.kamatchi-contact__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  margin-top: 10px;
  background-color: #eab308; /* Yellow theme color */
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.kamatchi-contact__submit:hover {
  background-color: #ca8a04; /* Slightly darker yellow on hover */
}

.kamatchi-contact__submit:active {
  transform: scale(0.98); /* Slight click effect */
}

.kamatchi-contact__submit:disabled {
  background-color: #64748b;
  cursor: not-allowed;
  transform: none;
}

/* --- Feedback Text --- */
#contactFeedback {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  font-weight: 500;
}
/* --- Feedback Text --- */
#contactFeedback {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  font-weight: 500;
}
.kamatchi-contact__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--contact-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.kamatchi-contact__heading h2 {
  margin: 0;
  color: #fff;
  font: 800 clamp(36px, 4.4vw, 58px) / 1.12 "Manrope", sans-serif;
  letter-spacing: -1.5px;
}

.kamatchi-contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.82fr);
  align-items: start;
  gap: clamp(48px, 6vw, 82px);
}

.kamatchi-contact__map {
  position: relative;
  width: 100%;
  aspect-ratio: 1.31 / 1;
  overflow: hidden;
  background: #dce8e7;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.kamatchi-contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.88);
}

.kamatchi-contact__address {
  margin-top: 25px;
}

.kamatchi-contact__address h3 {
  margin: 0 0 18px;
  color: #f7f8fb;
  font: 700 clamp(21px, 2.25vw, 29px) / 1.3 "Manrope", sans-serif;
  letter-spacing: -0.35px;
}

.kamatchi-contact__address-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kamatchi-contact__address-line img {
  flex: 0 0 18px;
  width: 18px;
  height: 22px;
  margin-top: 3px;
  object-fit: contain;
}

.kamatchi-contact__address-line p {
  margin: 0;
  color: #e3e6ec;
  font-size: clamp(15px, 1.55vw, 19px);
  line-height: 1.55;
}

.kamatchi-contact__details {
  padding-top: 28px;
}

.kamatchi-contact__person h3 {
  margin: 0 0 3px;
  color: #fff;
  font: 800 clamp(20px, 2vw, 26px) / 1.3 "Manrope", sans-serif;
}

.kamatchi-contact__person p {
  margin: 0;
  color: var(--contact-muted);
  font-size: 15px;
}

.kamatchi-contact__links {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.kamatchi-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: #f5f6f9;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kamatchi-contact__link:hover {
  color: var(--contact-accent);
}

.kamatchi-contact__icon {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1.3px solid #aeb7c5;
  border-radius: 50%;
}

.kamatchi-contact__icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kamatchi-contact__form {
  margin-top: 37px;
}

.kamatchi-contact__form-intro {
  margin: 0 0 17px;
  color: #c4cad4;
  font-size: 15px;
  line-height: 1.5;
}

.kamatchi-contact__field {
  position: relative;
  display: block;
  margin: 0 0 20px;
  padding: 0;
  border: 1px solid #59616c;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kamatchi-contact__field:focus-within {
  border-color: var(--contact-accent);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.1);
}

.kamatchi-contact__field > span {
  position: absolute;
  top: -9px;
  left: 16px;
  padding: 0 7px;
  color: #d8dce3;
  background: var(--contact-bg);
  font-size: 12px;
  line-height: 1.2;
}

.kamatchi-contact__field input,
.kamatchi-contact__field textarea {
  display: block;
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: inherit;
  padding: 14px 20px;
  color: #fff;
  background: transparent;
  font: 400 14px/1.5 "DM Sans", sans-serif;
}

.kamatchi-contact__field input {
  min-height: 48px;
}

.kamatchi-contact__field textarea {
  min-height: 122px;
  resize: vertical;
}

.kamatchi-contact__field input::placeholder,
.kamatchi-contact__field textarea::placeholder {
  color: #68717d;
  opacity: 1;
}

.kamatchi-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 58px;
  padding: 0 27px;
  border: 0;
  border-radius: 10px;
  color: #07101c;
  background: var(--contact-accent);
  font: 700 17px/1 "DM Sans", sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 196, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.kamatchi-contact__submit:hover {
  transform: translateY(-2px);
  background: #ffd43b;
  box-shadow: 0 12px 26px rgba(255, 196, 0, 0.2);
}

.kamatchi-contact__submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.kamatchi-contact__submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kamatchi-contact__feedback {
  min-height: 20px;
  margin: 13px 0 0;
  color: #f7d76b;
  font-size: 13px;
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 900px) {
  .kamatchi-contact__heading {
    margin-bottom: 70px;
  }

  .kamatchi-contact__layout {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.9fr);
    gap: 34px;
  }

  .kamatchi-contact__details {
    padding-top: 10px;
  }

  .kamatchi-contact__address h3 {
    font-size: 23px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .kamatchi-contact {
    padding: 62px 18px 70px;
  }

  .kamatchi-contact__heading {
    margin-bottom: 42px;
  }

  .kamatchi-contact__heading h2 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -1px;
  }

  .kamatchi-contact__eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .kamatchi-contact__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .kamatchi-contact__map {
    aspect-ratio: 1.15 / 1;
  }

  .kamatchi-contact__address {
    margin-top: 20px;
  }

  .kamatchi-contact__address h3 {
    font-size: 21px;
  }

  .kamatchi-contact__address-line p {
    font-size: 15px;
  }

  .address-break {
    display: none;
  }

  .kamatchi-contact__details {
    padding-top: 0;
  }

  .kamatchi-contact__person h3 {
    font-size: 22px;
  }

  .kamatchi-contact__form {
    margin-top: 30px;
  }

  .kamatchi-contact__submit {
    width: 100%;
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kamatchi-contact *,
  .kamatchi-contact *::before,
  .kamatchi-contact *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =================================
   KAMATCHI CONTACT FORM
================================= */

.kamatchi-contact__form {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
  box-sizing: border-box;
}

.kamatchi-contact__form * {
  box-sizing: border-box;
}

/* Form Intro */

.kamatchi-contact__form-intro {
  font-size: 15px;
  font-weight: 400;
  color: #c5cbd5;
  margin: 0 0 2px;
  line-height: 1.6;
}

/* Individual Fields */

.kamatchi-contact__field {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 9px;
  margin: 0;
}

/* Labels */

.kamatchi-contact__field label {
  font-size: 13px;
  font-weight: 500;
  color: #e4e8ef;
  letter-spacing: 0.3px;
}

/* Input and Textarea */

.kamatchi-contact__field input,
.kamatchi-contact__field textarea {
  width: 100%;
  display: block;
  padding: 14px 16px;

  font-family: inherit;
  font-size: 14px;
  color: #ffffff;

  background: rgba(255, 255, 255, 0.035);

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;

  outline: none;
  transition: all 0.3s ease;
}

/* Placeholder */

.kamatchi-contact__field input::placeholder,
.kamatchi-contact__field textarea::placeholder {
  color: #7f8998;
  font-size: 13px;
}

/* Focus Effect */

.kamatchi-contact__field input:focus,
.kamatchi-contact__field textarea:focus {
  border-color: #ffc400;
  background: rgba(255, 196, 0, 0.035);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.1);
}

/* Textarea */

.kamatchi-contact__field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Submit Button */

.kamatchi-contact__submit {
  width: fit-content;
  min-width: 210px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  padding: 16px 24px;

  background: #ffc400;
  color: #06101e;

  border: none;
  border-radius: 10px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.3s ease;
}

.kamatchi-contact__submit svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.kamatchi-contact__submit:hover {
  background: #ffda45;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 196, 0, 0.18);
}

.kamatchi-contact__submit:hover svg {
  transform: translateX(4px);
}

.kamatchi-contact__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Success / Error Message */

.kamatchi-contact__feedback {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* Mobile Responsive */

@media (max-width: 576px) {
  .kamatchi-contact__form {
    gap: 17px;
  }

  .kamatchi-contact__form-intro {
    font-size: 14px;
  }

  .kamatchi-contact__field input,
  .kamatchi-contact__field textarea {
    padding: 13px 14px;
    font-size: 14px;
  }

  .kamatchi-contact__submit {
    width: 100%;
    padding: 15px 20px;
  }
}
