:root {
  /* LIGHT MODE (Apple HIG & Material You Standards) */
  --bg-home: #f8f9fd;          /* Canvas unificado para TODA la página */
  --bg-sidebar: #f2f3f7;
  --bg-level0: #f8f9fd;
  --bg-level1: #f8f9fd;         /* Eliminado blanco: unificado al mismo tono de fondo */
  
  --text-main: #1c1c1e;        /* Apple Standard para prevenir sangrado óptico sobre claro */
  --text-muted: #6e6e73;       /* Apple Secondary Text */
  --nav-idle: #555555;
  --nav-hover: #111111;
  
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(17, 17, 17, 0.22);   /* Líneas de Services */
  --service-num: rgba(17, 17, 17, 0.6);
  --link-hover-line: #111111;
  --card-placeholder: #f2f3f7;
  
  /* PALETA MINT EXACTA DEL LOGO (#60B7B4) Y BRAND */
  --caribbean-mint: #2EA7A4;  /* hsl(179,58%,41%) más vivo */
  --solar-gold: #F5CC00;      /* hsl(50,100%,48%) más cálido */
  --plum-velvet: #CE2788;     /* hsl(325,68%,48%) más vivo */

  /* ROLES DE COLOR (definidos abajo, en `body`; iguales en ambos temas)
     Mint  = PRINCIPAL (~60%): links, iconos, palabra DESIGN, foco
     Gold  = DESTACADO (~30%): highlights de títulos y borde del botón
     Plum  = MENÚ + CTA (~10%): nav activo y hover de Let's talk */
  
  --text-on-brand: #ffffff;    /* Blanco sobre bloques de color en Light Mode */
  --text-on-plum: #ffffff;
  
  --sidebar: 230px;
  --section-pad-y: 80px;      /* espacio vertical de cada sección: ajústalo aquí */
  --radius: 20px;
}

/* DARK MODE (Guías estricta de Apple HIG & Material Design 3: Anti-Blooming & Anti-Fatiga) */
body.dark {
  --bg-home: #121212;          /* Canvas unificado en Dark Mode */
  --bg-sidebar: #1e1e1e;
  --bg-level0: #121212;
  --bg-level1: #121212;         /* Eliminado tono claro: unificado al carbón #121212 */
  
  --text-main: #f2f2f7;        /* 87% equivalente: Blanco suave antideslumbrante para texto principal */
  --text-muted: #a1a1a6;       /* 60% equivalente: Gris atenuado para texto secundario */
  --nav-idle: #8e8e8e;
  --nav-hover: #ffffff;
  
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --service-num: rgba(255, 255, 255, 0.6);
  --link-hover-line: #ffffff;
  --card-placeholder: #1e1e1e;
  
  /* COLORES BRAND EN DARK MODE */
  --caribbean-mint: #419997;  /* hsl(179,40%,43%): más claro, menos saturado */
  --solar-gold: #E5C430; /* Solar Gold ajustado para Dark Mode: más claro y desaturado (Anti-fatiga / Luminous) */      /* hsl(48,80%,36%) */
  --plum-velvet: #CD6AA4;     /* hsl(325,50%,61%): antes #822158 (muy oscuro, 2:1) */
  
  --text-on-plum: #121212;     /* el plum de dark es claro: texto oscuro (5.5:1) */
  --text-on-brand: #f2f2f7;    /* Blanco suavizado antideslumbrante para párrafos sobre bloques de color */
}

/* Los roles viven en body (no en :root) para que resuelvan con los valores de body.dark */
body {
  --accent: var(--caribbean-mint);   /* color principal (~60%): links, iconos, detalles */
  --highlight: var(--solar-gold);
  --identity: var(--caribbean-mint);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-home); color: var(--text-main); font-family: "DM Sans", sans-serif; font-weight: 500; transition: background .3s ease, color .3s ease; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ICONOS LINEALES (trazo redondeado, caja 24x24 uniforme) */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-theme { display: inline-flex; }
.icon-theme .i-sun { display: none; }
body.dark .icon-theme .i-moon { display: none; }
body.dark .icon-theme .i-sun { display: inline-block; }

.brand { display: inline-flex; align-items: center; min-height: 48px; }

