/*
 * Layout refresh: navigation, spacing and card layout.
 * Loaded after style.css and themes.css; colours are theme variables.
 */
:root {
  /* colours come from themes.css */
  --text: #333333;
  --muted: #555555;
  --card-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
}

h1, h2, h3, h4, h5,
.site_nav .nav-link {
  font-family: "Poppins", sans-serif;
}

[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

/* ---------- Top contact bar ---------- */
.hero_area .header_section {
  padding: 0;
}

.hero_area .header_section .contact_nav {
  padding: 6px 0;
  font-size: 14px;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.hero_area .header_section .contact_nav a:hover {
  color: var(--primary-soft);
}

@media (max-width: 575px) {
  .hero_area .header_section .contact_nav {
    justify-content: center;
    font-size: 13px;
  }
}

/* ---------- Sticky navigation ---------- */
.site_nav {
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  min-height: var(--nav-height);
  padding: 8px 0;
  z-index: 1030;
}

.site_nav .navbar-brand img {
  height: 48px;
  width: auto;
}

.site_nav .nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px !important;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.site_nav .nav-link:hover,
.site_nav .nav-link:focus-visible {
  color: var(--primary-deep);
  background-color: var(--primary-soft);
}

.site_nav .nav-link.active {
  color: var(--primary-deep);
  box-shadow: inset 0 -3px 0 var(--primary-dark);
  border-radius: 0;
}

.site_nav .nav-link.nav_cta {
  background-color: var(--primary-dark);
  color: #ffffff;
  margin-left: 8px;
  padding: 8px 18px !important;
  border-radius: 999px;
  box-shadow: none;
}

.site_nav .nav-link.nav_cta:hover,
.site_nav .nav-link.nav_cta.active {
  background-color: var(--primary-deep);
  color: #ffffff;
}

.site_nav .nav_lang {
  display: flex;
  gap: 6px;
  margin-left: 16px;
}

.site_nav .nav_lang a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  opacity: 0.55;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.site_nav .nav_lang a:hover,
.site_nav .nav_lang a.active {
  opacity: 1;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--primary-dark);
}

/* button.css styles every <button>; keep the menu toggle neutral */
.site_nav .navbar-toggler,
.site_nav .navbar-toggler:hover {
  background: transparent;
  border: 2px solid var(--primary-dark);
  border-radius: 10px;
  color: var(--primary-dark);
  padding: 6px 12px;
  font-size: 20px;
  box-shadow: none;
}

@media (max-width: 1199px) {
  .site_nav .navbar-collapse {
    padding: 12px 0 8px;
  }

  .site_nav .nav-link,
  .site_nav .nav-link.active {
    border-radius: 12px;
    box-shadow: none;
    padding: 10px 14px !important;
  }

  .site_nav .nav-link.active {
    background-color: var(--primary-soft);
  }

  .site_nav .nav-link.nav_cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .site_nav .nav_lang {
    margin: 12px 0 0 14px;
  }
}

/* ---------- Hero ---------- */
.slider_section {
  padding: 28px 0 40px;
}

.slider_section .box {
  min-height: 380px;
  padding: 32px;
  gap: 24px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.slider_section .box .logo {
  flex: 0 0 auto;
  margin: 0;
}

.slider_section .box .logo img {
  max-width: 280px;
  width: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.slider_section .box .detail-box {
  text-shadow: none;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 24px 32px;
  box-shadow: var(--card-shadow);
  max-width: 440px;
}

.slider_section .box .detail-box .text-bl {
  font-size: 44px;
  margin: 0;
  color: var(--accent);
}

.slider_section .box .detail-box .name {
  font-size: 34px;
  margin: 4px 0 8px;
}

.slider_section .box .detail-box .baby_text p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
}

.hero_btn:hover,
.hero_btn:focus-visible {
  background-color: var(--primary-deep);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .slider_section .box {
    justify-content: space-between;
    padding: 40px 56px;
  }
}

@media (max-width: 767px) {
  .slider_section {
    padding: 16px 0 24px;
  }

  .slider_section .box {
    min-height: 0;
    padding: 20px 16px;
  }

  .slider_section .box .logo img {
    max-width: 170px;
  }

  .slider_section .box .detail-box {
    padding: 18px 20px;
  }

  .slider_section .box .detail-box .text-bl {
    font-size: 34px;
  }

  .slider_section .box .detail-box .name {
    font-size: 26px;
  }
}

/* ---------- Shared section layout ---------- */
.choice_section,
.citation_section,
.pedag_section,
.mission_section,
.vision_section,
.creche_section {
  padding: 64px 0;
}

.choice_section .container-fluid,
.citation_section .container-fluid,
.pedag_section .container-fluid,
.mission_section .container-fluid,
.vision_section .container-fluid,
.creche_section .container-fluid,
.about_section .container-fluid {
  padding-left: 16px;
  padding-right: 16px;
}

.pedag_section .container-fluid .box,
.mission_section .container-fluid .box,
.about_section .container-fluid .box {
  display: block;
  padding: 40px 48px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.pedag_section .container-fluid .box .detail-box,
.mission_section .container-fluid .box .detail-box,
.about_section .container-fluid .box .detail-box {
  max-width: 780px;
  margin: 0 auto;
}

.pedag_section .detail-box h2,
.mission_section .detail-box h2,
.vision_section .heading_container h2,
.about_section .detail-box h1 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.pedag_section .detail-box h2::after,
.mission_section .detail-box h2::after,
.vision_section .heading_container h2::after,
.about_section .detail-box h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background-color: var(--primary-dark);
}

.vision_section .heading_container h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.pedag_section .container-fluid .box .detail-box p,
.mission_section .container-fluid .box .detail-box p {
  font-size: 17px;
  line-height: 1.75;
}

.pedag_section .container-fluid .box .detail-box a {
  display: block;
  font-style: italic;
  font-size: 17px;
  padding: 16px 24px;
  border-radius: 14px;
}

@media (max-width: 767px) {
  .choice_section,
  .citation_section,
  .pedag_section,
  .mission_section,
  .vision_section,
  .creche_section {
    padding: 40px 0;
  }

  .pedag_section .container-fluid .box,
  .mission_section .container-fluid .box,
  .about_section .container-fluid .box {
    padding: 28px 22px;
  }
}

/* ---------- Creche choice (address + opening hours) ---------- */
.choice_section .container-fluid .box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  align-items: stretch;
}

.choice_section .container-fluid .box .detail-box {
  max-width: none;
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.choice_icon {
  font-size: 34px;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.choice_section .container-fluid .box .detail-box button .choice_icon {
  display: block;
  color: #ffffff;
  font-size: 28px;
  margin: 0 auto 10px;
}

.choice_section .container-fluid .box .detail-box button {
  width: 100%;
  max-width: 360px;
  background-color: var(--primary-dark);
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-dark) 35%, transparent);
  transition: background-color 0.2s, transform 0.2s;
}

.choice_section .container-fluid .box .detail-box button:hover,
.choice_section .container-fluid .box .detail-box button:focus-visible {
  background-color: var(--primary-deep);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--primary-deep) 35%, transparent);
}

