﻿.footer-englishjoy-section {
	
	position: relative;
	background: #FFB43A;
	width: 100%;
	min-height: 350px;
	overflow: hidden;
	padding-bottom: 30px;
}

.footer-deco-left {
	position: absolute;
	left: 0px;
	bottom: 0px;
	height: 284px;
	width: 284px;
	z-index: 1;
}

.footer-deco-right {
	position: absolute;
	bottom: 0px;
	right: -70px;
	width: 307px;
	height: 345px;
	z-index: 1;
}
.footer-logo-container {
	position: absolute;
	width: 310px;
	height: 235px;
	top: 0px;
	left: 100px;
	z-index: 9;
}

.footer-info {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 80px;
	margin-left: 320px;
	margin-right: 80px;
	padding-top: 60px;
	z-index: 2;
	position: relative;
}

.footer-info-left, .footer-info-right {
	min-width: 260px;
}

.footer-title {
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-weight: 700;
	font-size: 25.39px;
	line-height: 100%;
	margin-bottom: 8px;
	color: #fff;
}

.footer-address {
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-weight: 700;
	font-size: 25.39px;
	line-height: 100%;
	margin-bottom: 10px;
	color: #fff;
}

.footer-social {
	display: flex;
	gap: 12px;
	margin-bottom: 8px;
}

	.footer-social img {
		width: 28px;
		height: 28px;
		filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
		background: #fff;
		border-radius: 50%;
		padding: 3px;
	}

.footer-contact {
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-size: 25.39px;
	line-height: 100%;
	color: #fff;
	margin-bottom: 0;
	color: #fff;
}

.footer-bottom {
	gap: 16px;
	margin-left: 320px;
	margin-right: 80px;
	margin-top: 60px;
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-weight: 700;
	font-size: 16.73px;
	line-height: 100%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	z-index: 2;
	position: relative;
	flex-wrap: nowrap; /* <-- Cambia a nowrap para forzar en una línea */
}

	.footer-bottom span {
		flex: 1 1 0%;
		min-width: 0;
		white-space: normal;
	}

.footer-btn-agenda {
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-weight: 900;
	font-size: 16.73px;
	line-height: 100%;
	background: #47D5DF;
	color: #fff;
	border: none;
	border-radius: 51px;
	padding: 7px 22px;
	text-decoration: none;
	transition: background 0.2s;
	margin-left: 10px;
	cursor: pointer;
	/* width: 127px;  <-- Elimina esta línea */
	text-align: center;
	align-content: center;
	align-items: center;
	vertical-align: central;
	height: 31px;
	white-space: nowrap; /* <-- Para que el botón no se parta */
}

	.footer-btn-agenda:hover {
		background: #2bb6c2;
	}


.fixed-agenda-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	background: #fff;
	box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	padding: 10px 0 10px 0;
	z-index: 1000;
}

.fixed-agenda-text {
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-weight: 700;
	color: #fff;
	font-size: 22.76px;
	line-height: 100%;
	color: #222;
}

.fixed-agenda-btn {
	background: #FE2491;
	color: #fff;
	font-family: 'Visby Round CF', Arial, sans-serif;
	font-weight: 900;
	font-size: 22.76px;
	line-height: 100%;
	border: none;
	color: #fff;
	border-radius: 24px;
	padding: 8px 32px;
	text-decoration: none;
	transition: background 0.2s;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	cursor: pointer;
	display: inline-block;
}

	.fixed-agenda-btn:hover {
		background: #c81c6b;
	}




@media (max-width: 480px) {
  /* Ocultar decorativos */
  .footer-deco-left,
  .footer-deco-right {
    display: none;
  }

  /* Quita espacio extra del contenedor */
  .footer-englishjoy-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* evita que los separe el centrado vertical */
    padding: 10px 0 15px 0; /* reduce el espacio superior */
  }

  /* Logo centrado y sin margen inferior */
  .footer-logo-container {
    position: static;
    margin: 40px auto -120px auto; /* sin espacio debajo */
    padding: 0;
    text-align: center;
    width: 130px;
  }

  .footer-logo-container img {
    width: 130px;
    height: auto;
    display: block;
  }

  /* Footer-info inmediatamente debajo del logo */
  .footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px; /* separación mínima entre textos */
    margin: 0; /* sin margen superior */
    padding: 0;
    width: 100%;
  }

  .footer-info-left,
  .footer-info-right {
    width: 100%;
    min-width: unset;
  }

  .footer-title,
  .footer-address,
  .footer-contact {
    font-size: 18px;
    text-align: center;
    margin: 0; /* elimina márgenes que separan líneas */
  }

  .footer-social {
    justify-content: center;
    margin: 2px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 16px auto 0 auto;
  }

  .footer-btn-agenda {
    margin: 6px auto 0 auto;
  }
}







/* --- 768px (portrait y landscape) --- */
@media (min-width: 481px) and (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    margin: 20px;
    gap: 30px;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    margin: 20px;
  }

  .footer-btn-agenda {
    margin-top: 10px;
  }

  .footer-deco-left, .footer-deco-right {
    display: none;
  }

  .footer-logo-container {
    position: static;
    margin-bottom: 20px;
    width: 240px;
  }

  .footer-logo-container img {
    width: 100%;
    max-width: 180px;
    height: auto;
  }
}


/* --- Tablets y pantallas medianas --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-info {
    flex-direction: column;
    align-items: center;
    margin: 40px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 40px 20px;
  }

  .footer-logo-container {
    left: 0;
    margin: 0 auto;
    position: static;
    text-align: center;
  }

  .footer-deco-left, .footer-deco-right {
    display: none;
  }
}


/* --- Paisaje en tablet (landscape) --- */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .footer-info {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }

  .footer-btn-agenda {
    margin-top: 10px;
  }
}


/* --- Pantallas grandes 1440px o más --- */
@media (min-width: 1440px) {
  .footer-info {
    margin-left: 320px;
    margin-right: 80px;
  }

  .footer-bottom {
    margin-left: 320px;
    margin-right: 80px;
  }
}


