/* =========================
   THEME VARIABLES (COLOR)
========================= */
:root{
  --brand: #1e73be;
  --brand-dark: #155a8f;

  /* Fondos coloridos pero pro */
  --bg-1: #eef6ff;   /* azul súper suave */
  --bg-2: #f6f0ff;   /* lila suave */
  --bg-3: #fff6ea;   /* crema suave */

  --section-grad: linear-gradient(135deg, rgba(30,115,190,0.08), rgba(147,51,234,0.06), rgba(255,184,77,0.06));
  --section-grad-2: linear-gradient(135deg, rgba(255,184,77,0.08), rgba(30,115,190,0.07), rgba(16,185,129,0.05));

  --card-bg: rgba(255,255,255,0.78);
  --card-border: rgba(30,115,190,0.18);
  --shadow-soft: 0 12px 35px rgba(0,0,0,0.06);
}

/* GLOBAL */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body{
  /* Fondo colorido suave, elegante */
  background: radial-gradient(1200px 800px at 15% 10%, var(--bg-1), transparent 60%),
              radial-gradient(1000px 700px at 85% 15%, var(--bg-2), transparent 55%),
              radial-gradient(900px 700px at 50% 90%, var(--bg-3), transparent 60%),
              #ffffff;
  color: #333;
  line-height: 1.6;
}
body{ padding-top: 72px; }


/* HEADER */
header{
  width: 100%;
  padding: 0; /* <-- sin padding para que no engorde */
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30,115,190,0.10);
  position: fixed;
  top: 0;
  z-index: 100;
}


