:root {
  --forest: #1a2218;
  --leaf: #78c091;
  --gold: #f5c518;
  --cream: #f5f7f2;
  --text-soft: #d0e0d8;
  --glass: rgba(255,255,255,0.03);
  --glass-strong: rgba(20, 28, 22, 0.65);
  --border: rgba(255,255,255,0.10);
  --border-soft: rgba(255,255,255,0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--forest);
  color: var(--cream);
  line-height: 1.7;
  top: 0px !important; /* Corrección para el banner de Google */
}

h1, h2, h3 { font-family: 'Playfair Display', serif; margin: 0 0 12px; }
p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--text-soft); }
.small { font-size: .95rem; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.page-enter { animation: fadeInUp .8s ease-out; }

/* --- TRADUCTOR DE GOOGLE INTEGRADO --- */
#google_translate_element {
    padding: 10px;
    background: rgba(0,0,0,0.2);
    text-align: right;
    border-bottom: 1px solid var(--border-soft);
}
.goog-te-gadget-simple {
    background-color: rgba(255,255,255,0.05) !important;
    border: 1px solid var(--border-soft) !important;
    padding: 5px 10px !important;
    border-radius: 8px !important;
}
.goog-te-gadget-simple span { color: var(--cream) !important; font-size: 12px !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; } /* Esconde la barra superior de Google */

/* --- BARRA SUPERIOR --- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,20,15,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { font-weight: 700; text-decoration: none; letter-spacing: .4px; font-size: 1.2rem; }

.nav { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.nav a { opacity: .92; text-decoration: none; font-size: .95rem; transition: 0.3s; }
.nav a:hover { opacity: 1; color: var(--leaf); }

/* --- BOTONES --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  border: 1px solid rgba(120,192,145,0.35);
  background: rgba(255,255,255,.05);
  transition: .25s ease;
  color: #fff;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); border-color: var(--leaf); background: rgba(120, 192, 145, 0.16); }

.btn--primary {
  background: linear-gradient(135deg,#5ba875,#3a6b35);
  border: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

/* --- HERO --- */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg,rgba(0,0,0,0.30),rgba(10,20,15,0.92)),
    url("../img/20231221_173403.jpg") center/cover no-repeat;
}
.hero__box {
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 52px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}
.hero h1 { font-size: 48px; margin: 0 0 14px; }

/* --- SECCIONES Y GRIDS --- */
.section { padding: 78px 0; border-top: 1px solid var(--border-soft); }
.box {
  background: var(--glass);
  padding: 50px; border-radius: 40px;
  border: 1px solid rgba(120,192,145,0.12);
}
h2.section__title {
  font-size: 34px; color: var(--leaf);
  margin: 0 0 22px;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(120,192,145,0.22);
}
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 18px;
}

/* --- FORMULARIOS Y FOTOS --- */
.form label { display: block; font-weight: 600; margin-top: 12px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; margin-top: 8px; border-radius: 16px;
  border: 1px solid rgba(120,192,145,0.35);
  background: rgba(255,255,255,0.05);
  color: var(--cream);
  outline: none;
}
.file-input { 
  background: rgba(255,255,255,0.08) !important; 
  border: 1px dashed var(--leaf) !important;
  cursor: pointer;
}
.form select option { background: var(--forest); }

/* --- FOOTER --- */
.footer {
  padding: 34px 0;
  border-top: 1px solid var(--border-soft);
  background: rgba(10,20,15,0.65);
  text-align: center;
}

/* --- RESPONSIVE (MÓVIL) --- */
@media(max-width: 860px) {
  .nav, .nav__cta { display: none; }
  .topbar__inner { justify-content: center; }
  .sticky-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px; background: rgba(10,20,15,0.9); backdrop-filter: blur(10px); z-index: 60; border-top: 1px solid var(--border-soft); gap: 10px; }
  .sticky-cta a { flex: 1; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero__box, .box { padding: 28px; border-radius: 28px; }
  .grid2 { grid-template-columns: 1fr; }
}