@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
  --green: #0e9b72;
  --green-dark: #0b7b5a;
  --green-soft: #d7efe6;
  --ink: #0b1b15;
  --muted: #667279;
  --card: #ffffff;
  --bg: #f3f6f4;
  --shadow: 0 12px 30px rgba(6, 24, 17, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Cairo', 'Manrope', system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.contact-shell {
  padding: 40px 24px 72px;
  max-width: 1200px;
  margin: auto;
}

.page-header-block {
  margin-bottom: 20px;
}

.page-header-block h1 {
  margin: 6px 0 0;
  font-size: 32px;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

.breadcrumb a {
  color: var(--green-dark);
  font-weight: 700;
}

.contact-map {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

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

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.contact-social-card {
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.contact-social-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f8f7;
  color: #0f1f19;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  background: var(--card);
  border-radius: 16px;
  padding: 28px 20px 22px;
  box-shadow: var(--shadow);
  justify-content: center;
  min-height: 180px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(11, 123, 90, 0.1);
  margin-bottom: 6px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.contact-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.contact-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  word-break: break-word;
}

.contact-phone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f6f8f7;
  color: #0f1f19;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  direction: ltr;
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  flex: 1;
}

.contact-phone:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.contact-form-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.alert.success {
  background: #e8f5ef;
  color: var(--green-dark);
}

.alert.error {
  background: #fdecea;
  color: #b03127;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  font-weight: 700;
  color: #1a2a24;
  font-size: 14px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: #f6f8f7;
  color: #0f1f19;
  outline: 0;
  font-size: 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.contact-field input:focus,
.contact-field textarea:focus {
  box-shadow: 0 0 0 2px rgba(14, 155, 114, 0.18);
  transform: translateY(-1px);
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-badge {
  min-width: 110px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.contact-submit {
  align-self: flex-start;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  background: var(--green);
}

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

@media (max-width: 640px) {
  .contact-shell {
    padding: 32px 16px 48px;
  }

  .contact-map iframe {
    height: 280px;
  }

  .page-header-block h1 {
    font-size: 26px;
  }

  .contact-card {
    min-height: 0;
    padding: 24px 16px 18px;
  }

  .contact-phone {
    width: 100%;
  }

  .contact-submit {
    width: 100%;
  }
}
