:root{
  --max-width:1100px;
  --accent: #16A085;
  --accent-dark: #13856f;
  --bg-start: #0e4f7a;
  --bg-end: #0c3e62;
  --text-on-dark: #ffffff;
  --muted-on-dark: rgba(255,255,255,0.85);
  --header-height: 72px;
  --transition: 180ms ease;
}

/* Reset básico */
*{box-sizing:border-box}
html,body{height:100%; margin:0; font-family:"Open Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial; color:#222; -webkit-font-smoothing:antialiased;}
a{color:inherit}

/* Container */
.container{width:90%; max-width:var(--max-width); margin:0 auto}

/* NAVBAR */
.navbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:var(--header-height);
  display:flex;
  align-items:center;
  background:rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  z-index:999;
  box-shadow: 0 2px 8px rgba(2,6,23,0.25);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; width:100%}

/* BRAND (texto temporal) */
.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  vertical-align:middle;
  color:var(--text-on-dark);
}

/* El bloque que contiene ambas partes del nombre */
.brand-text{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  line-height:1;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* OR Service => en negrita */
.brand-bold{
  font-weight:800;
  color: var(--text-on-dark);
  font-size: 1rem;
  letter-spacing: 0.2px;
}

/* solutions => normal/menos destacada */
.brand-regular{
  font-weight:400;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  text-transform: none;
}

/* Logo image (hidden until you add .has-logo to the nav and uncomment <img>) */
.logo {
  display: none;
}

/* Nav links (desktop) */
.nav-links{
  display:flex;
  gap:28px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}
.nav-links a{
  color:var(--text-on-dark);
  text-decoration:none;
  font-weight:600;
  font-size:1rem;
  padding:8px 12px;
  border-radius:8px;
  transition: background var(--transition), transform var(--transition);
}
.nav-links a:hover,
.nav-links a:focus{
  background: rgba(255,255,255,0.04);
  transform:translateY(-2px);
  outline: none;
}

/* Menu toggle (mobile) */
.menu-toggle{
  display:none;
  background:transparent;
  border:0;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.hamburger{
  display:block;
  width:20px;
  height:2px;
  background:#fff;
  position:relative;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background:#fff;
}
.hamburger::before{top:-6px}
.hamburger::after{top:6px}

/* HERO */
.hero{
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom:80px;
  background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
  color:var(--text-on-dark);
  text-align:center;
  min-height:62vh;
  display:flex;
  align-items:center;
}
.hero-inner{width:100%; margin:0 auto; padding:40px 20px}
h1{
  font-family:"Merriweather", serif;
  font-weight:700;
  font-size:clamp(28px, 4.6vw, 48px);
  margin:0 0 18px;
  line-height:1.05;
  text-shadow:0 2px 0 rgba(0,0,0,0.15);
}
.lead{
  max-width:820px;
  margin:0 auto 24px;
  color:var(--muted-on-dark);
  font-size:clamp(14px, 1.5vw, 18px);
}

/* Botones */
.btn-principal, .btn-secundario{
  display:inline-block;
  padding:12px 26px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-principal{
  background:var(--accent);
  color:#fff;
  box-shadow: 0 8px 22px rgba(16,160,133,0.12);
}
.btn-principal:hover{transform:translateY(-4px); background:var(--accent-dark)}
.btn-secundario{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,0.12);
}

/* SECCIONES y TARJETAS */
.seccion{padding:72px 0; background:#fff; color:#222}
.contenedor-servicios{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:28px}
.tarjeta-servicio{background:#f8f9fb; padding:20px; border-radius:10px; box-shadow:0 6px 18px rgba(17,24,39,0.04)}
.tarjeta-servicio h3{margin-top:0}

/* FOOTER simple */
footer{padding:36px 0; text-align:center; color:#666; background:#fff}

/* RESPONSIVE */
@media (max-width:900px){
  .contenedor-servicios{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  .nav-links{
    position:fixed;
    right:0;
    top:var(--header-height);
    background:linear-gradient(180deg, rgba(2,6,23,0.98), rgba(2,6,23,0.98));
    height:calc(100vh - var(--header-height));
    width:240px;
    flex-direction:column;
    padding:24px;
    gap:16px;
    transform:translateX(100%);
    transition:transform 220ms ease;
    z-index:998;
  }
  .nav-links.open{transform:translateX(0)}
  .menu-toggle{display:flex}
  .nav-links a{color:#fff; font-size:1.05rem}
  .contenedor-servicios{grid-template-columns:1fr}
  .hero{padding-top: calc(var(--header-height) + 36px)}
  .logo{height:42px}
}

/* Mostrar logo cuando nav tenga .has-logo y ocultar texto */
.navbar.has-logo .brand-text { display: none; }
.navbar.has-logo .logo { display: block; height:48px; width:auto; }

/* Mejora visual de focus para accesibilidad */
a:focus, button:focus{outline:3px solid rgba(22,160,133,0.18); outline-offset:3px}