/*
Theme Name: El Dragón y la Gallina
Theme URI: https://eldragonylagallina.com/
Author: Antigravity
Author URI: https://eldragonylagallina.com/
Description: Tema custom responsivo para la agencia de comunicación estratégica y ejecución creativa El Dragón y la Gallina.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-dragon-gallina
*/

/* ==========================================================================
   EL DRAGÓN Y LA GALLINA — SISTEMA DE DISEÑO Y ESTILOS BASE
   ========================================================================== */

/* ─── CARGA DE FUENTES LOCALES VARIABLES ─── */
@font-face {
  font-family: 'Epunda Slab';
  src: url('Epunda_Sans/EpundaSlab-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Epunda Slab';
  src: url('Epunda_Sans/EpundaSlab-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Epunda Sans';
  src: url('Epunda_Sans/EpundaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Epunda Sans';
  src: url('Epunda_Sans/EpundaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fustat';
  src: url('Fustat/Fustat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* â”€â”€â”€ TOKENS DE DISEÃ‘O Y VARIABLES â”€â”€â”€ */
:root {
  /* Paleta cromÃ¡tica */
  --red-dark: #4A0000;
  --red-medium: #8D1625;
  --red-intense: #BB2612;
  --egg-yellow: #E6B54A;
  --beige-light: #E9E0CD;
  --text-dark: rgba(0, 0, 0, 0.85); /* Negro al 85% */
  --black-pure: #0D0D0D;
  --white: #FFFFFF;
  --gray-border: rgba(13, 13, 13, 0.1);
  --gray-light: #F7F5F0;
  
  /* Fuentes */
  --font-h1: 'Epunda Slab', serif;
  --font-h2: 'Epunda Sans', sans-serif;
  --font-h3: 'Epunda Sans', sans-serif;
  --font-body: 'Fustat', sans-serif;

  /* Escala tipogrÃ¡fica responsiva */
  --h1-size: clamp(38px, 4.5vw, 55px);
  --h2-size: clamp(34px, 3.2vw, 40px);
  --h3-size: clamp(22px, 2.2vw, 24px);
  --body-size: clamp(17px, 1.25vw, 19px);
  --aux-size: 16px;
  --small-size: 15px;

  /* Sombras y transiciones */
  --shadow-discrete: 0 4px 16px rgba(13, 13, 13, 0.05);
  --shadow-btn: 0 4px 12px rgba(187, 38, 18, 0.15);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* â”€â”€â”€ RESET Y CONFIGURACIÃ“N BASE â”€â”€â”€ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* â”€â”€â”€ ESTRUCTURA COMÃšN â”€â”€â”€ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* â”€â”€â”€ TIPOGRAFÃA APLICADA â”€â”€â”€ */
h1 {
  font-family: var(--font-h1);
  font-size: var(--h1-size);
  font-weight: 600;
  color: var(--red-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-h2);
  font-size: var(--h2-size);
  font-weight: 600;
  color: var(--red-dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-h3);
  font-size: var(--h3-size);
  font-weight: 300;
  color: var(--red-medium);
  line-height: 1.35;
}

p {
  margin-bottom: 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-italic {
  font-style: italic;
}

.text-bold {
  font-weight: 600;
}

/* â”€â”€â”€ BOTONES Y ACCIONES â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--red-intense);
  color: var(--white);
  padding: 0.95rem 2.2rem;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 20px rgba(74, 0, 0, 0.25);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--black-pure);
  border: 2px solid var(--black-pure);
  padding: 0.85rem 2.1rem;
}

.btn-secondary:hover {
  background: var(--black-pure);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.3);
}

/* â”€â”€â”€ NAV â”€â”€â”€ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
  transition: var(--transition-smooth);
}

nav.scrolled {
  box-shadow: var(--shadow-discrete);
  padding: 0.6rem 2.5rem;
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-h2);
  font-size: 0.95rem;
  font-weight: 600; /* MenÃº en bold mÃ­nimo 600 */
  color: var(--text-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--red-intense);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-cta {
  background: var(--egg-yellow);
  color: var(--black-pure);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(230, 181, 74, 0.25);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--red-intense);
  color: var(--white);
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

.social-links-header {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  color: var(--text-dark);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.social-link:hover {
  color: var(--red-intense);
  transform: translateY(-2px);
}

/* Burger Menu para mÃ³vil */
.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--black-pure);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* â”€â”€â”€ HERO â”€â”€â”€ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding-top: 80px;
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 5rem;
  background: var(--white);
}

.hero-title {
  margin-bottom: 2rem;
}

.hero-title br {
  display: block;
}

.hero-body {
  font-size: var(--body-size);
  color: var(--text-dark);
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-body p {
  margin-bottom: 1.2rem;
}

.hero-actions {
  margin-bottom: 2rem;
}

.hero-bajada {
  font-size: var(--aux-size);
  font-weight: 500;
  color: var(--red-medium);
  border-left: 3px solid var(--egg-yellow);
  padding-left: 1rem;
  max-width: 520px;
}

.hero-right {
  position: relative;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* â”€â”€â”€ SECCIÃ“N: ANTES DE ATRAER â”€â”€â”€ */
.section-padding {
  padding: 7rem 0;
}

#antes-de-atraer {
  background: var(--white);
}

.intro-lead {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.highlight-box {
  background: var(--red-medium);
  color: var(--white);
  padding: 2.5rem 3rem;
  border-radius: 8px;
  margin: 2.5rem 0;
  box-shadow: 0 8px 30px rgba(141, 22, 37, 0.15);
}

.highlight-box p {
  font-family: var(--font-h2);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* â”€â”€â”€ SECCIÃ“N: SÃNTOMAS â”€â”€â”€ */
#sintomas {
  background: var(--gray-light);
}

.sintomas-intro {
  margin-bottom: 3.5rem;
  text-align: center;
}

.sintomas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.sintoma-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sintoma-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--red-intense);
}

.sintoma-card.active {
  border-color: var(--red-intense);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(187, 38, 18, 0.08);
}

.sintoma-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sintoma-title {
  font-family: var(--font-h2);
  font-size: 1.1rem;
  font-weight: 500; /* TÃ­tulos de tarjetas interactivas peso 500 */
  color: var(--black-pure);
}

.sintoma-icon-click {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--red-medium);
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.sintoma-card.active .sintoma-icon-click {
  background: var(--red-intense);
  color: var(--white);
  transform: rotate(45deg);
}

.sintoma-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.sintoma-card.active .sintoma-details {
  max-height: 200px;
  opacity: 1;
  margin-top: 1.5rem;
  border-top: 1px dashed var(--gray-border);
  padding-top: 1rem;
}

.sintoma-details-title {
  font-family: var(--font-h3);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--red-intense);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.sintoma-details p {
  font-size: var(--aux-size);
  color: var(--text-dark);
  line-height: 1.6;
}

.sintomas-click-msg {
  text-align: center;
  font-size: var(--small-size);
  color: var(--red-medium);
  font-style: italic;
  font-weight: 500;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

.sintomas-cierre {
  margin-top: 3.5rem;
  background: var(--egg-yellow);
  color: var(--black-pure);
  padding: 2rem 2.5rem;
  border-radius: 12px;
  width: 70%;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  box-shadow: var(--shadow-discrete);
}

/* â”€â”€â”€ SECCIÃ“N: CÃ“MO TRABAJAMOS â”€â”€â”€ */
#como-trabajamos {
  background: var(--egg-yellow);
}

#como-trabajamos h2 {
  color: var(--black-pure);
}

#como-trabajamos .intro-lead {
  color: rgba(0, 0, 0, 0.8);
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.metodo-card {
  background: var(--beige-light);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.metodo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.metodo-num {
  font-family: var(--font-h1);
  font-size: 3rem;
  color: var(--red-medium);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-weight: 600;
  opacity: 0.8;
}

.metodo-title {
  font-family: var(--font-h2);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black-pure);
  margin-bottom: 1rem;
}

.metodo-card p {
  font-size: var(--aux-size);
  color: var(--text-dark);
  line-height: 1.65;
}

/* â”€â”€â”€ SECCIÃ“N: SERVICIOS â”€â”€â”€ */
#servicios {
  background: var(--white);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.servicio-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  transition: var(--transition-smooth);
}

.servicio-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gray-light);
  color: var(--red-intense);
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.servicio-item:hover .servicio-icon {
  background: var(--red-intense);
  color: var(--white);
}

.servicio-title {
  font-family: var(--font-h2);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black-pure);
}

.servicio-text {
  font-size: var(--aux-size);
  line-height: 1.65;
  color: var(--text-dark);
}

.servicios-cierre {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-border);
  text-align: center;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--red-medium);
}

/* â”€â”€â”€ SECCIÃ“N: DYG â”€â”€â”€ */
#dyg {
  background: var(--egg-yellow);
}

