:root {
  --primary: #1a2b4c;
  --secondary: #c5a572; /* lo que quieras para hover y .ies-title span */
  --accent: #c5a572;
  --bg: #ffffff;
  --alt-bg: #f4f4f4;
  --light: #f4f4f4; /* para .ies */
  --text: #333333;
  --muted: #777777;
  --link: #486b9a;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--primary);
}

header {
  background: var(--bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
nav .logo div {
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  font-weight: bold;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav ul li {
  position: relative;
}
nav button {
  padding: 8px 16px;
  border-radius: var(--radius);
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 15px;
}
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
  background: none;
  border: none;
}

/* HERO */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 60px 10rem;
  gap: 30px;
}
.hero-text {
  flex: 1;
}
.hero-text h1 {
  color: var(--primary);
  font-size: 36px;
  margin: 20px 0;
}
.hero-text p {
  margin-bottom: 20px;
}
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: 1s ease-in-out;
}
.btn-primary:hover {
  background: var(--link);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.btn-outline {
  border: 2px solid rgba(26, 43, 76, 0.08);
  background: transparent;
  color: var(--primary);
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: 1s;
}
.btn-outline:hover {
  border: 2px solid rgba(26, 43, 76, 0.08);
  background: var(--link);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: 1s;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 50%;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 1s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  height: 450px;
}
/* Secciones */
section {
  padding: 60px 0;
}
.alt-bg {
  background: var(--alt-bg);
}
h2 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.p_section_programs {
  margin: 3rem 0;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(26, 43, 76, 0.04);
}
.pill {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(197, 165, 114, 0.12);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 10px;
}

#solicita p {
  margin-top: 0.4rem;
}
/* Cards de tarjeta */
.payment-card {
  background: #f2f7ff;
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  margin: 40px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  color: var(--primary);
}

.payment-header h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.payment-header span {
  font-weight: 700;
  color: var(--primary);
}

.payment-header .tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.payment-info {
  background: white;
  border-radius: var(--radius);
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.payment-info .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.payment-info strong {
  display: block;
  color: var(--primary);
  font-weight: 600;
}

.payment-info p {
  color: var(--muted);
  margin: 0.3rem 0 0;
}

.payment-footer {
  text-align: center;
  color: var(--muted);
}

.payment-footer .phone {
  font-size: 1rem;
  color: var(--primary);
  margin: 0.5rem 0;
}

.payment-footer .handle {
  background: var(--primary);
  color: white;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* Formulario */
input,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  margin-top: 5px;
}
form button {
  margin-top: 10px;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer a {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  .hero {
    flex-direction: column;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .slider {
    display: none;
  }
}

.ies {
  background: var(--light, #f4f4f4);
  padding: 4rem 10rem;
}

.ies-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.ies-title span {
  color: var(--secondary);
}

.ies-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.ies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ies-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ies-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.ies-card h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.ies-card p {
  color: var(--text, #333);
  line-height: 1.6;
}

.ies-footer {
  text-align: center;
  margin-top: 3rem;
}

.ies-footer p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary);
}
