@charset "utf-8";

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

:root {
  --primary: #1A3C47;
  --secondary: #2D6A64;
  --accent: #B86B35;
  --accent-soft: #E2A46B;
  --light: #F8F6F2;
  --surface: #FFFFFF;
  --dark: #1E262B;
  --muted: #526068;
  --border: #E3DDD3;
  --gradient-1: linear-gradient(135deg, #1A3C47 0%, #2D6A64 100%);
  --gradient-2: linear-gradient(135deg, #16323B 0%, #285B56 54%, #7A4924 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.68;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto !important;
  object-fit: cover !important;
  display: block;
}

svg {
  max-width: 100%;
}

.geometric-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(26, 60, 71, 0.14) 35px, rgba(26, 60, 71, 0.14) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(184, 107, 53, 0.12) 35px, rgba(184, 107, 53, 0.12) 70px);
}

header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 22px rgba(26, 60, 71, 0.08);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 4%;
  max-width: 1360px;
  margin: 0 auto;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.45rem;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.93rem;
  transition: all 0.25s ease;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(26, 60, 71, 0.06);
  border-color: rgba(26, 60, 71, 0.16);
}

.nav-links a.active {
  color: #ffffff;
  background: var(--gradient-1);
  border-color: var(--primary);
}

.nav-links a.nav-cta {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  border-radius: 50px;
  padding: 0.55rem 1.15rem;
}

.nav-links a.nav-cta:hover {
  background: #9c5626;
  color: #ffffff;
}

.dropdown-caret {
  font-size: 0.72rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 270px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(26, 60, 71, 0.14);
  padding: 0.55rem;
  list-style: none;
  display: none;
  z-index: 1100;
}

.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  color: var(--dark);
}

.dropdown-menu li a:hover {
  background: rgba(45, 106, 100, 0.09);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  transition: all 0.3s ease;
  border-radius: 3px;
}

#hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-2);
  position: relative;
  margin-top: 72px;
  padding: 4.5rem 5%;
  overflow: hidden;
}

#hero.subpage-hero {
  min-height: 38vh;
  padding: 3.5rem 5%;
}

#hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.network-bg,
.peace-bg,
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.network-bg {
  opacity: 0.25;
}

.network-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  height: 1px;
}

.network-line:nth-child(1) { width: 200px; top: 20%; left: 10%; transform: rotate(25deg); }
.network-line:nth-child(2) { width: 150px; top: 40%; right: 20%; transform: rotate(-45deg); }
.network-line:nth-child(3) { width: 180px; bottom: 30%; left: 30%; transform: rotate(60deg); }
.network-line:nth-child(4) { width: 220px; top: 60%; right: 15%; transform: rotate(-20deg); }

.network-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.network-dot:nth-child(5) { top: 22%; left: 12%; }
.network-dot:nth-child(6) { top: 42%; right: 18%; }
.network-dot:nth-child(7) { bottom: 28%; left: 28%; }
.network-dot:nth-child(8) { top: 64%; right: 14%; }

.breathing-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 70%);
}

.breathing-circle:nth-child(1) { width: 280px; height: 280px; top: 8%; left: 8%; }
.breathing-circle:nth-child(2) { width: 220px; height: 220px; bottom: 12%; right: 12%; }

.mandala-bg {
  position: absolute;
  width: 460px;
  height: 460px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  pointer-events: none;
}

.mandala-circle {
  position: absolute;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.mandala-circle:nth-child(1) { width: 100%; height: 100%; }
.mandala-circle:nth-child(2) { width: 78%; height: 78%; top: 11%; left: 11%; }
.mandala-circle:nth-child(3) { width: 56%; height: 56%; top: 22%; left: 22%; }

.hero-split-wrap {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.8rem;
  align-items: center;
}

.hero-content {
  text-align: left;
  z-index: 2;
  position: relative;
  max-width: 860px;
}

.subpage-hero .hero-content {
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  padding: 0.38rem 1rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #F8E3C8;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3.3vw, 3.15rem);
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.15rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.93);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.subpage-hero .hero-actions {
  justify-content: center;
}

.cta-button {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  background: #ffffff;
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  border: 2px solid #ffffff;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--dark);
}

.cta-button-outline {
  display: inline-block;
  padding: 0.95rem 2rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.72);
  transition: all 0.25s ease;
}

