.policy,
.success {
  padding-block: 120px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 25px;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 17px;
}

.policy__text {
  font-weight: 400;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2 {
  text-align: left;
  font-size: 24px;
}

.policy__text ul {
  padding-left: 22px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 35px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

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

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

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

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

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

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand a {
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: #2c3e50;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #3498db;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  background: #2c5282;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  margin: 20px;
  color: white;
}

.cookie-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cookie-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cookie-content p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accept-cookies {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.accept-cookies:hover {
  background: #00acc1;
}

.more-info {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.more-info:hover {
  background: white;
  color: #2c5282;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-popup.show {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  margin: 20px;
}

.success-icon {
  font-size: 3rem;
  color: #27ae60;
  margin-bottom: 1rem;
}

.success-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.close-success {
  background: #3498db;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 1rem;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: #f8f8f8;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-bottom-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero-bottom-text p {
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.6;
}

/* Origins Section */
.origins {
  padding: 80px 0;
  background: white;
}

.origins h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.origins-subtitle {
  font-size: 1rem;
  color: #555;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.origins-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
}

.origins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.origins-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.origins-card.full-width {
  grid-column: 1 / -1;
  max-width: 100%;
}

.origins-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f4ff;
  border-radius: 50%;
}

.origins-icon img {
  width: 30px;
  height: 30px;
}

.origins-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #f8f8f8;
}

.contact h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
}

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

.contact-intro p {
  color: #555;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 3rem;
  background: #00bcd4;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.contact-form input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
}

.contact-form input::placeholder {
  color: #999;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  background: #2c5282;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: "Montserrat", sans-serif;
}

.contact-form button:hover {
  background: #2a4d7a;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #555;
}

.contact-icon {
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: white;
  padding: 2rem 0;
  border-top: 1px solid #eee;
}

.footer-links {
  text-align: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links span {
  color: #ccc;
  margin: 0 0.5rem;
}

.footer-copyright {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

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

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

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

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .origins h2 {
    font-size: 1.8rem;
  }

  .origins-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact h2 {
    font-size: 1.8rem;
  }

  .contact-form {
    margin: 0 1rem 3rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .nav {
    padding: 1rem;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

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

  .origins,
  .contact {
    padding: 60px 0;
  }

  .cookie-content {
    padding: 1.5rem;
    margin: 15px;
  }

  .cookie-content h3 {
    font-size: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .contact-icon {
    margin-bottom: 0.5rem;
  }
}