.choice_section .container-fluid .box .detail-box a {
  flex-direction: row;
  gap: 8px;
  margin: 18px 0 0;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: var(--primary-soft);
  font-weight: 500;
}

.choice_section .container-fluid .box .detail-box a i {
  margin: 0;
  color: var(--primary-deep);
}

.choice_section .container-fluid .box .detail-box a span {
  font-size: 15px;
}

.choice_section .container-fluid .box .detail-box a:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.choice_section .container-fluid .box .detail-box a:hover i {
  color: #ffffff;
}

/* opening hours tables (home + creche page) */
.choice_section .container-fluid .box .detail-box table,
.creche_section .detail-box table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #eeeeee;
  margin-top: 0;
  max-width: 420px;
}

.choice_section .container-fluid .box .detail-box table th,
.choice_section .container-fluid .box .detail-box table td,
.creche_section .detail-box table th,
.creche_section .detail-box table td {
  border: none;
  padding: 10px 18px;
  font-size: 15px;
}

.choice_section .container-fluid .box .detail-box table th {
  background-color: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 600;
}

.choice_section .container-fluid .box .detail-box table td:first-child,
.creche_section .detail-box table td:first-child {
  text-align: left;
  font-weight: 500;
}

.choice_section .container-fluid .box .detail-box table td:last-child,
.creche_section .detail-box table td:last-child {
  text-align: right;
}

.choice_section .container-fluid .box .detail-box table tbody tr:nth-child(odd),
.creche_section .detail-box table tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

.choice_section .container-fluid .box .detail-box table tbody tr:nth-child(n+6),
.creche_section .detail-box table tbody tr:nth-child(n+6) {
  color: #999999;
}