.dyg-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.dyg-content {
  text-align: left;
}

.dyg-content h2 {
  color: var(--black-pure);
  margin-bottom: 2rem;
}

.dyg-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--black-pure);
  margin-bottom: 1.5rem;
}

.dyg-image-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.dyg-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: block;
}

/* â”€â”€â”€ SECCIÃ“N: PARA QUIÃ‰N SÃ / NO â”€â”€â”€ */
#filtros {
  background: var(--white);
}

.filtros-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.filtro-box {
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow-discrete);
  transition: var(--transition-smooth);
}

.filtro-box:hover {
  transform: translateY(-4px);
}

.filtro-box.yes {
  background: var(--beige-light);
  border-top: 5px solid var(--egg-yellow);
}

.filtro-box.no {
  background: var(--black-pure);
  color: var(--white);
  border-top: 5px solid var(--red-intense);
}

.filtro-box h3 {
  font-family: var(--font-h2);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.filtro-box.yes h3 {
  color: var(--red-dark);
}

.filtro-box.no h3 {
  color: var(--white);
}

.filtro-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.filtro-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  line-height: 1.6;
}

.filtro-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.filtro-box.yes .filtro-item {
  color: var(--text-dark);
}

.filtro-box.no .filtro-item {
  color: rgba(255, 255, 255, 0.8);
}

