/* ═══════════════════════════════════════════
   ОДЯ „Ана Кузманова" – Shared Stylesheet
   ═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky: #4FC1E8; --sky-light: #DCF3FA;
  --yellow: #FFCE56; --yellow-soft: #FFF3D5;
  --mint: #F1F8E8; --coral: #EC5664; --coral-light: #FCE6E8;
  --green: #A0CE69; --green-dark: #58713A;
  --navy: #4FC1E8; --navy-soft: #2E9FCB;
  --menu-blue: #146B94;
  --white: #FFFDF9; --gray: #6b7a8d; --gray-light: #f5f7fa;
  --radius: 20px; --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(26,46,68,0.10);
  --shadow-hover: 0 16px 48px rgba(26,46,68,0.18);
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--navy); overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Nunito', sans-serif; }
img { display: block; }
a { transition: all 0.2s; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,253,249,0.93); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79,193,232,0.15); transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(26,46,68,0.10); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon { width: 52px; height: 52px; object-fit: contain; display: block; }
.nav-logo-text { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 15px; line-height: 1.2; color: var(--menu-blue); }
.nav-logo-text span { color: var(--sky); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-family: 'Nunito',sans-serif; font-weight: 600; font-size: 14px; color: var(--menu-blue); text-decoration: none; padding: 8px 14px; border-radius: 10px; transition: all 0.2s; }
.nav-links a:hover { background: var(--sky-light); color: var(--sky); }
.nav-links a.active { background: var(--sky-light); color: var(--sky); font-weight: 800; }
.nav-cta { background: var(--sky) !important; color: white !important; padding: 10px 20px !important; border-radius: 12px !important; }
.nav-cta:hover { background: #2d8fb5 !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,193,232,0.4) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--menu-blue); border-radius: 2px; transition: 0.3s; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; background: var(--white); padding: 16px 24px 20px; border-top: 1px solid var(--sky-light); }
.mobile-menu a { font-family: 'Nunito',sans-serif; font-weight: 700; font-size: 16px; color: var(--menu-blue); text-decoration: none; padding: 12px 16px; border-radius: 12px; transition: 0.2s; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--sky-light); color: var(--sky); }
.mobile-menu.open { display: flex; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 110px 24px 64px;
  background: linear-gradient(160deg, #e8f6fd 0%, #fff8e7 60%, #e8f7f0 100%);
  position: relative; overflow: hidden;
}
.page-hero::after { content:''; position:absolute; inset:0; background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234FC1E8' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E"); }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: 'Nunito',sans-serif; font-weight: 700; font-size: 14px; color: var(--gray); text-decoration: none; margin-bottom: 20px; padding: 8px 14px; border-radius: 10px; background: white; border: 1.5px solid var(--sky-light); box-shadow: var(--shadow); }
.back-link:hover { color: var(--sky); border-color: var(--sky); }
.page-hero h1 { font-family: 'Nunito',sans-serif; font-weight: 900; font-size: clamp(34px,5vw,54px); line-height: 1.1; color: var(--navy); margin-bottom: 14px; }
.page-hero h1 .accent { color: var(--sky); }
.page-hero p.lead { font-size: 17px; line-height: 1.7; color: var(--gray); max-width: 560px; }
.hero-pills { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.hero-pill { display: flex; align-items: center; gap: 6px; background: white; border: 1.5px solid var(--sky-light); border-radius: 50px; padding: 7px 16px; font-family: 'Nunito',sans-serif; font-weight: 700; font-size: 13px; color: var(--navy); box-shadow: 0 2px 8px rgba(26,46,68,0.06); }

/* ─── COMMON LAYOUT ─── */
.page-content { padding: 60px 24px 100px; }
.content-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--sky); margin-bottom: 10px; }
.section-title { font-family: 'Nunito',sans-serif; font-weight: 900; font-size: clamp(26px,4vw,40px); line-height: 1.15; color: var(--navy); margin-bottom: 14px; }
.section-desc { font-size: 16px; line-height: 1.7; color: var(--gray); }

/* ─── BUTTONS ─── */
.btn-primary { background: var(--sky); color: white; padding: 14px 28px; border-radius: 14px; font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 6px 24px rgba(79,193,232,0.3); transition: all 0.25s; border: none; cursor: pointer; }
.btn-primary:hover { background: #2d8fb5; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(79,193,232,0.4); }
.btn-secondary { background: white; color: var(--navy); padding: 14px 28px; border-radius: 14px; font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--sky-light); transition: all 0.25s; }
.btn-secondary:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-yellow { background: var(--yellow); color: var(--navy); padding: 14px 28px; border-radius: 14px; font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 6px 24px rgba(255,206,86,0.3); transition: all 0.25s; border: none; cursor: pointer; }
.btn-yellow:hover { background: #f0c040; transform: translateY(-3px); }

/* ─── CARDS ─── */
.card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); transition: all 0.3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-img { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px; }

/* ─── INFO BOXES ─── */
.info-box { background: var(--sky-light); border-left: 4px solid var(--sky); border-radius: var(--radius-sm); padding: 20px 24px; margin: 20px 0; }
.info-box.yellow { background: var(--yellow-soft); border-color: var(--yellow); }
.info-box.mint { background: var(--mint); border-color: #A0CE69; }
.info-box.coral { background: #fff0f0; border-color: var(--coral); }
.info-box-title { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.info-box p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }

/* ─── BACK TO TOP ─── */
#backTop { position: fixed; bottom: 28px; right: 28px; z-index: 900; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: white; border: none; font-size: 20px; cursor: pointer; box-shadow: var(--shadow); transition: all 0.3s; opacity: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; }
#backTop.visible { opacity: 1; pointer-events: all; }
#backTop:hover { background: #2d8fb5; transform: translateY(-3px); }

/* ─── DIVIDER ─── */
.divider { width: 60px; height: 4px; background: linear-gradient(90deg,var(--coral),var(--yellow),var(--green),var(--sky)); border-radius: 2px; margin: 16px 0 24px; }

/* ─── TABLE ─── */
.styled-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.styled-table th { background: var(--navy); color: white; font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 14px; padding: 14px 18px; text-align: left; }
.styled-table td { padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--sky-light); }
.styled-table tr:last-child td { border-bottom: none; }
.styled-table tr:nth-child(even) td { background: var(--gray-light); }
.styled-table tr:hover td { background: var(--sky-light); }

/* ─── FOOTER ─── */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 50px 24px 30px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand h3 { font-family: 'Nunito',sans-serif; font-weight: 900; font-size: 20px; color: white; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { font-family: 'Nunito',sans-serif; font-weight: 800; font-size: 15px; color: white; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--sky); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--sky); text-decoration: none; }

/* ─── RESPONSIVE ─── */
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .nav-links { display: none; } .hamburger { display: flex; } }
@media(max-width:600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } .page-content { padding: 40px 16px 70px; } }