.cta-button-outline:hover {
  background: #ffffff;
  color: var(--primary);
}

.hero-showcase-frame {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.hero-showcase-frame img {
  width: 100%;
  aspect-ratio: 16 / 10 !important;
  max-height: 360px !important;
  border-radius: 16px;
}

.hero-showcase-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0.5rem 0.25rem;
  color: #ffffff;
  font-size: 0.86rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-showcase-caption strong {
  color: #F8E3C8;
}

section {
  padding: 4.5rem 5%;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

#about,
#resources {
  max-width: 1240px;
  margin: 0 auto;
}

.section-eyebrow {
  display: block;
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  margin-bottom: 0.9rem;
  color: var(--dark);
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.8rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.about-floating-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}

.floating-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 2.1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(26, 60, 71, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(26, 60, 71, 0.11);
}

.card-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 1.25rem;
}

.icon-wrapper {
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  color: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(26, 60, 71, 0.22);
}

.floating-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.floating-card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.stats-banner {
  background: var(--gradient-1);
  border-radius: 26px;
  padding: 2.6rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 14px 36px rgba(26, 60, 71, 0.16);
}

.stat-block {
  text-align: center;
}

.stat-value {
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 800;
  color: #F8E3C8;
  white-space: nowrap;
}

.stat-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.feature-showcase {
  padding: 2.6rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 8px 26px rgba(26, 60, 71, 0.05);
}

.showcase-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.8rem;
  color: var(--primary);
  text-align: center;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.feature-check {
  width: 32px;
  height: 32px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.95rem;
  margin-top: 2px;
}

#practices {
  background: linear-gradient(135deg, rgba(26, 60, 71, 0.04) 0%, rgba(184, 107, 53, 0.05) 100%);
}

.practices-container {
  max-width: 1240px;
  margin: 0 auto;
}

.practice-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.timeline-track {
  position: relative;
  padding: 1.5rem 0;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-points {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.timeline-point {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.futuristic-label {
  padding: 0.85rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 5px 16px rgba(26, 60, 71, 0.08);
  min-width: 210px;
  text-align: center;
  font-size: 0.94rem;
}

.timeline-point.active .futuristic-label {
  background: var(--gradient-1);
  color: #ffffff;
  border-color: var(--primary);
}

.practice-content-area {
  display: grid;
  gap: 1.6rem;
}

.practice-card-new {
  background: #ffffff;
  padding: 2.1rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(26, 60, 71, 0.06);
  position: relative;
  overflow: hidden;
}

.practice-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-1);
}

.practice-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}

.practice-icon-new {
  width: 54px;
  height: 54px;
  background: var(--gradient-1);
  color: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.practice-info h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.practice-duration {
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 700;
}

.practice-description {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 1.2rem;
}

.practice-benefits {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.benefit-tag {
  padding: 0.42rem 0.95rem;
  background: rgba(26, 60, 71, 0.07);
  border-radius: 20px;
  font-size: 0.83rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.benefit-tag:hover {
  background: var(--primary);
  color: #ffffff;
}

.resource-tabs {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.75rem;
  background: #ffffff;
  border: 2px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gradient-1);
  color: #ffffff;
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.8rem;
}

.resource-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 6px 22px rgba(26, 60, 71, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 240px;
  overflow: hidden;
  background: var(--light);
}

.resource-image img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}

.resource-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-body h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.resource-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  flex: 1;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

/* Interactive Nursery Planner NBR 15860 */
.planner-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.planner-shell {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 2.4rem;
  box-shadow: 0 14px 40px rgba(26, 60, 71, 0.07);
}

.planner-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.preset-pill {
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-pill.active,
.preset-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.planner-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 2.2rem;
  align-items: start;
}

.planner-controls {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
}

.control-block {
  margin-bottom: 1.3rem;
}

.control-block:last-child {
  margin-bottom: 0;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.control-val {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.planner-controls input[type="range"] {
  width: 100%;
  accent-color: var(--secondary);
  cursor: pointer;
}

.planner-controls select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--light);
  color: var(--dark);
  font-size: 0.93rem;
  font-weight: 600;
  font-family: inherit;
}

.planner-canvas-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
}