.filtros-cierre {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* â”€â”€â”€ SECCIÃ“N: CONTACTO â”€â”€â”€ */
#contacto {
  background: var(--gray-light);
  border-top: 1px solid var(--gray-border);
}

.contacto-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contacto-desc {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-btn-scroll {
  display: block;
  margin: 0 auto 3.5rem;
  width: max-content;
}

.form-full-width {
  width: 100%;
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow-discrete);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  margin-bottom: 2rem;
}

.form-group label {
  font-family: var(--font-h2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 6px;
  border: 1px solid var(--gray-border);
  background: var(--gray-light);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red-intense);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(187, 38, 18, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(13, 13, 13, 0.4);
}

.email-label-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.email-label-container svg {
  color: var(--red-medium);
}

.form-submit-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.form-submit-container button {
  width: 100%;
  max-width: 320px;
}

/* â”€â”€â”€ FOOTER â”€â”€â”€ */
footer {
  background: var(--black-pure);
  color: var(--white);
  padding: 4rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-socials .social-link {
  color: rgba(255, 255, 255, 0.6);
  padding: 0.3rem;
}

.footer-socials .social-link:hover {
  color: var(--egg-yellow);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* â”€â”€â”€ EDITORIAL PLACEHOLDERS E IMÃGENES â”€â”€â”€ */
.img-editorial-wrap {
  width: 80%;
  aspect-ratio: 4/5;
  background: var(--beige-light);
  position: relative;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.img-editorial-wrap::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 2px solid var(--red-intense);
  z-index: -1;
  border-radius: 8px;
  pointer-events: none;
}

.img-editorial-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  text-align: center;
  gap: 1rem;
}

.img-editorial-placeholder .ph-icon {
  font-size: 2.5rem;
  color: var(--red-medium);
}

.img-editorial-placeholder .ph-title {
  font-family: var(--font-h3);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black-pure);
}

.img-editorial-placeholder .ph-desc {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.5;
  max-width: 280px;
}

.decor-egg {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.decor-egg-hero {
  right: -5%;
  bottom: -5%;
  width: 400px;
  transform: rotate(15deg);
}

/* â”€â”€â”€ REVEAL ON SCROLL â”€â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ─── SECCIÓN: LA FUNDADORA ─── */
#sobre-mi {
  background: var(--gray-light);
}

.sobre-mi-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-mi-image-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sobre-mi-image-wrap .img-editorial-wrap {
  width: 85%;
  aspect-ratio: 3/4;
}

.sobre-mi-content {
  text-align: left;
}

.sobre-mi-text p {
  margin-bottom: 1.2rem;
  line-height: 1.75;
}

/* ─── RESPONSIVIDAD (MEDIA QUERIES) ─── */
@media (max-width: 1024px) {
  nav {
    padding: 0.8rem 1.5rem;
  }
  
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 70px;
  }

  .hero-left {
    padding: 5rem 2.5rem 3rem;
    align-items: center;
  }

  .hero-body {
    max-width: 100%;
  }

  .hero-bajada {
    border-left: none;
    border-top: 3px solid var(--egg-yellow);
    padding-left: 0;
    padding-top: 1rem;
    max-width: 100%;
  }

  .hero-right {
    padding: 3rem 0;
    min-height: 400px;
  }

  .img-editorial-wrap {
    width: 60%;
    aspect-ratio: 4/3;
  }

  .metodo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .dyg-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .dyg-content {
    text-align: center;
  }

  .sobre-mi-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre-mi-content {
    text-align: center;
  }

  .sobre-mi-image-wrap .img-editorial-wrap {
    width: 60%;
    aspect-ratio: 4/3;
  }

  .filtros-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Se oculta para el menÃº colapsable */
  }

  .burger {
    display: block;
  }

  .nav-right {
    gap: 1rem;
  }

  .social-links-header {
    display: none;
  }

  .sintomas-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .sintomas-cierre {
    width: 100%;
    padding: 1.5rem 1.5rem;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-full-width {
    padding: 2rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-left {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Estado activo del menÃº mÃ³vil */
.nav-links.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 2rem;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: var(--shadow-discrete);
  gap: 1.5rem;
  align-items: center;
}
