/* ============================================================
   ETHIX MARKETING — contact.css
   Scoped under ec- prefix (ethix contact)
   Depends on: style.css (shared vars, nav, footer, utilities)
============================================================ */

/* ============================
   NAVBAR OVERRIDE (inner page)
   Always show solid white on contact page
============================ */
.em-header.scrolled .em-navbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

.em-nav-active {
  color: var(--em-orange-mid) !important;
}

.em-nav-active::after {
  width: 60% !important;
}

/* ============================
   BREADCRUMB SECTION
============================ */
.ec-breadcrumb {
  padding: 130px 0 60px;
  background: var(--em-light);
  position: relative;
  overflow: hidden;
}

.ec-breadcrumb-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 138, 0, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* decorative corner shape */
.ec-breadcrumb::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--em-border);
}

.ec-breadcrumb-inner {
  text-align: center;
}

/* Breadcrumb nav trail */
.ec-bc-nav {
  margin-bottom: 20px;
}

.ec-bc-list {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--em-white);
  border: 1.5px solid var(--em-border);
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ec-bc-item {
  font-family: var(--em-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--em-gray);
}

.ec-bc-item a {
  color: var(--em-gray);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.ec-bc-item a:hover {
  color: var(--em-orange-mid);
}

.ec-bc-item a i {
  font-size: 12px;
}

.ec-bc-sep {
  font-size: 10px;
  color: var(--em-gray2);
}

.ec-bc-active {
  color: var(--em-orange-mid);
}

.ec-breadcrumb-title {
  font-family: var(--em-font-head);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--em-dark);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.ec-breadcrumb-sub {
  font-size: 16px;
  color: var(--em-gray);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================
   CONTACT SECTION
============================ */
.ec-contact {
  padding: 90px 0 100px;
  background: var(--em-white);
}

/* ============================
   LEFT — DETAILS COLUMN
============================ */
.ec-details {
  position: sticky;
  top: 100px;
}

.ec-section-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--em-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--em-orange-mid);
  background: rgba(255, 90, 0, 0.08);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.ec-details-title {
  font-family: var(--em-font-head);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--em-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.ec-details-body {
  font-size: 15px;
  color: var(--em-gray);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Contact items list */
.ec-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.ec-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--em-light);
  border: 1.5px solid var(--em-border);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

a.ec-contact-item:hover {
  border-color: var(--em-orange-mid);
  background: var(--em-white);
  box-shadow: 0 6px 24px rgba(255, 90, 0, 0.1);
  transform: translateX(4px);
}

.ec-ci-static {
  cursor: default;
}

.ec-ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--em-white);
  border: 1.5px solid var(--em-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--em-orange-mid);
  flex-shrink: 0;
  transition: all 0.25s;
}

a.ec-contact-item:hover .ec-ci-icon {
  background: var(--em-gradient);
  color: #fff;
  border-color: transparent;
}

.ec-ci-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.ec-ci-label {
  font-family: var(--em-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--em-gray2);
}

.ec-ci-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--em-dark);
}

.ec-ci-arrow {
  font-size: 14px;
  color: var(--em-gray2);
  transition: color 0.2s, transform 0.2s;
}

a.ec-contact-item:hover .ec-ci-arrow {
  color: var(--em-orange-mid);
  transform: translate(2px, -2px);
}

/* Trust badges row */
.ec-trust-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ec-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--em-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--em-dark);
}

.ec-trust-item i {
  font-size: 16px;
  color: var(--em-orange-mid);
  flex-shrink: 0;
}

/* ============================
   RIGHT — FORM CARD
============================ */
.ec-form-card {
  background: var(--em-white);
  border: 1.5px solid var(--em-border);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.06);
}

.ec-form-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--em-border);
}

.ec-form-title {
  font-family: var(--em-font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--em-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.ec-form-sub {
  font-size: 14px;
  color: var(--em-gray);
  margin: 0;
}

/* Field & Label */
.ec-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ec-label {
  font-family: var(--em-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--em-dark);
  letter-spacing: 0.01em;
}

.ec-label span {
  color: var(--em-orange-mid);
}

/* Input wrapper */
.ec-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ec-input-wrap > i:first-child {
  position: absolute;
  left: 15px;
  font-size: 15px;
  color: var(--em-gray2);
  pointer-events: none;
  transition: color 0.2s;
  z-index: 1;
}

.ec-input-wrap.focused > i:first-child {
  color: var(--em-orange-mid);
}

/* Input base */
.ec-input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  font-family: var(--em-font-body);
  font-size: 14.5px;
  color: var(--em-dark);
  background: var(--em-light);
  border: 1.5px solid var(--em-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.ec-input::placeholder {
  color: var(--em-gray2);
}

.ec-input:focus {
  background: var(--em-white);
  border-color: var(--em-orange-mid);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.1);
}

/* Textarea */
.ec-textarea-wrap {
  align-items: flex-start;
}

.ec-textarea-wrap > i:first-child {
  top: 14px;
  align-self: flex-start;
}

.ec-textarea {
  padding: 13px 16px 13px 42px;
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

/* Select */
.ec-select-wrap { position: relative; }

.ec-select {
  cursor: pointer;
  padding-right: 42px;
}

.ec-select-arrow {
  position: absolute !important;
  right: 15px !important;
  left: auto !important;
  font-size: 12px !important;
  color: var(--em-gray2) !important;
  pointer-events: none;
}

/* Submit button */
.ec-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 16px;
  border-radius: 12px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.ec-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 90, 0, 0.35);
}

.ec-form-note {
  font-size: 12.5px;
  color: var(--em-gray2);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
}

.ec-form-note i {
  font-size: 11px;
  color: var(--em-orange-mid);
}

/* Success state */
.ec-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ec-success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
}

.ec-success-icon {
  width: 72px;
  height: 72px;
  background: var(--em-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 10px 32px rgba(255, 90, 0, 0.3);
}

.ec-success h4 {
  font-family: var(--em-font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--em-dark);
  margin-bottom: 8px;
}

.ec-success p {
  font-size: 15px;
  color: var(--em-gray);
  max-width: 320px;
  line-height: 1.65;
  margin: 0;
}

/* Form transition on submit */
#ec-contact-form {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 992px) {
  .ec-details {
    position: static;
  }
}

@media (max-width: 768px) {
  .ec-breadcrumb {
    padding: 110px 0 48px;
  }

  .ec-form-card {
    padding: 28px 22px;
  }

  .ec-trust-row {
    flex-direction: column;
  }

  .ec-contact-item {
    padding: 14px 16px;
  }
}