
/* ====== Reset & Base ====== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #1f2937;
  background: #f8fafc;
  line-height: 1.6;
}
img { max-width: 200%; display: block; }
a { color: inherit; }

/* ====== Layout ====== */
.container { width: min(1500px, 92%); margin-inline: auto; }
.section { padding: 64px 0; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ====== Header / Nav ====== */
.header {
  background: #0007ad;
  color: white;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand img { width: 144px; height: 144px; border-radius: 10px; background:#0ea5e9; }
.brand h1 { font-size: 20px; margin: 0; letter-spacing: .2px; font-weight: 800; }
.menu { display: flex; gap: 14px; }
.menu a {
  color: #e5e7eb; text-decoration: none; padding: 8px 10px; border-radius: 10px; font-weight:600;
}
.menu a.active, .menu a:hover { background: rgba(255,255,255,.1); color: #fff; }
.menu-toggle { display:none; background: none; border: 1px solid #334155; color: #e5e7eb; padding: 8px 10px; border-radius: 10px; }

/* ====== Hero with prominent logo ====== */
.hero {
  background: radial-gradient(1200px 400px at 10% -10%, #e0f2fe 0%, rgba(224,242,254,0) 60%),
              radial-gradient(1200px 400px at 90% -10%, #ccfbf1 0%, rgba(204,251,241,0) 60%),
              white;
  padding: 80px 0 48px;
  border-bottom: 1px solid #e2e8f0;
}
.hero .wrap { display:grid; grid-template-columns: 220px 1fr; gap:20px; align-items:center; }
.hero .logo-ring {
  width: 220px; height: 220px; border-radius: 50%;
  background: white; border: 6px solid #FFFFFF; display:grid; place-items:center;
/*  box-shadow: 0 6px 20px rgba(2,6,23,.08);*/
}
.hero img.logo { width: 200px; height: 200px; border-radius: 12px; }
.hero h2 { font-size: clamp(22px, 5vw, 34px); margin: 0 0 10px; color: #0f172a; }
.hero p { font-size: 18px; color: #334155; margin: 40 40 18px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 16px; border-radius: 12px;
}
.btn-primary { background: #E57623; color: #fff; }
.btn-outline { border: 1px solid #0ea5e9; color: #0ea5e9; background: transparent; }

/* ====== Cards ====== */
.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 0 rgba(2,6,23,.02);
}

/* Aquí controlas el tamaño de las imágenes dentro de .card */
.card img {
  width: 100%;       /* ocupa todo el ancho de la card */
  height: 200px;      /* mantiene la proporción original */
  border-radius: 12px;
  object-fit: cover; /* recorta si el contenedor es más chico */
}

.card h3 {
  margin-top: 8px;
}

.cardS {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 0 rgba(2,6,23,.02);
}

/* Aquí controlas el tamaño de las imágenes dentro de .card */
.cardS img {
  width: 100%;
  height: 300px;
  border-radius: 12px;
}
.cardS h3 {
  margin-top: 8px;
}

/* ====== Promo band with logo ====== */
.band {
  background:#E57623; color:white; padding:18px 0; margin: 0 0 24px 0;
}
.band .brandline { display:flex; align-items:center; gap:12px; }
.band img { height:28px; border-radius:6px; background:white; padding:4px; }

/* ====== Footer ====== */
.footer {
  border-top: 1px solid #e2e8f0; background: #ffffff; color: #475569; padding: 28px 0;
}
.footer .footbrand { display:flex; align-items:center; gap:10px; }
.footer .footbrand img { width:52px; border-radius:8px; }
.footer small { display: block; margin-top: 4px; color: #94a3b8; }

/* ====== Forms ====== */
form { display: grid; gap: 14px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff;
}
label { font-weight: 600; color: #0f172a; }
button[type="submit"] { cursor: pointer; }
.help { font-size: 12px; color: #64748b; }

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero .wrap { grid-template-columns: 90px 1fr; }
  .hero .logo-ring { width: 90px; height: 90px; }
  .hero img.logo { width: 60px; height: 60px; }
}
@media (max-width: 640px) {
  .menu { display: none; }
  .menu.open { display: flex; flex-direction: column; background: #0b1220; padding: 10px; border-radius: 12px; }
  .menu-toggle { display:block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
