:root {
  --primary: #141414;
  --secondary: #1f1f1f;
  --accent: #E50914;
  --accent-hover: #F40612;
  --gold: #FFD700;
  --text: #FFFFFF;
  --text-secondary: #999999;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--primary); color: var(--text); line-height: 1.6; }

.nav {
  background: linear-gradient(var(--primary), transparent);
  padding: 20px 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, box-shadow .3s;
}
.nav.scrolled {
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.logo { color: var(--accent); font-size: 1.8em; font-weight: bold; text-decoration: none; display:flex; align-items:center; gap:10px; }
.logo img { height: 100px; width: auto; display:block; }

.nav-right { display:flex; gap:15px; align-items:center; }

.nav-links { display:flex; gap:18px; align-items:center; }
.nav-links a{
  color: var(--text-secondary);
  text-decoration:none;
  font-weight:600;
  transition: color .2s;
  font-size: .98em;
}
.nav-links a:hover { color: var(--text); }

.language-switch {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s;
  font-weight: 500;
  white-space: nowrap;
}
.language-switch:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.language-switch i { margin-right: 8px; }

.banner {
  height: 50vh;
  background: linear-gradient(rgba(20,20,20,0.7), var(--primary)),
              url('https://i.pinimg.com/1200x/30/35/16/303516b3d848265807856338aabd9572.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 70px;
}
.banner-content { max-width: 900px; padding: 0 20px; }
.banner h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.banner p { font-size: 1.2em; color: var(--text-secondary); margin-bottom: 18px; }
.banner small { display:block; color: rgba(255,255,255,.7); }

.btn {
  background: var(--accent);
  color: var(--text);
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items:center;
  gap:10px;
  justify-content:center;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(0px); }

.features-section {
  padding: 80px 5%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  position: relative;
}
.stats-section {
  padding: 60px 5%;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
              url('https://i.pinimg.com/1200x/30/35/16/303516b3d848265807856338aabd9572.jpg') center/cover fixed;
  position: relative;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: var(--accent);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.feature-card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
}
.feature-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); border-color: var(--accent); }
.feature-card i { font-size: 3em; color: var(--accent); margin-bottom: 20px; }
.feature-card h3 { color: var(--gold); margin-bottom: 15px; font-size: 1.5em; }
.feature-card p { color: var(--text-secondary); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-card { padding: 30px; background: rgba(255,255,255,0.05); border-radius: 15px; transition: all 0.3s; }
.stat-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.stat-card h3 { font-size: 2.5em; color: var(--accent); margin-bottom: 10px; }
.stat-card p { color: var(--text); font-size: 1.1em; text-transform: uppercase; letter-spacing: 1px; }

.apps { padding: 50px 5%; max-width: 1400px; margin: 0 auto; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.app-card {
  background: var(--secondary);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}
.app-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); border-color: var(--accent); }

.app-image-container { position: relative; overflow: hidden; }
.app-image-container::after {
  content:'';
  position:absolute; bottom:0; left:0; right:0;
  height:100px;
  background: linear-gradient(transparent, var(--secondary));
  pointer-events:none;
}

.app-image { width: 100%; height: 200px; object-fit: cover; cursor: pointer; display:block; background:#000; }
.app-image--placeholder {
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.75);
  font-weight: 700;
  letter-spacing:.3px;
  background:
    radial-gradient(circle at 20% 10%, rgba(229,9,20,.18), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255,215,0,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.app-image--placeholder i{ color: rgba(255,255,255,.85); margin-right:10px; }

.app-content { padding: 20px; }
.app-title { font-size: 1.5em; color: var(--gold); margin-bottom: 10px; }
.app-price {
  color: var(--accent);
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(229,9,20,0.1);
  border-radius: 20px;
}
.app-description { color: var(--text-secondary); margin-bottom: 20px; }

.features-list { list-style: none; margin-bottom: 20px; }
.features-list li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary);
  word-break: break-word;
}
.features-list li:before { content: "★"; position: absolute; left: 0; color: var(--gold); }

.app-actions { display:flex; gap:10px; margin-top: 20px; flex-wrap: wrap; }
.video-btn { background: #8B008B; }
.video-btn:hover { background: #9400D3; }

.view-gallery {
  position:absolute; bottom: 10px; right:10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1;
  display:flex; align-items:center; gap:8px;
}
.view-gallery:hover { background: var(--accent); transform: translateY(-2px); }

/* Modal overlay base */
.modal-overlay {
  display:none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.8);
  z-index: 999;
}

/* Contact modal */
.contact-modal {
  display:none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--secondary);
  padding: 30px;
  border-radius: 15px;
  z-index: 1000;
  box-shadow: 0 5px 30px rgba(0,0,0,0.5);
  text-align: center;
  min-width: 320px;
  border: 1px solid rgba(255,255,255,0.1);
}
.contact-buttons { display:flex; gap:15px; margin-top: 20px; }
.contact-btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display:flex; align-items:center; justify-content:center;
  gap:10px;
  font-size: 1.05em;
  text-decoration:none;
  transition: transform 0.3s;
  user-select:none;
}
.contact-btn:hover { transform: translateY(-2px); }
.telegram-btn { background:#0088cc; }
.whatsapp-btn { background:#25D366; }

/* Gallery modal */
.gallery-modal {
  display:none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  overflow: hidden;
}
.gallery-content {
  position: relative;
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.gallery-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}
.gallery-nav {
  position:absolute; top:50%;
  transform: translateY(-50%);
  padding: 20px;
  color: white;
  cursor: pointer;
  font-size: 2em;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  transition: all 0.3s;
  z-index: 2001;
  width: 60px; height: 60px;
  display:flex; align-items:center; justify-content:center;
  user-select:none;
}
.gallery-nav:hover { background: var(--accent); transform: translateY(-50%) scale(1.1); }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

.gallery-close {
  position: absolute;
  top: 20px; right: 20px;
  color: white;
  font-size: 2em;
  cursor: pointer;
  z-index: 2001;
  background: rgba(0,0,0,0.5);
  width: 50px; height: 50px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  transition: all 0.3s;
  user-select:none;
}
.gallery-close:hover { background: var(--accent); transform: scale(1.1); }

.gallery-thumbs {
  position:absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display:flex; gap: 10px;
  z-index: 2001;
  background: rgba(0,0,0,0.5);
  padding: 10px;
  border-radius: 10px;
  max-width: min(92vw, 900px);
  overflow:auto;
}
.gallery-thumb {
  width: 60px; height: 40px;
  object-fit: cover;
  cursor:pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  opacity: .7;
  border-radius: 5px;
  flex: 0 0 auto;
}
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: var(--accent); opacity: 1; }

/* Video modal */
.video-modal {
  display:none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  overflow: hidden;
}
.video-content {
  position: relative;
  width:100%; height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.video-container {
  width: 90%;
  max-width: 1000px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0,0,0,0.5);
  background: #000;
}
.video-container iframe {
  width: 100%;
  height: 56.25vw;
  max-height: 562.5px;
  border: none;
  display:block;
}
.video-close {
  position:absolute;
  top: 20px; right: 20px;
  color: white;
  font-size: 2em;
  cursor:pointer;
  z-index: 2001;
  background: rgba(0,0,0,0.5);
  width: 50px; height: 50px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  transition: all 0.3s;
  user-select:none;
}
.video-close:hover { background: var(--accent); transform: scale(1.1); }

.footer {
  background: var(--secondary);
  padding: 60px 5% 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col h3 { color: var(--gold); margin-bottom: 20px; font-size: 1.2em; }
.footer-menu { list-style:none; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a {
  color: var(--text-secondary);
  text-decoration:none;
  transition: color 0.3s;
  display:flex;
  align-items:center;
  gap: 8px;
}
.footer-menu a:hover { color: var(--accent); }

.footer-bottom {
  text-align:center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
}

/* ==== Footer estable: no debe moverse al hacer click/focus ==== */
.footer-grid{ align-items: start; }
.footer-menu a{
  display: inline-flex;
  min-height: 34px;
  line-height: 1.2;
  padding: 4px 0;
  box-sizing: border-box;
}
.footer-menu a:focus,
.footer-menu a:active{ outline: none; }
.footer-menu a:focus-visible{
  outline: 2px solid rgba(255,255,255,.18);
  outline-offset: 2px;
  border-radius: 6px;
}
.footer-menu i{
  width: 18px;
  text-align: center;
  flex: 0 0 18px;
}

html, body{ overflow-x: hidden; }

/* =========================================================
   ADMIN PANEL PRO (NO rompe el sitio público)
========================================================= */

/* Layout */
.admin-wrap{
  width: min(1120px, calc(100% - 28px));
  margin: 94px auto 34px;
}
.admin-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 45px rgba(0,0,0,.45);
}

/* Topbar */
.topbar{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  flex-wrap:wrap; margin-bottom:14px;
}
.topbar-left{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-weight:800;
}
.muted{ color: rgba(255,255,255,.65); }

/* Search */
.search{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  min-width: min(520px, 100%);
  transition: background .18s ease, border-color .18s ease;
}
.search:focus-within{
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.18);
}
.search input{
  width:100%; background: transparent; border:none; outline:none;
  color: rgba(255,255,255,.92);
}

/* Table */
.admin-table{ width:100%; border-collapse: separate; border-spacing: 0; overflow:hidden; border-radius: 16px; border:1px solid rgba(255,255,255,.12); }
.admin-table thead th{
  text-align:center; vertical-align: middle;
  padding: 12px 10px;
  font-weight:900; letter-spacing:.2px;
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.admin-table td{
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: middle;
  color: rgba(255,255,255,.80);
}
.admin-table tr:hover td{ background: rgba(255,255,255,.03); }
.admin-table tr:last-child td{ border-bottom:none; }

.admin-table th:nth-child(1), .admin-table td:nth-child(1),
.admin-table th:nth-child(2), .admin-table td:nth-child(2),
.admin-table th:nth-child(4), .admin-table td:nth-child(4),
.admin-table th:nth-child(5), .admin-table td:nth-child(5){
  text-align:center !important;
}
.admin-table td:nth-child(4){ font-weight:900; letter-spacing:.2px; }

/* Cells */
.title-cell{ display:flex; align-items:center; gap:12px; }
.thumb{
  width:64px; height:42px; border-radius:12px; overflow:hidden;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,.55);
  flex:0 0 auto;
}
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

.row-actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:center; }

