/* Tema "Rabia y Luz" – Paleta de ALTO CONTRASTE */
/* Fuentes recomendadas: Montserrat (títulos) + Roboto (texto) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* Bases */
  --bg-light-aqua: #E9FBFC;  /* claro, ideal texto negro */
  --bg-deep-teal:  #1C7F88;  /* oscuro, ideal texto blanco */

  /* Texto */
  --text-white:    #FFFFFF;
  --text-black:    #000000;
  --text-hero:     #074548;

  /* Acentos de alto contraste */
  --accent-coral:  #D13E25; /* texto blanco OK (≈4.74:1) */
  --accent-hover:  #af2c1a; /* texto blanco OK (≈5.31:1) */
  --accent-aqua:   #8EE4E6; /* decorativo (chips/bordes) */

  /* Derivados y transparencias */
  --panel: rgba(255, 255, 255, 0.39);
  --panel-strong: rgba(255,255,255,0.18);
  --border-soft: rgba(255,255,255,0.25);
  --shadow: 0 8px 24px rgba(0,0,0,0.15);

  /* Tipografía y layout */
  --font-body: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', 'Roboto', sans-serif;
  --radius-8: 8px;
  --radius-12: 12px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --max-w: 90%;
}

/* Reset mínimo */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-black);
  background: var(--bg-light-aqua);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-coral); }
a:hover { color: var(--accent-hover); }

/* Utilidades */
.site-wrapper { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-16); }
.container { width: 100%; margin: 0 auto; padding: 0 5%; }
.mt-24 { margin-top: var(--space-24); }
.mb-24 { margin-bottom: var(--space-24); }
.center { text-align: center; }
.justificado { text-align: justify; }
.hide-visually { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Header / Nav */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 6px 10px; background: var(--accent-coral); color: var(--text-white); }

.header {
  background: var(--bg-deep-teal);
  color: var(--text-white);
  border-bottom: 1px solid var(--border-soft);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-8) var(--space-16); }
.logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-white); text-decoration: none; }
.nav { display: flex; gap: 16px; align-items: center;}
.nav a { color: var(--text-white); text-decoration: none; font-weight: 500; position: relative; }
.nav a::after { content:''; position:absolute; left:0; bottom:-3px; width:0; height:2px; background: var(--accent-coral); transition: width .25s ease; }
.nav a:hover::after { width:100%; }

/* HERO */

.hero { background: radial-gradient(120% 120% at 50% -20%, rgba(255,255,255,.15) 0%, rgba(255,255,255,0) 60%), #9fd2d6; color: var(--text-hero); padding: var(--space-32) 0; }
/* .hero { background: var(--bg-deep-teal); color: var(--text-white); padding: var(--space-32) 0; } */
.hero-wrap { display:grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-24); align-items:center; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 var(--space-12); }
.hero p { margin: 0 0 var(--space-16); opacity: .95; }
.hero-cta { display:flex; gap:12px; flex-wrap: wrap; }
.hero .cover { border-radius: var(--radius-12); box-shadow: var(--shadow); overflow: hidden; }

/* Botones */
.btn { display:inline-flex; align-items:center; gap:8px; border:none; border-radius: var(--radius-8); padding: 12px 16px; font-weight:600; cursor:pointer; text-decoration:none; }
.btn-primary { background: var(--accent-coral); color: var(--text-white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--text-white); }
.btn-secondary { background: var(--accent-aqua); color: var(--text-black); }
.btn-secondary:hover { filter: brightness(1.2); color: var(--text-black); }

/* Secciones */
.section { padding: var(--space-32) 0; }
.section-dark { padding: var(--space-32) 0; background: var(--bg-deep-teal); color: var(--text-white); }
.section-title { font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 var(--space-16); }
.section-subtitle { margin-top: -8px; opacity: .9; }

