/* ============================================================
   lbryarchive.com — Main Stylesheet
   Colors: #1B3A4B (dark navy), #2E6171 (teal), #4DA8DA (sky blue), #A8DADC (light cyan), #F1FAEE (off-white)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&family=Nunito+Sans:wght@300;400;600&display=swap');

/* ─── CSS Variables ───────────────────────────────────────── */
:root {
  --c-dark:    #1B3A4B;
  --c-teal:    #2E6171;
  --c-sky:     #4DA8DA;
  --c-cyan:    #A8DADC;
  --c-light:   #F1FAEE;
  --c-white:   #ffffff;
  --c-glass:   rgba(255,255,255,0.07);
  --c-glass-b: rgba(255,255,255,0.12);
  --c-border:  rgba(255,255,255,0.10);

  --ff-head: 'Raleway', sans-serif;
  --ff-body: 'Nunito Sans', sans-serif;

  --radius:  12px;
  --radius-lg: 20px;
  --shadow:  0 8px 32px rgba(27,58,75,0.18);
  --trans:   0.3s ease;
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--c-dark);
  background: var(--c-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); border: none; background: none; }

/* ─── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--ff-head); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p  { font-size: 1rem; }

.text-sky   { color: var(--c-sky); }
.text-cyan  { color: var(--c-cyan); }
.text-light { color: var(--c-light); }
.text-white { color: var(--c-white); }
.text-teal  { color: var(--c-teal); }

/* ─── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section spacing ─────────────────────────────────────── */
section { padding: 80px 0; }
.section-title { margin-bottom: 48px; }
.section-title h2 { color: var(--c-dark); }
.section-title p  { color: #5a7a8a; margin-top: 12px; max-width: 600px; }
.section-title.center { text-align: center; }
.section-title.center p { margin: 12px auto 0; }

.section-light { background: var(--c-light); }
.section-dark  { background: var(--c-dark); color: var(--c-light); }
.section-teal  { background: var(--c-teal); color: var(--c-light); }
.section-navy  { background: #0f2535; color: var(--c-light); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 12px 28px; border-radius: 6px;
  transition: var(--trans);
  position: relative;
}
.btn-primary {
  background: var(--c-sky);
  color: var(--c-white);
}
.btn-primary:hover { background: #3a9acc; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(77,168,218,0.4); }

.btn-outline {
  border: 2px solid var(--c-sky);
  color: var(--c-sky);
}
.btn-outline:hover { background: var(--c-sky); color: var(--c-white); }

.btn-ghost {
  color: var(--c-sky);
  padding: 4px 0;
  position: relative;
}
.btn-ghost::after {
  content:''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--c-sky); transition: width var(--trans);
}
.btn-ghost:hover::after { width: 100%; }
.btn-ghost:hover { color: #3a9acc; }

/* ─── Header / Nav ────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(27,58,75,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: var(--trans);
}
.site-header.scrolled { background: rgba(27,58,75,0.98); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--ff-head); font-weight: 800; font-size: 1.35rem;
  color: var(--c-white); letter-spacing: -0.02em;
}
.logo span { color: var(--c-sky); }

.nav-menu { display: flex; align-items: center; gap: 6px; }

.nav-menu a {
  font-family: var(--ff-head); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 8px 12px; border-radius: 6px;
  transition: var(--trans);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--c-sky); background: rgba(77,168,218,0.1); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--c-white);
  border-radius: 2px; transition: var(--trans);
}

/* ─── Mobile Nav ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 70px; left: 0; width: 100%;
    background: var(--c-dark); flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 4px;
    transform: translateY(-120%); opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
    border-bottom: 1px solid var(--c-border);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-menu a { width: 100%; padding: 12px 16px; font-size: 0.9rem; }
}

/* ─── Glass Card ──────────────────────────────────────────── */
.glass-card {
  background: var(--c-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27,58,75,0.08);
  transition: transform var(--trans), box-shadow var(--trans);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27,58,75,0.14); }

/* ─── Bento Grid ──────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

/* ─── Hero base ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,58,75,0.88) 0%, rgba(46,97,113,0.75) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* Gradient mesh hero */
.hero-gradient {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-teal) 50%, #1a4a5c 100%);
}

