*{margin: o;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
  /* Colores por defecto (dark) */
  --bg: #0a0a0a;
  --bg-alt: #050505;
  --text: #ffffff;
  --accent: #2ecc71;
  --accent-glow: rgba(46, 204, 113, 0.4);
}
[data-theme="light"] {
  --bg: #f5f5f5;
  --bg-alt: #ffffff;
  --text: #333333;
  --accent-glow: rgba(46, 204, 113, 0.2);
}

/* Centrar y dar estilo a los encabezados de Portafolio */
.portfolio > h1,
.portfolio > h2 {
  text-align: center;
  color: var(--accent);
  font-size: 2.5rem;       /* ajústalo a tu gusto */
  margin: 1rem 0 2rem;
  font-weight: 700;
}

body {
  background-color: var(--bg);
  color: var(--text);
  cursor: url('data:image/svg+xml;utf8,<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="7" fill="%232ecc71" stroke="black" stroke-width="2"/></svg>') 4 4, auto;
}


.skills, .portfolio, footer {
  background: var(--bg-alt);
}
.theme-toggle {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text);
  cursor: pointer;
  margin-left: 1rem;
  transition: color 0.3s;
}
.theme-toggle:hover {
  color: var(--accent);
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 10);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color:var(--accent);
    text-decoration: none;
    position: relative;
    padding-left: 2.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: o;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12% 5%;
    background: radical-gradient(circle at 75% 30%, var(--accent-glow) 0%, transparent 30%);
}

.hero-content {
    flex: 1;
    padding-right: 5rem;
}

.hero-image {

    flex: 1;
    text-align: center;
    position: relative;
}

.profile-image {
width: 400px;
height: 400px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--accent);
box-shadow: 0 0 50px var(--accent-glow);
animation: float 3s ease-in-out infinite;
filter: grayscale(0.2) contrast(1.1);
}

@keyframes float {
0%, 100% {transform: translateY(0);}
50% { transform: translateY(-20px);}
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  /* degradado de verde a verde más oscuro */
  background: linear-gradient(45deg, var(--accent) 30%, #27ae60 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--accent), #27ae60);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover effect for "¿Quien soy?" button */
.cta-button:hover {
    background: linear-gradient(45deg, #27ae60, var(--accent));
    color: #fff;
    box-shadow: 0 6px 24px var(--accent-glow), 0 0 0 2px var(--accent);
    transform: translateY(-3px) scale(1.04);
}

.skills {
    padding: 0 5% 2rem 5%;
    background: var(--bg-alt);
    margin-top: 0; /* Sin espacio arriba, pegada a la hero */
    transition: margin-top 0.6s cubic-bezier(.4,0,.2,1);
}

/* === Skills Section Title Style === */
.skills h2 {
    text-align: center;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, var(--accent) 60%, #27ae60 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === Skills Section Fix (simétrico) === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
    align-items: stretch;
}

.skill-card {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    min-height: 240px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    background: rgba(46, 204, 113, 0.08);
    border: 1.5px solid var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
    box-sizing: border-box;
    transition: all 0.3s ease, box-shadow 0.3s, border-color 0.3s;
}

/* Hover effect for skill cards */
.skill-card:hover {
    transform: translateY(-10px) scale(1.04);
    border-color: var(--accent);
    box-shadow: 0 12px 32px var(--accent-glow), 0 0 0 2px var(--accent);
    background: rgba(46, 204, 113, 0.15);
    cursor: url('data:image/svg+xml;utf8,<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="12" fill="none" stroke="lime" stroke-width="3"/></svg>') 16 16, pointer;
}

.skill-card h3 {
    margin: 0.7rem 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.skill-card p {
    font-size: 1rem;
    margin: 0;
    text-align: center;
    flex: 1;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .skill-card {
        max-width: 95vw;
        min-height: 180px;
        padding: 1rem 0.5rem;
    }
}

.hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
}

.profile-image {
    width: 280px;
    height: 280px
}

.nav-links {
    display: none;
}

.logo {
    font-size: 1.5rem;
    padding-left: 2rem;
}
/* ======= Galería Filtrable con Páginas ======= */

.filter-controls {
  text-align: center;
  margin-bottom: 1.5rem;
}
.filter-controls .filter-btn {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--text);
  padding: 0.4rem 0.8rem;
  margin: 0 0.3rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-controls .filter-btn.active,
.filter-controls .filter-btn:hover {
  background: var(--accent);
  color: var(--dark-bg);
}

/* Wrapper con scroll horizontal */
.gallery-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;               /* permite scroll horizontal */
  overflow-y: hidden;
  scroll-behavior: smooth;        /* animación suave */
  -webkit-overflow-scrolling: touch; /* swipe táctil suave */
}

/* Opcional: oculta la scrollbar si quieres */
.gallery-wrapper::-webkit-scrollbar {
  height: 6px;
}
.gallery-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.gallery-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}
.gallery-wrapper.active-drag {
  cursor: grabbing;
}
.gallery-wrapper.active-drag .gallery {
  cursor: grabbing;
}


/* Grid de 4 columnas */
.gallery {
  display: grid;               /* fila flexible en vez de grid */
  gap: 1rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gallery-item {
  background: rgba(255,255,255,0.05);
  padding: 0.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1); 
  min-width: 180px;      /* antes era calc(100%/4) */
  max-width: 220px;      /* evita que crezcan demasiado */
  padding: 0.5rem;
}
.gallery-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  width: 100%;
  /* Máxima altura para que no estiren demasiado */
  max-height: 140px;
  object-fit: cover;     /* recorta proporcionalmente */
  border-radius: 8px;
}
.gallery-item .desc {
  font-size: 0.9rem;
  color: var(--text);
}

