/* Reeduk landing – static replica of reeduk.edu.mx */
:root {
  --color-text: #222222;
  --color-footer-bg: #171717;
  --color-white: #ffffff;
  --color-accent: #007bff;
  --max-width: 1170px;
  --font-body: "Roboto", sans-serif;
  --font-heading: "Roboto Slab", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
.site-header {
  background-color: var(--color-white);
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.site-header .logo img {
  max-height: 80px;
  width: auto;
}

/* Hero slider */
.hero {
  position: relative;
  background: #f5f5f5;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.hero-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--color-white);
}

.cert-banner {
  padding: 24px 0;
  text-align: center;
  background: var(--color-white);
}

.cert-banner img {
  margin: 0 auto;
  max-width: 900px;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-alt {
  background-color: #f9f9f9;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 35px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 24px;
  text-align: center;
}

.section p {
  margin: 0 0 1em;
}

.welcome-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.welcome-text strong {
  font-weight: 700;
}

.welcome-tagline {
  font-size: 1.1em;
  font-weight: 500;
  margin-top: 1.5em;
}

.section-image {
  padding: 32px 0;
  text-align: center;
}

.section-image img {
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Nosotros */
.nosotros-content {
  max-width: 900px;
  margin: 0 auto;
}

.nosotros-content p:last-child {
  margin-bottom: 0;
}

/* Clientes */
.clientes img {
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background-color: var(--color-footer-bg);
  color: #ccc;
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-logo img {
  max-height: 70px;
  width: auto;
}

.footer-contact h5 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 16px;
  text-transform: capitalize;
}

.footer-contact p {
  margin: 0 0 8px;
  line-height: 1.6;
}

.footer-contact a {
  color: #ccc;
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* Responsive */
@media (max-width: 780px) {
  .section h2 {
    font-size: 30px;
  }

  .site-header .logo img {
    max-height: 60px;
  }

  .hero-slide img {
    max-height: 320px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 360px) {
  body {
    font-size: 14px;
  }

  .section h2 {
    font-size: 25px;
  }
}
