/* Smart Enterprises — Contact page */

.page-contact {
  --se-c-green: #3f5d38;
  --se-c-green-dark: #2a4a26;
  --se-c-green-soft: #eef3ec;
  --se-c-gold: #c4a35a;
  --se-c-ink: #1c2419;
  --se-c-muted: #5c6658;
  --se-c-line: #e4ebe1;
  --se-c-paper: #f7f8f5;
  --se-c-white: #ffffff;
  --se-c-radius: 16px;
  --se-c-shadow: 0 12px 40px rgba(42, 74, 38, 0.08);
}

.page-contact #content.site-content,
.page-contact .full_width_box,
.page-contact .elementor-68 {
  background: var(--se-c-paper);
}

.page-contact #wrapper_full {
  overflow: visible;
}

/* Hero */
.page-contact .page_header_default {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact .page_header_default .bakground_cover {
  background-position: center 40%;
  background-size: cover;
}

.page-contact .page_header_default:before {
  background: linear-gradient(
    135deg,
    rgba(42, 74, 38, 0.88) 0%,
    rgba(63, 93, 56, 0.78) 55%,
    rgba(196, 163, 90, 0.45) 100%
  ) !important;
  opacity: 1 !important;
}

.page-contact .page_header_default .page_header_content .title .main_tit {
  font-family: "DM Sans", sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.page-contact .breadcrumb {
  margin-top: 8px !important;
}

.page-contact .breadcrumb a,
.page-contact .breadcrumb li {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Hide original Elementor sections — replaced by se-contact */
.page-contact .elementor-68 > .elementor-section,
.page-contact .elementor-68 > .e-con {
  display: none !important;
}

.page-contact .elementor-68 > .se-contact {
  display: block !important;
}

/* Layout shell */
.se-contact {
  background: var(--se-c-paper);
}

.se-contact__container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Info cards */
.se-contact__info {
  padding: 56px 0 24px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.se-contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.se-contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 24px 28px;
  background: var(--se-c-white);
  border: 1px solid var(--se-c-line);
  border-radius: var(--se-c-radius);
  box-shadow: var(--se-c-shadow);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.se-contact__card:hover {
  transform: translateY(-6px);
  border-color: rgba(63, 93, 56, 0.28);
  box-shadow: 0 18px 48px rgba(42, 74, 38, 0.14);
}

.se-contact__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--se-c-green-soft);
  color: var(--se-c-green);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s ease;
}

.se-contact__card:hover .se-contact__icon {
  background: var(--se-c-green);
  color: var(--se-c-white);
  transform: scale(1.06);
}

.se-contact__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.se-contact__card h3 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--se-c-ink);
  letter-spacing: -0.01em;
}

.se-contact__card p,
.se-contact__card span {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--se-c-muted);
  text-transform: none;
}

/* Main: form + aside */
.se-contact__main {
  padding: 40px 0 72px;
}

.se-contact__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.se-contact__form-panel,
.se-contact__aside {
  background: var(--se-c-white);
  border: 1px solid var(--se-c-line);
  border-radius: var(--se-c-radius);
  box-shadow: var(--se-c-shadow);
}

.se-contact__form-panel {
  padding: 40px 40px 36px;
}

.se-contact__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--se-c-gold);
}

.se-contact__form-panel h2 {
  margin: 0 0 10px;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--se-c-green);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.se-contact__lead {
  margin: 0 0 28px;
  max-width: 42ch;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--se-c-muted);
}

/* WPForms polish */
.se-contact__form-panel .wpforms-container {
  margin: 0 !important;
}

.se-contact__form-panel .wpforms-field {
  padding: 0 0 16px !important;
}

.se-contact__form-panel .wpforms-field-label,
.se-contact__form-panel .wpforms-field-label legend,
.se-contact__form-panel label {
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--se-c-green) !important;
}

.se-contact__form-panel .wpforms-field-sublabel {
  color: var(--se-c-muted) !important;
  font-size: 0.8rem !important;
}

