/* ============================================================
   Grupo Loor - Hoja de estilos corporativa
   Paleta: navy #0B5394 / acento #F5B042 / texto #222 / fondo #FFF
   ============================================================ */

:root {
  --color-primary: #0B5394;
  --color-primary-dark: #083763;
  --color-accent: #F5B042;
  --color-text: #222;
  --color-text-soft: #555;
  --color-border: #E5E9EF;
  --color-bg-alt: #F5F7FA;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1100px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.brand-mark {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.brand-tag {
  color: var(--color-text-soft);
  font-size: 14px;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover { color: var(--color-primary); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #083763 0%, #0B5394 100%);
  color: #fff;
  padding: 72px 0 0;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  margin: 0 0 8px;
  letter-spacing: 1px;
}

.hero .subtitle {
  font-size: 22px;
  font-style: italic;
  margin: 0 0 6px;
  color: #DCE7F2;
}

.hero .eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #AFC4DB;
  margin-bottom: 32px;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.hero-figure figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-soft);
  padding: 10px 24px 0;
  font-style: italic;
  background: #fff;
}

/* ---------- Secciones ---------- */
.section {
  padding: 56px 24px;
  border-bottom: 1px solid var(--color-border);
}

.section:last-of-type { border-bottom: none; }

h2 {
  color: var(--color-primary);
  font-size: 30px;
  margin: 0 0 24px;
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
  padding-bottom: 6px;
}

h3 {
  color: var(--color-primary-dark);
  font-size: 22px;
  margin: 32px 0 12px;
}

p {
  text-align: justify;
  margin: 0 0 16px;
  color: var(--color-text);
  font-size: 17px;
}

ul {
  padding-left: 24px;
  margin: 0 0 24px;
}

ul li {
  margin-bottom: 10px;
  font-size: 17px;
}

strong { color: var(--color-primary-dark); }

/* ---------- Banner figures ---------- */
.banner {
  margin: 24px 0 12px;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.banner figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-soft);
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 24px;
}

/* ---------- Tarjetas ---------- */
.structure-grid, .geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}

.card {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  padding: 20px 22px;
  border-radius: var(--radius);
}

.card h3 {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 20px;
}

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--color-text-soft);
}

.platform-list li { margin-bottom: 14px; }

/* ---------- Contacto ---------- */
.contact-email {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  font-size: 17px;
}

.contact-email a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #CFDAE7;
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
}

.site-footer p { margin: 4px 0; color: #CFDAE7; text-align: center; font-size: 14px; }

.site-footer .footer-contact a {
  color: #F5B042;
  text-decoration: none;
}

.site-footer .footer-contact a:hover {
  text-decoration: underline;
}

/* ---------- Responsivo ---------- */
@media (max-width: 720px) {
  .hero h1 { font-size: 40px; }
  .hero .subtitle { font-size: 18px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .site-nav { display: none; }
  p, ul li { font-size: 16px; }
}
