/* ==========================================================================
   PÁGINA: INICIO (index.html)
   ========================================================================== */

/* ==========================================================================
   HERO / GRID DE CABECERA
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  padding: 50px 8%;
}

.hero-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.hero-card-accent {
  background-color: var(--primary-dark);
  color: #FDFCFB;
  border: 1px solid var(--accent-gold);
}

.badge-tag {
  color: var(--rose-dust);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero-card h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 10px 0 15px 0;
  color: var(--primary-dark);
}

.hero-card-accent h2 {
  color: var(--bg-warm);
}

/* ==========================================================================
   ESTRUCTURA DEL PERFIL PROFESIONAL (IZQUIERDA DEL HERO)
   ========================================================================== */
.profile-card-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 35px;
  display: flex;
  gap: 35px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.profile-photo-card {
  width: 220px;
  min-width: 220px;
  height: 320px;
  background-color: var(--bg-subtle);
  border-radius: 14px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.profile-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.profile-photo-icon {
  font-size: 2.8rem;
  color: var(--accent-wine);
}

.profile-photo-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.profile-photo-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.profile-info-content {
  flex: 1;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin: 5px 0 12px 0;
  line-height: 1.1;
}

.profile-tagline {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.5;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.profile-col h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent-wine);
  margin-bottom: 10px;
}

.profile-col ul {
  list-style: none;
  padding: 0;
}

.profile-col li {
  position: relative;
  padding-left: 14px;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.profile-col li::before {
  content: "•";
  color: var(--accent-wine);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.profile-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ACCESO RÁPIDO A LOS 6 ÁMBITOS (DERECHA DEL HERO)
   ========================================================================== */
.quick-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.quick-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 12px 14px;
  color: #FDFCFB;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.quick-btn:hover {
  background-color: var(--accent-wine);
  color: var(--bg-warm);
  transform: translateY(-2px);
}

.quick-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--rose-dust);
}

.quick-btn:hover .quick-num {
  color: var(--bg-warm);
}

.quick-text {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
}

/* ==========================================================================
   SECCIÓN PERITAJE
   ========================================================================== */
.section-full {
  padding: 60px 8%;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.container-narrow h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.legal-cite {
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICIOS INTERACTIVOS (3 COLUMNAS FIJAS EN PANTALLA GRANDE)
   ========================================================================== */
.services-section {
  padding: 70px 3%;
  max-width: 1250px; /* Acota el ancho total para que las tarjetas no sean tan estiradas */
  margin: 0 auto;    /* Centra todo el contenedor en la pantalla */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-gold);
  border-radius: 12px;
  padding: 24px 26px; /* Padding interior ligeramente reducido para mejor proporción */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent-wine);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--accent-wine);
  font-weight: bold;
}

.service-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin: 8px 0;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex-grow: 1;
}

.service-details {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-light);
}

.service-details ul {
  list-style: none;
}

.service-details li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.service-details li::before {
  content: "•";
  color: var(--accent-wine);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.service-card.active .service-details {
  display: block;
}

.card-indicator {
  display: inline-block;
  margin-top: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-wine);
}

/* ==========================================================================
   RECTÁNGULO DESTACADO (INFO BANNER)
   ========================================================================== */
.info-banner-box {
  margin-top: 35px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-left: 5px solid var(--primary-dark);
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-soft);
}

.info-banner-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.info-banner-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.info-banner-icon {
  font-size: 2rem;
  color: var(--accent-wine);
  flex-shrink: 0;
}

.info-banner-content p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.4;
}

.btn-banner-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-wine);
  color: var(--bg-warm) !important;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-banner-action:hover {
  background-color: var(--accent-wine-hover);
  color: #FDFCFB !important;
}

/* ==========================================================================
   PROCESO Y VALORES PERICIALES (DISEÑO SECUENCIAL Y TARJETAS DE PRINCIPIOS)
   ========================================================================== */
.workflow-section {
  padding: 80px 3%;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.workflow-container {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--primary-dark);
  margin-top: 5px;
}

.section-title-wrapper p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* --- PARTE 1: PROCESO PERICIAL (LÍNEA DE TIEMPO SINUOSA) --- */
.process-block {
  position: relative;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto 90px auto;
  column-gap: 14px;
}