/* Grid de álbumes */
.albumes { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-16); color: var(--text-black);}
.card-album { display: flex; flex-direction: column; justify-content: center; background: var(--panel);  border-radius: var(--radius-12); padding: var(--space-16);  box-shadow: var(--shadow);  border: 1px solid var(--border-soft);  transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-album h3 { margin: auto; font-family: var(--font-heading); font-size: 1.1rem; }
.card-album .meta { font-size: .95rem; opacity: .8; }
.card-album p { margin: auto; }
.card-album img { margin: auto; }

/* Contenido del disco */
.caratula { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.caratula-content { width: 100%; display: flex; justify-content: center; align-items: center; }
.caratula-center { display: flex; justify-content: center; align-items: center; width: 300px; text-align: center; }
/* Flechas laterales en la carátula */
.caratula-content { position: relative; display: flex; justify-content: center; align-items: center; }
.caratula-arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.4rem; color: var(--accent-coral); text-decoration: none; padding: 8px 12px; background: rgba(255,255,255,0.6); border-radius: 50%; box-shadow: var(--shadow); transition: background 0.25s ease, transform 0.25s ease; z-index: 10; }
.caratula-arrow:hover { background: rgba(255,255,255,0.9); transform: translateY(-50%) scale(1.15); }
.left-arrow { left: -40px; }
.right-arrow { right: -40px; }
/* Móviles: apilar en 3 filas */
@media (max-width: 750px) {
  .caratula-content { display: grid; grid-template-columns: 1fr; grid-template-areas: "info" "portada" "compra"; row-gap: 16px; position: relative; }
  /* Info */
  .caratula-info { grid-area: info; text-align: center; }
  /* Portada centrada */
  .caratula-center { grid-area: portada; width: 100% !important; max-width: none !important; display: flex; justify-content: center; align-items: center; }
  .caratula-center img { display: block; margin: 0 auto; }
  /* Compra */
  .caratula-compra { grid-area: compra; text-align: center; }
  .caratula-compra .btn-secondary, .caratula-compra .paypal-container { margin: 0 auto; display: inline-block; }
}
/* Spotify */
.spotify-mobile { display: flex; justify-content: center; margin-bottom: var(--space-12); }

/* Grid de canciones */
.tracks { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-16); }
.card { background: var(--text-white); color: var(--text-black); border-radius: var(--radius-12); padding: var(--space-16); margin: var(--space-12); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-family: var(--font-heading); font-size: 1.1rem; }
.card .meta { font-size: .95rem; opacity: .8; }

/* Vídeo / Single destacado */
.media { display:grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-24); align-items:center; }
.media .frame { aspect-ratio: 16/9; background: #0f3e44; border-radius: var(--radius-12); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.media .frame::after{ content:"© Triquel 2025"; position:absolute; right:8px; bottom:8px; background:rgba(255,255,255,.85); color:#000; font-size:12px; padding:2px 6px; border-radius:6px; }

/* Fotos */
.grid-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-16); }
.foto-wrapper { position: relative; width: 100%; aspect-ratio: 16/9;  overflow: hidden;  border-radius: 12px; }
.foto-wrapper img { width: 100%;  height: 100%;  object-fit: cover;   /* llena el cuadro recortando */  object-position: center; /* centra el recorte */  display: block; }