.header-inner{
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;

  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo-block{
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand{
  display: flex;
  align-items: center;
}

.logo{
  height: 64px;
  width: auto;
  display: block;
}


.subtitle{
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

nav ul{
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a{
  text-decoration: none;
  color: #2f2f2f;
  font-weight: 500;
  transition: 0.25s;
}

nav ul li a:hover{
  color: var(--brand);
  transform: translateY(-2px);
}

/* HERO */
.hero{
  height: 100vh;
  min-height: 700px;
  background-image: url('/Images/Banner/banner2.png');
  background-size: cover;
  background-position: center 60%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 4% 120px;
}

/* Overlay más “color-paint” (no solo negro) */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(30,115,190,0.55), rgba(0,0,0,0.15)),
    linear-gradient(220deg, rgba(147,51,234,0.25), transparent 55%),
    rgba(0,0,0,0.12);
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero h1, .hero p{
  color: #ffffff;
}

.hero h1{
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.hero p{
  font-size: 17px;
  max-width: 520px;
  opacity: 0.96;
}

/* HERO BUTTONS */
.hero-buttons{
  margin-top: 25px;
  display: flex;
  gap: 14px;
}

/* BUTTONS */
.btn-primary{
  background: var(--brand);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
  box-shadow: 0 12px 24px rgba(30,115,190,0.25);
}

.btn-primary:hover{
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.btn-outline{
  border: 2px solid rgba(255,255,255,0.80);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}

.btn-outline:hover{
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* SECTION BASE */
.section{
  padding: 90px 4%;
  margin-top: 0;
  position: relative;
}

/* En vez de gris plano: gradiente suave */
.sectionGrey{
  background: var(--section-grad);
}

/* Alternancia más colorida (para mission/services si quieres) */
.section.sectionColor{
  background: var(--section-grad-2);
}

/* Títulos */
.section h2{
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #172033;
}

.section p.section-desc{
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
  color: #516074;
}

/* CARDS */
.about-cards{
  max-width: 1180px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.about-card{
  /* glass + borde suave */
  background: var(--card-bg);
  padding: 26px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
  transition: 0.25s;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* brillo sutil tipo “pintura” */
.about-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(135deg, rgba(30,115,190,0.18), rgba(147,51,234,0.10), rgba(255,184,77,0.10));
  opacity: 0;
  transition: .25s;
  z-index: 0;
}

.about-card > *{ position: relative; z-index: 1; }

.about-card:hover{
  transform: translateY(-6px);
  border-color: var(--card-border);
  box-shadow: 0 18px 48px rgba(0,0,0,0.10);
}

.about-card:hover::before{
  opacity: 1;
}

.about-card h3{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color:#1b2a44;
}

.about-card p{
  font-size: 15px;
  color: #4b5a6e;
}

.icon{
  font-size: 40px;
  margin-bottom: 12px;
  color: var(--brand);
  transition: .25s;
}

.about-card:hover .icon{
  transform: scale(1.12) rotate(3deg);
}

/* CONTACT */
.contact-wrapper{
  max-width: 900px;
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
}

.contact-form{
  width: 100%;
  background: rgba(255,255,255,0.82);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  font-size: 15px;
  transition: 0.25s;
  background: rgba(255,255,255,0.75);
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: rgba(30,115,190,0.65);
  box-shadow: 0 0 0 3px rgba(30,115,190,0.20);
}

.contact-form textarea{
  grid-column: span 2;
  resize: none;
}

.contact-form button{
  grid-column: span 2;
  justify-self: end;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 16px;
}

/* FLOATING LANGUAGE BUTTON (LEFT) */
.lang-floating{
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lang-main-btn{
  background: linear-gradient(135deg, var(--brand), rgba(147,51,234,0.65));
  color: #fff;
  padding: 12px 18px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(30,115,190,0.24);
  transition: 0.25s;
}

.lang-main-btn:hover{
  filter: brightness(1.03);
  transform: translateY(-2px);
}

.lang-options{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}

.lang-options.show{ display: flex; }

.lang-btn-flag{
  background: transparent;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
}

.lang-btn-flag:hover{
  background: rgba(30,115,190,0.10);
}

/* WHATSAPP FLOATING BUTTON (RIGHT) */
.whatsapp-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-floating {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 18px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.whatsapp-menu {
    display: none;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.whatsapp-menu a {
    display: block;
    padding: 12px 16px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
}

.whatsapp-menu a:hover {
    background: #f2f2f2;
}


/* FOOTER (más vivo) */
footer{
  margin-top: 80px;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(30,115,190,0.10), rgba(147,51,234,0.08), rgba(255,184,77,0.08));
  text-align: center;
  color: #3f5167;
  border-top: 1px solid rgba(30,115,190,0.12);
}

/* RESPONSIVE */
@media (max-width: 780px){
  .hero{
    align-items: center;
    padding-bottom: 80px;
    text-align: center;
  }

  .hero-content{ max-width: 100%; }

  .hero-buttons{
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-form{
    grid-template-columns: 1fr;
  }

  .contact-form textarea,
  .contact-form button{
    grid-column: span 1;
  }
}





/* ===== HAMBURGER MENU (INDEX) ===== */
/* BOTÓN MENÚ – 3 PUNTOS */
.nav-toggle{
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span{
  width: 6px;
  height: 6px;
  background: #2f2f2f;
  border-radius: 50%;
  transition: 0.25s;
}

/* hover */
.nav-toggle:hover span{
  background: var(--brand);
}

/* mobile */
@media (max-width: 900px){
  .nav-toggle{ display: flex; }
}


/* Mobile */
@media (max-width: 900px){
  nav ul{ gap: 16px; }

  .nav-toggle{ display: inline-flex; align-items: center; justify-content: center; }

  .main-nav{
    position: absolute;
    top: 72px;
    right: 4%;
    width: min(320px, 92vw);
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    padding: 10px;
    display: none;
  }

  .main-nav ul{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .main-nav a{
    display: block;
    padding: 12px 12px;
    border-radius: 10px;
  }

  .main-nav a:hover{
    background: rgba(30,115,190,0.08);
    transform: none;
  }

  /* estado abierto */
  body.nav-open .main-nav{ display: block; }

  /* animación hamburguesa a X */
  body.nav-open .nav-toggle span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

  /* opcional: ocultar subtitle en móvil para dar más espacio */
  .subtitle{ display: none; }
}

