/* === Child 2 — Dark Blue Professional Theme === */
:root {
  --c2-dark: #1B2A4A;
  --c2-dark-mid: #2C4A7C;
  --c2-light-bg: #F0F4FA;
  --c2-text: #1B2A4A;
  --c2-text-light: #5A6B8A;
  --c2-white: #FFFFFF;
  /* Contour colors */
  --c2-light-gold: #D4A843;
  --c2-heat-red: #C44B4B;
  --c2-cool-blue: #4B8CC4;
  --c2-vent-green: #4BAE6A;
  --c2-curtain-purple: #8B5CC4;
  --c2-tv-navy: #2C3E6B;
  --c2-leak-cyan: #4BC4C4;
  --c2-guard-green: #3A8C5A;
  --c2-alert-yellow: #D4B443;
  --c2-alice-violet: #7B4BC4;
  --c2-mobile-blue: #4B7CC4;
  --c2-scene-multi: linear-gradient(135deg, #D4A843, #C44B4B, #4B8CC4, #4BAE6A);
}

body {
  background: var(--c2-white);
  color: var(--c2-text);
}

/* Nav */
.nav {
  background: rgba(27, 42, 74, 0.95);
  color: var(--c2-white);
}
.nav a { color: var(--c2-white); }
.hamburger span { background: var(--c2-white); }
.nav__links {
  background: rgba(27, 42, 74, 0.98);
}
@media (min-width: 769px) {
  .nav__links { background: none; }
}

/* Header hero */
.hero-header {
  background: linear-gradient(135deg, var(--c2-dark) 0%, var(--c2-dark-mid) 100%);
  color: var(--c2-white);
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* CSS House with WiFi signal */
.css-house {
  width: 120px;
  height: 100px;
  margin: 0 auto 24px;
  position: relative;
}

.css-house__body {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 80px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.css-house__roof {
  position: absolute;
  top: 10px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 35px solid rgba(255,255,255,0.2);
}

.css-house__door {
  position: absolute;
  bottom: 0;
  left: 48px;
  width: 24px;
  height: 32px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px 4px 0 0;
}

.css-house__wifi {
  position: absolute;
  top: 0;
  right: 5px;
}

.css-house__wifi span {
  display: block;
  width: 8px;
  height: 8px;
  border: 3px solid rgba(255,255,255,0.4);
  border-bottom: none;
  border-left: none;
  border-radius: 0 50% 0 0;
  margin-bottom: 2px;
  animation: wifi-pulse 1.5s ease-in-out infinite;
}
.css-house__wifi span:nth-child(1) { width: 24px; height: 24px; animation-delay: 0s; }
.css-house__wifi span:nth-child(2) { width: 16px; height: 16px; animation-delay: 0.2s; }
.css-house__wifi span:nth-child(3) { width: 8px; height: 8px; animation-delay: 0.4s; }

@keyframes wifi-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hero-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 16px;
}

.hero-header__text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* Full-page contour sections */
.contour-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.contour-section:nth-child(even) {
  background: var(--c2-light-bg);
}

.contour-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .contour-section__inner {
    grid-template-columns: 1fr 1fr;
  }
  .contour-section:nth-child(even) .contour-section__inner {
    direction: rtl;
  }
  .contour-section:nth-child(even) .contour-section__inner > * {
    direction: ltr;
  }
}

/* CSS illustration circles */
.contour-illust {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contour-illust__icon {
  font-size: 4rem;
  position: relative;
  z-index: 2;
}

.contour-illust::before,
.contour-illust::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.contour-illust::before {
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background: currentColor;
}

.contour-illust::after {
  width: 130%;
  height: 130%;
  opacity: 0.06;
  background: currentColor;
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.06; }
  50% { transform: scale(1.05); opacity: 0.1; }
}

.contour-section__content h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.contour-section__counter {
  font-size: 0.85rem;
  opacity: 0.5;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contour-section__intro {
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.6;
  color: var(--c2-text-light);
}

.contour-section__content h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.contour-section__content ul {
  margin-bottom: 20px;
}

.contour-section__content li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contour-section__content li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-weight: bold;
}

.contour-section__advantage {
  font-style: italic;
  color: var(--c2-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 16px;
  border-left: 3px solid currentColor;
}

/* Why Wirenboard */
.why-wb {
  background: var(--c2-dark);
  color: var(--c2-white);
  padding: 80px 20px;
}

.why-wb h2 {
  text-align: center;
  margin-bottom: 40px;
}

.why-wb__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .why-wb__grid { grid-template-columns: repeat(2, 1fr); }
}

.why-wb__item {
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
}

.why-wb__item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--c2-light-gold);
}

.why-wb__item p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* Region section */
.region-section {
  background: var(--c2-light-bg);
  padding: 60px 20px;
  text-align: center;
}

.region-section h2 { margin-bottom: 32px; }

.region-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .region-cards { grid-template-columns: repeat(2, 1fr); }
}

.region-card {
  background: var(--c2-white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.08);
}

.region-card h3 {
  margin-bottom: 8px;
  color: var(--c2-dark-mid);
}

.region-card p {
  font-size: 0.9rem;
  color: var(--c2-text-light);
}

/* How we work steps */
.how-section {
  padding: 80px 20px;
}

.how-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.how-steps {
  max-width: 700px;
  margin: 0 auto;
  counter-reset: how-step;
}

.how-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.how-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c2-dark);
  color: var(--c2-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.how-step__content h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.how-step__content p {
  font-size: 0.95rem;
  color: var(--c2-text-light);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--c2-dark) 0%, var(--c2-dark-mid) 100%);
  color: var(--c2-white);
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  opacity: 0.7;
  margin-bottom: 24px;
}

.cta-section .btn {
  background: var(--c2-white);
  color: var(--c2-dark);
}

/* Footer */
.footer {
  color: var(--c2-text-light);
}

.footer a {
  color: var(--c2-dark-mid);
}
