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

:root {
  --color-primary: #1a4a6e;
  --color-secondary: #2d7ab8;
  --color-accent: #d4a855;
  --color-dark: #0f2a3d;
  --color-light: #f8f9fa;
  --color-text: #333;
  --color-text-light: #666;
  --color-white: #fff;
  --color-border: #ddd;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

/* Header */
.header {
  background: var(--color-white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.header__logo-icon {
  width: 40px;
  height: 40px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn__line {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn--active .mobile-menu-btn__line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn--active .mobile-menu-btn__line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn--active .mobile-menu-btn__line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 8rem 1.5rem 4rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__content {
  max-width: 700px;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

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

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

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

.btn--secondary:hover {
  background: var(--color-light);
  transform: translateY(-2px);
}

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

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

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

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

.section__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

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

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 380px;
  transition: var(--transition);
}

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

.card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.card__title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.card__text {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

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

/* Features List */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.features__content {
  flex: 1 1 400px;
}

.features__list {
  margin-top: 1.5rem;
}

.features__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.features__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-accent);
}

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

/* Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 400px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
}

.testimonial__text {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--color-text);
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.testimonial__info {
  display: flex;
  flex-direction: column;
}

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

.testimonial__role {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Contact Section */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact__info {
  flex: 1 1 300px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact__label {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

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

/* Legal Pages */
.legal {
  padding-top: 7rem;
}

.legal__content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal__title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.legal__section {
  margin-bottom: 2rem;
}

.legal__heading {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.legal__text {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.legal__list {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal__list li {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

/* Thank You Page */
.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.thank-you__content {
  background: var(--color-white);
  padding: 4rem 3rem;
  border-radius: var(--radius);
  max-width: 500px;
  box-shadow: var(--shadow-hover);
}

.thank-you__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
}

.thank-you__title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.thank-you__text {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 4rem 1.5rem 2rem;
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  flex: 1 1 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

.footer__nav {
  flex: 1 1 200px;
}

.footer__heading {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner--visible {
  transform: translateY(0);
}

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

.cookie-banner__text {
  flex: 1 1 400px;
  font-size: 0.9375rem;
}

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

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner__btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 0.875rem;
}

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

.cookie-banner__btn--accept:hover {
  background: #c49745;
}

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

.cookie-banner__btn--settings:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-modal--visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal__content {
  background: var(--color-white);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-modal__title {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.cookie-modal__close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 0.25rem;
  line-height: 1;
}

.cookie-modal__close:hover {
  color: var(--color-text);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.cookie-option__info {
  flex: 1;
  padding-right: 1rem;
}

.cookie-option__title {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.cookie-option__description {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Toggle Switch */
.toggle {
  position: relative;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
}

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

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

.toggle__input:checked + .toggle__slider {
  background: var(--color-accent);
}

.toggle__input:checked + .toggle__slider::before {
  transform: translateX(24px);
}

.toggle__input:disabled + .toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.cookie-modal__btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
}

.cookie-modal__btn--save {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
}

.cookie-modal__btn--save:hover {
  background: var(--color-secondary);
}

.cookie-modal__btn--accept-all {
  background: var(--color-accent);
  color: var(--color-dark);
  border: none;
}

.cookie-modal__btn--accept-all:hover {
  background: #c49745;
}

/* About Page */
.about-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.about-intro__content {
  flex: 1 1 400px;
}

.about-intro__title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.about-intro__text {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.value {
  text-align: center;
  flex: 1 1 250px;
  max-width: 300px;
}

.value__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.value__title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

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

/* Team Section */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-member {
  text-align: center;
  flex: 1 1 200px;
  max-width: 250px;
}

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

.team-member__name {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.team-member__role {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta__text {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav__link {
    font-size: 1.125rem;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .legal__content {
    padding: 2rem 1.5rem;
  }

  .footer__content {
    gap: 2rem;
  }

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

  .cookie-banner__actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-modal__content {
    padding: 1.5rem;
  }

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

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .thank-you__content {
    padding: 2.5rem 1.5rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  z-index: 10001;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}