/* Flechas */
.nav-btn {
  color: var(--accent);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,10,10,0.6);
  border: none;
  padding: 0.8rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, color 0.2s ease;
  font-size: 1.2rem;
}

.nav-btn:hover {
  background: rgba(10,10,10,0.9);
}
.nav-btn:hover i {
  color: #27ae60;
  transform: scale(1.3);
}
.prev { left: 10px; }
.next { right: 10px; }
@media (max-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}



/* ==== Modal Contacto ==== */
/* Eliminado todo el bloque relacionado al modal de contacto */


/* ==== Custom Scrollbar ==== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #27ae60;
}
/* ==== Scroll-Reveal Animations ==== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ======= Override Galería Layout ======= */
.gallery {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.gallery-item {
  flex: 0 0 250px !important;
  max-width: 250px !important;
}
.gallery-item img {
  width: 100%;
  max-height: 180px !important;
  object-fit: cover !important;
}
.gallery-wrapper {
  overflow-x: hidden !important;
}
@media (max-width: 768px) {
  .gallery-item {
    flex: 0 0 140px !important;
    max-width: 140px !important;
  }
}
/* ================= End Overrides ================= */
/* ==== Hover en miniaturas ==== */
.gallery-item {
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* ==== Lightbox ==== */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}
.lightbox.show {
  opacity: 1;
  visibility: visible;
}
.lightbox .lb-img {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 30px var(--accent-glow);
}
.lightbox .lb-close {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 2.5rem;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.2s;
}
.lightbox .lb-close:hover {
  color: #27ae60;
}
/* ==== Pixel-art sólo para Texturas 2D ==== */
.gallery-item[data-category="texturas"] {
  /* Contenedor fijo y centrado sólo para texturas pequeñas */
  width: 180px;           /* ajústalo si quieres otro tamaño */
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item[data-category="texturas"] img {
  /* Muestra pixel art nítido sólo en esta categoría */
  image-rendering: pixelated;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* ==== Pixel-enlarge solo para texturas 2D ==== */
.lightbox .lb-img {
  /* Preparar para transformaciones */
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Cuando añadamos la clase pixel-enlarge: */
.lightbox .lb-img.pixel-enlarge {
  image-rendering: pixelated;  /* nítido escalado */
  max-width: none;             /* ignora límites */
  max-height: none;
  transform: scale(10);        /* escala 10×, ajusta si quieres */
}
.gallery-item video {
  width: 100%;
  max-height: 180px;        /* ajusta igual que las imágenes */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover video {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--accent-glow);
}
.lightbox .lb-media > img,
.lightbox .lb-media > video {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 30px var(--accent-glow);
}
.lightbox .lb-media video {
  display: block;
}
/* Slider Container */
.gallery-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Área scrollable */
.gallery-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Fila flexible */
.gallery {
  display: flex;
  gap: 1rem;
}

/* Items fijos */
.gallery-item {
  flex: 0 0 220px;
  max-width: 220px;
}

/* Flechas siempre fijas */
.gallery-container .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.6);
  border: none;
  padding: 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
}
.gallery-container .prev {
  left: -10px;
}
.gallery-container .next {
  right: -10px;
}

.gallery-fade {
  position: absolute;
  top: 0;
  right: 0 !important;
  width: 80px;
  height: 100%;
  background: linear-gradient(to left, var(--bg-alt), transparent);
  pointer-events: none;
  z-index: 5;
}

.studios {
  padding: 3rem 5%;
  background: var(--bg-alt);
  text-align: center;
}
.studios h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 2rem;
}
.studio-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.studio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 150px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.studio-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--accent);
}

.studio-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%; /* circular */
  object-fit: cover;
  margin-bottom: 0.5rem;
  border: 2px solid var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  transition: transform 0.3s ease;
}


