/*!
 * ph777 link - Core stylesheet (design-27b0.css)
 * All custom classes use the w27b0- prefix.
 * Palette: #333333 | #EEEEEE | #FFB74D | #FFB347 | #FFCCCB
 * Dark = background, light = text.
 */
:root {
  --w27b0-bg: #333333;
  --w27b0-bg-deep: #1f1f23;
  --w27b0-bg-soft: #2c2c30;
  --w27b0-text: #EEEEEE;
  --w27b0-text-soft: #cfcfd4;
  --w27b0-primary: #FFB74D;
  --w27b0-secondary: #FFB347;
  --w27b0-accent: #FFCCCB;
  --w27b0-gold: #FFB74D;
  --w27b0-border: rgba(255, 183, 77, 0.25);
  --w27b0-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --w27b0-radius: 12px;
  --w27b0-radius-lg: 18px;
  --w27b0-max: 430px;
  --w27b0-header-h: 56px;
  --w27b0-bottom-h: 64px;
}

/* Root font scaling for rem units */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--w27b0-bg);
  color: var(--w27b0-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--w27b0-primary); text-decoration: none; }
a:hover { color: var(--w27b0-accent); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.w27b0-container {
  width: 100%;
  max-width: var(--w27b0-max);
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ====== HEADER ====== */
.w27b0-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #2c2c30 0%, #222226 100%);
  border-bottom: 1px solid var(--w27b0-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.w27b0-header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.2rem;
  height: var(--w27b0-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.w27b0-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.w27b0-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.w27b0-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--w27b0-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.w27b0-logo-text span { color: var(--w27b0-accent); }

.w27b0-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w27b0-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 183, 77, 0.12);
  color: var(--w27b0-primary);
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.w27b0-menu-btn:hover { background: rgba(255, 183, 77, 0.25); transform: scale(1.05); }

/* ====== BUTTONS ====== */
.w27b0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  min-height: 38px;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.w27b0-btn-primary {
  background: linear-gradient(135deg, #FFB74D 0%, #FFB347 100%);
  color: #333333;
  box-shadow: 0 4px 12px rgba(255, 183, 77, 0.35);
}
.w27b0-btn-primary:hover { transform: translateY(-1px); color: #333333; box-shadow: 0 6px 16px rgba(255, 183, 77, 0.5); }
.w27b0-btn-ghost {
  background: transparent;
  color: var(--w27b0-primary);
  border: 1px solid var(--w27b0-border);
}
.w27b0-btn-ghost:hover { background: rgba(255, 183, 77, 0.1); }
.w27b0-btn-block { width: 100%; }
.w27b0-btn-lg { min-height: 48px; font-size: 1.5rem; padding: 1rem 1.6rem; }

.w27b0-ripple { animation: w27b0-ripple-anim 0.45s ease-out; }
@keyframes w27b0-ripple-anim {
  0% { transform: scale(0.97); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ====== OVERLAY ====== */
.w27b0-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.w27b0-overlay-active { opacity: 1; pointer-events: auto; }

/* ====== MOBILE MENU ====== */
.w27b0-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: linear-gradient(180deg, #2c2c30 0%, #1f1f23 100%);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.4rem;
  overflow-y: auto;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.6);
}
.w27b0-menu-active { transform: translateX(0); }
.w27b0-mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--w27b0-border);
}
.w27b0-mobile-menu-head .w27b0-logo-text { font-size: 1.8rem; }
.w27b0-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 183, 77, 0.12);
  color: var(--w27b0-primary);
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}
.w27b0-mobile-menu .w27b0-btn { margin: 0.4rem 0; }
.w27b0-mobile-links { margin-top: 1rem; }
.w27b0-mobile-links li { margin-bottom: 0.5rem; }
.w27b0-mobile-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: var(--w27b0-text);
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.18s;
}
.w27b0-mobile-links a:hover { background: rgba(255, 183, 77, 0.1); color: var(--w27b0-primary); }
.w27b0-mobile-links i { width: 20px; text-align: center; color: var(--w27b0-primary); }

/* ====== MAIN LAYOUT ====== */
main {
  padding-top: calc(var(--w27b0-header-h) + 8px);
  padding-bottom: 2rem;
}

section { padding: 2rem 0; }

.w27b0-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--w27b0-primary);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.w27b0-section-subtitle {
  color: var(--w27b0-text-soft);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.w27b0-title-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--w27b0-primary);
}

