:root {
  /* --- COLORES DE MARCA --- */
  --brand-ink: #111;          /* Texto principal (Casi Negro) */
  --brand-accent: #A04B00;    /* Marrón principal */
  --brand-accent-hover: #7a3900; /* Marrón oscuro hover */
  --brand-orange: #F3A412;    /* Naranja acento */
  --ok: #95a617;              /* Verde para focus */
  
  --contact-card-radius: 14px;
  --contact-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* Fondo general (Limpio, solo imagen) */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #111111;
  background-image: url('../assets/imagenes/perritos-varios/fondo-web.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Tipografía Fredoka para títulos */
h1, h2, h3, h4, h5, h6,
.contact-title,
.contact-page {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}

/* Título Principal */
.contact-title {
  color: var(--brand-ink) !important; 
  font-size: 2.5rem; 
  margin-bottom: 5px !important; 
}

.contact-subtitle {
  font-style: italic;
  color: #555 !important; 
  margin-bottom: 40px !important;
}

/* Subtítulos de las tarjetas (H2) */
.contact-card h2 {
    color: var(--brand-ink);
}

/* ==============================
   LAYOUT Y TARJETAS
============================== */

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px; 
}

.contact-form,
.contact-info {
  flex: 1 1 48%;
  min-width: 360px;
}

/* Tarjetas Blancas */
.contact-card {
  background-color: #fff;
  border-radius: var(--contact-card-radius); 
  box-shadow: var(--contact-shadow); 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none; 
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); 
}

/* ==============================
   FORMULARIO
============================== */

.form-label {
    font-weight: 600;
    color: var(--brand-ink);
}

.form-control {
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  padding: 0.8rem 1rem; 
  font-size: 1rem; 
  font-family: "Roboto", sans-serif;
}

/* Focus en Inputs: Verde de marca */
.form-control:focus {
  border-color: var(--ok); 
  box-shadow: 0 0 0 0.25rem rgba(149, 166, 23, 0.25);
}

/* Botón de Enviar (Marrón estilo marca) */
.btn-forest {
  background-color: var(--brand-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-family: "Fredoka", sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.btn-forest:hover {
  background-color: var(--brand-accent-hover); 
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(160, 75, 0, 0.3);
  color: #fff;
}

/* ==============================
   ICONOS Y REDES
============================== */

.contact-icon {
  color: var(--brand-accent); /* Iconos marrones */
  font-size: 1.4rem; 
}

.contact-accent {
  color: var(--brand-accent); 
  text-decoration: none;
  font-weight: 500;
}
.contact-accent:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

/* Redes Sociales */
.social-link {
  font-size: 1.8rem;
  color: var(--brand-accent); /* Marrón */
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.social-link:hover {
  color: var(--brand-orange); /* Naranja al pasar mouse */
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    max-width: 600px;
  }
}