/* =========================
   BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(180deg, #fff9e6, #e3f8ff);
  color: #333;
  line-height: 1.6;
}

/* =========================
   HEADER
========================= */
header {
  position: relative;
  background-color: #fce570;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  position: relative;
}

.logo img {
  width: 120px;
  height: auto;
}

.logo-name {
  font-weight: 900;
  font-size: 1.45rem;
  color: #2b2b2b;
}

/* Decoraciones */
.decoraciones {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sol {
  position: absolute;
  top: -20px;
  right: 30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 30% 30%, #fff6a3, #ffb703);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(255, 183, 3, 0.35);
  animation: sunPulse 4s ease-in-out infinite;
}

@keyframes sunPulse {
  0%   { transform: scale(1); filter: brightness(1); }
  50%  { transform: scale(1.05); filter: brightness(1.08); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* Nubes cruzando todo el header */
.nube {
  position: absolute;
  top: 28px;
  width: 160px;
  height: 60px;
  background: rgba(255,255,255,0.95);
  border-radius: 40px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.nube::before,
.nube::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
}

.nube::before {
  width: 60px;
  height: 60px;
  left: 18px;
  top: -25px;
}

.nube::after {
  width: 75px;
  height: 75px;
  left: 60px;
  top: -35px;
}

.nube1 {
  left: -200px;
  animation: nubeCruza1 28s linear infinite;
}

.nube2 {
  right: -200px;
  top: 58px;
  animation: nubeCruza2 38s linear infinite;
}

@keyframes nubeCruza1 {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 420px)); }
}

@keyframes nubeCruza2 {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100vw - 420px)); }
}

/* Nav */
nav { z-index: 2; position: relative; }

nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  text-decoration: none;
  font-weight: 900;
  color: #2b2b2b;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
  background: rgba(255,255,255,0.35);
}

nav a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.7);
}

/* =========================
   LANGUAGE SWITCH
========================= */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  position: relative;
}

.lang-btn {
  border: 2px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 900;
  color: #2b2b2b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn span { font-size: 0.9rem; }

.lang-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.7);
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

.lang-btn.active {
  background: rgba(255,255,255,0.85);
  border-color: rgba(244,162,97,0.55);
}

@media (max-width: 520px) {
  .lang-btn { padding: 7px 9px; }
  .lang-btn span { display: none; }
}

/* =========================
   HERO
========================= */
.hero {
  padding: 80px 18px;
  text-align: center;
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: 900;
  color: #246b58;
  margin-bottom: 10px;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 18px;
  color: #444;
  font-weight: 800;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #2e856e, #1f6b58);
  color: white;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

/* =========================
   ABOUT
========================= */
.sobre-nosotros {
  padding: 70px 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.sobre-nosotros h2 {
  text-align: center;
  font-size: 2.1rem;
  color: #f4a261;
  margin-bottom: 28px;
  font-weight: 900;
}

.contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.contenido img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.texto p {
  margin-bottom: 12px;
  font-weight: 800;
  color: #444;
}

.dcfs-license {
  margin-top: 18px;
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}

.dcfs-content h3 {
  color: #246b58;
  font-weight: 900;
  margin-bottom: 8px;
}

.dcfs-content img {
  margin-top: 12px;
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  border: 4px solid rgba(244,162,97,0.35);
}

/* =========================
   SERVICES
========================= */
.servicios {
  padding: 70px 18px;
  text-align: center;
}

.servicios h2 {
  font-size: 2.1rem;
  color: #f4a261;
  font-weight: 900;
  margin-bottom: 26px;
}

.servicios-contenedor {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.servicio {
  background: rgba(255,255,255,0.8);
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.servicio:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.14);
}

.servicio img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

.servicio h3 {
  color: #246b58;
  font-weight: 900;
  margin-bottom: 6px;
}

.servicio p {
  color: #555;
  font-weight: 800;
}

/* =========================
   GALLERY
========================= */
.galeria {
  padding: 70px 18px;
  text-align: center;
}

.galeria h2 {
  font-size: 2.1rem;
  color: #f4a261;
  font-weight: 900;
  margin-bottom: 26px;
}

.galeria-contenedor {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.galeria-contenedor img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  transition: transform 0.18s ease;
}

.galeria-contenedor img:hover {
  transform: scale(1.03);
}

/* =========================
   CONTACT
========================= */
.contacto {
  padding: 70px 18px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contacto h2 {
  font-size: 2.1rem;
  color: #f4a261;
  font-weight: 900;
  margin-bottom: 14px;
}

.contact-line {
  font-weight: 900;
  margin-bottom: 18px;
  color: #444;
}

.contact-line a {
  color: #246b58;
  text-decoration: none;
  font-weight: 900;
}

.contact-form {
  margin: 0 auto;
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,0.75);
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid rgba(36,107,88,0.18);
  outline: none;
  font-weight: 800;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(36,107,88,0.45);
}

.btn-send {
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #2e856e, #1f6b58);
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-send:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

/* Facebook button */
.social-contact {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.facebook-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: #2b2b2b;
  background: linear-gradient(135deg, #8fd3f4, #ffe29f);
  box-shadow: 0 12px 26px rgba(0,0,0,0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: floatFB 4s ease-in-out infinite;
}

.facebook-btn i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(24,119,242,0.25);
}

.facebook-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18);
}

@keyframes floatFB {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* =========================
   ENROLLMENT
========================= */
.enrollment {
  padding: 70px 18px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.enrollment h2 {
  font-size: 2.1rem;
  color: #f4a261;
  font-weight: 900;
  margin-bottom: 14px;
}

.enrollment-text {
  max-width: 760px;
  margin: 0 auto 12px;
  color: #444;
  font-weight: 900;
}

.btn-dcfs {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: #2b2b2b;
  background: linear-gradient(135deg, #ffe29f, #fce570);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-dcfs:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.16);
}

.nota-dcfs {
  margin-top: 10px;
  color: #666;
  font-weight: 800;
  font-size: 0.95rem;
}

/* =========================
   FOOTER
========================= */
footer {
  background: rgba(255,255,255,0.65);
  text-align: center;
  padding: 18px;
  font-weight: 900;
  color: #444;
}

/* =========================
   LIGHTBOX
========================= */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
}

#lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

#lightbox .close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  font-weight: 900;
}

#lightbox .flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  font-weight: 900;
  padding: 10px;
  user-select: none;
}

#lightbox .izquierda { left: 14px; }
#lightbox .derecha { right: 14px; }

/* =========================
   FADE (IDIOMA)
========================= */
.lang-fade {
  opacity: 1;
  transition: opacity 240ms ease;
}

.lang-fade.is-fading {
  opacity: 0;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .contenido { grid-template-columns: 1fr; }
  .servicios-contenedor { grid-template-columns: 1fr; }
  .galeria-contenedor { grid-template-columns: repeat(2, 1fr); }
  .sol { right: 10px; width: 80px; height: 80px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 1.85rem; }
  .galeria-contenedor { grid-template-columns: 1fr; }
  nav a { padding: 9px 12px; }
  .logo-name { font-size: 1.25rem; }
  .logo img { width: 95px; }
}

.powered-by {
  margin-top: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #444;
}

.powered-by a {
  color: #246b58;
  text-decoration: none;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.powered-by a:hover {
  background: rgba(36, 107, 88, 0.12);
  transform: translateY(-1px);
}