/* ─── Stats Counter ───────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.stat-item {
  text-align: center; padding: 32px 24px;
  background: var(--c-white); border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(27,58,75,0.08);
}
.stat-number {
  font-family: var(--ff-head); font-size: 3rem; font-weight: 800;
  color: var(--c-sky); line-height: 1;
}
.stat-label { color: #5a7a8a; margin-top: 8px; font-size: 0.9rem; font-weight: 600; }

/* ─── FAQ Accordion ───────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-white); border-radius: var(--radius);
  border: 1px solid rgba(77,168,218,0.15);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 20px 24px;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  color: var(--c-dark); display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: background var(--trans);
}
.faq-question:hover { background: rgba(77,168,218,0.05); }
.faq-question .icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-sky); color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; flex-shrink: 0;
  transition: transform var(--trans);
}
.faq-question.open .icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: #5a7a8a;
}
.faq-answer.open { max-height: 500px; padding: 0 24px 20px; }

/* ─── Badge / Achievement ─────────────────────────────────── */
.badges-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.badge-item {
  text-align: center; padding: 32px 20px;
  background: linear-gradient(135deg, var(--c-dark), var(--c-teal));
  border-radius: var(--radius-lg); color: var(--c-white);
  border: 1px solid var(--c-border);
}
.badge-icon { font-size: 2.5rem; margin-bottom: 12px; }
.badge-title { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.badge-desc { font-size: 0.85rem; opacity: 0.8; }

/* ─── Comparison Table ────────────────────────────────────── */
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th {
  background: var(--c-dark); color: var(--c-white);
  padding: 16px 20px; text-align: left;
  font-family: var(--ff-head); font-weight: 600;
}
.comp-table td {
  padding: 14px 20px; border-bottom: 1px solid rgba(77,168,218,0.1);
  font-size: 0.95rem;
}
.comp-table tr:nth-child(even) td { background: rgba(77,168,218,0.04); }
.comp-table tr:hover td { background: rgba(77,168,218,0.08); }
.comp-table .check { color: #2ecc71; font-size: 1.1rem; }
.comp-table .cross { color: #e74c3c; font-size: 1.1rem; }

/* ─── Feature List ────────────────────────────────────────── */
.feature-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--c-white); padding: 24px;
  border-radius: var(--radius); border-left: 4px solid var(--c-sky);
  box-shadow: 0 2px 12px rgba(27,58,75,0.06);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-sky), var(--c-teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0; color: var(--c-white);
}
.feature-text h4 { color: var(--c-dark); margin-bottom: 6px; font-size: 1rem; }
.feature-text p  { color: #5a7a8a; font-size: 0.9rem; }

/* ─── Process Timeline ────────────────────────────────────── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--c-sky), var(--c-teal));
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -32px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-sky); border: 3px solid var(--c-white);
  box-shadow: 0 0 0 3px var(--c-sky);
}
.timeline-content {
  background: var(--c-white); padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(27,58,75,0.08);
}
.timeline-content h4 { color: var(--c-dark); margin-bottom: 8px; }
.timeline-content p  { color: #5a7a8a; font-size: 0.9rem; }

/* ─── Team Grid ───────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  text-align: center; background: var(--c-white);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,58,75,0.08);
  transition: transform var(--trans);
}
.team-card:hover { transform: translateY(-6px); }
.team-card img { width: 100%; height: 220px; object-fit: cover; }
.team-info { padding: 24px 20px; }
.team-info h4 { color: var(--c-dark); margin-bottom: 4px; }
.team-info p  { color: var(--c-sky); font-size: 0.85rem; font-weight: 600; }
.team-info span { display: block; color: #7a9aaa; font-size: 0.83rem; margin-top: 6px; }

/* ─── Partners Strip ──────────────────────────────────────── */
.partners-strip {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: center;
}
.partner-logo {
  background: var(--c-white); border-radius: var(--radius);
  padding: 16px 28px; font-family: var(--ff-head); font-weight: 700;
  color: var(--c-teal); font-size: 0.95rem;
  box-shadow: 0 2px 12px rgba(27,58,75,0.06);
  border: 1px solid rgba(77,168,218,0.15);
}

/* ─── Gallery / Masonry ───────────────────────────────────── */
.gallery-masonry {
  columns: 3; column-gap: 16px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 16px;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
}
.gallery-item img {
  width: 100%; transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 768px) { .gallery-masonry { columns: 2; } }
@media (max-width: 480px) { .gallery-masonry { columns: 1; } }

/* ─── Tabs ────────────────────────────────────────────────── */
.tabs-nav { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 22px; border-radius: 6px;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.04em; color: var(--c-teal);
  border: 2px solid rgba(46,97,113,0.3);
  transition: var(--trans);
}
.tab-btn.active { background: var(--c-teal); color: var(--c-white); border-color: var(--c-teal); }
.tab-btn:hover:not(.active) { background: rgba(46,97,113,0.08); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0f2535;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--c-sky); margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; transition: color var(--trans); }
.footer-col ul li a:hover { color: var(--c-sky); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9rem; margin-bottom: 12px;
}
.footer-contact-item .icon { color: var(--c-sky); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; text-align: center;
  font-size: 0.83rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--c-sky); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── Cookie Banner ───────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 2000;
  background: rgba(15,37,53,0.97);
  border-top: 1px solid rgba(77,168,218,0.3);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; justify-content: space-between;
}
.cookie-text { font-size: 0.88rem; color: rgba(255,255,255,0.8); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--c-sky); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-accept {
  background: var(--c-sky); color: var(--c-white);
  padding: 10px 24px; border-radius: 6px;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.85rem;
  transition: background var(--trans);
}
.cookie-accept:hover { background: #3a9acc; }
.cookie-decline {
  color: rgba(255,255,255,0.6); padding: 10px 16px;
  font-size: 0.85rem; transition: color var(--trans);
}
.cookie-decline:hover { color: var(--c-white); }

/* ─── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.85rem; margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--c-sky); transition: color var(--trans); }
.breadcrumb a:hover { color: var(--c-cyan); }
.breadcrumb .sep { opacity: 0.4; }

/* ─── Tags ────────────────────────────────────────────────── */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  background: rgba(77,168,218,0.12);
  color: var(--c-sky); letter-spacing: 0.04em;
}