.se-contact__form-panel input[type="text"],
.se-contact__form-panel input[type="email"],
.se-contact__form-panel input[type="tel"],
.se-contact__form-panel textarea {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 48px;
  padding: 12px 14px !important;
  border: 1px solid var(--se-c-line) !important;
  border-radius: 10px !important;
  background: var(--se-c-paper) !important;
  color: var(--se-c-ink) !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.95rem !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.se-contact__form-panel textarea {
  min-height: 120px;
  resize: vertical;
}

.se-contact__form-panel input:focus,
.se-contact__form-panel textarea:focus {
  outline: none !important;
  border-color: var(--se-c-green) !important;
  background: var(--se-c-white) !important;
  box-shadow: 0 0 0 3px rgba(63, 93, 56, 0.15) !important;
}

.se-contact__form-panel .wpforms-submit-container {
  margin-top: 8px !important;
}

.se-contact__form-panel .wpforms-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px !important;
  padding: 0 28px !important;
  border: none !important;
  border-radius: 10px !important;
  background: var(--se-c-green) !important;
  color: #fff !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px rgba(63, 93, 56, 0.25);
}

.se-contact__form-panel .wpforms-submit:hover {
  background: var(--se-c-green-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 74, 38, 0.3);
}

/* Aside */
.se-contact__aside {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background:
    linear-gradient(165deg, rgba(63, 93, 56, 0.06) 0%, transparent 42%),
    var(--se-c-white);
}

.se-contact__aside h3 {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--se-c-ink);
  letter-spacing: -0.01em;
}

.se-contact__aside > p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--se-c-muted);
}

.se-contact__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.se-contact__meta li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.se-contact__meta-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--se-c-green-soft);
  color: var(--se-c-green);
  flex-shrink: 0;
}

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

.se-contact__meta strong {
  display: block;
  margin-bottom: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--se-c-green);
}

.se-contact__meta a,
.se-contact__meta span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--se-c-muted);
  text-decoration: none;
}

.se-contact__meta a:hover {
  color: var(--se-c-green);
}

.se-contact__hours {
  padding-top: 22px;
  border-top: 1px solid var(--se-c-line);
}

.se-contact__hours strong {
  display: block;
  margin-bottom: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--se-c-gold);
}

.se-contact__hours span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--se-c-muted);
  line-height: 1.5;
}

.se-contact__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.se-contact__social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--se-c-green);
  color: #fff !important;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.se-contact__social a:hover {
  background: var(--se-c-gold);
  transform: translateY(-2px);
}

.se-contact__social i {
  font-size: 15px;
  line-height: 1;
}

/* Map */
.se-contact__map {
  position: relative;
  line-height: 0;
  border-top: 1px solid var(--se-c-line);
}

.se-contact__map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}

.se-contact__map-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--se-c-line);
  border-radius: 12px;
  box-shadow: var(--se-c-shadow);
  line-height: 1.4;
  max-width: min(320px, calc(100% - 48px));
}

.se-contact__map-label strong {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--se-c-green);
  margin-bottom: 2px;
}

.se-contact__map-label span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--se-c-muted);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .se-contact__card,
  .se-contact__form-panel,
  .se-contact__aside {
    animation: se-contact-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .se-contact__cards .se-contact__card:nth-child(1) { animation-delay: 0.05s; }
  .se-contact__cards .se-contact__card:nth-child(2) { animation-delay: 0.12s; }
  .se-contact__cards .se-contact__card:nth-child(3) { animation-delay: 0.19s; }
  .se-contact__form-panel { animation-delay: 0.18s; }
  .se-contact__aside { animation-delay: 0.26s; }
}

@keyframes se-contact-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .se-contact__info {
    margin-top: -36px;
    padding-top: 40px;
  }

  .se-contact__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .se-contact__card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
  }

  .se-contact__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .se-contact__icon svg {
    width: 22px;
    height: 22px;
  }

  .se-contact__grid {
    grid-template-columns: 1fr;
  }

  .se-contact__form-panel {
    padding: 28px 22px;
  }

  .se-contact__aside {
    padding: 28px 22px;
  }

  .se-contact__map iframe {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .se-contact__container {
    width: calc(100% - 28px);
  }

  .se-contact__info {
    margin-top: -28px;
    padding: 28px 0 12px;
  }

  .se-contact__main {
    padding: 24px 0 48px;
  }

  .se-contact__map iframe {
    height: 260px;
  }

  .se-contact__map-label {
    left: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .page-contact .page_header_default {
    min-height: 220px;
  }
}
