/*
    CONTACT PAGE
   All styles are scoped to .sc-contact 
  
 */

.contact-page-shell {
  padding-inline: clamp(10px, 2vw, 24px);
}

.sc-contact {
  --sc-navy: #173b53;
  --sc-blue: #3b82a0;
  --sc-accent: #4f8cff;
  --sc-text: #536779;
  --sc-muted: #718395;
  --sc-pale: #f2f7fb;
  --sc-border: #e1eaf0;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: clamp(42px, 6vw, 78px);
  color: var(--sc-navy);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

.sc-contact *,
.sc-contact *::before,
.sc-contact *::after {
  box-sizing: border-box;
}

.sc-contact h1,
.sc-contact h2,
.sc-contact h3,
.sc-contact p {
  overflow-wrap: anywhere;
}

.sc-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sc-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.sc-contact-intro {
  position: relative;
  overflow: hidden;
  margin: 18px 0 34px;
  padding: clamp(36px, 6vw, 76px) clamp(22px, 6vw, 78px);
  border: 1px solid #e3edf4;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 20%, rgba(79,140,255,.15), transparent 27%),
    linear-gradient(120deg, #f0f7fc 0%, #fff 75%);
}

.sc-contact-intro h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--sc-navy);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.12;
}

.sc-contact-intro h1 span {
  color: var(--sc-blue);
}

.sc-contact-intro > p {
  max-width: 620px;
  margin: 0 0 25px;
  color: var(--sc-text);
  font-size: clamp(.98rem, 1.5vw, 1.1rem);
  line-height: 1.75;
}

.sc-primary-btn,
.sc-outline-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.sc-primary-btn {
  background: var(--sc-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23,59,83,.15);
}

.sc-primary-btn:hover {
  transform: translateY(-2px);
  background: #245a7b;
  color: #fff;
  box-shadow: 0 11px 22px rgba(23,59,83,.2);
}

.sc-contact-main {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding: 16px 0 58px;
}

.sc-contact-details h2,
.sc-form-card h2,
.sc-location-copy h2,
.sc-developer-heading h2 {
  margin: 0 0 10px;
  color: var(--sc-navy);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.sc-section-lead {
  margin: 0 0 22px;
  color: var(--sc-muted);
  font-size: .93rem;
  line-height: 1.7;
}

.sc-detail-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--sc-border);
  border-radius: 13px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(23,59,83,.045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sc-detail-card:hover {
  transform: translateY(-2px);
  border-color: #c6dce9;
  box-shadow: 0 9px 22px rgba(23,59,83,.08);
}

.sc-detail-icon,
.sc-developer-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #eaf4fa;
  color: var(--sc-blue);
  font-size: 1.05rem;
}

.sc-detail-card > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.sc-detail-card strong {
  color: var(--sc-navy);
  font-size: .9rem;
  font-weight: 800;
}

.sc-detail-card small {
  color: var(--sc-text);
  font-size: .84rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.sc-card-arrow {
  flex: 0 0 auto;
  color: #9aabba;
  font-size: .78rem;
}

.sc-social-block {
  margin-top: 25px;
}

.sc-social-block > strong {
  color: var(--sc-navy);
  font-size: .95rem;
}

.sc-social-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.sc-social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--sc-border);
  border-radius: 11px;
  background: #fff;
  color: var(--sc-navy);
  font-size: 1.1rem;
  text-decoration: none;
  transition: .2s ease;
}

.sc-social-links a:hover {
  background: var(--sc-navy);
  color: #fff;
  transform: translateY(-2px);
}

.sc-form-card {
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--sc-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(23,59,83,.075);
}

.sc-form-card .sc-section-lead {
  margin-bottom: 24px;
}

.sc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.sc-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.sc-field-full {
  grid-column: 1 / -1;
}

.sc-field label {
  color: var(--sc-navy);
  font-size: .84rem;
  font-weight: 750;
}

.sc-field label span {
  color: #d44d4d;
}

