/* Contact page */
.rc-contact {
  --cc-ink: #1d1d1f;
  --cc-muted: #6e6e73;
  --cc-soft: #f5f5f7;
  --cc-line: #d2d2d7;
  --cc-teal: #04c1a7;
  --cc-teal-ink: #008f7c;
  --cc-navy: #001935;
  --cc-danger: #d70015;
  font-family: var(--rc-font, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  color: var(--cc-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.rc-contact h1, .rc-contact h2, .rc-contact h3 { color: var(--cc-ink); font-family: inherit; }

.rcc-eyebrow {
  display: inline-block;
  color: var(--cc-teal-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 14px;
}

/* Hero */
.rcc-hero {
  background: linear-gradient(180deg, #fbfbfd 0%, var(--cc-soft) 100%);
  padding: 96px 0 88px;
  text-align: center;
}
.rcc-hero h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.04em;
  margin: 0 0 20px;
}
.rcc-lead {
  color: var(--cc-muted);
  font-size: 21px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.01em;
  max-width: 640px;
  margin: 0 auto 64px;
}

/* Contact cards */
.rcc-cards { justify-content: center; text-align: left; }
.rcc-cards > [class*="col-"] { display: flex; margin-bottom: 20px; }
.rcc-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px 30px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -12px rgba(0, 25, 53, .12);
  color: var(--cc-ink);
  text-decoration: none !important;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s cubic-bezier(.2, .8, .2, 1);
}
.rcc-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -16px rgba(0, 25, 53, .22);
  color: var(--cc-ink);
}
.rcc-card-ico {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b2544, var(--cc-navy));
  color: #fff;
  font-size: 18px;
  margin-bottom: 22px;
}
.rcc-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 6px; }
.rcc-card p { color: var(--cc-muted); font-size: 16px; line-height: 1.55; margin: 0 0 18px; word-break: break-word; }
.rcc-more, .rcc-link {
  color: var(--cc-teal-ink) !important;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  margin-top: auto;
}
.rcc-more i, .rcc-link i { font-size: 11px; margin-left: 4px; transition: transform .2s ease; }
.rcc-card:hover .rcc-more i, .rcc-link:hover i { transform: translateX(3px); }
.rcc-link:hover { text-decoration: underline !important; }

/* Form */
.rcc-form-section { background: #fff; padding: 112px 0; }
.rcc-form-intro { padding-right: 48px; margin-bottom: 40px; }
.rcc-form-intro h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.035em;
  margin: 0 0 20px;
}
.rcc-form-intro > p { color: var(--cc-muted); font-size: 19px; line-height: 1.55; margin-bottom: 28px; }
.rcc-points { list-style: none; padding: 0; margin: 0 0 32px; }
.rcc-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--cc-ink); padding: 8px 0; }
.rcc-points i {
  width: 22px; height: 22px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(4, 193, 167, .12);
  color: var(--cc-teal-ink);
  font-size: 10px;
}

.rcc-form-card {
  background: var(--cc-soft);
  border-radius: 28px;
  padding: 40px;
}
.rcc-form-card .form-row { margin-left: -8px; margin-right: -8px; }
.rcc-form-card .form-row > [class*="col"] { padding-left: 8px; padding-right: 8px; }

.rcc-field { position: relative; margin-bottom: 16px; }
.rcc-field input,
.rcc-field textarea {
  display: block;
  width: 100%;
  height: 60px;
  padding: 26px 16px 8px;
  font: inherit;
  font-size: 17px;
  color: var(--cc-ink);
  background: #fff;
  border: 1px solid var(--cc-line);
  border-radius: 14px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rcc-field textarea { height: auto; min-height: 150px; padding-top: 30px; resize: vertical; line-height: 1.5; }
.rcc-field label {
  position: absolute;
  left: 17px;
  top: 19px;
  margin: 0;
  color: var(--cc-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .2s ease, color .2s ease;
}
.rcc-field input:focus,
.rcc-field textarea:focus {
  border-color: var(--cc-teal);
  box-shadow: 0 0 0 4px rgba(4, 193, 167, .16);
}
.rcc-field input:focus + label,
.rcc-field input:not(:placeholder-shown) + label,
.rcc-field textarea:focus + label,
.rcc-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(.72);
}
.rcc-field input:focus + label,
.rcc-field textarea:focus + label { color: var(--cc-teal-ink); }

.rcc-field-phone input { padding-left: 58px; }
.rcc-field-phone label { left: 17px; transform: translateY(-10px) scale(.72); }
.rcc-prefix {
  position: absolute;
  left: 17px;
  top: 27px;
  z-index: 1;
  color: var(--cc-ink);
  font-size: 17px;
  line-height: 1.3;
  padding-right: 10px;
  border-right: 1px solid var(--cc-line);
  pointer-events: none;
}

.rcc-count {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--cc-muted);
  font-size: 12px;
  pointer-events: none;
}
.rcc-field-area:has(.rcc-err:not(:empty)) .rcc-count { bottom: 36px; }

