:root {
  --amarillo: #fbbf24;
  --verde: #134e4a;
  --verde-osc: #0f3d3a;
  --cian: #0e7490;
  --fondo: #0b1520;
  --texto: #e2e8f0;
  --mut: #94a3b8;
  --radio: 14px;
  --sombra: 0 14px 40px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--fondo);
  color: var(--texto);
  line-height: 1.6;
}

.container { width: min(1080px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

strong { color: var(--amarillo); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 21, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; }
.brand-logo { font-size: 1.6rem; }
.brand-name em { color: var(--amarillo); font-style: normal; }

.nav { display: flex; gap: 26px; font-weight: 600; color: var(--mut); }
.nav a { transition: color 0.2s; }
.nav a:hover { color: var(--amarillo); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--texto); border-radius: 2px; }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--verde-osc);
    padding: 12px 6%;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* Hero */
.hero {
  padding: 90px 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(14, 116, 144, 0.35), transparent 70%),
    radial-gradient(500px 300px at 10% 80%, rgba(251, 191, 36, 0.12), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin-bottom: 18px; }
.hero p { color: var(--mut); font-size: 1.15rem; margin-bottom: 26px; max-width: 30rem; }
.hero-media img { border-radius: var(--radio); box-shadow: var(--sombra); border: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 720px) {
  .hero { padding: 50px 0; }
  .hero-inner { grid-template-columns: 1fr; }
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--amarillo), #f59e0b);
  color: #1a202c;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 10px 24px rgba(251, 191, 36, 0.3);
}
.btn:hover { transform: translateY(-2px); }

/* Sections */
section { padding: 70px 0; }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 34px;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--amarillo), var(--cian));
}

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radio);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-6px); border-color: var(--amarillo); }
.card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; color: var(--amarillo); }
.card p { color: var(--mut); font-size: 0.98rem; }

/* Empresa */
.empresa { background: var(--verde-osc); }
.empresa-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.empresa-media img { border-radius: var(--radio); box-shadow: var(--sombra); border: 1px solid rgba(255,255,255,0.1); }
.empresa-info p { color: var(--mut); margin-bottom: 24px; }
.empresa-datos { display: grid; gap: 14px; }
.empresa-datos div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  padding: 14px 18px;
  border-radius: 10px;
}
.empresa-datos dt { color: var(--mut); font-weight: 600; }
.empresa-datos dd { font-weight: 700; color: #fff; }
@media (max-width: 720px) {
  .empresa-inner { grid-template-columns: 1fr; }
  .empresa-media { order: -1; }
}

/* Contacto */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contacto-info { display: grid; gap: 16px; }
.contacto-info p { display: flex; align-items: center; gap: 12px; color: var(--mut); }
.contacto-info a:hover { color: var(--amarillo); }
.ico { font-size: 1.2rem; width: 26px; text-align: center; }

.redes { display: flex; gap: 14px; margin-top: 10px; }
.red {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--texto);
  transition: transform 0.15s, background 0.2s;
}
.red svg { width: 22px; height: 22px; }
.red:hover { transform: translateY(-4px); }
.facebook:hover { background: #1877f2; }
.instagram:hover { background: #e1306c; }
.whatsapp:hover { background: #25d366; }
.x:hover { background: #000; }

.contacto-form { display: grid; gap: 14px; }
.contacto-form input,
.contacto-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--texto);
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}
.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--amarillo);
}
.form-msg { color: #4ade80; font-weight: 600; }
@media (max-width: 720px) {
  .contacto-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 26px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; color: var(--mut); font-size: 0.92rem; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 800; color: var(--texto); }
