/*
Theme Name: Petit a Petit
Theme URI: https://www.petitapetitdaycare.com/
Author: Patiet
Description: Custom daycare theme for Petit a Petit Daycare.
Version: 0.1.1
Text Domain: petit-a-petit
*/

:root {
  --pap-ink: #24304d;
  --pap-muted: #65738a;
  --pap-blue: #9dcdf2;
  --pap-blue-deep: #5f91c8;
  --pap-red: #f3a2a3;
  --pap-red-deep: #de7478;
  --pap-green: #a6d7bf;
  --pap-yellow: #f7d98b;
  --pap-coral: #f3a2a3;
  --pap-plum: #8393d3;
  --pap-cream: #fffaf1;
  --pap-paper: #ffffff;
  --pap-line: #e7edf2;
  --pap-shadow: 0 18px 50px rgba(31, 45, 61, 0.12);
  --pap-radius: 8px;
  --pap-wide: 1180px;
  --pap-section-wash:
    linear-gradient(90deg, rgba(228, 241, 251, 0.9) 0%, rgba(255, 250, 241, 0.96) 52%, rgba(248, 225, 218, 0.78) 100%),
    radial-gradient(circle at 8% 8%, rgba(157, 205, 242, 0.24), transparent 28rem),
    radial-gradient(circle at 92% 14%, rgba(243, 162, 163, 0.18), transparent 26rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--pap-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(157, 205, 242, 0.24), transparent 28rem),
    radial-gradient(circle at 92% 14%, rgba(243, 162, 163, 0.18), transparent 26rem),
    var(--pap-cream);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 70rem 70rem, 64rem 64rem, auto;
  font-family: "Nunito", "Trebuchet MS", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: #0877a8;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 237, 242, 0.9);
  background: rgba(255, 249, 237, 0.94);
  backdrop-filter: blur(12px);
}

.top-contact {
  background: #24304d;
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
}

.top-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  width: min(var(--pap-wide), calc(100% - 40px));
  min-height: 38px;
  margin: 0 auto;
  padding: 7px 0;
}

.top-contact a {
  color: white;
  text-decoration: none;
}

.top-contact a:first-child::before {
  content: "Call ";
  color: #d9ecff;
}

.top-contact a:last-child {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--pap-red-deep);
  box-shadow: 0 8px 18px rgba(222, 116, 120, 0.24);
}

.header-inner,
.site-footer .footer-inner,
.wrap {
  width: min(var(--pap-wide), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--pap-ink);
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(160px, 18vw, 220px);
  height: auto;
  filter: invert(18%) sepia(24%) saturate(1487%) hue-rotate(190deg) brightness(91%) contrast(92%)
    drop-shadow(0 10px 18px rgba(95, 145, 200, 0.18));
}

.header-inner nav {
  flex: 1 1 auto;
  min-width: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(95, 145, 200, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(31, 45, 61, 0.08);
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--pap-ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--pap-ink);
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  text-decoration: none;
}

.menu a:hover,
.current-menu-item a {
  background: var(--pap-paper);
  box-shadow: 0 8px 20px rgba(31, 45, 61, 0.08);
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(95, 145, 200, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(31, 45, 61, 0.08);
}

.language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  min-height: 34px;
  padding: 6px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pap-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.flag-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border: 1px solid rgba(36, 48, 77, 0.24);
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(36, 48, 77, 0.15);
}