.planner-svg-wrap {
  background: #F3EFE8;
  border: 1px solid #DFD7C8;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.planner-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.planner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.planner-kpi-card {
  background: var(--primary);
  color: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  overflow: hidden;
}

.planner-kpi-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.planner-kpi-val {
  display: block;
  font-size: clamp(0.9rem, 1.08vw, 1.06rem);
  font-weight: 800;
  color: #F8E3C8;
  white-space: nowrap;
}

/* Split Layout & Spec Tables */
.split-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.otimo-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(26, 60, 71, 0.09);
  background: #ffffff;
}

.otimo-photo-frame img {
  width: 100% !important;
  height: auto !important;
  max-height: 410px !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}

.otimo-photo-frame.square-frame img {
  aspect-ratio: 1 / 1 !important;
  max-height: 420px !important;
}

.otimo-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(26, 60, 71, 0.05);
  margin: 2rem 0;
}

.otimo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.otimo-table th,
.otimo-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

.otimo-table th {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.otimo-table tr:last-child td {
  border-bottom: none;
}

.otimo-table tr:nth-child(even) td {
  background: rgba(248, 246, 242, 0.65);
}

#contact {
  background: var(--gradient-1);
  padding: 5rem 5%;
  color: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container .section-title {
  color: #ffffff;
  margin-bottom: 2.5rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  background: #ffffff;
  color: var(--dark);
  padding: 2.6rem;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.contact-info h3,
.contact-form h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.55rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--light);
  border: 1px solid var(--border);
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-1);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.info-text h4 {
  margin-bottom: 0.2rem;
  color: var(--primary);
  font-size: 1rem;
}

.info-text p,
.info-text a {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

.info-text a:hover {
  color: var(--accent);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
}

.submit-btn {
  background: var(--gradient-1);
  color: #ffffff;
  padding: 0.95rem 2.2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.submit-btn:hover {
  background: var(--accent);
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: #E8F5E9;
  border: 1px solid #81C784;
  color: #1B5E20;
  font-weight: 600;
  font-size: 0.92rem;
}

footer {
  background: var(--dark);
  color: #ffffff;
  padding: 3.5rem 5% 2rem;
}

.footer-content {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.2rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #F8E3C8;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #F8E3C8;
}

.copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

@media (max-width: 992px) {
  .hero-split-wrap,
  .planner-grid,
  .split-grid-2,
  .contact-wrapper,
  .practice-layout {
    grid-template-columns: 1fr;
  }
  .timeline-track {
    display: none;
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 69px;
    right: -100%;
    width: 100%;
    max-height: calc(100vh - 69px);
    overflow-y: auto;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 5% 2rem;
    transition: right 0.3s ease;
    gap: 0.45rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 1rem;
  }
  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: var(--light);
    padding: 0.35rem 0.6rem;
    margin-top: 0.25rem;
  }
  .has-dropdown::after {
    display: none;
  }
}

@media (max-width: 540px) {
  #hero {
    padding: 3rem 4%;
  }
  .stats-banner,
  .planner-kpi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .planner-shell,
  .contact-wrapper,
  .feature-showcase {
    padding: 1.4rem;
  }
}