/* ESTILIZADO DE .a29-logo CON REACTIVIDAD DINÁMICA DE TEMA (LIGHT/DARK) */
.a29-logo {
  display: inline-block;
  width: 140px;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 100px;
  transition: transform 0.25s ease;
}
.a29-logo:hover {
  transform: scale(1.04);
}

.a29-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* REACTIVIDAD DEL COLOR DE LA GOTA Y SÍMBOLO DEL LOGO */
.a29-logo-bg {
  fill: var(--caribbean-mint) !important;
  transition: fill 0.3s ease;
}

.a29-logo-fg {
  fill: var(--text-on-brand) !important;
  transition: fill 0.3s ease;
}

.hero-logo-container {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}
.hero-logo-container .a29-logo-svg {
  width: 100%;
  height: 100%;
}

.mobile-header .a29-logo {
  width: 48px;
  height: 48px;
}

/* SIDEBAR / MENÚ */
.sidebar { 
  position: fixed; 
  inset: 0 auto 0 0; 
  width: var(--sidebar); 
  padding: 36px 24px 28px; 
  border-right: 1px solid var(--line); 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
  z-index: 20; 
  background: var(--bg-sidebar); 
  transition: background .3s ease, border-color .3s ease; 
}

.sidebar-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sidebar-top p { font-size: 13px; line-height: 1.45; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin: 16px 0 0; font-weight: 800; white-space: nowrap; }

.sidebar nav { display: grid; gap: 10px; }

/* NAVEGACIÓN */
.nav-link { 
  display: flex; 
  gap: 13px; 
  align-items: center; 
  padding: 6px 0; 
  color: var(--nav-idle); 
  font-size: 13px; 
  text-transform: uppercase; 
  font-weight: 700; 
  letter-spacing: .1em; 
  transition: color .25s ease, transform .25s ease; 
}
.nav-link span { 
  font-family: "DM Sans", sans-serif; 
  font-size: 12px; 
  font-weight: 800; 
  letter-spacing: .12em; 
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 22px;
  opacity: 0.75;
}

.nav-link:hover { 
  color: var(--nav-hover); 
  transform: translateX(4px); 
}

.nav-link.active { 
  color: var(--plum-velvet); 
  transform: translateX(4px); 
}
.nav-link.active span {
  opacity: 1;
}

/* PIE DEL MENÚ CENTRALIZADO Y LEGAL LINKS */
.sidebar-bottom { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
  gap: 18px; 
  width: 100%; 
}

.utility-controls { display: flex; align-items: center; justify-content: center; gap: 10px; }