/* ─── Form ────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: var(--ff-head); font-weight: 600;
  font-size: 0.85rem; color: var(--c-dark); margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px;
  background: var(--c-white); border: 2px solid rgba(46,97,113,0.2);
  border-radius: var(--radius); font-family: var(--ff-body); font-size: 1rem;
  color: var(--c-dark); transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--c-sky);
  box-shadow: 0 0 0 3px rgba(77,168,218,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { color: #e74c3c; font-size: 0.82rem; margin-top: 4px; display: none; }
.form-error.show { display: block; }

/* ─── Article Styles ──────────────────────────────────────── */
.article-body { max-width: 780px; }
.article-body h2 { color: var(--c-dark); margin: 36px 0 16px; font-size: 1.6rem; }
.article-body h3 { color: var(--c-teal); margin: 28px 0 12px; font-size: 1.25rem; }
.article-body p  { color: #3a5a6a; margin-bottom: 18px; font-size: 1.02rem; }
.article-body ul { margin: 16px 0 20px 20px; list-style: disc; }
.article-body ul li { color: #3a5a6a; margin-bottom: 8px; font-size: 0.98rem; }
.article-body blockquote {
  border-left: 4px solid var(--c-sky); padding: 16px 24px;
  background: rgba(77,168,218,0.06); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0; color: var(--c-teal); font-style: italic; font-size: 1.05rem;
}

/* ─── Services Grid ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card {
  background: var(--c-white); border-radius: var(--radius-lg); padding: 32px;
  border-top: 4px solid var(--c-sky);
  box-shadow: 0 4px 20px rgba(27,58,75,0.06);
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(27,58,75,0.12); }
.service-card .s-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; color: var(--c-dark); margin-bottom: 10px; }
.service-card p  { color: #5a7a8a; font-size: 0.9rem; }

/* ─── Utility ─────────────────────────────────────────────── */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ─── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.animate-fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

.float { animation: floatY 4s ease-in-out infinite; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive base ─────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  section { padding: 40px 0; }
  .container { padding: 0 16px; }
}

/* ─── Map ─────────────────────────────────────────────────── */
.map-wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--c-border);
  height: 420px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ─── Video Section ───────────────────────────────────────── */
.video-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 16/9;
}
.video-wrap iframe { width: 100%; height: 100%; border: none; }

