:root {
  --primary: #2d5a7b;
  --primary-dark: #1e3d52;
  --secondary: #e8a54b;
  --accent: #4a9b7f;
  --text: #2c3e50;
  --text-light: #5a6c7d;
  --bg-light: #f8f9fa;
  --bg-warm: #fdf8f3;
  --white: #ffffff;
  --border: #e1e5e9;
  --shadow: rgba(45, 90, 123, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

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

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ad-disclosure {
  opacity: 0.9;
}

.header-main {
  padding: 16px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 80px 0;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background: #d4943f;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-warm {
  background: var(--bg-warm);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.editorial-intro {
  padding: 60px 0;
}

.editorial-intro p {
  font-size: 20px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.editorial-intro p:first-of-type::first-letter {
  font-size: 64px;
  float: left;
  line-height: 1;
  margin-right: 12px;
  color: var(--primary);
  font-weight: 700;
}

.inline-image {
  margin: 40px -60px;
  background-color: var(--bg-light);
}

.inline-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.inline-image figcaption {
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: var(--text-light);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
  flex: 1 1 340px;
  max-width: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

.service-card-image {
  height: 200px;
  background-color: var(--bg-light);
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-content {
  padding: 28px;
}

.service-card h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 15px;
}

.service-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.price {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}

.price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}

.split-section {
  display: flex;
  gap: 60px;
  align-items: center;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
  background-color: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
}

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

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--text);
}

.feature-text p {
  color: var(--text-light);
  font-size: 15px;
}

.testimonial-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.testimonials {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 380px;
}

.testimonial-text {
  font-size: 17px;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.author-info strong {
  display: block;
  font-size: 16px;
}

.author-info span {
  font-size: 14px;
  opacity: 0.8;
}

.cta-section {
  text-align: center;
  padding: 100px 0;
  background: var(--bg-warm);
}

.cta-section h2 {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-container {
  background: var(--white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 8px 40px var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}

.form-container h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}

.form-container > p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 18px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--text-light);
}

footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.disclaimer {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 8px;
  margin: 40px 0;
  font-size: 14px;
  color: var(--text-light);
  border-left: 4px solid var(--primary);
}

.legal-content {
  padding: 60px 0;
}

.legal-content h1 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 24px;
  color: var(--text);
  margin: 32px 0 16px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 16px 0 16px 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.thanks-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.thanks-content {
  max-width: 560px;
}

.thanks-icon {
  width: 96px;
  height: 96px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 48px;
  color: var(--white);
}

.thanks-content h1 {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 16px;
}

.thanks-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px var(--shadow);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  font-size: 14px;
  color: var(--text);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  border: none;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--primary);
  color: var(--white);
}

.cookie-accept:hover {
  background: var(--primary-dark);
}

.cookie-reject {
  background: var(--bg-light);
  color: var(--text);
}

.cookie-reject:hover {
  background: var(--border);
}

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
}

.about-story {
  padding: 80px 0;
}

.about-story h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 24px;
}

.about-story p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.team-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.team-member {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  flex: 1 1 260px;
  max-width: 300px;
  box-shadow: 0 4px 20px var(--shadow);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--white);
  font-weight: 700;
}

.team-member h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}

.team-member span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.team-member p {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 15px;
}

@media (max-width: 900px) {
  .split-section {
    flex-direction: column;
  }

  .split-section.reverse {
    flex-direction: column;
  }

  .inline-image {
    margin: 40px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .mobile-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px var(--shadow);
    z-index: 1001;
  }

  nav.active {
    right: 0;
  }

  .nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .form-container {
    padding: 32px 24px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
