/* ============================================================
   200 Mates — style.css  
   ============================================================ */

:root {
  --verde:        #3d5c35;
  --verde-light:  #5a7d52;
  --verde-dark:   #283d22;
  --verde-glow:   rgba(61, 92, 53, 0.35);
  --yerba:        #7a9e52;
  --tierra:       #b8945e;
  --tierra-light: #d8c5a0;
  --parchment:    #f0e8d8;
  --dark:         #0e100c;
  --dark-2:       #131510;
  --dark-3:       #1a1e14;
  --dark-4:       #1f2419;
  --mid:          #2e332a;
  --text:         #e2ddd3;
  --text-muted:   #7a7868;
  --text-faint:   #484840;
  --border:       rgba(120, 158, 82, 0.18);
  --border-warm:  rgba(184, 148, 94, 0.22);
  --radius:       8px;
  --radius-lg:    14px;
  --font:         'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--dark);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9990; opacity: 0.4;
}

/* HEADER ──────────────────────────────────────────────────────*/

.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(12, 13, 10, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.header-inner {
  width: 100%;
  height: 80px;
  display: flex; align-items: center; gap: 16px;
}
.header-title { display: flex; align-items: center; gap: 10px; flex: 1; }
.header-right {
  display: flex; align-items: center; gap: 12px;
  position: relative;
  margin-left: auto;
}
.emoji-big { font-size: 30px; line-height: 1; }

h1 {
  font-family: var(--font);
  font-size: 24px; font-weight: 700;
  color: var(--yerba); letter-spacing: -0.4px; margin: 0;
}

.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 9px; padding: 6px 12px;
}
.lang-btn {
  background: none; border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px; font-weight: 500;
  letter-spacing: .1em; cursor: pointer;
  padding: 3px 6px; border-radius: 5px;
  transition: color .15s, background .15s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--yerba); background: rgba(122,158,82,.14); }
.lang-sep { color: var(--text-muted); font-size: 12px; }

/* HAMBURGER ──────────────────────────────────────────────────────*/

.ham-btn {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--dark-3);
  border: 1.5px solid rgba(122,158,82,.4);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; cursor: pointer; padding: 0;
  transition: border-color .2s, background .2s, box-shadow .2s;
  flex-shrink: 0; position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.ham-btn:hover {
  border-color: var(--yerba);
  background: rgba(122,158,82,.12);
  box-shadow: 0 0 14px rgba(122,158,82,.3);
}
.ham-bar {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background .2s, transform .2s, opacity .2s;
}
.ham-btn:hover .ham-bar { background: var(--yerba); }
.ham-btn.is-open .ham-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ham-btn.is-open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham-btn.is-open .ham-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.ham-btn.is-open { border-color: var(--yerba); background: rgba(122,158,82,.1); }
.ham-btn.is-open .ham-bar { background: var(--yerba); }

/* DROPDOWN MENU ──────────────────────────────────────────────────────*/

.drop-menu {
  position: fixed; inset: 0; z-index: 600;
  pointer-events: none; opacity: 0;
  transition: opacity .2s ease;
}
.drop-menu.open { pointer-events: auto; opacity: 1; }

.drop-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
  cursor: pointer; opacity: 0;
  transition: opacity .2s ease;
}
.drop-menu.open .drop-backdrop { opacity: 1; }

.drop-panel {
  position: fixed;
  width: 400px;
  max-height: calc(100vh - 108px);
  background: #090a07;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03);
  transform: translateY(-10px) scale(.97);
  transform-origin: top left;
  transition: transform .28s cubic-bezier(.34,1.4,.64,1), opacity .2s ease;
  opacity: 0;
}
.drop-menu.open .drop-panel { transform: translateY(0) scale(1); opacity: 1; }

.drop-tabs-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.drop-tab {
  background: transparent; border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 8px; letter-spacing: .07em; text-transform: uppercase;
  padding: 12px 5px; cursor: pointer; text-align: center;
  transition: color .15s, background .15s;
  position: relative;
  border-right: 1px solid rgba(255,255,255,.04);
}
.drop-tab:last-child { border-right: none; }
.drop-tab:hover { color: var(--text); background: rgba(255,255,255,.02); }
.drop-tab.active { color: var(--text); }
.drop-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 20%; right: 20%;
  height: 1.5px; background: var(--yerba); border-radius: 2px;
}

.drop-content {
  flex: 1; overflow-y: auto; padding: 18px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.07) transparent;
}
.drop-content::-webkit-scrollbar { width: 3px; }
.drop-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,.09); border-radius: 3px; }