/* ─── Hero compact ────────────────────────────────────────── */
.hero-compact {
  padding: 130px 0 70px;
  background: linear-gradient(135deg, var(--c-dark), var(--c-teal));
  color: var(--c-white);
}
.hero-compact h1 { color: var(--c-white); }
.hero-compact p  { color: rgba(255,255,255,0.8); margin-top: 12px; font-size: 1.05rem; }

/* ─── Floating action buttons ─────────────────────────────── */
.fab-group { display: flex; gap: 16px; flex-wrap: wrap; }
.fab {
  display: flex; align-items: center; gap: 10px;
  background: var(--c-white); border-radius: 50px;
  padding: 14px 24px; box-shadow: 0 4px 20px rgba(27,58,75,0.12);
  font-family: var(--ff-head); font-weight: 600; font-size: 0.9rem;
  color: var(--c-dark); transition: var(--trans);
  border: 1px solid rgba(77,168,218,0.2);
  cursor: pointer;
}
.fab:hover { background: var(--c-sky); color: var(--c-white); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(77,168,218,0.3); }
.fab .fab-icon { font-size: 1.2rem; }

/* ─── Plans/Pricing (no money) ────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.plan-card {
  background: var(--c-white); border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(27,58,75,0.08);
  border: 2px solid transparent; transition: var(--trans);
}
.plan-card.featured { border-color: var(--c-sky); }
.plan-card:hover { transform: translateY(-4px); border-color: var(--c-sky); }
.plan-name { font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; color: var(--c-dark); margin-bottom: 8px; }
.plan-level { color: var(--c-sky); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.plan-features li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.9rem; color: #4a6a7a; }
.plan-features li::before { content: '✓'; color: var(--c-sky); font-weight: 700; flex-shrink: 0; }

/* ─── Calendar ────────────────────────────────────────────── */
.calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; text-align: center;
}
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal-header h3 { font-family: var(--ff-head); font-weight: 700; color: var(--c-dark); }
.cal-header button { background: var(--c-sky); color: var(--c-white); width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; }
.cal-day-name { font-size: 0.75rem; font-weight: 700; color: #8aacbc; padding: 8px; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; border-radius: 8px; cursor: pointer; transition: var(--trans);
  color: var(--c-dark);
}
.cal-day:hover { background: rgba(77,168,218,0.15); }
.cal-day.today { background: var(--c-sky); color: var(--c-white); font-weight: 700; }
.cal-day.event { background: rgba(77,168,218,0.15); color: var(--c-teal); font-weight: 700; border: 1px solid var(--c-sky); }
.cal-day.empty { opacity: 0; pointer-events: none; }