.timeline-path {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  height: 90px;
  overflow: visible;
}

.timeline-step { display: contents; }

.timeline-step:nth-of-type(1) { --col: 1; }

.timeline-step:nth-of-type(2) { --col: 2; }

.timeline-step:nth-of-type(3) { --col: 3; }

.timeline-step:nth-of-type(4) { --col: 4; }

.timeline-step:nth-of-type(5) { --col: 5; }

.timeline-node {
  grid-row: 2;
  grid-column: var(--col);
  justify-self: center;
  align-self: start;
  margin-top: 3px;               /* centra el nodo sobre la curva (y = 25) */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-wine);
  color: #FDFCFB;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-subtle);
  box-shadow: 0 0 0 1.5px var(--accent-gold), var(--shadow-soft);
  z-index: 2;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-step:nth-of-type(even) .timeline-node { margin-top: 43px; }

/* y = 65 */
.timeline-step:hover .timeline-node {
  transform: scale(1.12);
  background-color: var(--accent-wine);
  color: var(--bg-warm) !important;
}

.timeline-content {
  grid-column: var(--col);
  grid-row: 1;
  align-self: end;
  text-align: center;
  padding: 0 6px 18px;
}

.timeline-step:nth-of-type(even) .timeline-content {
  grid-row: 3;
  align-self: start;
  padding: 18px 6px 0;
}

.timeline-icon {
  font-size: 1.6rem;
  color: var(--accent-wine);
  margin-bottom: 12px;
  display: inline-block;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.timeline-num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--accent-wine);
  margin-bottom: 2px;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- PARTE 2: PRINCIPIOS DE TRABAJO (2x2 GRID DE TARJETAS) --- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.principle-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent-gold);
  border-radius: 12px;
  padding: 28px 30px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--accent-wine);
  box-shadow: var(--shadow-hover);
}

.principle-icon-box {
  background-color: rgba(185, 161, 121, 0.12);
  color: var(--primary-dark);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.principle-content h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.principle-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .process-timeline {
      display: block;
      padding-left: 8px;
    }
  .process-timeline::before {
      content: "";
      position: absolute;
      left: 29px;
      top: 22px;
      bottom: 22px;
      border-left: 2px dotted var(--accent-gold);
    }
  .timeline-path { display: none; }
  .timeline-step {
      display: grid;
      grid-template-columns: 44px 1fr;
      column-gap: 18px;
      align-items: start;
      margin-bottom: 28px;
      position: relative;
    }
  .timeline-step:last-child { margin-bottom: 0; }
  .timeline-node,
    .timeline-step:nth-of-type(even) .timeline-node {
      grid-row: 1; grid-column: 1; margin-top: 0;
    }
  .timeline-content,
    .timeline-step:nth-of-type(even) .timeline-content {
      grid-row: 1; grid-column: 2;
      text-align: left;
      padding: 0;
      align-self: start;
    }
  .timeline-icon { display: none; }
}

@media (max-width: 850px) {
  .principles-grid {
      grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CUÁNDO NO RECOMIENDO INFORME
   ========================================================================== */
.honest-section {
  padding: 70px 8%;
}

.honest-card {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--bg-subtle);              /* Rosa niebla: avisos */
  border: 1px solid var(--border-light);           /* Rosa polvo */
  border-radius: 20px;
  padding: 50px 45px 45px;
  box-shadow: var(--shadow-soft);
}

/* Filete dorado fino interior */
.honest-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  pointer-events: none;
}

.honest-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 34px;
}

.honest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1.5px solid var(--accent-gold);          /* aro de icono en oro */
  box-shadow: 0 0 0 6px rgba(185, 161, 121, 0.12);
  color: var(--accent-wine);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.honest-head .badge-sub { display: block; margin-bottom: 4px; }

.honest-card h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.honest-head p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.honest-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.honest-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: var(--bg-card);                /* tarjetas en crema */
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px 22px;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.55;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.honest-list li:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-soft);
}

.honest-list li i {
  flex: 0 0 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--accent-wine);
  color: var(--accent-wine);
  font-size: 0.8rem;
  margin-top: 1px;
}

