/* ===================== WORK / CAREER GRID LAYOUT ===================== */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contato-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contato-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.contato-title .green {
  color: var(--accent-green);
}

.contato-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-method-link:hover {
  color: var(--primary) !important;
  transform: translateX(4px);
}

/* ===================== TRUST BADGES ===================== */
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.trust-item svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.trust-item span {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dark);
  opacity: 0.7;
}

/* ===================== CONTACT PILLS (LEFT PANEL) ===================== */
.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(139, 26, 26, 0.035);
  border-radius: 18px;
  padding: 1.1rem 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(139, 26, 26, 0.03);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.contact-pill:not(.no-hover):hover {
  transform: translateY(-3px);
  background: rgba(139, 26, 26, 0.06);
  box-shadow: 0 8px 20px rgba(139, 26, 26, 0.08), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.contact-pill-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B1A1A, #A62B2B);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(139, 26, 26, 0.25);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-pill:not(.no-hover):hover .contact-pill-icon {
  transform: scale(1.06) rotate(-5deg);
}

.contact-pill-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-pill-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.contact-pill-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ===================== WPCF7 COMPATIBLE FORM ===================== */
/* Redesign Form Box and Left Column Card */
.contact-page-section {
  background: #FAF8F6;
}

.contact-page-section .reveal {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
}

/* Fix grid card background overlap issue by disabling background for outer grid elements */
.contact-page-section .contato-grid {
  background: transparent;
}

/* Reset individual reveal boxes within grid to look like independent cards */
.contato-grid > .reveal {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Redesign Form Box to just inherit styling */
.form-box {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

/* Title Underline */
.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #8B1A1A, #C0392B, #D4700A, #E08C20) !important;
  border-radius: 2px;
  margin-bottom: 2rem;
  display: block;
}

/* Form Row Grid (Wordpress friendly) */
.form-row {
  margin-bottom: 1.25rem;
}

.form-row.col-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .form-row.col-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Wrapper for WP Contact Form 7 integration */
.form-field-wrapper {
  position: relative;
  width: 100%;
}

/* absolute icon within fields */
.field-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

/* WordPress CF7 form control wrap span styling to make it block level */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Adjust text area icon alignment to top */
.form-field-wrapper:has(textarea) .field-icon,
.form-field-wrapper:has(.wpcf7-textarea) .field-icon {
  top: 22px;
  transform: none;
}

/* Custom form input styled for absolute icons */
.form-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.95rem 1rem 0.95rem 3.2rem; /* Left padding gives space for the absolute icon! */
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.01);
}

.form-input::placeholder {
  color: #888;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(139, 26, 26, 0.06);
}

.form-field-wrapper:focus-within .field-icon {
  color: var(--primary);
}

textarea.form-input {
  resize: none;
  min-height: 140px;
}

/* Submit button adjustment */
.form-submit {
  width: 100%;
  background: var(--gradient-cta);
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(139, 26, 26, 0.25);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 26, 26, 0.35);
  background: var(--gradient-cta-hover);
}

.form-note {
  font-size: 0.8rem;
  color: #555;
  text-align: center;
  margin-top: 1rem;
}

/* Custom styling for file inputs */
.form-input[type="file"] {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.form-input[type="file"]::file-selector-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  margin-right: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
}

.form-input[type="file"]::file-selector-button:hover {
  background: var(--primary-medium);
}

/* Custom styling for select dropdowns */
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
  color: #555;
}

select.form-input option {
  background: #FFFFFF;
  color: var(--text-dark);
}