.sc-field input,
.sc-field select,
.sc-field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #dce6ed;
  border-radius: 8px;
  outline: none;
  background: #fbfdff;
  color: var(--sc-navy);
  font: inherit;
  font-size: .88rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sc-field input,
.sc-field select {
  min-height: 47px;
}

.sc-field textarea {
  min-height: 130px;
  resize: vertical;
}

.sc-field input:focus,
.sc-field select:focus,
.sc-field textarea:focus {
  border-color: var(--sc-blue);
  box-shadow: 0 0 0 3px rgba(59,130,160,.12);
}

.sc-field .is-invalid {
  border-color: #d9534f;
}

.sc-error {
  min-height: 15px;
  color: #c33d3d;
  font-size: .75rem;
}

.sc-submit-btn {
  margin-top: 12px;
}

.sc-form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #24734b;
  font-size: .85rem;
  font-weight: 700;
}

.sc-form-status.is-error {
  color: #c33d3d;
}

.sc-form-note {
  margin: 5px 0 0;
  color: var(--sc-muted);
  font-size: .75rem;
  line-height: 1.6;
}

.sc-location-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: 32px;
  margin: 8px 0 58px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 18px;
  background: var(--sc-pale);
}

.sc-location-copy p,
.sc-developer-heading p {
  color: var(--sc-text);
  font-size: .92rem;
  line-height: 1.75;
}

.sc-outline-btn {
  margin-top: 8px;
  border-color: #b9cedc;
  background: #fff;
  color: var(--sc-navy);
}

.sc-outline-btn:hover {
  transform: translateY(-2px);
  border-color: var(--sc-navy);
  background: var(--sc-navy);
  color: #fff;
}

.sc-map-wrap {
  min-width: 0;
  height: 310px;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 13px;
  box-shadow: 0 7px 22px rgba(23,59,83,.09);
}

.sc-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sc-developer-section {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--sc-border);
  border-radius: 18px;
  background: #fff;
}

.sc-developer-heading {
  max-width: 720px;
  margin-bottom: 25px;
}

.sc-developer-heading p {
  margin: 0;
}

.sc-developer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sc-developer-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--sc-border);
  border-radius: 13px;
  background: #f8fbfd;
}

.sc-developer-card small {
  color: var(--sc-blue);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sc-developer-card h3 {
  margin: 4px 0 5px;
  color: var(--sc-navy);
  font-size: 1.02rem;
  font-weight: 800;
}

.sc-developer-email {
  color: var(--sc-muted);
  font-size: .82rem;
  text-decoration: none;
}

.sc-developer-email:hover {
  color: var(--sc-blue);
  text-decoration: underline;
}

/* Scroll reveal: visible by default if JavaScript is unavailable */
.sc-reveal {
  opacity: 1;
  transform: none;
}

.sc-reveal.sc-reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.sc-reveal.sc-reveal-ready.sc-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .sc-contact-main {
    grid-template-columns: 1fr;
  }

  .sc-location-section {
    grid-template-columns: 1fr;
  }

  .sc-location-copy {
    max-width: 650px;
  }
}

@media (max-width: 600px) {
  .contact-page-shell {
    padding-inline: 8px;
  }

  .sc-contact-intro {
    margin-top: 10px;
    padding: 34px 22px;
    border-radius: 15px;
  }

  .sc-contact-main {
    gap: 30px;
    padding-bottom: 38px;
  }

  .sc-form-grid,
  .sc-developer-grid {
    grid-template-columns: 1fr;
  }

  .sc-field-full {
    grid-column: auto;
  }

  .sc-location-section {
    gap: 20px;
    margin-bottom: 38px;
    padding: 22px 17px;
  }

  .sc-map-wrap {
    height: 250px;
  }

  .sc-developer-section {
    padding: 23px 17px;
  }

  .sc-submit-btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .sc-detail-card {
    gap: 10px;
    padding: 12px;
  }

  .sc-detail-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .sc-detail-card small {
    font-size: .77rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-contact *,
  .sc-contact *::before,
  .sc-contact *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .sc-reveal.sc-reveal-ready {
    opacity: 1;
    transform: none;
  }
}