/* Fechas de gira */
.tour { width:100%; border-collapse: collapse; background: var(--text-white); color: var(--text-black); box-shadow: var(--shadow); border-radius: var(--radius-12); overflow: hidden; }
.tour th, .tour td { padding: 12px 14px; border-bottom: 1px solid #eee; }
.tour th { text-align:left; background: #f7fdfd; font-family: var(--font-heading); }
.tour tr:last-child td { border-bottom: none; }
.tour .buy { text-align:right; }
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; /* desplazamiento suave en móviles */ }
@media (max-width: 480px) { .tour th, .tour td { font-size: 0.85rem; padding: 6px 8px; } .tour .btn { font-size: 0.75rem; padding: 4px 8px; } #gira .container {padding: 0;} :root {--max-w: 99%;}}

/* Newsletter */
.form { display:flex; gap: 8px; flex-wrap: wrap; }
.input { flex:1; min-width: 220px; border: 2px solid #bdeff1; border-radius: var(--radius-8); padding: 12px; font-size: 1rem; }
.input:focus { outline: none; border-color: var(--accent-aqua); box-shadow: 0 0 0 3px rgba(142,228,230,.4); }

/* PayPal */
.paypal-container { display: block; text-align: center; width: 300px; }

/* Footer */
.footer { background: var(--bg-deep-teal); color: var(--text-white); padding: var(--space-24) 0; border-top: 1px solid var(--border-soft); }
.footer .social { display:flex; gap: 12px; }
.footer a { color: var(--text-white); }
.footer a:hover { color: var(--accent-aqua); }
/* Contenedor de iconos */
.social { display: flex; justify-content: center; gap: 14px; align-items: center; margin-bottom: 8px; }
/* Enlaces */
.social-link { width: 22px; height: 22px; display: inline-flex; justify-content: center; align-items: center; opacity: 0.85; transition: opacity 0.2s ease; }
.social-link:hover { opacity: 1; }
/* Iconos en negro */
.social-link i { filter: brightness(0) saturate(100%); /* convierte el SVG a negro */ transition: filter 0.25s ease; }
/* Hover: negro → coral */
.social-link:hover i { filter: invert(32%) sepia(72%) saturate(1783%) hue-rotate(351deg) brightness(92%) contrast(92%); }
/* Iconos SVG embebidos */
.icon-instagram { width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 2C4.243 2 2 4.243 2 7v10c0 2.757 2.243 5 5 5h10c2.757 0 5-2.243 5-5V7c0-2.757-2.243-5-5-5H7zm10 2c1.654 0 3 1.346 3 3v10c0 1.654-1.346 3-3 3H7c-1.654 0-3-1.346-3-3V7c0-1.654 1.346-3 3-3h10zm-5 3a5 5 0 100 10 5 5 0 000-10zm0 2a3 3 0 110 6 3 3 0 010-6zm4.5-.75a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z"/></svg>') no-repeat center/contain; }
.icon-facebook { width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22 12a10 10 0 10-11.5 9.9v-7h-2v-3h2v-2.3c0-2 1.2-3.1 3-3.1.9 0 1.8.1 1.8.1v2h-1c-1 0-1.3.6-1.3 1.2V12h2.3l-.4 3h-1.9v7A10 10 0 0022 12z"/></svg>') no-repeat center/contain; }
.icon-x { width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.3 2H21l-6.6 7.5L22 22h-6.8l-4.4-6-5 6H2l7.1-8.5L2 2h6.9l4 5.5L18.3 2z"/></svg>') no-repeat center/contain; }
.icon-spotify { width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 1.5A10.5 10.5 0 112.5 12 10.5 10.5 0 0112 1.5zm4.6 14.9a1 1 0 00-1.3-.4 8.8 8.8 0 01-8.1 0 1 1 0 10-.9 1.8 10.8 10.8 0 009.9 0 1 1 0 00.4-1.4zm1.8-3.2a1.2 1.2 0 00-1.5-.5 12.4 12.4 0 01-11.4 0 1.2 1.2 0 10-1.1 2.1 14.8 14.8 0 0013.6 0 1.2 1.2 0 00.4-1.6zm.2-3.4a1.4 1.4 0 00-1.7-.7 15.8 15.8 0 01-14.5 0 1.4 1.4 0 10-1.3 2.5 18.6 18.6 0 0017.1 0 1.4 1.4 0 00.4-1.8z"/></svg>') no-repeat center/contain; }

/* Responsivo */
@media (max-width: 900px){ .hero-wrap { grid-template-columns: 1fr; } .media { grid-template-columns: 1fr; } .grid-fotos { grid-template-columns: 1fr; } }

/* Botón hamburguesa oculto en escritorio */
.menu-toggle { display: none; }

/* Estilos para móviles */
@media (max-width: 750px) {
  .menu-toggle { display: block; background: none; border: none; color: var(--text-white); font-size: 1.8rem; cursor: pointer; z-index: 1001; /* encima del menú */ }
  .nav {position: absolute; top: 60px; right: 16px; width: 220px; flex-direction: column; gap: 12px; background: var(--bg-deep-teal); padding: var(--space-16); border-radius: var(--radius-12); box-shadow: var(--shadow); z-index: 10000;
    /* Animación */
    max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-10px); transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease; }
  .nav.show { max-height: 500px; /* suficiente para mostrar enlaces */ opacity: 1; transform: translateY(0); }
}