@media (min-width: 768px) {
  .choice_section .container-fluid .box {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Citation ---------- */
.citation_section .container-fluid .heading_container .detail-box {
  max-width: 760px;
}

.citation_section .container-fluid .heading_container .detail-box h2 {
  border-left: none;
  padding: 0;
  margin: 0;
  font-size: 32px;
  line-height: 1.4;
}

.citation_section .container-fluid .heading_container .detail-box h2::before {
  content: "\201C";
  display: block;
  font-size: 96px;
  line-height: 0.6;
  color: var(--primary-dark);
  font-style: normal;
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .citation_section .container-fluid .heading_container .detail-box h2 {
    font-size: 24px;
  }
}

/* ---------- Vision ---------- */
.vision_section .container-fluid .heading_container p {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.75;
}

.vision_section .container-fluid .carousel-wrap .owl-carousel .owl-stage {
  display: flex;
}

.vision_section .container-fluid .carousel-wrap .owl-carousel .owl-item {
  display: flex;
  padding: 12px 0 20px;
}

.vision_section .container-fluid .carousel-wrap .owl-carousel.team_carousel .item {
  display: flex;
  width: 100%;
}

.vision_section .container-fluid .carousel-wrap .owl-carousel.team_carousel .item .box {
  width: 100%;
  justify-content: flex-start;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 28px 18px;
}

.vision_section .container-fluid .carousel-wrap .owl-carousel.team_carousel .item .box .img-box img {
  width: auto !important;
  height: 96px;
  margin: 0 auto;
}

.vision_section .container-fluid .carousel-wrap .owl-carousel.team_carousel .item .box .detail-box {
  margin-top: 18px;
  text-align: center;
}

.vision_section .container-fluid .carousel-wrap .owl-carousel.team_carousel .item .box .detail-box h4 {
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

.vision_section .owl-dots {
  text-align: center;
  margin-top: 8px;
}

.vision_section .owl-dots .owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  margin: 4px;
  border-radius: 50%;
  background-color: var(--dot);
  transition: background-color 0.2s, width 0.2s;
}

.vision_section .owl-dots .owl-dot.active span {
  width: 24px;
  border-radius: 6px;
  background-color: var(--primary-dark);
}

/* ---------- About ---------- */
.about_section {
  border-radius: 0;
  box-shadow: none;
}

.about_section .container-fluid {
  max-width: 1000px;
}

.about_section .container-fluid .box .detail-box h1 {
  font-size: 30px;
}

.about_section p {
  font-size: 17px;
}

/* ---------- Creche page ---------- */
.creche_section .container-fluid .box,
.creche_section .box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  align-items: start;
}

.creche_section .detail-box {
  max-width: none;
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px;
  text-align: left;
}

.creche_section .creche_form > h1 {
  font-size: 32px;
  margin-bottom: 4px;
}

.creche_section .creche_form .container {
  padding: 0;
  max-width: none;
}

.creche_section form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 20px;
  max-width: none;
}

.creche_section form .form-group {
  margin-bottom: 18px;
}

.creche_section form label {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
}

.creche_section form input,
.creche_section form select {
  margin-bottom: 0;
  padding: 10px 12px;
  border: 1px solid #dddddd;
  border-radius: 10px;
  min-height: 46px;
  font-size: 15px;
}

.creche_section form input:focus,
.creche_section form select:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-dark) 20%, transparent);
  outline: none;
}

.creche_section #div_id_telephone div {
  gap: 8px;
}

.creche_section #div_id_telephone div #id_telephone_0 {
  min-width: 0;
  max-width: 38%;
  flex: 0 0 38%;
}

.creche_section #div_id_telephone div #id_telephone_1 {
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
}

.creche_section form button {
  grid-column: 1 / -1;
  justify-self: start;
  width: auto;
  min-width: 220px;
  padding: 12px 32px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.2s;
}

.creche_section form button:hover {
  background-color: var(--primary-deep);
}

.creche_section .creche_info h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin: 24px 0 8px;
  color: var(--primary-deep);
}

.creche_section .creche_info h1:first-child {
  margin-top: 0;
}

.creche_section .creche_info p {
  margin-bottom: 2px;
  font-size: 15px;
}

.creche_section .creche_info table {
  width: 100%;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .creche_section form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .creche_section .container-fluid .box,
  .creche_section .box {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
  }

  .creche_section .creche_info {
    position: sticky;
    top: calc(var(--nav-height) + 16px);
  }
}

@media (max-width: 768px) {
  .creche_section .box {
    text-align: left;
  }

  .creche_section .detail-box {
    margin: 0;
    padding: 24px 20px;
  }

  .creche_section form button {
    width: 100%;
  }
}

/* ---------- Footer ---------- */
.info_section {
  padding: 56px 0 40px;
}

.info_section h5 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.info_section .info_contact .contact_link_box a,
.info_section .info_links a {
  color: rgba(255, 255, 255, 0.92);
}

.info_section .info_contact .contact_link_box a:hover,
.info_section .info_links a:hover,
.info_section .info_links a.active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.info_section .info_links a.active {
  font-weight: 600;
}

.info_section .info_social a {
  width: 30px;
  height: 30px;
  opacity: 0.85;
}

.info_section .info_social a:hover {
  opacity: 1;
  box-shadow: 0 0 0 2px #ffffff;
}

@media (max-width: 767px) {
  .info_section .col-md-4 + .col-md-4 {
    margin-top: 28px;
  }
}

/* ---------- Fixes: nav labels on one line, carousel dots below ---------- */
.site_nav .nav-link {
  white-space: nowrap;
}

.site_nav .navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-dark) 30%, transparent);
}

.vision_section .container-fluid .carousel-wrap .owl-carousel.team_carousel {
  display: block;
}

/* owl dots are <button>s: undo button.css on pages that load it */
.vision_section .owl-dots .owl-dot,
.vision_section .owl-dots .owl-dot:hover {
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}