.studio-card p {
  color: var(--text);
  font-weight: 500;
}
.studio-link {
  text-decoration: none;
}
.gallery-item:hover video {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--accent-glow);
}
.lightbox .lb-media > img,
.lightbox .lb-media > video {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 30px var(--accent-glow);
}
.lightbox .lb-media video {
  display: block;
}
/* Slider Container */
.gallery-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Área scrollable */
.gallery-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Fila flexible */
.gallery {
  display: flex;
  gap: 1rem;
}

/* Items fijos */
.gallery-item {
  flex: 0 0 220px;
  max-width: 220px;
}

/* Flechas siempre fijas */
.gallery-container .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.6);
  border: none;
  padding: 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
}
.gallery-container .prev {
  left: -10px;
}
.gallery-container .next {
  right: -10px;
}

.gallery-fade {
  position: absolute;
  top: 0;
  right: 0 !important;
  width: 80px;
  height: 100%;
  background: linear-gradient(to left, var(--bg-alt), transparent);
  pointer-events: none;
  z-index: 5;
}

.studios {
  padding: 3rem 5%;
  background: var(--bg-alt);
  text-align: center;
}
.studios h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 2rem;
}
.studio-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.studio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 150px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.studio-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--accent);
}

.studio-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%; /* circular */
  object-fit: cover;
  margin-bottom: 0.5rem;
  border: 2px solid var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  transition: transform 0.3s ease;
}


.studio-card p {
  color: var(--text);
  font-weight: 500;
}
.studio-link {
  text-decoration: none;
}
.intro-personal,
.intro-socials {
  max-width: 600px;
  margin: 2rem auto 0 auto;
  padding: 1.5rem 2rem;
  background: rgba(46,204,113,0.08);
  border-radius: 12px;
  color: var(--text);
  font-size: 1.15rem;
  box-shadow: 0 8px 32px var(--accent-glow);
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.6s cubic-bezier(.4,0,.2,1),
    transform 0.6s cubic-bezier(.4,0,.2,1),
    visibility 0.6s,
    max-height 0.6s cubic-bezier(.4,0,.2,1),
    padding 0.6s cubic-bezier(.4,0,.2,1),
    margin 0.6s cubic-bezier(.4,0,.2,1);
}

.intro-personal.show,
.intro-socials.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  max-height: 500px; /* suficiente para el contenido */
  overflow: visible;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.intro-socials {
  background: none !important;
  box-shadow: none !important;
  padding: 0;
  margin-top: 1.2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.2rem;
  background: none !important;
  box-shadow: none !important;
  padding: 0;
}
.social-icons a {
  color: var(--accent);
  font-size: 1.2rem;
  transition: color 0.2s, transform 0.2s;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 0.3em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
}
.social-icons a i {
  font-size: 2rem;
  margin-right: 0.3em;
}
.social-icons a:hover {
  color: #27ae60;
  transform: scale(1.18);
  background: none !important;
  box-shadow: none !important;
}

/* Cuando la intro está visible, empuja la sección skills hacia abajo */
body.intro-visible .skills {
    margin-top: 2rem; /* Reduce el espacio, o elimina esta regla si no quieres separación extra */
}
.tools-icons-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 1rem 0 10rem 0;
    padding: 0;
}
.tool-icon {
    height: 150px; /* 70px * 1.25 = 87.5px */
    width: auto;
    filter: drop-shadow(0 4px 16px var(--accent-glow));
    transition: transform 0.2s;
}
.tool-icon[alt="Figma"], .tool-icon[title="Figma"] {
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px #eee;
}
.tool-icon:hover {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 32px var(--accent-glow));
}
.tool-icon[alt="Figma"], .tool-icon[title="Figma"] {
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px #eee;
}
.tool-icon:hover {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 32px var(--accent-glow));
}
.tool-icon:hover {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 32px var(--accent-glow));
}

/* Cursor personalizado global */
body {
  cursor: url('data:image/svg+xml;utf8,<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="7" fill="%232ecc71" stroke="black" stroke-width="2"/></svg>') 4 4, auto;
}

/* Cursor pointer para elementos interactivos */
a, button, .cta-button, .filter-btn, .skill-card:hover, .gallery-item:hover, .tool-icon:hover {
  cursor: pointer;
}

/* Opcional: cursor especial para hover en skill-card */
.skill-card:hover {
  cursor: url('data:image/svg+xml;utf8,<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="12" fill="none" stroke="%232ecc71" stroke-width="3"/></svg>') 16 16, pointer;
}
/* ...existing code... */

.faq-section {
  max-width: 700px;
  margin: 4rem auto 3rem auto;
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.faq-section h2 {
  text-align: center;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  border-radius: 10px;
  background: rgba(46,204,113,0.07);
  box-shadow: 0 2px 12px var(--accent-glow);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  padding: 1rem 1.2rem;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::after {
  content: "▼";
  font-size: 1rem;
  margin-left: 0.5em;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(-180deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  padding: 0 1.2rem;
  overflow: hidden;
  background: none;
  color: var(--text);
  font-size: 1rem;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 1rem;
}

