* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1f252d;
  background: #f6f4f1;
  line-height: 1.6;
}

a {
  color: #1f4f7a;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #1e2c36;
  color: #f6f4f1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 0.85rem;
  background: #f1d14b;
  color: #1e2c36;
  padding: 8px 10px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  color: #f6f4f1;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #f1d14b;
}

.sidebar-note {
  font-size: 0.9rem;
  color: #d6dbe0;
}

.content {
  flex: 1;
  padding: 40px 5vw 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  flex: 1 1 320px;
}

.hero-copy h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 1.05rem;
}

.hero-media {
  flex: 1 1 320px;
  background: #d9dfe4;
  border-radius: 18px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 360px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: #1f4f7a;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: #f1d14b;
  color: #1e2c36;
}

.btn:hover,
.btn:focus {
  filter: brightness(0.95);
}

.section {
  padding: 28px 0;
}

.story {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.image-inline {
  background: #e3e7ea;
  border-radius: 16px;
  overflow: hidden;
}

.image-inline img {
  width: 320px;
  height: 220px;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.pillar {
  flex: 1 1 200px;
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  flex: 1 1 240px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.1);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 170px;
  background: #d9dfe4;
}

.service-card .card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: #1f4f7a;
}

.background-panel {
  background-image: url("https://images.unsplash.com/photo-1484154218962-a197022b5858?w=1400&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  overflow: hidden;
}

.background-panel .overlay {
  background: rgba(30, 44, 54, 0.82);
  color: #f6f4f1;
  padding: 32px;
}

.split-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.split-row .text-block {
  flex: 1 1 280px;
}

.split-row .aside-block {
  flex: 0 0 240px;
  align-self: flex-start;
  background: #f1d14b;
  padding: 18px;
  border-radius: 14px;
  color: #1e2c36;
}

.testimonial {
  padding: 16px 20px;
  background: #ffffff;
  border-left: 4px solid #1f4f7a;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.form-section {
  background: #ffffff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #c7cdd4;
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid #d9dfe4;
  padding-top: 24px;
  font-size: 0.9rem;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sticky-cta {
  position: fixed;
  bottom: 16px;
  right: 24px;
  background: #1f4f7a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.2);
  z-index: 20;
}

.sticky-cta a {
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e2c36;
  color: #f6f4f1;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cookie-actions .accept {
  background: #f1d14b;
  color: #1e2c36;
}

.cookie-actions .reject {
  background: #ffffff;
  color: #1e2c36;
}

.legal-hero {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.06);
}

.contact-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-card {
  flex: 1 1 220px;
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.image-frame {
  background: #d9dfe4;
  border-radius: 16px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 280px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .sticky-cta {
    right: 12px;
    left: 12px;
    text-align: center;
  }
}