@media (max-width: 760px) {
  .honest-section { padding: 50px 5%; }
  .honest-card { padding: 38px 22px 28px; }
  .honest-card h3 { font-size: 1.7rem; }
  .honest-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACTO Y FOOTER
   ========================================================================== */
.contact-section {
  padding: 70px 8%;
  background-color: var(--primary-dark);
  color: #FDFCFB;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-box h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--bg-warm);
  margin-bottom: 15px;
}

.contact-details p {
  margin-top: 15px;
  font-size: 1rem;
}

.contact-details i {
  color: var(--rose-dust);
  margin-right: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--rose-dust);
  margin-bottom: 5px;
}

.form-group input, .form-group select, .form-group textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--border-gold);
  background-color: rgba(255, 255, 255, 0.05);
  color: #FDFCFB;
  font-family: var(--font-body);
}

.btn-submit {
  background-color: var(--accent-wine);
  color: var(--bg-warm);
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  border: 1px solid var(--rose-dust);
}

.btn-submit:hover {
  background-color: var(--accent-wine-hover);
}

@media (max-width: 1200px) {
  .hero-grid {
      grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
  .methodology-grid, .contact-grid {
      grid-template-columns: 1fr;
    }
  .form-row {
      flex-direction: column;
    }
}

/* Inversión y alineación: Texto a la izquierda, foto a la derecha */
.profile-card-reversed {
  flex-direction: row;
  align-items: flex-end; /* Alinea la foto al fondo para lograr un efecto recortado sobre la base */
  padding-right: 20px;
}

/* Tarjeta transparente para foto recortada sin fondo */
.profile-photo-card.transparent-photo {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 260px;
  min-width: 260px;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

/* Estilo para cuando cargues tu imagen PNG recortada */
.cutout-portrait {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0px 8px 16px rgba(59, 42, 39, 0.15)); /* Sombra suave tras el contorno */
}

@media (max-width: 850px) {
  .profile-card-reversed {
      flex-direction: column-reverse; /* En móvil la foto queda arriba y el texto abajo */
      align-items: center;
      padding-right: 35px;
    }
  .profile-photo-card.transparent-photo {
      height: 280px;
      width: 100%;
    }
}

@media (max-width: 768px) {
  .profile-card-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  .profile-photo-card {
      width: 100%;
      max-width: 260px;
      height: 280px;
    }
  .profile-details-grid {
      grid-template-columns: 1fr;
      text-align: left;
    }
  .profile-actions {
      justify-content: center;
    }
  .info-banner-box {
      flex-direction: column;
      text-align: center;
      padding: 20px;
    }
  .info-banner-content {
      flex-direction: column;
      gap: 10px;
    }
  .btn-banner-action {
      width: 100%;
      justify-content: center;
    }
}

@media (max-width: 600px) {
  .services-grid {
      grid-template-columns: 1fr;
    }
  .quick-access-grid {
      grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ESTRUCTURA DE PERFIL CENTRADO Y ANCHO
   ========================================================================== */
.hero-section-centered {
  padding: 50px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Caja Blanca Ancha y Centrada */
.profile-card-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 45px 50px;
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 1280px; /* Caja significativamente más ancha */
  display: grid;
  grid-template-columns: 1fr 300px; /* Columna de texto adaptable + Foto fija */
  gap: 50px;
  align-items: center;
}

.profile-info-content {
  width: 100%;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin: 5px 0 12px 0;
  line-height: 1.1;
}

.profile-tagline {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Columnas de Texto con Ancho Espacioso */
.profile-details-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Más espacio para Colegiación */
  gap: 30px;
  margin-bottom: 30px;
}

.profile-col h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--accent-wine);
  margin-bottom: 12px;
  white-space: nowrap;
}

.profile-col ul {
  list-style: none;
  padding: 0;
}

.profile-col li {
  position: relative;
  padding-left: 16px;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.45;
}

.profile-col li::before {
  content: "•";
  color: var(--accent-wine);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Tarjeta de la Foto Integrada */
.profile-photo-card {
  width: 100%;
  height: 340px;
  background-color: rgba(185, 161, 121, 0.05);
  border: 1px dashed var(--border-gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.profile-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.profile-photo-icon {
  font-size: 2.8rem;
  color: var(--accent-wine);
}

.profile-photo-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.profile-photo-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cutout-portrait {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0px 8px 16px rgba(59, 42, 39, 0.12));
}

@media (max-width: 1024px) {
  .profile-card-container {
      grid-template-columns: 1fr;
      padding: 35px 30px;
      gap: 35px;
    }
  .profile-photo-card {
      height: 280px;
      max-width: 300px;
      margin: 0 auto;
      order: -1; /* Coloca la foto en la parte superior en dispositivos móviles */
    }
}

@media (max-width: 650px) {
  .profile-details-grid {
      grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PERFIL: TEXTO DE BIENVENIDA CON "LEER MÁS"
   ========================================================================== */
.profile-welcome {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-heading-soft);
  margin: 0 0 10px 0;
}

.profile-more { margin-bottom: 26px; }

.profile-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-wine);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent-gold);
  transition: color 0.3s ease;
}

.profile-more summary::-webkit-details-marker { display: none; }

.profile-more summary::after {
  content: "\f078";                 /* chevron-down (Font Awesome) */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.profile-more[open] summary::after { transform: rotate(180deg); }

.profile-more summary:hover { color: var(--accent-wine-hover); }

.profile-more summary:focus-visible { outline: 2px solid var(--accent-wine); outline-offset: 4px; }

.profile-more .more-close { display: none; }

.profile-more[open] .more-open { display: none; }

.profile-more[open] .more-close { display: inline; }

.profile-more-body {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  animation: profileMoreIn 0.35s ease;
}

.profile-more-body > p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.profile-more-body .profile-details-grid { margin: 22px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .profile-more-body { animation: none; }
}

/* Foto de perfil */
.profile-photo-card { padding: 0; overflow: hidden; border-style: solid; }

.profile-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; border-radius: inherit; }

/* Enlaces a contrainformes dentro de la tarjeta 05 */
.service-inline-link { color: var(--accent-wine); font-weight: 600; border-bottom: 1px solid var(--accent-gold); transition: color 0.3s ease; }

.service-inline-link:hover { color: var(--accent-wine-hover); }

.service-page-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.85rem; font-weight: 700; color: var(--accent-wine); }