/* ─── Journey Map ─────────────────────────────────────────── */
.journey-map { display: flex; overflow-x: auto; gap: 0; padding-bottom: 16px; }
.journey-step {
  flex: 1; min-width: 160px; text-align: center; position: relative;
  padding: 24px 16px;
}
.journey-step::after {
  content: '→'; position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%); color: var(--c-sky); font-size: 1.4rem; z-index: 1;
}
.journey-step:last-child::after { display: none; }
.journey-step .j-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-sky); color: var(--c-white);
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.journey-step h4 { font-size: 0.9rem; color: var(--c-dark); }
.journey-step p  { font-size: 0.8rem; color: #7a9aaa; margin-top: 4px; }

/* ─── Sidebar layout ──────────────────────────────────────── */
.sidebar-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--c-white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 4px 20px rgba(27,58,75,0.07); margin-bottom: 24px;
}
.sidebar-widget h4 { color: var(--c-dark); margin-bottom: 16px; font-size: 1rem; border-bottom: 2px solid var(--c-sky); padding-bottom: 10px; }
@media (max-width: 900px) { .sidebar-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* ─── Blog cards ──────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.blog-card { background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px rgba(27,58,75,0.08); transition: var(--trans); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27,58,75,0.14); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-body h3 { font-size: 1.1rem; color: var(--c-dark); margin-bottom: 10px; }
.blog-card-body p  { color: #5a7a8a; font-size: 0.9rem; margin-bottom: 16px; }
.blog-meta { display: flex; gap: 12px; align-items: center; font-size: 0.8rem; color: #8aacbc; margin-bottom: 10px; }

/* ─── Portfolio Showcase ──────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.portfolio-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.07); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,58,75,0.9) 0%, transparent 60%);
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity var(--trans);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { color: var(--c-white); font-size: 1rem; }
.portfolio-overlay p  { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-top: 6px; }

/* ─── Download resource ───────────────────────────────────── */
.download-card {
  background: var(--c-white); border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 2px 12px rgba(27,58,75,0.06);
  border: 1px solid rgba(77,168,218,0.15);
  transition: var(--trans);
}
.download-card:hover { border-color: var(--c-sky); box-shadow: 0 6px 24px rgba(77,168,218,0.15); }
.download-icon { font-size: 2rem; flex-shrink: 0; }
.download-info h4 { font-size: 0.95rem; color: var(--c-dark); margin-bottom: 4px; }
.download-info p  { font-size: 0.82rem; color: #7a9aaa; }
.download-btn {
  margin-left: auto; background: var(--c-sky); color: var(--c-white);
  padding: 8px 18px; border-radius: 6px; font-size: 0.82rem; font-weight: 700;
  font-family: var(--ff-head); white-space: nowrap;
  transition: background var(--trans);
}
.download-btn:hover { background: var(--c-teal); }

/* ─── Testimonial ─────────────────────────────────────────── */
.testimonial-card {
  background: var(--c-white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: 0 4px 20px rgba(27,58,75,0.08);
  border-left: 4px solid var(--c-sky);
}
.testimonial-card .quote { font-size: 0.98rem; color: #3a5a6a; font-style: italic; line-height: 1.8; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author h5 { font-size: 0.95rem; color: var(--c-dark); }
.testimonial-author span { font-size: 0.82rem; color: var(--c-sky); }

/* ─── Before/After ────────────────────────────────────────── */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-card { border-radius: var(--radius-lg); padding: 32px; }
.ba-card.before { background: rgba(231,76,60,0.07); border: 2px solid rgba(231,76,60,0.2); }
.ba-card.after  { background: rgba(46,204,113,0.07); border: 2px solid rgba(46,204,113,0.2); }
.ba-card h4 { font-size: 1rem; margin-bottom: 16px; }
.ba-card.before h4 { color: #c0392b; }
.ba-card.after  h4 { color: #27ae60; }
.ba-card ul { list-style: none; }
.ba-card ul li { font-size: 0.9rem; color: #4a6a7a; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.ba-card ul li::before { margin-right: 8px; }
.ba-card.before ul li::before { content: '✕'; color: #e74c3c; }
.ba-card.after  ul li::before { content: '✓'; color: #27ae60; }
@media (max-width: 600px) { .before-after { grid-template-columns: 1fr; } }

/* ─── Mega Footer ─────────────────────────────────────────── */
.mega-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }

/* ─── Business Hours ──────────────────────────────────────── */
.hours-table { width: 100%; }
.hours-table tr td { padding: 10px 0; border-bottom: 1px solid rgba(77,168,218,0.1); font-size: 0.92rem; }
.hours-table tr td:last-child { text-align: right; font-weight: 600; color: var(--c-teal); }
.hours-table tr.today td { color: var(--c-sky); font-weight: 700; }

/* ─── Charts placeholder ──────────────────────────────────── */
.chart-container { position: relative; background: var(--c-white); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 4px 20px rgba(27,58,75,0.07); }
