/* === VARIABLES Y RESET === */
:root{
  --rojo: #8A0100;
  --negro: #131213;
  --offwhite: #C9C8C9;
  --text: #ffffff;
  --muted: #bdbdbd;
  --bubble-h: 54px;
  --bubble-pad: 18px;
  --max-width: 1200px;
  --transition: 200ms cubic-bezier(.2,.9,.2,1);
  --header-h: calc(var(--bubble-h) + 28px);

}

*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background:#000;color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  padding-top:var(--header-h);
}
.container{max-width:var(--max-width);margin:0 auto;padding:0 20px}

/* ================= HEADER ================= */
.site-header{
  position:fixed;top:0;left:0;right:0;height:var(--header-h);
  z-index:120;display:flex;align-items:center;
  padding:12px 0;background:transparent;
}
.header-inner{
  display:flex;align-items:center;gap:16px;width:100%;
  position:relative;justify-content:space-between;
}
.header-left{display:flex;align-items:center;z-index:400;padding-left:4px}
.logo-link{display:inline-block}
.logo-img{height:36px;display:block}

/* === BURBUJA GENÉRICA === */
.bubble{
  display:inline-flex;align-items:center;gap:10px;
  border-radius:999px;padding:0 var(--bubble-pad);
  height:var(--bubble-h);
  background:rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.04);
  color:var(--offwhite);
  font-family:'Montserrat',sans-serif;font-weight:600;
  cursor:pointer;
  transition:transform var(--transition), background-color var(--transition);
  flex-shrink:0;
}
.bubble:hover{ transform: scale(1.06); }

.nav-item, .nav-link, .nav-text, .lang-name, .bubble-login{
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:15px;letter-spacing:.2px;line-height:1;
}

/* === BURBUJA CENTRAL === */
.header-center{
  position:absolute;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:12px;z-index:400;
  justify-content:center;padding:0 18px;
}
.main-bubble{
  position:relative;
  display:flex;align-items:center;gap:18px;
  padding:0 16px;border-radius:999px;height:var(--bubble-h);
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.04);
  max-width:580px;min-width:260px;box-sizing:border-box;
}
.nav-item{display:inline-flex;align-items:center;gap:8px;height:var(--bubble-h);padding:0 6px;background:transparent;border:0;color:var(--offwhite);cursor:pointer;text-decoration:none;}
.nav-link{color:var(--offwhite);text-decoration:none;display:inline-flex;align-items:center;height:var(--bubble-h);padding:0 6px;}
.chev{font-size:.9em;transition:transform var(--transition)}

/* === DROPDOWNS === */
.dropdown{
  position:absolute;top:calc(100% + 8px);left:0;
  min-width:160px;
  background:rgba(18,18,18,0.86);
  color:var(--offwhite);
  border-radius:10px;
  padding:6px 6px;
  box-shadow:0 18px 40px rgba(0,0,0,0.6);
  opacity:0;pointer-events:none;
  transform:translateY(6px);
  transition:opacity 160ms ease, transform 200ms ease;
  z-index:1000;
}
.dropdown.open{ opacity:1; pointer-events:auto; transform:translateY(0); }
.dropdown-item{
  display:block;padding:10px 14px;margin:0;color:var(--offwhite);
  text-decoration:none;font-family:'Montserrat',sans-serif;font-weight:600;
  border:none;background:transparent;border-radius:8px;
}
.dropdown-item + .dropdown-item{ margin-top:4px; }
.dropdown-item:hover{ background: rgba(255,255,255,0.04); color:var(--rojo); }

/* === LADO DERECHO === */
.header-right{ margin-left:auto; display:flex; align-items:center; gap:12px; z-index:400; }
.bubble-lang{
  position:relative;
  display:inline-flex; align-items:center; gap:8px;
  padding:0 12px; height:var(--bubble-h);
  border-radius:999px; background:rgba(255,255,255,0.02);
}
.lang-btn{ background:none; border:0; cursor:pointer; display:inline-flex; align-items:center; gap:8px; padding:0; height:var(--bubble-h); color:var(--offwhite); font-weight:600; }
.lang-icon{ width:18px; height:18px; display:block; object-fit:contain; }
.bubble-login{
  background:var(--rojo); color:var(--text); height:var(--bubble-h);
  padding:0 18px; border-radius:999px; display:inline-flex;
  align-items:center; justify-content:center; border:0;
  text-decoration:none; box-shadow:0 10px 26px rgba(138,1,0,0,0.18);
}
.shop-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:var(--bubble-h);height:var(--bubble-h);
  padding:0;background:transparent;border:0;cursor:pointer;
  border-radius:10px;
  transition:transform var(--transition), background-color var(--transition), filter var(--transition);
  flex-shrink:0;text-decoration:none;
}
.shop-btn:hover{ transform:scale(1.06); background:rgba(255,255,255,0.06); }
.shop-btn:focus-visible{ outline:2px solid rgba(255,255,255,0.6); outline-offset:2px; }
.shop-icon{ width:24px; height:24px; display:block; }