/* ====== HERO / CAROUSEL ====== */
.w27b0-hero {
  position: relative;
  border-radius: var(--w27b0-radius-lg);
  overflow: hidden;
  box-shadow: var(--w27b0-shadow);
  margin-bottom: 1.5rem;
}
.w27b0-hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.w27b0-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.w27b0-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.w27b0-hero-slide-active { opacity: 1; }
.w27b0-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  pointer-events: none;
}
.w27b0-hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.w27b0-hero-cta {
  margin-top: 0.6rem;
  pointer-events: auto;
}
.w27b0-hero-dots {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
}
.w27b0-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.w27b0-hero-dot-active { background: var(--w27b0-primary); transform: scale(1.3); }

/* ====== GAME GRID ====== */
.w27b0-category-section { margin-bottom: 2.5rem; }
.w27b0-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--w27b0-border);
}
.w27b0-category-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--w27b0-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.w27b0-category-header h2 .material-icons,
.w27b0-category-header h2 i {
  font-size: 1.8rem;
  color: var(--w27b0-secondary);
}
.w27b0-category-link {
  font-size: 1.15rem;
  color: var(--w27b0-text-soft);
  font-weight: 600;
}
.w27b0-category-link:hover { color: var(--w27b0-primary); }

.w27b0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.w27b0-grid-4 { grid-template-columns: repeat(4, 1fr); }
.w27b0-grid-2 { grid-template-columns: repeat(2, 1fr); }

