/* Contact / Cere ofertă - formular premium Formspree + despre mine */
.contact-panel {
  align-items: stretch;
}

.offer-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) !important;
  border-radius: 30px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 58px rgba(0,0,0,.08) !important;
  border: 1px solid rgba(0,0,0,.06) !important;
}

.offer-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: #d4af37;
}

.offer-form-head {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.offer-form-head h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: #000;
}

.offer-form-head p {
  max-width: 520px;
  margin: 0 auto;
  color: #484848;
  font-size: .98rem;
  line-height: 1.7;
}

.offer-form {
  display: grid;
  gap: 20px;
}

.offer-grid-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.offer-input-group {
  display: grid;
  gap: 9px;
}

.offer-input-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #151515;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.offer-input-group label span {
  color: #d4af37;
}

.offer-input-group label small {
  color: #666;
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: none;
}

.offer-form input,
.offer-form select,
.offer-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 17px;
  background: #ffffff !important;
  color: #000000 !important;
  font: inherit;
  font-size: .98rem;
  line-height: 1.35;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.offer-form textarea {
  min-height: 118px;
  resize: vertical;
}

.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212,175,55,.13);
  transform: translateY(-1px);
}

.offer-form ::placeholder {
  color: #888 !important;
  opacity: 1;
}

.offer-form input:-webkit-autofill,
.offer-form input:-webkit-autofill:hover,
.offer-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #000 !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.offer-submit {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 18px 20px;
  background: #000;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,.17);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.offer-submit:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(0,0,0,.22);
}

.offer-info-box {
  text-align: center;
  color: #555;
  font-size: .88rem;
  line-height: 1.55;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px dashed #d8d8d8;
}

.contact-about-copy {
  display: grid;
  gap: clamp(18px, 2vw, 24px);
}

.about-credential-block {
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(0,0,0,.07);
  background: #fff;
  box-shadow: 0 14px 36px rgba(0,0,0,.045);
}

.about-credential-block h2,
.about-credential-block h3 {
  margin: 0 0 12px;
  color: #000;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.about-credential-block h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.2;
}

.about-credential-block p {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .offer-grid-inputs {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .offer-form-card {
    padding: 30px 20px !important;
    border-radius: 24px !important;
  }
  .offer-form {
    gap: 17px;
  }
  .offer-form input,
  .offer-form select,
  .offer-form textarea {
    font-size: 16px;
    padding: 13px 15px;
  }
  .offer-submit {
    padding: 16px;
  }
}


/* Hero logo + photo */
.contact-hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.5vw, 26px) !important;
}

.contact-hero-logo-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
}

.contact-hero-photo,
.contact-hero-logo {
  display: block;
  height: clamp(170px, 26vw, 250px);
  width: auto;
  max-width: calc(50% - 12px);
  object-fit: cover;
}

.contact-hero-photo {
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
}

.contact-hero-logo {
  object-fit: contain;
}

@media (max-width: 720px) {
  .contact-hero-logo-media {
    gap: 12px;
  }
  .contact-hero-photo,
  .contact-hero-logo {
    height: clamp(120px, 32vw, 170px);
    max-width: calc(50% - 6px);
  }
  .contact-hero-photo {
    border-radius: 14px;
  }
}


/* Contact v3 - pe telefon formularul apare înaintea datelor de contact */
@media (max-width: 760px) {
  .contact-panel {
    display: flex !important;
    flex-direction: column !important;
  }
  .contact-panel .offer-form-card {
    order: -1 !important;
    margin-top: -8px !important;
  }
  .contact-panel .contact-box:first-child {
    order: 2 !important;
  }
}


/* Contact social icons v1 */
.contact-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.contact-social-icon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  text-decoration: none !important;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .105em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,.055);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.contact-social-icon svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

.contact-social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.28);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0,0,0,.09);
}

@media (max-width: 640px) {
  .contact-social-icons {
    display: grid;
    grid-template-columns: 1fr;
  }
  .contact-social-icon {
    justify-content: center;
    width: 100%;
  }
}


/* Contact - Alura Guide creator section */
.alura-founder-block {
  position: relative;
  overflow: hidden;
  border-color: rgba(212,175,55,.28) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(250,247,238,.96)),
    #fff !important;
}

.alura-founder-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, rgba(212,175,55,0));
}

.alura-founder-kicker {
  margin: 0 0 10px;
  color: #b08d57;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.alura-founder-block p + p {
  margin-top: 12px;
}

.alura-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.alura-mini-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.86);
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 22px rgba(0,0,0,.045);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.alura-mini-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.22);
  background: #fff;
}

.alura-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.alura-module-card {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: #111;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0,0,0,.045);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.alura-module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,175,55,.42);
  box-shadow: 0 18px 42px rgba(0,0,0,.075);
}

.alura-module-card span {
  color: #b08d57;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.alura-module-card strong {
  color: #000;
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.alura-module-card em {
  color: #3b3b3b;
  font-style: normal;
  font-size: .9rem;
  line-height: 1.58;
}

@media (max-width: 720px) {
  .alura-ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .alura-module-card {
    min-height: auto;
  }
  .alura-mini-actions a {
    flex: 1 1 calc(50% - 8px);
  }
}