/* === HAMBURGER === */
.nav-toggle{display:none;background:transparent;border:0;padding:8px;cursor:pointer}
.nav-toggle .hamb{width:28px;height:2px;background:var(--offwhite);display:block;position:relative}
.nav-toggle .hamb::before,.nav-toggle .hamb::after{content:"";position:absolute;left:0;width:28px;height:2px;background:var(--offwhite)}
.nav-toggle .hamb::before{top:-8px}
.nav-toggle .hamb::after{top:8px}

/* ================= HERO ================= */
.hero{min-height:88vh;background-size:cover;background-position:center;position:relative;display:flex;align-items:center;overflow:hidden}
.bg-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;opacity:0.16;pointer-events:none}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.18));z-index:1}
.hero-inner{display:flex;gap:30px;width:100%;align-items:stretch;z-index:2}
.hero-left{flex:1;padding-left:6vw;display:flex;flex-direction:column;justify-content:center;max-width:780px}
.hero-right{flex:1}
h1{font-family:"Poppins",sans-serif;font-weight:900;font-size:3rem;margin:0;color:var(--offwhite);text-transform:uppercase;line-height:1.02}
.hero-desc{color:var(--muted);margin-top:12px;max-width:520px;font-size:1rem}
.hero-scrollnote{position:absolute;right:28px;bottom:22px;background:rgba(0,0,0,0.15);padding:8px 12px;border-radius:999px;color:var(--offwhite);font-weight:700;cursor:pointer;z-index:5}

/* ================= BOTONES ================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  padding:10px 18px;
  height:46px;
  font-weight:800;
  cursor:pointer;
  transition:transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  border:0;
  text-decoration:none;
  font-family:'Montserrat',sans-serif;
  font-size:0.95rem;
}
.btn:disabled{opacity:.6;cursor:not-allowed}
.btn.primary{
  background:var(--rojo);
  color:var(--text);
  box-shadow:0 12px 30px rgba(138,1,0,0,0.18);
}
.btn.outline{
  background:transparent;
  color:var(--rojo);
  border:2px solid rgba(138,1,0,0,0.14);
  box-shadow:none;
}
.btn:hover{ transform: scale(1.06); }

/* ================= ABOUT ================= */
.propuesta{
  position:relative;
  padding:72px 0;
  background:linear-gradient(180deg, rgba(6,6,7,0.02), transparent);
}
.propuesta-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:center;
  position:relative;
}
/* Imagen decorativa visible desde el inicio */
.propuesta-photo{
  position:absolute;
  top:0;
  left:0;
  width:320px;
  height:100%;
  border-radius:12px;
  background-image:url('../img/clients-map.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index:1;
}
.fluid-canvas{
  width:100%;
  height:360px;
  border-radius:14px;
  display:block;
  box-shadow:inset 0 30px 80px rgba(0,0,0,0.6);
  z-index:0;
}
.propuesta-left{z-index:0}
.propuesta-right{text-align:right;z-index:3}
.propuesta-right h2{
  font-family:'Poppins';
  font-weight:900;
  color:var(--offwhite);
  margin:0 0 12px;
  text-transform:uppercase;
}
.propuesta-right .muted{
  color:var(--muted);
  max-width:520px;
  margin-left:auto;
  text-align:right;
}
.about-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:18px;
}
.about-card{
  background:rgba(255,255,255,0.02);
  padding:18px;
  border-radius:12px;
  color:#ddd;
  box-shadow:0 8px 18px rgba(0,0,0,0.5);
  transition:transform var(--transition);
}
.about-card h3{
  text-transform:none;
  margin:0 0 8px;
  font-family:'Poppins',sans-serif;
}

