/* ====================================================
   ARQ Interior Design Studio - Contact page styles
   Loaded after custom.css by contact.html only.
   Order: tokens, nav state, banner, contact section,
   map section, breakpoints (widest to narrowest).
   ==================================================== */

:root {
  --ct-ivory: #fbf9f6;
  --ct-beige: #f3efe8;
  --ct-ink: #25221d;
  --ct-body: #625d55;
  --ct-gold: #97834c;
  --ct-gold-dark: #7a6733;
  --ct-line: #ddd3c0;
  --ct-error: #a33b2f;
  --ct-section-y: 60px;
}

/* current item in the shared navigation */
.main-menu ul li a[aria-current="page"] {
  color: var(--accent-secondary-color);
}

/* ---------- Page banner ----------
   Markup and shared .page-header / .page-header-box rules are identical to the About page.
   The only banner rule About adds in its own stylesheet is the H1 size, repeated here. */
.page-header-box h1 {
  font-size: clamp(34px, 6vw, 72px);
}

/* ---------- Shared helpers ---------- */
.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font-family: var(--accent-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ct-gold-dark);
}

.ct-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ct-gold);
}

.ct-h2 {
  margin: 0 0 16px;
  font-family: var(--accent-font);
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ct-ink);
}

.ct-lead {
  max-width: 520px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ct-body);
}

/* ---------- Main contact section ---------- */
.ct-main {
  background: var(--ct-ivory);
  padding: var(--ct-section-y) 0;
}

.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 56px;
  align-items: start;
}

/* contact information */
.ct-info-list {
  margin-top: 30px;
  border-top: 1px solid var(--ct-line);
}

.ct-info {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ct-line);
}

.ct-info-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 18px;
  color: var(--ct-gold-dark);
  border: 1px solid var(--ct-line);
  border-radius: 50%;
  background: var(--ct-beige);
}

.ct-info h3 {
  margin: 0 0 6px;
  font-family: var(--accent-font);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ct-ink);
}

.ct-info p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ct-body);
}

.ct-info a {
  color: var(--ct-body);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.ct-info a:hover,
.ct-info a:focus-visible {
  color: var(--ct-gold-dark);
}

/* enquiry form panel */
.ct-panel {
  position: relative;
  padding: 38px 38px 40px;
  background: var(--ct-beige);
  border: 1px solid var(--ct-line);
}

.ct-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 2px;
  background: var(--ct-gold);
}

.ct-panel h2 {
  margin: 0 0 24px;
  font-family: var(--accent-font);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ct-ink);
}

.ct-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 20px;
}

.ct-field {
  min-width: 0;
}

.ct-field--full {
  grid-column: 1 / -1;
}

.ct-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ct-ink);
}

.ct-req {
  color: var(--ct-gold-dark);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ct-ink);
  background-color: var(--ct-ivory);
  border: 1px solid var(--ct-line);
  border-radius: 4px;
  outline: 0;
  transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.ct-field input,
.ct-field select {
  height: 52px;
}

.ct-field textarea {
  min-height: 130px;
  resize: vertical;
}

.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2397834c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #9b948a;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--ct-gold);
  box-shadow: 0 0 0 3px rgba(151, 131, 76, 0.2);
}

.ct-field [aria-invalid="true"] {
  border-color: var(--ct-error);
}

.ct-error {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ct-error);
}

.ct-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 4px;
}

.ct-actions .btn-default {
  border: 0;
  cursor: pointer;
}

.ct-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ct-body);
}

.ct-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ct-ink);
}

.ct-status:empty {
  display: none;
}

.ct-status a {
  color: var(--ct-gold-dark);
  text-decoration: underline;
}

.ct-status--error {
  color: var(--ct-error);
}

/* ---------- Map section ---------- */
.ct-map-section {
  background: var(--ct-beige);
  padding: var(--ct-section-y) 0;
  border-top: 1px solid var(--ct-line);
}

.ct-map-head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.ct-map-head .ct-h2 {
  margin-bottom: 0;
}

.ct-map {
  overflow: hidden;
  border: 1px solid var(--ct-line);
  border-radius: 20px;
  background: var(--ct-ivory);
}

.ct-map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

/* ====================================================
   Breakpoints - widest to narrowest
   ==================================================== */
@media only screen and (max-width: 1199px) {
  .ct-grid {
    column-gap: 40px;
  }

  .ct-panel {
    padding: 32px 30px 34px;
  }
}

@media only screen and (max-width: 991px) {
  :root {
    --ct-section-y: 48px;
  }

  .ct-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }

  .ct-lead {
    max-width: 640px;
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --ct-section-y: 40px;
  }

  .ct-lead {
    font-size: 16px;
  }

  .ct-info p {
    font-size: 16px;
  }

  .ct-panel {
    padding: 28px 20px 30px;
  }

  .ct-form {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }

  .ct-actions .btn-default {
    width: 100%;
    padding: 20px 52px 20px 30px;
    font-size: 17px;
    text-align: center;
  }

  .ct-map-head {
    margin-bottom: 24px;
  }

  .ct-map {
    border-radius: 16px;
  }

  .ct-map iframe {
    height: 320px;
  }
}

@media only screen and (max-width: 400px) {
  .ct-actions .btn-default {
    padding: 19px 44px 19px 18px;
    font-size: 16px;
  }
}
