:root {
  --contact-bg: #f5f8ff;
  --contact-white: #ffffff;
  --contact-navy: #0c1f3f;
  --contact-blue: #006efe;
  --contact-ink: #1f3d73;
  --contact-border: #e5ecff;
  --contact-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.contact-shell {
  padding: 64px 18px 72px;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 60%);
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-badge {
  display: inline-flex;
  align-self: center;
  padding: 8px 16px;
  background: rgba(0, 110, 254, 0.08);
  color: var(--contact-blue);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.contact-hero h1 {
  margin: 0;
  font-size: 36px;
  color: var(--contact-blue);
  font-weight: 700;
}

.contact-hero p {
  margin: 0;
  font-size: 16px;
  color: var(--contact-ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.contact-card {
  background: var(--contact-white);
  border: 1px solid var(--contact-border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--contact-shadow);
}

.contact-card-primary {
  background: linear-gradient(135deg, #006efe 0%, #0056d6 100%);
  color: white;
  border: none;
  box-shadow: 0 22px 52px rgba(0, 110, 254, 0.28);
}

.contact-card h2 {
  margin: 0 0 2px;
  font-size: 22px;
  font-weight: 700;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-list-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
  align-items: center;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-list-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.contact-list a,
.contact-text {
  color: white;
  margin: 2px 0 0;
  font-weight: 600;
  text-decoration: none;
}

.contact-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-card h2 {
  color: var(--contact-navy);
}

.contact-form {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.form-row-phone {
  grid-template-columns: 1fr;
}

label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--contact-navy);
  font-weight: 600;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--contact-border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--contact-navy);
  background: var(--contact-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input {
  width: 100%;
  border: 1px solid var(--contact-border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--contact-navy);
  background: var(--contact-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--contact-blue);
  box-shadow: 0 0 0 3px rgba(0, 110, 254, 0.15);
}

.service-trigger:focus {
  outline: none;
  border-color: var(--contact-blue);
  box-shadow: 0 0 0 3px rgba(0, 110, 254, 0.15);
}

.contact-phone-wrap {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 8px;
  align-items: center;
}

.contact-phone-code {
  width: 100%;
}

.contact-phone-input {
  width: 100%;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  font-weight: 400;
  color: rgba(15, 31, 64, 0.6);
}

.contact-submit {
  margin-top: 8px;
  padding: 13px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #006efe 0%, #0056d6 100%);
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 110, 254, 0.22);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 110, 254, 0.28);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-submit:disabled:hover {
  transform: none;
  box-shadow: 0 14px 32px rgba(0, 110, 254, 0.22);
}

.form-status {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
}

.form-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.service-select-wrapper {
  position: relative;
}

.service-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.3;
  min-height: 40px;
  cursor: pointer;
}

.service-trigger-icon {
  flex-shrink: 0;
  transition: transform 150ms ease;
}

.service-trigger.is-open .service-trigger-icon {
  transform: rotate(180deg);
}

.service-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid var(--contact-blue);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  max-height: 200px;
  overflow-y: auto;
  z-index: 12;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--contact-blue) #f0f7ff;
}

.service-option {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--contact-navy);
  font-size: 14px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.service-option:hover,
.service-option.active {
  background: rgba(0, 110, 254, 0.08);
  color: #0b347a;
  font-weight: 600;
}

.service-options::-webkit-scrollbar {
  width: 8px;
}

.service-options::-webkit-scrollbar-track {
  background: #f0f7ff;
  border-radius: 4px;
}

.service-options::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #006efe 0%, #0056d6 100%);
  border-radius: 4px;
}

.service-options::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0056d6 0%, #003d9e 100%);
}

@media (max-width: 768px) {
  .contact-shell {
    padding: 72px 18px 96px;
  }

  .contact-hero h1 {
    font-size: 32px;
  }

.contact-hero p {
  font-size: 15px;
}
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-map-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.contact-small {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-card-primary .contact-list-label,
.contact-card-primary .contact-text {
  color: white;
}

.contact-hours-card {
  background: var(--contact-white);
  border: 1px solid var(--contact-border);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: var(--contact-shadow);
}

.contact-hours-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--contact-blue);
}

.contact-hours-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--contact-navy);
}

.contact-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}

.contact-hours-row {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 12px;
  gap: 4px;
}

.contact-hours-row:nth-child(odd) {
  background: rgba(0, 110, 254, 0.04);
}

.contact-hours-day {
  font-size: 13px;
  font-weight: 600;
  color: rgba(12, 31, 63, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-hours-time {
  font-size: 15px;
  font-weight: 700;
  color: var(--contact-navy);
}

.contact-hours-closed {
  color: #c0392b;
  font-weight: 600;
}

.contact-map-embed {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--contact-border);
}

.contact-map-embed iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.contact-bottom-copy {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.98) 56%),
    linear-gradient(90deg, rgba(0, 110, 254, 0.16), rgba(251, 191, 36, 0.18));
  border: 1px solid rgba(0, 110, 254, 0.14);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 22px 58px rgba(0, 110, 254, 0.12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.contact-bottom-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 6px solid var(--contact-blue);
  pointer-events: none;
}

.contact-bottom-copy-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--contact-blue), #0c1f3f);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(0, 110, 254, 0.24);
  position: relative;
  z-index: 1;
}

.contact-bottom-copy-content {
  position: relative;
  z-index: 1;
}

.contact-bottom-copy-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--contact-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-bottom-copy h2 {
  margin: 0 0 12px;
  color: var(--contact-navy);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.contact-bottom-copy p {
  margin: 0;
  color: var(--contact-ink);
  font-size: 16px;
  line-height: 1.8;
}

.contact-bottom-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-bottom-copy-actions a,
.contact-bottom-copy-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-bottom-copy-actions button:first-child {
  background: var(--contact-blue);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 110, 254, 0.2);
}

.contact-bottom-copy-actions a:last-child {
  background: #ffffff;
  color: var(--contact-blue);
  box-shadow: inset 0 0 0 1px rgba(0, 110, 254, 0.18);
}

.contact-bottom-copy-actions a:hover,
.contact-bottom-copy-actions button:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .contact-bottom-copy-actions a,
  .contact-bottom-copy-actions button {
    transition: none;
  }

  .contact-bottom-copy-actions a:hover,
  .contact-bottom-copy-actions button:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .contact-bottom-copy {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 20px;
    gap: 18px;
  }

  .contact-bottom-copy-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .contact-bottom-copy h2 {
    font-size: 24px;
  }

  .contact-bottom-copy p {
    font-size: 15px;
    line-height: 1.75;
  }

  .contact-bottom-copy-actions a,
  .contact-bottom-copy-actions button {
    flex: 1 1 145px;
  }
}
