/* =========================================================
   Hamro Montessori & Day Care House – site styles
   Mobile-first, no framework. Brand colours from the logo.
   ========================================================= */

:root {
  --orange: #F15A29;        /* logo orange – decorative / large text */
  --orange-btn: #C9410F;    /* buttons with white text (AA contrast) */
  --orange-ink: #B83A0C;    /* orange text on light backgrounds */
  --green: #0BA14B;         /* logo green – decorative */
  --green-ink: #067A37;     /* green text / buttons */
  --sun: #FFC83D;
  --sky: #DFF3FC;
  --ink: #1E293B;
  --muted: #4B5563;
  --line: #EADFD3;
  --bg: #FFFBF6;
  --tint: #FDF1E6;
  --white: #fff;

  --p-pink: #FCE4EC;  --p-green: #DDF3E4;  --p-peach: #FDE5D6;
  --p-mint: #DCF3EA;  --p-lilac: #ECE4FA;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(30, 41, 59, .18);
  --shadow-sm: 0 4px 14px -6px rgba(30, 41, 59, .16);
  --header-h: 72px;
  /* Headings: Fraunces (soft setting) for English, Noto Serif Devanagari for Nepali.
     Text: Nunito for English, Noto Sans Devanagari for Nepali.
     Kids' Corner and the letter sheets use Baloo 2 instead (kids.css, sheets.css). */
  --font-head: "Fraunces", "Noto Serif Devanagari", Georgia, "Nirmala UI", serif;
  --font-body: "Nunito", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, "Nirmala UI", sans-serif;

  /* Dhaka-weave trim (decoration only) */
  --dhaka: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Crect width='28' height='14' fill='%23FFF7EE'/%3E%3Cpath d='M0 7 7 0l7 7-7 7z' fill='%23B3261E'/%3E%3Cpath d='M14 7l7-7 7 7-7 7z' fill='%231E293B'/%3E%3Cpath d='M4 7l3-3 3 3-3 3z' fill='%23FFC83D'/%3E%3Cpath d='M18 7l3-3 3 3-3 3z' fill='%23F15A29'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.muted { color: var(--muted); }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon .fill, #i-facebook path { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 700 1rem/1.2 var(--font-body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange-btn); color: #fff; box-shadow: 0 8px 18px -8px rgba(201, 65, 15, .7); }
.btn-primary:hover { background: var(--orange-ink); color: #fff; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--ink); }
.btn-facebook { background: #1877F2; color: #fff; }
.btn-facebook:hover { background: #0f5fc7; color: #fff; }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 246, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(30, 41, 59, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand img { width: 140px; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 2px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: .5rem 1.25rem 1.5rem;
  box-shadow: 0 20px 30px -20px rgba(30, 41, 59, .35);
  display: none;
}
.site-nav.is-open { display: block; animation: drop .2s ease; }
.site-nav ul { list-style: none; }
.site-nav li a {
  display: block; padding: .85rem .25rem; font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 1px dashed var(--line);
}
.site-nav li a:hover, .site-nav li a.is-active { color: var(--orange-ink); }
.nav-cta { margin-top: 1rem; width: 100%; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 1240px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex !important; align-items: center; gap: 1.25rem;
    padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible;
  }
  .site-nav ul { display: flex; gap: .15rem; }
  .site-nav li a {
    border: 0; padding: .5rem .7rem; border-radius: 999px; font-size: .98rem; position: relative;
  }
  .site-nav li a:hover { background: var(--tint); }
  .site-nav li a.is-active { background: var(--tint); color: var(--orange-ink); }
  .nav-cta { margin: 0; width: auto; }
  .brand img { width: 169px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(255, 200, 61, .25), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(11, 161, 75, .12), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy::before { content: ""; display: block; height: 12px; max-width: 36rem; margin-bottom: 1rem; background: var(--dhaka) 0 0 / 24px 12px repeat-x; }
.eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: .35rem .85rem;
  font-size: .85rem; font-weight: 800; letter-spacing: .02em; color: var(--green-ink);
  background: #E3F5EA; border-radius: 999px;
}
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); margin-bottom: 1rem; }
.hero .hl {
  color: var(--orange-ink);
  background: linear-gradient(transparent 62%, rgba(255, 200, 61, .55) 62%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.lead em { color: var(--ink); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 2rem; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.hero-facts li {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: .75rem .9rem;
  display: flex; flex-direction: column; line-height: 1.3;
}
.hero-facts strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }
.hero-facts span { font-size: .88rem; color: var(--muted); }

.hero-media { position: relative; }
.slideshow {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--white);
  border: 6px solid var(--white);
}
.slides { position: relative; aspect-ratio: 16 / 10; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); border-radius: calc(var(--radius-lg) - 8px); }
.slide-dots { position: absolute; left: 0; right: 0; bottom: .75rem; display: flex; justify-content: center; gap: .5rem; }
.slide-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 2px solid #fff; background: rgba(255, 255, 255, .5); box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  transition: width .25s ease, background-color .25s ease;
}
.slide-dots button[aria-current="true"] { width: 28px; background: #fff; }
/* Bigger touch target without changing the look */
.slide-dots button { position: relative; }
.slide-dots button::after { content: ""; position: absolute; inset: -10px; }

.blob { position: absolute; border-radius: 50%; z-index: 0; }
.blob-a { width: 140px; height: 140px; background: var(--sun); top: -30px; right: -25px; opacity: .9; }
.blob-b { width: 90px; height: 90px; background: var(--green); bottom: -28px; left: -20px; opacity: .85; }

@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 5.5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .hero-facts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Quote band ---------- */
.quote-band { background: var(--ink); color: #fff; padding: 2.25rem 0; position: relative; }
.quote-band blockquote { margin: 0; text-align: center; }
.quote-band p { font-family: var(--font-head); font-size: clamp(1.25rem, 3vw, 1.8rem); font-weight: 500; margin-bottom: .4rem; }
.quote-band footer { color: var(--sun); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-head p { color: var(--muted); }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .6rem;
  font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-ink);
}
.kicker::before { content: ""; flex: none; width: 40px; height: 10px; background: var(--dhaka) 0 0 / 20px 10px repeat-x; }
.kicker [lang="ne"] { text-transform: none; letter-spacing: 0; font-size: 1.12em; } /* spacing would break the डिको line */
@media (min-width: 960px) { .section { padding: 5.5rem 0; } }

.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-sm); border: 1px solid #F1E7DC;
}
.card h3 { font-size: 1.45rem; }
.card-mint { background: #E9F7EF; border-color: #D3EEDD; }
.card-sun { background: #FFF5D9; border-color: #FBE7B0; }
@media (min-width: 720px) { .card { padding: 2rem; } }

.checklist { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.25rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--green-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 1.5rem; }
.about-side { display: grid; gap: 1.5rem; }
.principal { position: relative; }
.principal::before {
  content: "“"; position: absolute; top: -.35rem; right: 1.2rem;
  font: 600 7rem/1 var(--font-head); color: var(--orange); opacity: .18;
}
/* Collapsible text: animates height; visibility hides it from screen readers while closed */
.principal .more {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .35s ease, visibility 0s linear .35s;
}
.principal .more.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s ease, visibility 0s; }
.principal .more-inner { min-height: 0; overflow: hidden; }
html:not(.js) .principal .more { grid-template-rows: 1fr; visibility: visible; }
html:not(.js) [data-more] { display: none; }
.link-btn {
  display: inline-flex; align-items: center; gap: .35rem; padding: .25rem 0; margin-bottom: 1rem;
  background: none; border: 0; font: 800 1rem var(--font-body); color: var(--orange-ink); cursor: pointer;
}
.link-btn .icon { transition: transform .25s ease; }
.link-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.signature { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin: 0; border-top: 1px dashed var(--line); padding-top: 1rem; }
.signature span { display: block; font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--muted); }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.25fr 1fr; align-items: start; } }