.service-page-link i { font-size: 0.75rem; transition: transform 0.3s ease; }

.service-page-link:hover i { transform: translateX(4px); }


/* ---------- Formulario de contacto: campos extra (consentimiento, anti-spam, estados) ---------- */
.contact-form .hp-field { display: none !important; }

.contact-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 6px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--rose-dust, #C9AFA9);
  cursor: pointer;
}
.contact-form .form-consent input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-wine, #7B4A4F);
  cursor: pointer;
}
.contact-form .form-consent span { color: var(--rose-dust, #C9AFA9); }
.contact-form .form-consent a {
  color: var(--bg-warm, #FDFCFB);
  border-bottom: 1px solid var(--accent-gold, #B9A179);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-form .form-consent a:hover { color: var(--rose-dust, #C9AFA9); }

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold, #B9A179);
  background-color: rgba(255, 255, 255, 0.09);
}

.contact-form .btn-submit { font-family: var(--font-body); letter-spacing: 1px; }
.contact-form .btn-submit:disabled {
  background-color: var(--border-soft, #DFD3CC);
  color: var(--text-muted, #6E625F);
  border-color: var(--border-soft, #DFD3CC);
  cursor: not-allowed;
}

.contact-form .form-status { display: none; margin: 0; padding: 14px 18px; border-radius: 10px; font-size: 0.9rem; line-height: 1.5; }
.contact-form .form-status.is-success,
.contact-form .form-status.is-error { display: block; }
.contact-form .form-status.is-success {
  background-color: var(--bg-subtle, #EFE2DE);
  color: var(--primary-dark, #3B2A27);
  border-left: 4px solid var(--accent-gold, #B9A179);
}
.contact-form .form-status.is-error {
  background-color: var(--bg-card, #F5F0ED);
  color: var(--accent-wine, #7B4A4F);
  border-left: 4px solid var(--accent-wine, #7B4A4F);
}