.flag-icon-us {
  background:
    linear-gradient(#3c5aa6 0 0) 0 0 / 44% 54% no-repeat,
    repeating-linear-gradient(
      to bottom,
      #c94f5a 0,
      #c94f5a 7.7%,
      #fff 7.7%,
      #fff 15.4%
    );
}

.flag-icon-fr {
  background: linear-gradient(90deg, #5f91c8 0 33.333%, #fff 33.333% 66.666%, #de7478 66.666%);
}

.language-switcher button.is-active,
.language-switcher button:hover {
  background: var(--pap-blue);
  color: #123154;
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-balloon-frame,
body > .skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

.site-main {
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 76px 0 42px;
  background: var(--pap-section-wash);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% 100%, 70rem 70rem, 64rem 64rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid rgba(95, 145, 200, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #466f9f;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.35rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 700px;
  color: #4d5c6a;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--pap-red-deep);
  box-shadow: 0 12px 24px rgba(222, 116, 120, 0.28);
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  color: var(--pap-ink);
  background: var(--pap-blue);
  box-shadow: 0 12px 24px rgba(95, 145, 200, 0.22);
}

.hero-card {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(231, 237, 242, 0.9);
  border-radius: 28px;
  background: var(--pap-paper);
  box-shadow: var(--pap-shadow);
  transform: rotate(1.5deg);
}

.hero-card img,
.slideshow-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f6f8;
}

.slideshow-track {
  position: relative;
  aspect-ratio: 4 / 3;
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.slideshow-slide.is-active {
  opacity: 1;
}

.slideshow-slide img {
  height: 100%;
}

.slideshow-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  background: rgba(38, 50, 63, 0.48);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.slideshow-dot.is-active {
  background: var(--pap-coral);
}

.hero-note {
  position: absolute;
  right: -18px;
  bottom: 30px;
  max-width: 230px;
  padding: 16px 18px;
  border-radius: var(--pap-radius);
  background: var(--pap-green);
  color: #123414;
  box-shadow: var(--pap-shadow);
  font-weight: 900;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--pap-paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--pap-muted);
}

.program-highlights {
  width: min(var(--pap-wide), calc(100% - 40px));
}

.program-highlights .section-heading {
  display: block;
  margin-bottom: 28px;
}

.program-highlights .section-heading > div {
  max-width: 860px;
}

.program-highlights .section-heading p {
  max-width: 620px;
  padding-top: 0;
  margin-top: 12px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.program-highlights .card {
  padding: 26px;
}

.program-highlights .card .badge {
  margin-bottom: 22px;
}

.program-highlights h3 {
  font-size: 1.28rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--pap-line);
  border-radius: var(--pap-radius);
  background: var(--pap-paper);
  box-shadow: 0 14px 34px rgba(31, 45, 61, 0.07);
}

.card .badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--pap-ink);
  background: #eaf5ff;
  font-size: 0.86rem;
  font-weight: 900;
}

.card:nth-child(2) .badge {
  background: #fcecec;
}

.card:nth-child(3) .badge {
  background: #f1f5ff;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.feature-band img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--pap-shadow);
}

.narrow-wrap {
  max-width: 980px;
}

.about-page h1,
.contact-page h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.contact-page {
  padding-top: 32px;
}

.contact-page h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 3.4vw, 3.5rem);
}

.about-page h2,
.contact-page h2 {
  margin-top: 18px;
}

.about-portrait {
  display: block;
  width: min(100%, 720px);
  margin: 28px 0;
  border-radius: 28px;
  box-shadow: var(--pap-shadow);
}

.routine-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.routine-list li {
  padding: 12px 14px;
  border-left: 5px solid var(--pap-blue);
  border-radius: var(--pap-radius);
  background: #f7fbfe;
  font-weight: 800;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.values li {
  padding: 9px 13px;
  border-radius: 999px;
  background: #eaf5ff;
  color: #466f9f;
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  padding: 32px;
  border-radius: 28px;
  background: var(--pap-ink);
  color: white;
}

.contact-panel a {
  color: white;
}

.form-placeholder {
  padding: 24px;
  border-radius: var(--pap-radius);
  background: white;
  color: var(--pap-ink);
}

.contact-wrap {
  max-width: 980px;
}

.contact-card {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--pap-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--pap-shadow);
}

.contact-intro {
  max-width: 860px;
}

.contact-page .lead {
  max-width: 720px;
}

.contact-form-block {
  padding-top: 8px;
  border-top: 1px solid var(--pap-line);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-methods-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-method {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 138px;
  padding: 18px;
  border: 1px solid #cfe0ee;
  border-radius: var(--pap-radius);
  background: #f7fbfe;
}

.contact-method h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.contact-method p {
  margin: 0;
  color: var(--pap-muted);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.45;
}

.contact-method a {
  color: var(--pap-blue-deep);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #eaf5ff;
  color: var(--pap-blue-deep);
}

.contact-icon::before {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.icon-mail::before {
  content: "@";
}

.icon-address::before {
  content: "⌖";
}

.icon-phone::before {
  content: "☎";
}

.events-list {
  display: grid;
  gap: 16px;
}

.event-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--pap-line);
  border-radius: var(--pap-radius);
  background: var(--pap-paper);
}

.event-card h3,
.event-card p {
  margin-bottom: 6px;
}

.event-date {
  display: grid;
  place-items: center;
  min-height: 82px;
  border-radius: var(--pap-radius);
  background: var(--pap-yellow);
  color: var(--pap-ink);
  font-weight: 900;
  line-height: 1;
}