.w27b0-game-card {
  background: var(--w27b0-bg-soft);
  border-radius: var(--w27b0-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  position: relative;
}
.w27b0-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--w27b0-primary);
  box-shadow: 0 6px 16px rgba(255, 183, 77, 0.2);
}
.w27b0-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.w27b0-game-card-name {
  padding: 0.5rem 0.4rem;
  font-size: 1.1rem;
  color: var(--w27b0-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.w27b0-game-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: linear-gradient(135deg, #FFB74D, #FFCCCB);
  color: #333;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ====== CONTENT BLOCKS ====== */
.w27b0-card {
  background: var(--w27b0-bg-soft);
  border-radius: var(--w27b0-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.w27b0-card h2, .w27b0-card h3 { color: var(--w27b0-primary); margin-bottom: 0.5rem; }
.w27b0-card h2 { font-size: 1.6rem; }
.w27b0-card h3 { font-size: 1.4rem; }
.w27b0-card p { margin-bottom: 0.6rem; color: var(--w27b0-text-soft); }

.w27b0-card-list { padding-left: 1.4rem; margin-top: 0.6rem; }
.w27b0-card-list li {
  list-style: disc;
  margin-bottom: 0.4rem;
  color: var(--w27b0-text-soft);
}
.w27b0-card-list a { font-weight: 600; }

.w27b0-numbered-list {
  counter-reset: w27b0-step;
  padding-left: 0;
}
.w27b0-numbered-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2.4rem;
  list-style: none;
  counter-increment: w27b0-step;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.w27b0-numbered-list li::before {
  content: counter(w27b0-step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 22px;
  height: 22px;
  background: var(--w27b0-primary);
  color: #333;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====== FEATURES ====== */
.w27b0-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.w27b0-feature {
  background: var(--w27b0-bg-soft);
  border-radius: var(--w27b0-radius);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-left: 3px solid var(--w27b0-primary);
}
.w27b0-feature i, .w27b0-feature .material-icons {
  font-size: 1.8rem;
  color: var(--w27b0-secondary);
}
.w27b0-feature h3 { font-size: 1.25rem; color: var(--w27b0-primary); }
.w27b0-feature p { font-size: 1.1rem; color: var(--w27b0-text-soft); margin: 0; }

/* ====== FAQ ACCORDION ====== */
.w27b0-faq-item {
  background: var(--w27b0-bg-soft);
  border-radius: var(--w27b0-radius);
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.w27b0-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--w27b0-primary);
  font-size: 1.25rem;
  gap: 0.6rem;
}
.w27b0-faq-icon { color: var(--w27b0-secondary); transition: transform 0.2s; }
.w27b0-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--w27b0-text-soft);
}
.w27b0-faq-open .w27b0-faq-a { max-height: 320px; padding: 0 1rem 0.9rem; }

/* ====== TESTIMONIALS ====== */
.w27b0-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.w27b0-testimonial {
  background: var(--w27b0-bg-soft);
  border-radius: var(--w27b0-radius);
  padding: 1rem;
  border-left: 3px solid var(--w27b0-secondary);
}
.w27b0-testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.w27b0-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB74D, #FFCCCB);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.w27b0-testimonial-name { font-weight: 700; color: var(--w27b0-primary); font-size: 1.2rem; }
.w27b0-stars { color: #FFB74D; font-size: 1rem; }
.w27b0-testimonial p { color: var(--w27b0-text-soft); font-size: 1.15rem; margin: 0; }

/* ====== PAYMENT / PARTNERS ====== */
.w27b0-partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.w27b0-partner {
  background: #fff;
  border-radius: 8px;
  padding: 0.6rem;
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w27b0-partner img { max-height: 32px; width: auto; }

/* ====== WINNERS ====== */
.w27b0-winners {
  background: linear-gradient(135deg, rgba(255,183,77,0.12), rgba(255,204,203,0.08));
  border-radius: var(--w27b0-radius-lg);
  padding: 1rem;
  border: 1px solid var(--w27b0-border);
}
.w27b0-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-size: 1.15rem;
}
.w27b0-winner:last-child { border-bottom: none; }
.w27b0-winner-name { font-weight: 700; color: var(--w27b0-primary); }
.w27b0-winner-amount { color: var(--w27b0-accent); font-weight: 800; }
.w27b0-winner-game { color: var(--w27b0-text-soft); font-size: 1.05rem; }

/* ====== RTP TABLE ====== */
.w27b0-rtp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--w27b0-bg-soft);
  border-radius: var(--w27b0-radius);
  overflow: hidden;
}
.w27b0-rtp-table th, .w27b0-rtp-table td {
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.15rem;
}
.w27b0-rtp-table th { background: rgba(255,183,77,0.15); color: var(--w27b0-primary); font-size: 1.1rem; }
.w27b0-rtp-table tr:last-child td { border-bottom: none; }
.w27b0-rtp-high { color: #FFCCCB; font-weight: 700; }

/* ====== DOWNLOAD CTA ====== */
.w27b0-download-cta {
  background: linear-gradient(135deg, #FFB74D 0%, #FFCCCB 100%);
  border-radius: var(--w27b0-radius-lg);
  padding: 1.4rem;
  text-align: center;
  color: #333;
}
.w27b0-download-cta h3 { font-size: 1.5rem; color: #333; margin-bottom: 0.4rem; }
.w27b0-download-cta p { color: #2c2c30; margin-bottom: 0.8rem; font-size: 1.2rem; }
.w27b0-download-cta .w27b0-btn { background: #333; color: #FFB74D; }
.w27b0-download-cta .w27b0-btn:hover { color: #FFCCCB; }

/* ====== PROMO CHIPS ====== */
.w27b0-promo-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}
.w27b0-promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 183, 77, 0.12);
  color: var(--w27b0-primary);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 600;
  border: 1px solid var(--w27b0-border);
  cursor: pointer;
}

/* ====== FOOTER ====== */
.w27b0-footer {
  background: var(--w27b0-bg-deep);
  padding: 2rem 0 6rem;
  margin-top: 2rem;
  border-top: 1px solid var(--w27b0-border);
}
.w27b0-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.w27b0-footer-brand img { width: 32px; height: 32px; border-radius: 6px; }
.w27b0-footer-brand-name { font-size: 1.5rem; font-weight: 800; color: var(--w27b0-primary); }
.w27b0-footer-desc { color: var(--w27b0-text-soft); font-size: 1.15rem; margin-bottom: 1rem; }

.w27b0-footer-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}
.w27b0-footer-promos .w27b0-btn { font-size: 1.1rem; padding: 0.7rem 0.6rem; }

.w27b0-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
  margin: 1rem 0;
}
.w27b0-footer-links a {
  color: var(--w27b0-text-soft);
  font-size: 1.15rem;
  padding: 0.3rem 0;
}
.w27b0-footer-links a:hover { color: var(--w27b0-primary); }

.w27b0-footer-copy {
  text-align: center;
  font-size: 1.05rem;
  color: rgba(238, 238, 238, 0.5);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ====== BOTTOM NAV ====== */
.w27b0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--w27b0-bottom-h);
  background: linear-gradient(180deg, #2c2c30 0%, #1f1f23 100%);
  border-top: 1px solid var(--w27b0-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}
.w27b0-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--w27b0-text-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.2s, transform 0.18s;
  position: relative;
}
.w27b0-bottom-nav-btn .material-icons,
.w27b0-bottom-nav-btn i {
  font-size: 22px;
}
.w27b0-bottom-nav-btn:hover { color: var(--w27b0-primary); transform: translateY(-1px); }
.w27b0-bottom-nav-btn:focus { outline: none; }
.w27b0-bottom-nav-btn:focus-visible { outline: 2px solid var(--w27b0-primary); outline-offset: -2px; }
.w27b0-bottom-nav-active { color: var(--w27b0-primary); }
.w27b0-bottom-nav-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--w27b0-primary);
  border-radius: 0 0 3px 3px;
}
.w27b0-bottom-nav-center {
  position: relative;
}
.w27b0-bottom-nav-center::after {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB74D, #FFCCCB);
  box-shadow: 0 4px 12px rgba(255, 183, 77, 0.4);
  z-index: -1;
}
.w27b0-bottom-nav-center .material-icons,
.w27b0-bottom-nav-center i { color: #333; }

/* ====== SCROLL REVEAL ====== */
.w27b0-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.w27b0-revealed { opacity: 1; transform: translateY(0); }

/* ====== HERO BADGE ====== */
.w27b0-hero-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--w27b0-primary);
  color: #333;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

/* ====== RESPONSIVE ====== */
@media (min-width: 769px) {
  .w27b0-bottom-nav { display: none; }
  main { padding-bottom: 2rem; }
  body { padding-bottom: 0; }
  .w27b0-container { max-width: 960px; padding: 0 2rem; }
  .w27b0-features { grid-template-columns: repeat(4, 1fr); }
  .w27b0-footer-promos { grid-template-columns: repeat(4, 1fr); }
  .w27b0-footer-links { grid-template-columns: repeat(4, 1fr); }
  .w27b0-grid { grid-template-columns: repeat(6, 1fr); }
  .w27b0-grid-4 { grid-template-columns: repeat(8, 1fr); }
  .w27b0-testimonials { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  main { padding-bottom: calc(var(--w27b0-bottom-h) + 1rem); }
}

@media (max-width: 380px) {
  .w27b0-grid { grid-template-columns: repeat(2, 1fr); }
  .w27b0-hero-title { font-size: 1.5rem; }
  .w27b0-section-title { font-size: 1.5rem; }
}

/* ====== DESKTOP NAV (hidden on mobile) ====== */
.w27b0-desktop-nav {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 769px) {
  .w27b0-desktop-nav { display: flex; }
  .w27b0-menu-btn.w27b0-mobile-only { display: none; }
}
.w27b0-nav-item {
  position: relative;
}
.w27b0-nav-item > a, .w27b0-nav-item > button {
  color: var(--w27b0-text-soft);
  font-weight: 600;
  font-size: 1.25rem;
  padding: 0.4rem 0.8rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
.w27b0-nav-item:hover > a, .w27b0-nav-item:hover > button { color: var(--w27b0-primary); }
.w27b0-nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--w27b0-bg-soft);
  border: 1px solid var(--w27b0-border);
  border-radius: 8px;
  padding: 0.4rem;
  display: none;
  z-index: 1100;
  box-shadow: var(--w27b0-shadow);
}
.w27b0-nav-open > .w27b0-nav-submenu { display: block; }
.w27b0-nav-submenu a {
  display: block;
  padding: 0.5rem 0.8rem;
  color: var(--w27b0-text);
  font-size: 1.15rem;
  border-radius: 6px;
}
.w27b0-nav-submenu a:hover { background: rgba(255,183,77,0.12); color: var(--w27b0-primary); }
