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

:root {
  --color-primary: #1a365d;
  --color-secondary: #c9a227;
  --color-accent: #2d4a6f;
  --color-light: #f8f9fa;
  --color-dark: #1a1a2e;
  --color-text: #333;
  --color-text-light: #666;
  --color-white: #fff;
  --color-border: #e0e0e0;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

/* Header */
header {
  background-color: var(--color-primary);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Navigation */
.nav-menu {
  display: flex;
  gap: 30px;
}

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-secondary);
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

/* Sections */
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

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

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

/* Features */
.features {
  background-color: var(--color-light);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.feature-card {
  background-color: var(--color-white);
  padding: 35px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  transition: transform var(--transition);
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

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

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

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.service-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transition: box-shadow var(--transition);
}

.service-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-info {
  flex: 1;
  min-width: 250px;
}

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

.service-info p {
  color: var(--color-text-light);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  white-space: nowrap;
}

/* Testimonials */
.testimonials {
  background-color: var(--color-light);
}

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

.testimonial-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  flex: 1 1 300px;
  max-width: 400px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.2rem;
}

.author-info h4 {
  color: var(--color-primary);
  font-size: 1rem;
}

.author-info span {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* About Page */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

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

.about-text h2 {
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 2rem;
}

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

.about-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about-visual svg {
  max-width: 100%;
  height: auto;
}

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

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

.team-member {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  flex: 1 1 250px;
  max-width: 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.team-member h3 {
  color: var(--color-primary);
  margin-bottom: 5px;
}

.team-member span {
  color: var(--color-secondary);
  font-weight: 500;
}

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

/* Contact Page */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 35px;
  text-align: center;
  flex: 1 1 280px;
  max-width: 350px;
}

.contact-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.contact-card h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

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

.contact-card a {
  color: var(--color-secondary);
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 100px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-content svg {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.thank-you-content h1 {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.thank-you-content p {
  color: var(--color-text-light);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.legal-content h3 {
  color: var(--color-accent);
  margin: 20px 0 10px;
  font-size: 1.1rem;
}

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

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

.legal-content li {
  margin-bottom: 8px;
  color: var(--color-text-light);
}

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

.legal-content a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

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

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

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

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

.cookie-content p {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
}

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

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

.cookie-buttons button {
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-size: 0.95rem;
}

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

.btn-accept:hover {
  background-color: #b8922a;
}

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

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

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.modal-content {
  background-color: var(--color-white);
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--color-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-body {
  padding: 20px;
}

.cookie-option {
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-option h4 {
  color: var(--color-primary);
  font-size: 1rem;
}

.cookie-option p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-border);
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-secondary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.modal-footer button {
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

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

.btn-save:hover {
  background-color: var(--color-accent);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 60px 0;
}

.cta-section h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.cta-section p {
  margin-bottom: 25px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.9;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .service-info {
    text-align: center;
  }

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

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

  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .feature-card,
  .testimonial-card,
  .team-member,
  .contact-card {
    max-width: 100%;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 100;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

*:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
