@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  
  --navy:       #1C2B3A;
  --navy-mid:   #2C3E50;
  --teal:       #3A7D8C;
  --teal-light: #5BA0AE;
  --teal-pale:  #E6F3F6;

  
  --cream:      #F7F4EF;
  --off-white:  #FAFAF8;
  --border:     #E2DDD6;
  --border-mid: #C8C2B8;
  --muted:      #7A8694;
  --text:       #2A3544;
  --text-light: #5A6474;

  
  --accent:     #3A7D8C;
  --accent-dark:#2D6272;
  --gold:       #B8902A;
  --gold-light: #F5EDD4;

  
  --white:      #FFFFFF;
  --shadow-sm:  0 1px 4px rgba(28,43,58,0.08);
  --shadow-md:  0 4px 16px rgba(28,43,58,0.12);
  --shadow-lg:  0 12px 40px rgba(28,43,58,0.15);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  
  --max-width:  1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-dark);
}

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Crimson Pro', serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.75;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--sm {
  padding: 48px 0;
}

.section--lg {
  padding: 112px 0;
}

.section--light {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: var(--cream);
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--navy p,
.section--navy .lead {
  color: #a8b8c8;
}

.section--teal-pale {
  background: var(--teal-pale);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

.nav-site-name {
  font-family: 'Crimson Pro', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav-site-name span {
  color: var(--teal);
}

.nav-brand:hover .nav-site-name {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(58, 125, 140, 0.08);
}

.nav-links a.active {
  color: var(--teal);
  font-weight: 600;
}

.nav-cta {
  margin-left: 12px;
}

.nav-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(58,125,140,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 80%, rgba(58,125,140,0.10) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58,125,140,0.2);
  border: 1px solid rgba(58,125,140,0.4);
  color: #7ecbd8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: #7ecbd8;
}

.hero .lead {
  color: #a8b8c8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-img-wrap {
  position: relative;
}

.hero-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-stat-bubble {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
}

.hero-stat-bubble.bottom-left {
  bottom: -16px;
  left: -20px;
}

.hero-stat-bubble.top-right {
  top: -16px;
  right: -16px;
}

.hero-stat-bubble .stat-num {
  font-family: 'Crimson Pro', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.hero-stat-bubble .stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 1.4rem;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

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

.card--navy {
  background: var(--navy);
  border-color: var(--navy);
}

.card--navy h3 { color: var(--white); }
.card--navy p { color: #a8b8c8; }
.card--navy .card-icon {
  background: rgba(58,125,140,0.2);
  color: #7ecbd8;
}

.section-header {
  margin-bottom: 52px;
}

.section-header .label {
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-light);
  max-width: 560px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0 auto;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 16px 0;
}

.divider.centered { margin: 16px auto; }

.stats-strip {
  background: var(--navy);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .num {
  font-family: 'Crimson Pro', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .num span {
  color: #7ecbd8;
}

.stat-item .stat-desc {
  font-size: 0.85rem;
  color: #8899aa;
  font-weight: 400;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  margin-top: 2px;
}

.feature-item h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Crimson Pro', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal);
}

.step h4 { margin-bottom: 8px; }

.step p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.calc-tabs {
  display: flex;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 40px;
  gap: 4px;
  max-width: 520px;
}

.calc-tab {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-light);
  border: none;
  background: none;
  transition: all 0.22s;
  font-family: 'DM Sans', sans-serif;
}

.calc-tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: block;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.calc-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.calc-result-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.calc-result-card h3 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-group label .tooltip-icon {
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 4px;
  cursor: help;
  vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(58,125,140,0.12);
}

.form-group input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
  height: 4px;
  cursor: pointer;
  margin-top: 6px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

.range-value {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 8px;
}

.form-group .hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.result-score {
  text-align: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.result-score .score-val {
  font-family: 'Crimson Pro', serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.result-score .score-label {
  font-size: 0.8rem;
  color: #8899aa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.result-score .score-tier {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tier-excellent { background: rgba(72, 187, 120, 0.2); color: #68d391; }
.tier-good      { background: rgba(99, 179, 237, 0.2); color: #63b3ed; }
.tier-average   { background: rgba(246, 173, 85, 0.2);  color: #f6ad55; }
.tier-low       { background: rgba(252, 129, 129, 0.2); color: #fc8181; }

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.breakdown-item .b-label { color: #8899aa; }
.breakdown-item .b-val { color: var(--white); font-weight: 600; }

.result-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 4px;
}

.result-bar {
  height: 100%;
  background: var(--teal-light);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.calc-note {
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 24px;
  font-size: 0.83rem;
  color: var(--text-light);
}

.calc-note strong { color: var(--navy); }

.cost-display {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.cost-display .total-label {
  font-size: 0.75rem;
  color: #8899aa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.cost-display .total-val {
  font-family: 'Crimson Pro', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #7ecbd8;
  line-height: 1;
}

.cost-display .total-period {
  font-size: 0.82rem;
  color: #8899aa;
  margin-top: 4px;
}

.cost-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cost-line .c-label { color: #8899aa; }
.cost-line .c-val { color: var(--white); font-weight: 500; }

.cost-line.total-row {
  border-bottom: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 600;
}

.cost-line.total-row .c-label { color: var(--white); }
.cost-line.total-row .c-val { color: #7ecbd8; font-size: 1rem; }

.about-hero {
  background: var(--navy);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58,125,140,0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--teal-pale);
}

.team-info {
  padding: 20px 24px;
}

.team-info h4 { margin-bottom: 2px; }
.team-info .role {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.25s;
}

.value-card:hover { box-shadow: var(--shadow-sm); }

.value-card .vc-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-light); }

.contact-hero {
  background: var(--navy);
  padding: 64px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-detail:first-child {
  padding-top: 0;
}

.cd-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
}

.cd-text .cd-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.cd-text p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-card h3 {
  margin-bottom: 8px;
}

.contact-form-card .lead {
  margin-bottom: 32px;
}

.form-success {
  display: none;
  background: rgba(72, 187, 120, 0.08);
  border: 1px solid rgba(72, 187, 120, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.form-success i {
  font-size: 2rem;
  color: #48bb78;
  margin-bottom: 12px;
  display: block;
}

.form-success h4 {
  margin-bottom: 6px;
  color: #276749;
}

.form-success p {
  color: var(--text-light);
  font-size: 0.88rem;
}

.legal-hero {
  background: var(--navy);
  padding: 56px 0;
}

.legal-hero h1 { color: var(--white); }
.legal-hero p { color: #a8b8c8; margin: 0; }

.legal-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.75;
}

.legal-content ul, .legal-content ol {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 1rem;
}

.legal-content ol { list-style: decimal; }

.legal-content li {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-content a { color: var(--teal); }

.legal-meta {
  background: var(--teal-pale);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 40px;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-meta strong { color: var(--navy); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 40px;
  font-size: 0.83rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb i { font-size: 0.7rem; color: var(--border-mid); }

.site-footer {
  background: var(--navy);
  color: #a8b8c8;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-site-name {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  margin: 0;
  max-width: 260px;
}

.footer-col h5 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #8899aa;
  font-size: 0.87rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.87rem;
  line-height: 1.7;
}

.footer-contact a { color: #7ecbd8; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: #6677888;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #667788;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--white); }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(28,43,58,0.12);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
}

.cookie-text p {
  font-size: 0.84rem;
  color: var(--text-light);
  margin: 0;
}

.cookie-text p strong { color: var(--navy); }

.cookie-text a { color: var(--teal); font-size: 0.84rem; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.img-hero-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, #2d4a63 0%, #1e2a3a 50%, #2d3e50 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.theme-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9998;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 360px;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.show { transform: translateX(0); }
.notification-icon { color: #48bb78; font-size: 1.2rem; margin-top: 1px; }
.notification-text strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 2px; }
.notification-text span { font-size: 0.82rem; color: var(--text-light); }

.page-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.page-hero .label { color: #7ecbd8; margin-bottom: 12px; display: block; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .lead { color: #a8b8c8; max-width: 560px; margin: 0; }

.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child { border-bottom: none; }

.accordion-toggle {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: background 0.2s;
}

.accordion-toggle:hover { background: var(--off-white); }

.accordion-toggle i {
  color: var(--teal);
  transition: transform 0.25s;
  font-size: 1.1rem;
}

.accordion-toggle.open i { transform: rotate(180deg); }

.accordion-body {
  background: var(--off-white);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-body.open {
  max-height: 400px;
  padding: 18px 24px;
}

.accordion-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-grid { gap: 40px; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result-card { position: static; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
  }

  .nav-mobile.open { display: flex; }

  .nav-mobile a {
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    display: block;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }

  .nav-mobile a:hover { background: var(--teal-pale); color: var(--teal); }
  .nav-mobile a.active { color: var(--teal); font-weight: 600; }

  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-img-wrap { display: none; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .process-steps::before { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }
  .calc-tabs { max-width: 100%; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 12px 22px; font-size: 0.92rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-fadeup {
  animation: fadeUp 0.55s ease both;
}

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
  transition: background 0.2s;
}
.accordion-trigger:hover { background: var(--off-white); }
.accordion-trigger .accordion-icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--teal);
  transition: transform 0.3s;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}
.accordion-body {
  padding: 0 1.25rem 1.25rem;
}
.accordion-body p,
.accordion-body ul,
.accordion-body address {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.accordion-body ul { padding-left: 1.25rem; }
.accordion-body li { margin-bottom: 0.35rem; }
.accordion-body a { color: var(--teal); text-decoration: underline; }

.cookie-table-wrapper { overflow-x: auto; }
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.cookie-table th {
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-weight: 600;
}
.cookie-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table code {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  font-size: 0.85em;
  color: var(--navy);
}
.mt-sm { margin-top: 0.5rem; }

.legal-intro {
  background: var(--off-white);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.legal-intro p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.legal-intro a { color: var(--teal); text-decoration: underline; }

.legal-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.legal-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s;
}
.legal-nav-links a:hover { color: var(--navy); }