/* ---------- Programmes ---------- */
.programme-groups { display: grid; gap: 1.5rem; }
.programme-group h3 {
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
  margin-bottom: 1rem; text-align: center;
}
.programme-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.programme {
  border-radius: var(--radius); padding: 1.4rem 1.2rem; text-align: center;
  border: 2px solid rgba(30, 41, 59, .06); transition: transform .2s ease, box-shadow .2s ease;
}
.programme:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.programme h4 { font-size: 1.35rem; margin-bottom: .25rem; }
.programme .age { margin: 0; font-weight: 700; color: var(--muted); font-size: .95rem; }
.programme .age::before { content: "From "; font-weight: 600; }
.p-pink { background: var(--p-pink); } .p-green { background: var(--p-green); } .p-peach { background: var(--p-peach); }
.p-mint { background: var(--p-mint); } .p-lilac { background: var(--p-lilac); }
.center-cta { text-align: center; margin: 2.25rem 0 0; }
@media (min-width: 960px) { .programme-groups { grid-template-columns: 2fr 3fr; gap: 2rem; } }

/* ---------- Why us / facilities ---------- */
.facilities {
  list-style: none; display: grid; gap: .9rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  margin-bottom: 2.5rem;
}
.facilities li {
  display: flex; align-items: center; gap: .9rem; font-weight: 700;
  background: var(--white); border: 1px solid #F1E7DC; border-radius: var(--radius); padding: .9rem 1rem;
  box-shadow: var(--shadow-sm);
}
.ficon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.ficon .icon { width: 24px; height: 24px; }
.c1 { background: #FDE5D6; color: var(--orange-ink); }
.c2 { background: #DDF3E4; color: var(--green-ink); }
.c3 { background: var(--sky); color: #0B6A93; }
.c4 { background: #ECE4FA; color: #6A3FB5; }

.feature { display: grid; gap: 1.5rem; align-items: center; background: linear-gradient(135deg, #fff 0%, #FFF5D9 100%); }
.feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.feature-badge {
  display: grid; place-items: center; text-align: center; gap: .6rem;
  aspect-ratio: 1; max-width: 240px; margin-inline: auto; width: 100%;
  border-radius: 50%; background: var(--green-ink); color: #fff; padding: 2rem;
  font: 600 1.2rem/1.3 var(--font-head); box-shadow: 0 0 0 12px rgba(11, 161, 75, .15);
}
.feature-badge .icon { width: 64px; height: 64px; stroke-width: 1.6; }
@media (min-width: 860px) { .feature { grid-template-columns: 1.6fr 1fr; padding: 2.5rem 3rem; } }

/* ---------- Team ---------- */
.team-grid {
  list-style: none; display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.member {
  background: var(--white); border-radius: var(--radius); padding: .7rem .7rem 1rem; text-align: center;
  border: 1px solid #F1E7DC; box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.member:hover { transform: translateY(-3px); }
.member img { width: 100%; aspect-ratio: 263 / 280; object-fit: cover; border-radius: 12px; margin-bottom: .75rem; background: var(--tint); }
.member h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.role {
  display: inline-block; margin: 0; padding: .15rem .65rem; border-radius: 999px;
  font-size: .8rem; font-weight: 800; background: #DDF3E4; color: var(--green-ink);
}
.role-lead { background: #FDE5D6; color: var(--orange-ink); }
.role-arts { background: #ECE4FA; color: #5B34A0; }
.role-care { background: var(--sky); color: #0B5F84; }
@media (min-width: 960px) { .team-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Food menu ---------- */
.menu-wrap { max-width: 1000px; margin-inline: auto; }
.menu-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.menu-table thead { display: none; }
.menu-table tr {
  display: block; margin-bottom: 1rem; background: var(--white); border: 1px solid #F1E7DC;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.menu-table th[scope="row"] {
  display: block; padding: .65rem 1rem; background: var(--green-ink); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; text-align: left;
}
.menu-table td { display: grid; grid-template-columns: 5rem 1fr; gap: .75rem; padding: .6rem 1rem; border-top: 1px dashed var(--line); }
.menu-table td::before { content: attr(data-label); font-weight: 800; color: var(--orange-ink); font-size: .9rem; }
.menu-table tr.is-today { border: 2px solid var(--orange); box-shadow: 0 0 0 4px rgba(241, 90, 41, .15); }
.menu-table tr.is-today th[scope="row"] { background: var(--orange-btn); }
.menu-table tr.is-today th[scope="row"]::after {
  content: "Today"; margin-left: .6rem; padding: .1rem .55rem; border-radius: 999px;
  background: #fff; color: var(--orange-ink); font: 800 .75rem/1.5 var(--font-body); vertical-align: middle;
}
.note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 1rem; }

@media (min-width: 760px) {
  .menu-table { border: 1px solid #F1E7DC; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
  .menu-table thead { display: table-header-group; }
  .menu-table tr { display: table-row; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .menu-table th, .menu-table td { display: table-cell; padding: 1rem 1.1rem; vertical-align: top; text-align: left; }
  .menu-table thead th { background: var(--green-ink); color: #fff; font: 600 1rem/1.3 var(--font-head); }
  .menu-table thead th span { display: block; font: 700 .8rem var(--font-body); opacity: .85; }
  .menu-table th[scope="row"] { display: table-cell; background: #FDF1E6; color: var(--orange-ink); width: 9rem; border-top: 1px solid #F1E7DC; }
  .menu-table td { border-top: 1px solid #F1E7DC; }
  .menu-table td::before { content: none; }
  .menu-table tbody tr:nth-child(even) td { background: #FFFCF8; }
  .menu-table tr.is-today { box-shadow: none; }
  .menu-table tr.is-today td, .menu-table tr.is-today th[scope="row"] { background: #FFF1DE; }
  .menu-table tr.is-today th[scope="row"] { color: var(--orange-ink); box-shadow: inset 5px 0 0 var(--orange); }
  .menu-table tr.is-today th[scope="row"]::after { display: block; width: max-content; margin: .35rem 0 0; background: var(--orange-btn); color: #fff; }
}

/* ---------- Calendar tabs ---------- */
.tabs { max-width: 1000px; margin-inline: auto; }
.tab-list { display: flex; gap: .5rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
.tab-list [role="tab"] {
  min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; cursor: pointer;
  font: 800 .95rem var(--font-body); color: var(--ink); background: var(--white); border: 2px solid var(--line);
}
.tab-list [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { background: var(--white); border-radius: var(--radius-lg); padding: .5rem; box-shadow: var(--shadow-sm); border: 1px solid #F1E7DC; }
.tab-panel + .tab-panel { margin-top: 1rem; }
.tab-panel iframe { width: 100%; height: 600px; border: 0; border-radius: calc(var(--radius-lg) - 8px); }
.tab-panel[hidden] { display: none; }
@media (max-width: 600px) { .tab-panel iframe { height: 520px; } }

/* ---------- Social ---------- */
.social-grid { display: grid; gap: 1.5rem; align-items: start; }
.fb-card { display: grid; gap: 1rem; justify-items: center; padding: 1rem; }
.fb-page { width: 100%; max-width: 500px; height: 500px; border: 0; overflow: hidden; border-radius: 12px; }
.activity-card { margin: 0; padding: 1rem; }
.activity-card img { width: 100%; border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.activity-card figcaption { text-align: center; color: var(--muted); font-weight: 700; padding-top: .8rem; }
@media (min-width: 860px) { .social-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(180deg, var(--bg) 0%, #FFF3E6 100%); }
.contact-grid { display: grid; gap: 1.75rem; align-items: start; }
.info-list { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.info-list p, .info-list address { margin: 0; color: var(--muted); }
.info-list a { font-weight: 700; }
.small-link { display: inline-block; margin-top: .25rem; font-size: .95rem; }
.quick-contact { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1rem;
  border-radius: 999px; font-weight: 800; text-decoration: none; color: #fff;
}
.chip:hover { color: #fff; filter: brightness(.92); }
.chip-whatsapp { background: #128C4A; }
.chip-viber { background: #6F42C1; }
.chip-messenger { background: #0866FF; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 320px; border: 0; }

.form-card h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.form-intro { color: var(--muted); font-size: .95rem; }
.req { color: var(--orange-ink); font-weight: 800; }
.optional { color: var(--muted); font-weight: 600; font-size: .88rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 800; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: 600 1rem/1.4 var(--font-body); color: var(--ink);
  background: #FFFDFB; border: 2px solid var(--line); border-radius: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background: #FFFDFB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E293B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .85rem center / 18px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #9AA3AF; font-weight: 600; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(241, 90, 41, .18);
}
.field [aria-invalid="true"] { border-color: #C62828; background: #FFF6F6; }
.error { margin: .35rem 0 0; color: #B71C1C; font-weight: 700; font-size: .9rem; }
.error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { text-align: center; color: var(--muted); font-size: .88rem; margin: .75rem 0 0; }

.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite;
}
.is-sending .spinner { display: inline-block; }
.is-sending { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px; font-weight: 700; }
.form-status.is-error { background: #FDECEA; color: #8E1B1B; border: 1px solid #F5C2BD; }
.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success:focus { outline: none; }
.form-success .tick {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center;
  background: #DDF3E4; color: var(--green-ink); animation: pop .4s ease;
}
.form-success .tick .icon { width: 36px; height: 36px; stroke-width: 3; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--muted); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 2.5rem; } }

/* ---------- Kids' Corner link & teaser ---------- */
.site-nav li a.nav-kids { color: var(--green-ink); }
@media (min-width: 1240px) {
  .site-nav li a.nav-kids { background: #E3F5EA; }
  .site-nav li a.nav-kids:hover { background: #D3EEDD; }
}
.teaser-grid { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.teaser {
  display: grid; justify-items: center; gap: .15rem; height: 100%; padding: 1.4rem 1rem; border-radius: var(--radius-lg);
  text-align: center; text-decoration: none; color: var(--ink); border: 3px solid rgba(30, 41, 59, .05);
  box-shadow: 0 6px 0 rgba(30, 41, 59, .08); transition: transform .15s ease;
}
.teaser:hover { transform: translateY(-3px); color: var(--ink); }
.teaser .te { font-size: 2.6rem; line-height: 1.2; }
.teaser strong { font: 600 1.35rem/1.3 var(--font-head); }
.teaser span:last-child { color: var(--muted); font-weight: 700; font-size: .95rem; }
.home-next { text-align: center; margin: -1rem 0 1.5rem; }
.home-next a { display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; background: #fff; border: 2px dashed #F8C9A8; font-weight: 800; text-decoration: none; color: var(--ink); }
.home-next a:hover { border-color: var(--orange); color: var(--orange-ink); }
.t1 { background: #FFE3D3; } .t2 { background: #FFF1C2; } .t3 { background: #DDF0FB; } .t4 { background: #ECE4FA; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dhaka) 0 0 / 24px 12px repeat-x, var(--ink); color: #CBD5E1; padding: calc(3.5rem + 12px) 0 1.5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
.footer-logo { background: #fff; border-radius: 12px; padding: .5rem .75rem; width: 170px; margin-bottom: 1rem; box-sizing: content-box; }
.site-footer h2 { font-size: 1.1rem; color: #fff; margin-bottom: .75rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem;
}
.footer-bottom p { margin: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1.2fr; } }

/* ---------- Floating chat ---------- */
.chat-widget { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.chat-toggle {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--green-ink);
  box-shadow: 0 10px 24px -8px rgba(6, 122, 55, .7); transition: transform .2s ease;
}
.chat-toggle:hover { transform: scale(1.06); }
.chat-toggle .icon { width: 28px; height: 28px; grid-area: 1 / 1; }
.chat-toggle .icon-close, .chat-toggle[aria-expanded="true"] .icon-open { display: none; }
.chat-toggle[aria-expanded="true"] .icon-close { display: block; }
.chat-menu {
  background: var(--white); border-radius: 20px; padding: .6rem; min-width: 220px;
  box-shadow: 0 20px 40px -12px rgba(30, 41, 59, .35); border: 1px solid var(--line);
  animation: drop .18s ease;
}
.chat-menu[hidden] { display: none; }
.chat-title { margin: .25rem .6rem .4rem; font-weight: 800; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.chat-menu a {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .75rem; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.chat-menu a:hover { background: var(--tint); color: var(--orange-ink); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Standalone pages (contact.php fallback) ---------- */
.page-message { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.page-message .card { max-width: 560px; width: 100%; text-align: center; }
.page-message ul { text-align: left; margin: 0 0 1.25rem 1.25rem; color: #8E1B1B; font-weight: 700; }
.page-message img { margin: 0 auto 1.25rem; }

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .chat-widget, .hero-media, .map, .tabs, .social-grid, .form-card, .quick-contact { display: none !important; }
  body { background: #fff; }
  .section { padding: 1.5rem 0; }
}