/* Pager */
.pager{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top: 14px; }
.pages{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.page{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:40px; padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  text-decoration:none;
  font-weight:900;
  transition: background .18s ease, transform .18s ease;
}
.page:hover{ background: rgba(255,255,255,.10); transform: translateY(-1px); }
.page.active{ background: rgba(229,9,20,.18); border-color: rgba(229,9,20,.30); color: #fff; }

/* Footer admin */
.admin-footer{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.65);
  text-align:center;
  font-size: .92em;
}

/* Badge */
.badge{
  display:inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(229,9,20,0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: .9em;
}

/* Buttons admin: no uppercase */
.admin-wrap .btn{
  text-transform: none;
  letter-spacing: .2px;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
}
.admin-wrap .btn.small{ padding: 9px 11px; font-size: .88em; border-radius: 12px; }
.admin-wrap .btn.gray{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}
.admin-wrap .btn.gray:hover{ background: rgba(255,255,255,.12); }
.admin-wrap .btn.danger{
  background: rgba(229,9,20,.14);
  border-color: rgba(229,9,20,.30);
}
.admin-wrap .btn.danger:hover{
  background: rgba(229,9,20,.22);
  border-color: rgba(229,9,20,.40);
}

/* Flechas ordenar: súper pequeñas (solo col 1) */
.admin-table td:nth-child(1) .row-actions{ gap: 6px; margin-top: 6px !important; }
.admin-table td:nth-child(1) .row-actions .btn.small.gray{
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.admin-table td:nth-child(1) .row-actions .btn.small.gray i{ font-size: 12px; }

/* Inputs admin */
.admin-input, .admin-textarea{
  width:100%;
  padding: 10px;
  background: var(--primary);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  border-radius: 12px;
}
.admin-textarea{ min-height: 110px; resize: vertical; }
.admin-label{ display:block; margin: 12px 0 6px; color: var(--gold); font-weight:600; }
.admin-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

/* Focus pro */
.admin-input:focus, .admin-textarea:focus{
  outline: none;
  border-color: rgba(229,9,20,.45);
  box-shadow: 0 0 0 3px rgba(229,9,20,.15);
}

/* ===== Admin Modals ===== */
.modal-overlay-admin{
  display:none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.70);
  z-index: 5000;
}
.modal-admin{
  display:none;
  position: fixed;
  inset: 0;
  z-index: 5001;
  overflow:auto;
  padding: 16px 12px;
}
.modal-card{
  max-width: 560px;
  margin: 0 auto;
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0,0,0,.60);
  padding: 14px;
  position: relative;
  animation: adminModalPop .16s ease-out;
}
.modal-card::before{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 3px;
  border-radius: 999px;
  background: rgba(229,9,20,.60);
}
@keyframes adminModalPop{
  from{ transform: translateY(6px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}
.modal-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom: 8px;
  padding-top: 8px;
}
.modal-title{
  color: var(--gold);
  font-size: 1.05em;
  font-weight: 900;
}
.iconbtn{
  width:40px; height:40px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease;
}
.iconbtn:hover{ background: rgba(255,255,255,.12); transform: translateY(-1px); }

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.span-2{ grid-column: span 2; }
.modal-card .admin-textarea{ min-height: 90px; }

/* Confirm */
.confirm-card{ max-width: 480px; }
.confirm-body{ color: rgba(255,255,255,.75); margin-top: 6px; line-height: 1.45; }
.confirm-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  margin-top: 14px;
  flex-wrap:wrap;
}

/* ===== Toast Admin ===== */
.toast-wrap{
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display:flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: min(560px, calc(100vw - 28px));
}
.toast{
  pointer-events: auto;
  width: 100%;
  background: rgba(20,20,20,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0,0,0,.50);
  padding: 12px 12px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  animation: toastIn .18s ease-out;
}
@keyframes toastIn{
  from{ transform: translateY(-6px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}
.toast.hide{
  opacity: 0;
  transform: translateY(-6px);
  transition: all .22s ease;
}
.toast .ic{
  width: 38px; height: 38px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  flex:0 0 auto;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}
.toast.success .ic{ background: rgba(46,204,113,.14); border-color: rgba(46,204,113,.25); }
.toast.error .ic{ background: rgba(229,9,20,.14); border-color: rgba(229,9,20,.25); }
.toast .tt{ font-weight: 900; margin-bottom: 2px; }
.toast .msg{ color: rgba(255,255,255,.75); font-size: .95em; line-height: 1.35; }
.toast .x{
  margin-left:auto;
  width: 34px; height: 34px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}
.toast .x:hover{ background: rgba(255,255,255,.12); }

/* Responsive */
@media (max-width: 768px) {
  .banner h1 { font-size: 2.5em; }
  .section-title { font-size: 2em; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-nav { padding: 15px; width: 40px; height: 40px; }
  .gallery-thumb { width: 40px; height: 30px; }
  .nav-links { display:none; }
  .nav-right { gap: 8px; }
  .language-switch { padding: 6px 10px; font-size: 0.9em; }

  .search{ min-width: 100%; }
  .form-grid{ grid-template-columns: 1fr; }
  .span-2{ grid-column: span 1; }
}

@media (max-width: 480px) {
  .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 20px; }
  .gallery-thumbs { display:none; }
  .app-actions { flex-direction: column; }
  .contact-buttons { flex-direction: column; }
  .contact-modal { width: calc(100% - 24px); min-width: auto; }
}