.language-toggle, .theme-toggle { 
  border: 1px solid var(--line); 
  background: var(--bg-level1); 
  cursor: pointer; 
  color: var(--text-main); 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.language-toggle:hover, .theme-toggle:hover {
  border-color: var(--text-main);
  box-shadow: 0 0 0 1px var(--text-main);   /* engorda el borde a ~2px sin mover el layout */
}

.language-toggle { 
  height: 35px; 
  padding: 0 12px; 
  border-radius: 20px; 
  font-size: 10px; 
  font-weight: 800; 
  letter-spacing: .06em; 
  gap: 4px;
}
.language-toggle .icon-globe { font-size: 16px; margin-right: 2px; }

.theme-toggle { 
  width: 35px; 
  height: 35px; 
  border-radius: 50%; 
}
.theme-toggle .icon-theme { font-size: 18px; }

.sidebar-legal { display: grid; gap: 8px; justify-items: center; }
.sidebar-legal p { font-size: 11px; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0; font-weight: 700; }
.legal-links { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.legal-links a { font-size: 10px; color: var(--text-muted); font-weight: 600; letter-spacing: .05em; transition: color .2s ease; }
.legal-links a:hover { color: var(--accent); }

main { margin-left: var(--sidebar); }
.section { min-height: auto; padding: var(--section-pad-y) clamp(16px, 5vw, 110px); position: relative; }


/* HERO SECTION (HOME) */
.hero {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  min-height: 100vh;
  padding-bottom: 30px;
  overflow: hidden;
  background: var(--bg-home);
  transition: background .3s ease;
}
.hero-main { position: relative; z-index: 2; }
.hero-logo { position: relative; z-index: 1; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; justify-self: end; display: flex; align-items: center; justify-content: center; }

.eyebrow, .section-label { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.hero h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -.065em; font-weight: 800; }
.hero h1 { line-height: .92; font-size: clamp(64px, 8.5vw, 160px); max-width: 100%; margin: 24px 0; }
h2 { line-height: 1.18; text-transform: uppercase; font-size: clamp(44px, 5.4vw, 80px); margin: 0 0 45px; }
.hero h1 .accent-word { color: var(--accent); }
em { font-style: normal; color: transparent; -webkit-text-stroke: 1.7px currentColor; }

.hero-tag {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.4vw, 80px);   /* igual que los h2 */
  line-height: 1.18;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.highlight {
  display: inline;
  padding: .005em .14em .025em;
  background: var(--highlight);
  color: #111111;
  -webkit-text-stroke: 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.18;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.05em;
}

.hero-copy { max-width: min(650px, 100%); color: var(--text-main); font-size: clamp(16px, 1.3vw, 21px); font-weight: 600; line-height: 1.5; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 46px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border-radius: 999px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border: 2.5px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn-solid { background: var(--text-main); color: var(--bg-home); }
.btn-solid:hover { transform: translateY(-2px); }
.btn-outline { border-color: var(--plum-velvet); color: var(--text-main); }
.btn-outline:hover { background: var(--plum-velvet); border-color: var(--plum-velvet); color: var(--text-on-plum); }

.quick-contact { margin-top: 40px; padding-left: 18px; border-left: 4px solid var(--highlight); display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.quick-contact a:hover { color: var(--accent); }

/* SECCIÓN ABOUT ME - APLICANDO LEYES DE LECTURA Y CONTRASTE SOBRE BLOQUES DE COLOR */
.about { display: grid; background: var(--bg-home); grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; align-items: center; padding-top: 40px; color: var(--text-main); transition: background .3s ease; }
.about .section-label, .services .section-label, .contact .section-label { color: var(--text-muted); }
.about-content { max-width: 900px; }
.about h2 { color: var(--text-main); }
.about .highlight, .contact .highlight { color: #111; }
.lead { font-size: clamp(25px, 2.5vw, 35px); font-weight: 700; line-height: 1.3; max-width: 790px; margin-left: auto; margin-right: auto; }
.about-content p:not(.lead) { max-width: 650px; margin-left: auto; margin-right: auto; color: var(--text-main); font-size: 19px; font-weight: 600; line-height: 1.6; }

/* SECCIÓN SERVICIOS */
.services {
  background: var(--card-placeholder);   /* mismo color que las tarjetas de proyectos (cambia en light/dark) */
  color: var(--text-main);
  border-radius: var(--radius);
  margin: 0 clamp(16px, 3vw, 40px);
  padding: var(--section-pad-y) clamp(28px, 5vw, 80px);
  transition: background .3s ease;
}
.services { container-type: inline-size; }
.services h2 { margin-bottom: 0; white-space: nowrap; font-size: clamp(44px, 5.4vw, 80px); font-size: min(clamp(44px, 5.4vw, 80px), 8cqw); /* igual que los demás h2; solo se reduce si no cabe en una línea (cqw = % del ancho útil de la tarjeta) */ }
.service-list { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); }
.service { min-height: 190px; padding: 28px 35px 28px 0; border-top: 1px solid var(--line-strong); }
.service:nth-child(even) { padding-left: 35px; border-left: 1px solid var(--line-strong); }

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-num { font-size: 12px; color: var(--service-num); font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.service-icon {
  font-size: 30px;
  color: var(--accent);
  opacity: 1;
}

.service h3 { font-family: Manrope, sans-serif; font-size: 31px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.04em; }
.service p { color: var(--text-muted); max-width: 430px; font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0 0 16px; }

.service-link { 
  display: inline-flex; 
  align-items: center; 
  gap: 4px; 
  font-size: 13px; 
  font-weight: 800; 
  letter-spacing: .04em; 
  color: var(--accent); 
  border-bottom: 1.5px solid var(--accent); 
  padding-bottom: 2px; 
  transition: border-color .2s ease, color .2s ease;
}
.service-link:hover { border-color: var(--link-hover-line); }
.service-link .icon-arrow { font-size: 16px; transition: transform .2s ease; }
.service-link:hover .icon-arrow { transform: translate(2px, -2px); }

.projects { background: var(--bg-level1); padding-bottom: 40px; transition: background .3s ease; }
.projects-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin: 0 0 60px; }
.projects-heading h2 { margin: 0; }
.projects-heading p { max-width: 360px; color: var(--text-main); font-size: 18px; font-weight: 600; line-height: 1.55; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 25px; }
.project-large { grid-row: span 2; }
.project-placeholder { min-height: 380px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: var(--card-placeholder); transition: transform .35s ease, background .3s ease; overflow: hidden; }
.project-large .project-placeholder { min-height: 760px; }
.project-placeholder span { font-size: 10px; letter-spacing: .18em; color: var(--text-muted); font-weight: 800; }
.project:hover .project-placeholder { transform: scale(.985); }
.project-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 15px; border-top: 1px solid var(--line); margin-top: 12px; }
.project-meta h3, .project-meta p { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.project-meta p { color: var(--text-muted); }

.contact { padding-top: 150px; padding-bottom: 220px; display: flex; background: var(--bg-home); color: var(--text-main); flex-direction: column; justify-content: center; transition: background .3s ease; }
.contact-content { margin-left: 18%; }
.contact h2 { margin-bottom: 30px; }
.contact p { color: var(--text-main); font-size: 20px; font-weight: 600; margin-bottom: 45px; }

.email-link { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  font-family: Manrope, sans-serif; 
  font-size: clamp(24px, 3vw, 42px); 
  font-weight: 800; 
  color: var(--accent);
  border-bottom: 2px solid var(--accent); 
  padding-bottom: 8px; 
  letter-spacing: -.04em; 
}
.email-link .icon-mail-arrow { font-size: clamp(28px, 3.5vw, 46px); transition: transform .2s ease; }
.email-link:hover .icon-mail-arrow { transform: translate(4px, -4px); }

.contact-location { margin: 22px 0 0 !important; font-size: 13px !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .1em; }

footer { margin-left: 0; padding: 25px clamp(40px, 7vw, 110px); background: var(--bg-home); display: flex; justify-content: space-between; color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; transition: background .3s ease; }
.mobile-header { display: none; }
.mobile-tools { display: flex; align-items: center; gap: 10px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .btn-solid:hover, .project:hover .project-placeholder { transform: none; }
}

@media (max-width: 900px) {
  :root { --sidebar: 0px; }
  .sidebar { transform: translateX(-100%); width: 270px; transition: transform .3s ease; box-shadow: 15px 0 40px rgba(0,0,0,.15); }
  .sidebar.open { transform: translateX(0); }
  .mobile-header { position: fixed; display: flex; justify-content: space-between; align-items: center; inset: 0 0 auto; height: 70px; padding: 0 25px; z-index: 30; background: var(--bg-sidebar); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
  .mobile-header .brand { font-size: 27px; }
  .mobile-header .a29-logo { width: 42px; height: 42px; }
  .menu-toggle { border: 0; background: transparent; font-size: 23px; cursor: pointer; color: var(--text-main); display: inline-flex; align-items: center; justify-content: center; }
  main { margin-left: 0; }
  .section { padding: 70px 25px; }
  .hero { padding-top: 130px; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(60px, 15vw, 105px); }
  .hero-main { width: 100%; max-width: 920px; order: 2; }
  .hero-logo {
    order: 1;
    justify-self: center;
    width: min(62vw, 380px);
    margin: 0 auto 56px;
  }
  .btn-row, .quick-contact { justify-content: center; text-align: center; }
  .quick-contact { border-left: 0; border-top: 4px solid var(--highlight); padding-left: 0; padding-top: 14px; }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .services { margin: 0 12px; padding: 60px 24px; }
  .services h2 { white-space: normal; font-size: clamp(44px, 5.4vw, 80px); }
  .hero { padding-bottom: 20px; }
  .about { padding-top: 30px; }
  .projects { padding-bottom: 30px; }
  .contact { padding-top: 110px; padding-bottom: 150px; }
  .service-list { grid-template-columns: 1fr; }
  .service:nth-child(even) { padding-left: 0; border-left: 0; }
  .projects-heading { display: block; }
  .projects-heading p { margin-top: 30px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-large .project-placeholder { min-height: 480px; }
  .project-placeholder { min-height: 350px; }
  .contact-content { margin-left: 0; }
  footer { margin-left: 0; padding: 25px; flex-direction: column; gap: 8px; }
}


/* BRAND LINK EN MOBILE HEADER */
.brand-mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}
.brand-mobile-link .brand-text {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-main);
}

@media (max-width: 900px) {
  /* Ocultar solo el contenido visual del logo superior en el sidebar móvil para evitar el choque con el header,
     pero mantener la estructura de altura limpia */
  .sidebar-top .a29-logo,
  .sidebar-top p {
    visibility: hidden;
    height: 0;
    margin: 0;
    overflow: hidden;
  }
  .sidebar-top {
    min-height: 50px; /* Mantiene la reserva de espacio justa debajo del header fijo */
  }
  .sidebar {
    padding-top: 85px;
    padding-bottom: 30px;
    justify-content: space-between ;
  }
}




/* ESTRATEGIA MÓVIL EDITORIAL PURA (HERO SIN LOGO CENTRAL DUPLICADO) */
@media (max-width: 900px) {
  .hero {
    display: block !important;
    min-height: auto !important;
    padding-top: 200px !important; /* Espacio superior duplicado debajo del header */
    padding-bottom: 50px !important; /* Espacio inferior duplicado */
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Ocultar el logo flotante gigante en móvil ya que está presente en la barra superior */
  .hero-logo {
    display: none !important;
  }
  
  .hero-main {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }
  
  .hero-tag {
    font-size: clamp(32px, 8vw, 44px) !important;
    margin-bottom: 16px !important;
  }
  
  .hero h1 {
    font-size: clamp(52px, 14vw, 84px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.05em !important;
    margin: 16px 0 24px 0 !important;
    display: block !important;
  }
  
  .hero h1 span {
    display: inline !important;
  }
  
  .hero-copy {
    font-size: 18px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-bottom: 32px !important;
  }
  
  .btn-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 32px !important;
  }
  
  .btn {
    display: inline-flex !important;
    padding: 16px 28px !important;
    font-size: 13px !important;
  }
  
  .quick-contact {
    margin-top: 28px !important;
    padding-top: 14px !important;
    border-top: 3px solid var(--highlight) !important;
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}


/* INSTAGRAM LINK EN QUICK CONTACT */
.quick-contact-details {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.quick-contact-details .dot-separator {
  opacity: 0.5;
}
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  transition: color .2s ease;
}
.instagram-link:hover {
  color: var(--plum-velvet);
}
.instagram-link .icon-instagram {
  font-size: 16px;
}

/* SCROLL MARGIN Y ESPACIADO SUPERIOR PARA NAVEGACIÓN LIMPIA (#SOBRE / ABOUT) */
.section {
  scroll-margin-top: 80px;
}
.about {
  padding-top: 100px;
  scroll-margin-top: 90px;
}
@media (max-width: 900px) {
  .section {
    scroll-margin-top: 75px;
  }
  .about {
    padding-top: 90px !important;
    scroll-margin-top: 80px !important;
  }
}


/* ESTILOS DE CONTACTO RÁPIDO HERO (EMAIL + INSTAGRAM) */
.quick-contact {
  margin-top: 36px;
  padding-left: 18px;
  border-left: 4px solid var(--highlight);
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  font-size: 15px;
  font-weight: 700;
}
.email-contact {
  color: var(--text-main);
  transition: color 0.2s ease;
}
.email-contact:hover {
  color: var(--caribbean-mint);
}
.instagram-contact {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--text-main) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.instagram-contact:hover {
  color: var(--caribbean-mint) !important;
}
.instagram-contact .icon-instagram {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
}

@media (max-width: 900px) {
  .quick-contact {
    border-left: 0 !important;
    border-top: 3px solid var(--highlight) !important;
    padding-left: 0 !important;
    padding-top: 16px !important;
    margin-top: 28px !important;
    align-items: flex-start !important;
  }
}


/* OCULTAR BOTONES DUPLICADOS DE IDIOMA Y TEMA DENTRO DEL SIDEBAR EN MÓVIL */
@media (max-width: 900px) {
  .sidebar .utility-controls {
    display: none !important;
  }
}