.event-date span {
  font-size: 0.88rem;
  text-transform: uppercase;
}

.event-date strong {
  font-size: 2rem;
}

.empty-state {
  margin: 0;
  padding: 22px;
  border: 1px dashed #bfd3df;
  border-radius: var(--pap-radius);
  background: #f7fbfe;
  color: var(--pap-muted);
  font-weight: 900;
}

.fluentform {
  margin-top: 12px;
}

.fluentform .ff-el-group {
  margin-bottom: 14px;
}

.fluentform label {
  color: var(--pap-ink);
  font-weight: 900;
}

.fluentform input,
.fluentform textarea,
.fluentform select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--pap-line);
  border-radius: var(--pap-radius);
  background: #f9fbfd;
  color: var(--pap-ink);
  font: inherit;
}

.fluentform textarea {
  min-height: 120px;
}

.fluentform .ff-btn-submit,
.fluentform button[type="submit"] {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--pap-red-deep);
  color: white;
  box-shadow: 0 12px 24px rgba(222, 116, 120, 0.28);
  font-weight: 900;
}

.site-footer {
  padding: 36px 0;
  background: #17202a;
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-inner a {
  color: white;
}

.page-content {
  padding: 54px 0 76px;
  background: var(--pap-section-wash);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% 100%, 70rem 70rem, 64rem 64rem;
}

.page-content > * {
  width: min(920px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.page-content h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.page-content .about-page h1,
.page-content .contact-page h1 {
  max-width: 920px;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  line-height: 1.08;
}

.program-page h1 {
  max-width: 18ch;
}

.program-page h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.program-page .lead {
  max-width: 760px;
}

.program-page .card p {
  margin-bottom: 0;
}

.program-page .grid-3 > .card,
.care-card {
  display: flex;
  flex-direction: column;
}

.care-card-body {
  min-height: 0;
}

.care-card-body .badge {
  width: 100%;
  justify-content: center;
}

.care-card-copy {
  min-height: 144px;
}

.pricing-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 260ms ease, opacity 220ms ease;
}

.pricing-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.pricing-panel-inner {
  min-height: 0;
}

.pricing-toggle {
  width: 100%;
  min-height: 46px;
  margin-top: 0;
  border: 2px solid var(--pap-blue-deep);
  border-radius: var(--pap-radius);
  background: #eaf5ff;
  color: var(--pap-ink);
  box-shadow: 0 8px 18px rgba(95, 145, 200, 0.18);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.pricing-toggle[aria-expanded="true"] {
  background: var(--pap-blue);
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--pap-line);
  color: var(--pap-ink);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
}

.pricing-list strong {
  white-space: nowrap;
  font-weight: 900;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: start;
}

.schedule-layout .card {
  min-height: auto;
}

.infant-routine {
  max-width: 860px;
  min-height: auto;
  margin-bottom: 36px;
}

.schedule-block {
  max-width: 920px;
}

.schedule-key {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.key-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.key-item::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--key-color);
}

.routine-list li {
  border-left-color: var(--routine-color, var(--pap-blue));
}

.routine-list li.toddler {
  --routine-color: var(--pap-blue-deep);
  background: #eef7ff;
}

.routine-list li.preschool {
  --routine-color: var(--pap-red-deep);
  background: #fff3f3;
}

.routine-list li.shared {
  --routine-color: var(--pap-green);
  background: #f0fbf5;
}

.downloads-card {
  max-width: 820px;
}

.downloads-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.downloads-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--pap-line);
  border-radius: var(--pap-radius);
  background: #f9fbfd;
  color: var(--pap-ink);
  font-weight: 900;
  text-decoration: none;
}

.downloads-list a::after {
  content: "Download";
  color: var(--pap-blue-deep);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 72px;
    padding: 10px 0;
    gap: 10px 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-navigation {
    display: none;
    flex: 1 0 100%;
    order: 4;
    padding-top: 4px;
  }

  .site-header.is-menu-open .primary-navigation {
    display: block;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 0 4px;
  }

  .menu a {
    justify-content: flex-start;
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .hero-grid,
  .feature-band,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .routine-list,
  .schedule-layout,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: 0;
  }

  .hero {
    padding-top: 44px;
  }

  .top-contact-inner {
    justify-content: flex-start;
    gap: 6px 12px;
    font-size: 0.84rem;
  }

  .hero-note {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-card {
    transform: none;
  }
}
