:root {
  --primary: #1a3a5c;
  --secondary: #c9a227;
  --accent: #2d6a4f;
  --dark: #0d1b2a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 8px;
}

* {
  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(--dark);
  background: var(--light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

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

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

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

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

.nav-desktop {
  display: flex;
  gap: 32px;
}

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

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

.nav-desktop a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  flex-direction: column;
  padding: 20px;
}

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

.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

/* Hero Magazine */
.hero-magazine {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-magazine::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--secondary);
  opacity: 0.1;
  border-radius: 50%;
}

.hero-grid {
  display: flex;
  gap: 60px;
  align-items: center;
}

.hero-content {
  flex: 1.2;
  color: var(--white);
}

.hero-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-visual {
  flex: 0.8;
  position: relative;
}

.hero-image-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.hero-image-box img {
  border-radius: var(--radius);
}

.hero-stat {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--secondary);
  color: var(--dark);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: #d4ad2e;
  transform: translateY(-2px);
}

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

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

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

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

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

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

/* Magazine Columns */
.magazine-section {
  padding: 80px 0;
}

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

.magazine-main {
  flex: 2;
}

.magazine-sidebar {
  flex: 1;
}

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

.section-tag {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
}

.card-body {
  padding: 28px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.card-text {
  color: var(--gray);
  margin-bottom: 16px;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.card-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray);
}

/* Service Cards Grid */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.service-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.sidebar-widget-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--secondary);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: var(--white);
  text-align: center;
}

.sidebar-cta-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.sidebar-cta-text {
  opacity: 0.9;
  margin-bottom: 20px;
}

/* Alternating Sections */
.alt-section {
  padding: 80px 0;
}

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

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

.alt-section.accent {
  background: linear-gradient(135deg, var(--accent) 0%, #1a4731 100%);
  color: var(--white);
}

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

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

.split-text {
  flex: 1;
}

.split-image {
  flex: 1;
}

.split-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Stats Section */
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 0;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
}

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

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

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 8px;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
}

.testimonial-name {
  font-weight: 600;
}

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

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

.testimonials-grid .testimonial-card {
  flex: 1 1 calc(50% - 15px);
  min-width: 300px;
}

/* Form Section */
.form-section {
  padding: 80px 0;
  background: linear-gradient(to right, var(--light) 50%, var(--primary) 50%);
}

.form-grid {
  display: flex;
  gap: 60px;
  align-items: stretch;
}

.form-info {
  flex: 1;
  padding-right: 40px;
}

.form-container {
  flex: 1;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

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

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

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

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

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--secondary);
  color: var(--dark);
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover {
  background: #d4ad2e;
}

/* Contact Page */
.contact-grid {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.contact-label {
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-value {
  color: var(--gray);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-col {
  flex: 1;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.footer-text {
  opacity: 0.8;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  opacity: 1;
}

/* Thanks Page */
.thanks-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

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

.thanks-icon {
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thanks-icon svg {
  width: 50px;
  height: 50px;
  fill: var(--white);
}

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}

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

/* Policy Pages */
.policy-page {
  padding: 60px 0;
}

.policy-header {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.policy-title {
  font-size: 2.5rem;
}

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

.policy-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 40px 0 20px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 16px;
  color: var(--gray);
}

.policy-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.policy-content li {
  margin-bottom: 10px;
  color: var(--gray);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 20px;
  z-index: 1000;
  display: none;
}

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

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

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

.cookie-text a {
  color: var(--secondary);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: 0.3s;
}

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

.cookie-reject {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  pointer-events: none;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta .btn {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* About Page */
.about-intro {
  padding: 80px 0;
}

.about-grid {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-image {
  flex: 1;
}

.about-text {
  flex: 1.2;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 0;
  width: 15px;
  height: 15px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--white);
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content h4 {
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--gray);
}

/* Feature List */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
}

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

.page-header-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.page-header-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  justify-content: center;
}

.breadcrumb a {
  opacity: 0.8;
}

.breadcrumb span {
  opacity: 0.5;
}

/* Pricing Table */
.pricing-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-card {
  flex: 1 1 300px;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--secondary);
}

.pricing-header {
  background: var(--primary);
  color: var(--white);
  padding: 30px;
}

.pricing-card.featured .pricing-header {
  background: var(--secondary);
  color: var(--dark);
}

.pricing-name {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-price span {
  font-size: 1rem;
  opacity: 0.8;
}

.pricing-body {
  padding: 30px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .split-content,
  .magazine-grid,
  .form-grid,
  .contact-grid,
  .about-grid {
    flex-direction: column;
  }

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

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    flex-wrap: wrap;
  }

  .footer-col {
    flex: 1 1 45%;
  }

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

  .hero-stat {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
  }

  .testimonials-grid .testimonial-card {
    flex: 1 1 100%;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .service-card {
    flex: 1 1 100%;
  }

  .footer-col {
    flex: 1 1 100%;
  }

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

  .stats-row {
    flex-direction: column;
    gap: 30px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .sticky-cta {
    right: 15px;
    bottom: 80px;
  }

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.6s ease forwards;
}

/* SVG Icons (inline) */
.icon-check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}

.icon-check::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