.drop-pane { display: none; animation: paneIn .16s ease; }
.drop-pane.active { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.drop-pane-title {
  font-family: var(--font);
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 11px;
}
.drop-sub { font-size: 10px; color: var(--text-faint); margin-bottom: 13px; }
.drop-content p {
  font-size: 11px; color: var(--text-muted); line-height: 1.7; margin-bottom: 9px; text-align: justify;
}

.btn-drop-cta {
  display: inline-block; margin-top: 4px;
  background: var(--verde-dark);
  border: 1px solid rgba(122,158,82,.4);
  border-radius: 7px; color: var(--yerba);
  font-family: var(--font);
  font-size: 11px; letter-spacing: .05em;
  padding: 7px 14px; text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-drop-cta:hover {
  background: var(--verde); color: var(--parchment);
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(61,92,53,.4);
}

/* FAQs */
.faq-list { display: flex; flex-direction: column; gap: 5px; }
.faq-item {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 7px; overflow: hidden;
}
.faq-q {
  font-size: 11px; color: var(--text);
  padding: 9px 11px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 13px; color: var(--yerba); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 11px; color: var(--text-muted); padding: 0 11px 9px; line-height: 1.65; margin: 0 !important; }

/* Legal */
.legal-block { margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.04); }
.legal-block:last-child { border-bottom: none; }
.legal-block strong { display: block; font-size: 10px; color: var(--tierra-light); margin-bottom: 4px; font-family: var(--font); letter-spacing: .04em; }
.legal-block p { margin-bottom: 0 !important; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 9px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 9px;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 9px; padding: 9px 11px; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.contact-card:hover { border-color: var(--verde-light); background: var(--dark-4); }
.contact-icon { font-size: 15px; color: var(--yerba); margin-top: 1px; flex-shrink: 0; }
.contact-card-title { font-size: 10px; color: var(--text); margin-bottom: 2px; }
.contact-card-email { font-size: 9px; color: var(--text-faint); word-break: break-all; }
.contact-delete-box {
  display: flex; align-items: flex-start; gap: 9px;
  background: rgba(184,148,94,.05); border: 1px solid rgba(184,148,94,.18);
  border-radius: 9px; padding: 9px 11px; margin-bottom: 10px;
}
.contact-delete-box .contact-card-title { color: var(--tierra-light); }
.contact-social { font-size: 10px; color: var(--text-faint); line-height: 1.6; margin-bottom: 0 !important; }

.drop-footer {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.drop-foot-btn {
  background: transparent; border: none;
  border-right: 1px solid rgba(255,255,255,.04);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 8px; letter-spacing: .07em; text-transform: uppercase;
  padding: 10px 5px; text-align: center; cursor: pointer;
  transition: color .15s, background .15s;
}
.drop-foot-btn:last-child { border-right: none; }
.drop-foot-btn:hover { color: var(--text); background: rgba(255,255,255,.02); }
.drop-foot-btn.active { color: var(--yerba); }

/* MAIN LAYOUT ──────────────────────────────────────────────────────*/

.main-layout {
  display: flex;
  height: calc(100vh - 100px);
  overflow: hidden;
  width: 100%;
}

.globe-section {
  flex: 1; position: relative; overflow: hidden; min-height: 0;
  background: radial-gradient(ellipse at 50% 50%, #111608 0%, #080908 100%);
}
#globe-container { width: 100%; height: 100%; position: relative; display: flex; }
#globe { width: 100%; height: 100%; flex: 1; min-height: 500px; }
.globe-hint {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: var(--text-faint);
  letter-spacing: .1em; text-transform: uppercase;
  animation: fadeHint 3s ease 2s forwards; opacity: 1; pointer-events: none;
}
@keyframes fadeHint { to { opacity: 0; } }

/* Side panel */
.side-panel {
  width: 340px; height: 100%; overflow-y: auto;
  background: #131510; border-left: 1px solid rgba(122,158,82,.12);
  display: flex; flex-direction: column;
  scrollbar-width: thin; scrollbar-color: var(--mid) transparent;
}
.side-panel::-webkit-scrollbar { width: 3px; }
.side-panel::-webkit-scrollbar-thumb { background: var(--mid); border-radius: 3px; }

.panel-block { padding: 18px 16px; }
.panel-divider { height: 1px; background: rgba(122,158,82,.12); margin: 0; }

.panel-title {
  font-family: var(--font);
  font-size: 16px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}

/* Badge */
.badge-custom {
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: .12em;
  padding: 5px 13px;
  border-radius: 5px;
  font-weight: 700;
}
.badge-green { background: rgba(122,158,82,.15); color: var(--yerba); border: 1px solid rgba(122,158,82,.35); }
.badge-warm  { background: rgba(184,148,94,.1);  color: var(--tierra); border: 1px solid rgba(184,148,94,.25); }

/* GALLERY ──────────────────────────────────────────────────────*/

.gallery-grid { display: flex; flex-direction: column; gap: 8px; }

.gallery-card {
  display: flex; align-items: center; gap: 14px;
  background: #1a1e14; border: 1px solid rgba(122,158,82,.14);
  border-radius: 8px; padding: 10px 12px; cursor: pointer;
  transition: border-color .18s, background .18s;
  animation: cardIn .35s ease both;
}
.gallery-card:hover { border-color: rgba(122,158,82,.32); background: var(--dark-4); }
@keyframes cardIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

.gallery-card img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  background: var(--dark-4);
  border: 2px solid rgba(122,158,82,.25);
}

.gallery-info {
  display: flex; flex-direction: column; justify-content: center;
  gap: 4px; overflow: hidden; min-width: 0;
}

.gallery-name {
  font-family: var(--font);
  font-size: 16px; font-weight: 600;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.2;
  display: block;
}

.gallery-country {
  font-size: 14px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 400;
}

.skeleton-card {
  height: 74px;
  background: linear-gradient(90deg,var(--dark-3) 25%,var(--dark-4) 50%,var(--dark-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 10px; border: 1px solid var(--border);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* FORM ──────────────────────────────────────────────────────*/

.form-desc { display: none; }

.form-section-title {
  font-family: var(--font);
  font-size: 22px; font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.gps-status {
  font-size: 12px;
  background: rgba(184,148,94,.07);
  border: 1px solid rgba(184,148,94,.2);
  border-radius: 8px;
  padding: 9px 13px;
  margin-bottom: 11px;
  color: var(--tierra-light);
}

.field-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }

.field-label {
  font-family: var(--font);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  font-weight: 600;
}
.optional-tag { text-transform: none; font-size: 9px; color: var(--text-faint); letter-spacing: 0; margin-left: 3px; }

.field-group:has(#name) .field-label,
.field-group:has(#country) .field-label,
.field-group:has(#brand) .field-label { display: none; }

.field-input {
  background: var(--dark-3);
  border: 1px solid rgba(122,158,82,.18);
  border-radius: 7px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 12px;
  outline: none; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.field-input:focus { border-color: rgba(122,158,82,.45); box-shadow: 0 0 0 2px rgba(61,92,53,.2); }
.field-input::placeholder { color: var(--text-faint); }
.field-input[readonly] { background: rgba(61,92,53,.08); }

.prep-toggle {
  display: flex; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(122,158,82,.15);
}
.prep-btn {
  flex: 1; background: var(--dark-3); border: none;
  color: var(--text-muted);
  font-family: var(--font); font-size: 13px;
  padding: 11px 4px; cursor: pointer;
  transition: background .15s, color .15s;
  position: relative;
}
.prep-btn + .prep-btn::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(122,158,82,.15);
}
.prep-btn:hover { background: var(--dark-4); color: var(--text); }
.prep-btn.active { background: var(--verde); color: #fff; font-weight: 500; }

.file-drop {
  position: relative;
  border: 1px dashed rgba(184,148,94,.25);
  border-radius: 8px;
  background: var(--dark-3);
  transition: border-color .2s, background .2s;
  overflow: hidden;
}
.file-drop:hover, .file-drop.drag-over {
  border-color: var(--tierra);
  background: rgba(184,148,94,.04);
}
.file-drop input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2;
}
.file-drop-inner {
  padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none;
}
.file-icon-bs { font-size: 22px; color: var(--tierra); }
.file-text { font-size: 13px; color: var(--text-muted); }
.file-sub  { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em; }

.photo-preview { width: 100%; max-height: 150px; object-fit: contain; display: block; }

.btn-submit-main {
  width: 100%; padding: 14px;
  background: var(--verde);
  border: none; border-radius: 8px;
  color: #fff;
  font-family: var(--font);
  font-size: 17px; font-weight: 600;
  cursor: pointer; letter-spacing: .02em;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 3px 16px rgba(61,92,53,.3);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 6px;
}
.btn-submit-main:hover:not(:disabled) {
  background: var(--verde-light);
  transform: translateY(-1px);
  box-shadow: 0 5px 22px rgba(61,92,53,.42);
}
.btn-submit-main:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* POPUP & LIGHTBOX ──────────────────────────────────────────────────────*/

.globe-popup {
  position: fixed; z-index: 9999;
  background: rgba(12,13,10,.96); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 11px; width: 165px;
  font-size: 11px; color: var(--text); pointer-events: none;
  box-shadow: 0 8px 28px rgba(0,0,0,.8); text-align: center; backdrop-filter: blur(8px);
}
.globe-popup img { width: 100%; border-radius: 7px; margin-top: 7px; display: block; }
.popup-name    { font-family: var(--font); font-size: 13px; font-weight: 600; display: block; margin-bottom: 2px; }
.popup-country { color: var(--text-muted); font-size: 10px; }
.popup-brand   { color: var(--yerba); font-size: 10px; margin-top: 2px; display: block; }

.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox-bg { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(8px); cursor: pointer; }

.lightbox-card {
  position: relative; z-index: 1;
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  max-width: 660px !important; width: 94% !important;
  max-height: 90vh !important;
  display: flex; flex-direction: column;
  overflow-y: auto;
  animation: lbIn .22s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--mid) transparent;
}
.lightbox-card::-webkit-scrollbar { width: 3px; }
.lightbox-card::-webkit-scrollbar-thumb { background: var(--mid); border-radius: 3px; }

@keyframes lbIn { from{opacity:0;transform:scale(.94) translateY(8px);} to{opacity:1;transform:none;} }

.lightbox-card img {
  width: 100%;
  max-height: 55vh !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #000;
}

.lightbox-info { padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.lightbox-info .lb-name    { font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--text); }
.lightbox-info .lb-country { font-size: 12px; color: var(--text-muted); }
.lightbox-info .lb-detail  { font-size: 11px; color: var(--yerba); margin-top: 1px; }

.lightbox-info .lb-id {
  font-size: 13px;
  color: var(--text);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(122,158,82,.06);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}
.lightbox-info .lb-id strong {
  color: var(--yerba);
  font-size: 15px;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: .02em;
}
.lb-id-copy {
  cursor: pointer; background: none;
  border: 1px solid rgba(122,158,82,.35); border-radius: 5px;
  color: var(--text-muted); font-family: var(--font);
  font-size: 11px; padding: 3px 9px;
  transition: color .15s, border-color .15s, background .15s;
}
.lb-id-copy:hover { color: var(--yerba); border-color: rgba(122,158,82,.6); background: rgba(122,158,82,.08); }
.lb-id-copy.copied { color: var(--yerba); border-color: rgba(122,158,82,.4); }
.delete-note { font-size: 10px; color: var(--text-faint); margin-top: 5px; line-height: 1.5; }

.lightbox-close {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.6); border: 1px solid var(--border);
  border-radius: 50%; color: var(--text);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; z-index: 2;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.1); }

/* HEADER STATS ──────────────────────────────────────────────────────*/

.header-stats {
  display: flex; align-items: center; gap: 14px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 8px 18px;
}
.hstat { display: flex; flex-direction: row; align-items: baseline; gap: 5px; }
.hstat-num {
  font-family: var(--font);
  font-size: 22px; font-weight: 700; line-height: 1;
  color: var(--yerba);
  min-width: 2ch; text-align: center;
  transition: color .3s;
}
.hstat-label {
  font-family: var(--font);
  font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hstat-sep { font-size: 18px; color: var(--border); user-select: none; line-height: 1; }

/* SUCCESS MODAL ──────────────────────────────────────────────────────*/

.smodal {
  position: fixed; inset: 0; z-index: 11000;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity .25s ease;
}
.smodal.open { pointer-events: auto; opacity: 1; }

.smodal-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.smodal-card {
  position: relative; z-index: 1;
  width: 85% !important; max-width: 280px !important;
  background: #090a07;
  border: 1px solid rgba(122,158,82,.22);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 28px 70px rgba(0,0,0,.9);
  transform: translateY(18px) scale(.96); opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.4,.64,1), opacity .28s ease;
}
.smodal.open .smodal-card { transform: translateY(0) scale(1); opacity: 1; }

.smodal-top {
  position: relative; height: 80px;
  background: radial-gradient(ellipse at 50% 110%, rgba(61,92,53,.5) 0%, rgba(12,13,10,0) 70%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.smodal-glow {
  position: absolute; width: 160px; height: 70px;
  bottom: -18px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(122,158,82,.15) 0%, transparent 70%);
  pointer-events: none;
}
.smodal-mate-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.smodal-mate-emoji {
  font-size: 36px; line-height: 1;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,.7));
  animation: mateWobble .6s ease .1s both;
}
@keyframes mateWobble {
  0%   { transform: scale(.5) rotate(-8deg); opacity: 0; }
  60%  { transform: scale(1.1) rotate(3deg); opacity: 1; }
  80%  { transform: scale(.95) rotate(-1deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.smodal-steam {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 55px; height: 36px; pointer-events: none;
}
.steam-particle {
  position: absolute; bottom: 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(122,158,82,.45);
  animation: steamRise linear infinite;
}
@keyframes steamRise {
  0%   { transform: translateY(0) scale(1); opacity: .55; }
  100% { transform: translateY(-38px) scale(2.4); opacity: 0; }
}
.smodal-body {
  padding: 2px 18px 18px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 7px;
}
.smodal-title {
  font-family: var(--font);
  font-size: 16px; font-weight: 700; color: var(--text); margin: 0;
  animation: fadeUp .4s ease .2s both;
}
.smodal-body1 { font-size: 11px; color: var(--text-muted); line-height: 1.65; margin: 0; animation: fadeUp .4s ease .28s both; }
.smodal-divider {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,148,94,.35), transparent);
  animation: fadeUp .4s ease .32s both;
}
.smodal-body2 { font-size: 10px; color: var(--text-faint); line-height: 1.55; margin: 0; animation: fadeUp .4s ease .36s both; }
.smodal-btn {
  margin-top: 5px; padding: 10px 24px;
  background: var(--verde); border: none; border-radius: 8px;
  color: var(--parchment);
  font-family: var(--font);
  font-size: 14px; font-weight: 600; cursor: pointer; letter-spacing: .02em;
  box-shadow: 0 3px 16px rgba(61,92,53,.32);
  transition: background .2s, transform .15s, box-shadow .2s;
  animation: fadeUp .4s ease .42s both;
}
.smodal-btn:hover { background: var(--verde-light); transform: translateY(-1px); box-shadow: 0 5px 22px rgba(61,92,53,.46); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* RESPONSIVE ──────────────────────────────────────────────────────*/

@media (max-width: 768px) {
  .main-layout { flex-direction: column; height: auto; }
  .globe-section { height: 55vw; min-height: 260px; max-height: 380px; flex: none; }
  .side-panel { width: 100%; height: auto; border-left: none; border-top: 1px solid var(--border); }
  h1 { font-size: 16px; }

  .lang-switcher {
    padding: 4px 8px;
    border-radius: 7px;
    gap: 2px;
  }
  .lang-btn {
    font-size: 11px;
    padding: 2px 5px;
  }
  .lang-sep { font-size: 10px; }

  .drop-panel { width: calc(100vw - 14px); left: 7px !important; right: auto !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .header-stats { display: none; }
  .lightbox-card { max-width: 96vw; }
  .lightbox-card img { max-height: 45vh; object-fit: contain; }
}

#country {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a7868' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px; 

  cursor: pointer;
}

#country:focus {
  border-color: rgba(122,158,82,.45);
  box-shadow: 0 0 0 2px rgba(61,92,53,.2);
  outline: none;
}

#country option {
  background: var(--dark-3);
  color: var(--text);
}

#country option:disabled {
  color: var(--text-faint);
}

#country:has(option[value=""]:checked) {
  color: var(--text-faint);
}

#country {
  color: var(--text); 
}

@media (max-width: 380px) {
  h1 { font-size: 13px; }
  .emoji-big { font-size: 22px; }
  .lang-btn { font-size: 10px; padding: 2px 4px; }
}


/* INSTAGRAM BUTTON ──────────────────────────────────────────*/
.ig-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 9px; padding: 8px 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font);
  font-size: 13px; font-weight: 500;
  transition: color .18s, border-color .18s, background .18s;
  white-space: nowrap;
}
.ig-btn i { font-size: 16px; }
.ig-btn:hover {
  color: white;
  border-color: #7a9e52;
  background: 484840;
}

/* En mobile: ocultar el texto, solo mostrar el ícono */
@media (max-width: 768px) {
  .ig-label { display: none; }
  .ig-btn { padding: 8px 10px; border-radius: 8px; }
}