:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --secondary: #c53030;
  --accent: #d69e2e;
  --bg-light: #f7fafc;
  --bg-dark: #1a202c;
  --text-dark: #2d3748;
  --text-light: #718096;
  --text-white: #ffffff;
  --border: #e2e8f0;
  --shadow: rgba(0,0,0,0.1);
  --fallback-img: #cbd5e0;
}

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

html {
  scroll-behavior: smooth;
}

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

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 20px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

.ad-disclosure {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.75rem;
}

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

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

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

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

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  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%;
}

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--fallback-img);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,54,93,0.9) 0%, rgba(26,32,44,0.7) 100%);
}

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

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

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

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

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

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

.btn-accent {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-accent:hover {
  background: #b7791f;
}

.section {
  padding: 80px 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.magazine-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.magazine-main {
  flex: 2;
  min-width: 300px;
}

.magazine-sidebar {
  flex: 1;
  min-width: 280px;
}

.feature-block {
  background: var(--text-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  margin-bottom: 30px;
}

.feature-block-img {
  height: 250px;
  background-color: var(--fallback-img);
}

.feature-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-block-content {
  padding: 25px;
}

.feature-block h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.sidebar-widget {
  background: var(--text-white);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px var(--shadow);
}

.sidebar-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.service-card {
  flex: 1 1 320px;
  background: var(--text-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: transform 0.3s ease;
}

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

.service-card-img {
  height: 200px;
  background-color: var(--fallback-img);
}

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

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

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

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

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 15px;
}

.service-price span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
}

.split-section {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.split-content {
  flex: 1 1 400px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-image {
  flex: 1 1 400px;
  min-height: 400px;
  background-color: var(--fallback-img);
}

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

.testimonial {
  background: var(--text-white);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  color: var(--text-light);
  font-size: 0.9rem;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.stat-item {
  flex: 1 1 150px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
}

.section-dark .stat-label {
  color: rgba(255,255,255,0.8);
}

form {
  max-width: 600px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  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 {
  min-height: 120px;
  resize: vertical;
}

.contact-info-block {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.contact-info-block h4 {
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-info-block p {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-info-block .label {
  font-weight: 600;
  display: inline-block;
  min-width: 120px;
}

footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

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

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

.footer-col h4 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

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

.footer-col a {
  color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.9rem;
}

.disclaimer {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 40px;
  border: 1px solid var(--border);
}

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

.legal-content h1 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 25px 0 12px;
  color: var(--primary-light);
}

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

.legal-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 20px;
  z-index: 9999;
  display: none;
}

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

.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner p {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: var(--accent);
}

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

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.cookie-btn:hover {
  opacity: 0.9;
}

.cookie-accept {
  background: var(--accent);
  color: var(--bg-dark);
}

.cookie-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text-white);
}

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

.thanks-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

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

.checkmark {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2.5rem;
  color: var(--text-white);
}

.inline-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  padding: 50px 30px;
  border-radius: 10px;
  text-align: center;
  margin: 40px 0;
}

.inline-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.inline-cta p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.list-styled {
  list-style: none;
  padding: 0;
}

.list-styled li {
  padding: 10px 0 10px 30px;
  position: relative;
}

.list-styled li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb span {
  margin: 0 8px;
}

.page-header {
  background: var(--bg-light);
  padding: 50px 0;
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .header-main .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    justify-content: center;
    gap: 15px;
  }

  .section {
    padding: 50px 0;
  }

  .split-content {
    padding: 40px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