.rcc-err { display: block; color: var(--cc-danger); font-size: 13px; line-height: 1.4; margin: 6px 4px 0; }
.rcc-err:empty { display: none; }
.rcc-field.is-invalid input,
.rcc-field.is-invalid textarea { border-color: var(--cc-danger); background: #fff8f8; }
.rcc-field.is-invalid input:focus,
.rcc-field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(215, 0, 21, .12); }
.rcc-field.is-invalid label { color: var(--cc-danger); }

.rcc-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
}
.rcc-note { color: var(--cc-muted); font-size: 13px; margin: 0; }
.rcc-note i { margin-right: 6px; font-size: 11px; }

.rcc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--cc-navy);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}
.rcc-btn:hover { background: #0b2c55; }
.rcc-btn:active { transform: scale(.98); }
.rcc-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(4, 193, 167, .35); }
.rcc-btn[disabled] { cursor: default; opacity: .85; }
.rcc-spinner {
  display: none;
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rcc-spin .7s linear infinite;
}
.rcc-btn.is-loading .rcc-btn-label { visibility: hidden; }
.rcc-btn.is-loading .rcc-spinner { display: block; }
@keyframes rcc-spin { to { transform: rotate(360deg); } }

.rcc-form-error { color: var(--cc-danger); font-size: 14px; margin: 14px 0 0; text-align: right; }
.rcc-form-error:empty { display: none; }

.rcc-success { text-align: center; padding: 48px 12px; animation: rcc-fade .5s ease both; }
.rcc-success-ico {
  width: 72px; height: 72px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cc-teal);
  color: #fff;
  font-size: 28px;
  margin-bottom: 24px;
  box-shadow: 0 16px 32px -12px rgba(4, 193, 167, .6);
}
.rcc-success h3 { font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin: 0 0 10px; }
.rcc-success p { color: var(--cc-muted); font-size: 17px; line-height: 1.55; max-width: 420px; margin: 0 auto 24px; }
.rcc-link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
@keyframes rcc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Map */
.rcc-map-section { background: #fff; padding: 0 0 112px; }
.rcc-map {
  position: relative;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--cc-soft);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 20px 48px -20px rgba(0, 25, 53, .2);
}
.rcc-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.rcc-map-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 340px;
  padding: 24px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .25);
}
.rcc-map-card .rcc-eyebrow { margin-bottom: 8px; }
.rcc-map-card p { color: var(--cc-ink); font-size: 16px; line-height: 1.5; margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) {
  .rcc-card, .rcc-success { transition: none; animation: none; }
}

@media (max-width: 1199.98px) {
  .rcc-form-intro { padding-right: 24px; }
}
@media (max-width: 991.98px) {
  .rcc-hero { padding: 72px 0 64px; }
  .rcc-hero h1 { font-size: 48px; }
  .rcc-lead { font-size: 19px; margin-bottom: 44px; }
  .rcc-form-section { padding: 80px 0; }
  .rcc-form-intro { padding-right: 15px; }
  .rcc-form-intro h2 { font-size: 40px; }
  .rcc-map-section { padding-bottom: 80px; }
}
@media (max-width: 575.98px) {
  .rcc-hero { padding: 56px 0 48px; }
  .rcc-hero h1 { font-size: 38px; }
  .rcc-lead { font-size: 17px; }
  .rcc-card { padding: 26px 24px 22px; border-radius: 20px; }
  .rcc-form-intro h2 { font-size: 32px; }
  .rcc-form-intro > p { font-size: 17px; }
  .rcc-form-card { padding: 24px 18px; border-radius: 22px; margin-left: -6px; margin-right: -6px; }
  .rcc-form-foot { flex-direction: column-reverse; align-items: stretch; }
  .rcc-btn { width: 100%; }
  .rcc-note { text-align: center; }
  .rcc-form-error { text-align: center; }
  .rcc-map { height: 480px; border-radius: 22px; }
  .rcc-map-card { left: 14px; right: 14px; bottom: 14px; max-width: none; }
}