/* ================= SERVICES ================= */
.panel{padding:72px 0}
.section-title{
  text-align:center;
  font-family:'Poppins';
  font-weight:900;
  color:var(--offwhite);
  font-size:2.2rem;
  margin:0 0 30px;
  text-transform:uppercase;
}
.services-wrapper{
  display:flex;
  gap:28px;
  flex-direction:column;
}
.card{
  background:var(--negro);
  border-radius:18px;
  padding:26px;
  text-align:center;
  box-shadow:0 10px 28px rgba(0,0,0,0.6);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  transition:transform var(--transition);
}
.card .icon img{width:68px;height:68px}
.card h3{
  font-family:'Poppins',sans-serif;
  color:var(--rojo);
  margin:0;
  font-size:1.15rem;
  text-transform:uppercase;
}
.card p{color:#ddd;max-width:320px;margin:0}

/* ================= CONTACT ================= */
.contact-panel{min-height:64vh}
.contact-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
}
.contact-info{text-align:center;max-width:820px}
.contact-info h2{
  font-family:'Poppins';
  font-weight:900;
  margin:0 0 10px;
  text-transform:uppercase;
}
.contact-lead{color:var(--muted);margin:0 0 8px}
.contact-form{
  width:100%;
  max-width:760px;
  background:linear-gradient(180deg, rgba(19,18,19,0.98), rgba(19,18,19,0.98));
  border-radius:12px;
  padding:26px;
  box-shadow:0 12px 40px rgba(0,0,0,0.6);
}
label{font-weight:700;color:var(--offwhite);margin-bottom:6px;display:block}
input,textarea,select{
  font-family:'Montserrat',sans-serif;
  padding:12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.06);
  background:#0f0f0f;
  color:var(--offwhite);
  width:100%;
}
textarea{min-height:140px;resize:none}
.form-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
}
.btn-submit{min-width:170px;display:inline-block;text-align:center}
.form-status{
  margin:10px 0 0;
  text-align:center;
  color:var(--muted);
  font-weight:700;
}

/* ================= FOOTER ================= */
.site-footer{
  background:linear-gradient(180deg,#0c0c0c,#080808);
  color:var(--offwhite);
  padding:36px 0 18px;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  align-items:start;
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}
.fcol h4{
  margin:0 0 8px;
  font-weight:800;
  color:var(--offwhite);
  text-transform:uppercase;
}
.fcol a{
  color:var(--offwhite);
  text-decoration:none;
  transition:color var(--transition),transform var(--transition);
}
.fcol a:hover{
  color:var(--rojo);
  text-decoration:underline;
  transform:translateY(-2px);
}
.footer-services{list-style:none;margin:0;padding:0}
.footer-services li{margin-bottom:8px}
.socials a img{width:26px;margin-right:8px;transition:transform var(--transition)}
.socials a:hover img{transform:scale(1.25)}
.footer-copyright{
  max-width:var(--max-width);
  margin:18px auto 0;
  padding:0 20px;
  color:#a9a9a9;
  font-size:14px;
  text-align:left;
}

/* ================= MENÚ MÓVIL ================= */
.mobile-menu{
  display:none;
  position:fixed;
  top:var(--header-h);
  left:0; right:0; bottom:0;
  padding:20px;
  background:rgba(0,0,0,0.94);
  backdrop-filter:saturate(120%) blur(6px);
  z-index:450;
  flex-direction:column;
  gap:14px;
}
.mobile-menu a{
  font-weight:800;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--offwhite);
  padding:12px 6px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open{ display:flex; }
@media (min-width:981px){ .mobile-menu{ display:none !important; } }

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .header-center{display:none}
  .nav-toggle{display:block}
  .logo-img{height:34px}
  .bubble-login{padding:0 14px}
  .hero-left{padding-left:20px}
  .propuesta-inner{grid-template-columns:1fr}
  .propuesta-photo{display:none}
  .about-grid{grid-template-columns:1fr}
  .services-wrapper{flex-direction:column}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:981px){
  .services-wrapper{flex-direction:row; align-items:stretch;}
  .services-wrapper .card{ flex:1 1 0; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  *{transition:none!important;animation:none!important}
  .bg-canvas, .fluid-canvas{display:none}
}

/* ajustes */
a{color:inherit}

/* Efecto hover/focus de tarjetas y about-cards */
.card, .about-card {
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), 
              box-shadow 220ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  transform-origin: center center;
}
.card:hover,
.about-card:hover,
.card:focus-within,
.about-card:focus-within {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 22px 48px rgba(0,0,0,0.55);
}

.logo-img {
  height: auto;         /* que use la altura natural */
  max-height: 36px;     /* o el valor que tenía originalmente */
  width: auto;          /* mantiene proporción */
}
@media (max-width:980px){
  .logo-img {
    max-height: 36px;   /* mismo tamaño también en móvil */
  }
}

.propuesta-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(50% - 14px); /* ocupa toda la columna izquierda */
  height: 100%;
  border-radius: 12px;
  background-image: url('../img/clients-map.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 1;
}

