:root {
  --bg-dark: #0b0c10;
  --bg-light: #1f2833;
  --primary: #45a29e;
  --accent: #66fcf1;
  --secondary: #c5c6c7;
  --text: #ffffff;
  --text-muted: #aab2bd;
  --success: #2ecc71;
  --error: #e74c3c;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1200px;
  --header-height: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--border-radius);
}

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

/* Utils */
.text-center {
  text-align: center;
}
.text-gradient {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mt-4 {
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(69, 162, 158, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(69, 162, 158, 0.6);
}

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

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

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

.btn--full {
  width: 100%;
  text-align: center;
}

.btn--glow {
  background: var(--text);
  color: var(--bg-dark);
  animation: pulse 2s infinite;
}

.btn--submit {
  background: var(--success);
  color: white;
  width: 100%;
  font-size: 1.1rem;
}

.btn--submit:hover {
  background: #27ae60;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(11, 12, 16, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo svg {
  height: 40px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 30px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
  position: relative;
}

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

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

.nav__link:hover::after {
  width: 100%;
}

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

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

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text);
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 40px;
  transition: 0.4s ease-in-out;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-menu__footer {
  margin-top: auto;
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section--dark {
  background-color: #050608;
}

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

.section__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

/* Hero */
.hero {
  padding: 160px 0 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(69, 162, 158, 0.15) 0%,
    transparent 60%
  );
  z-index: -1;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(69, 162, 158, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  border: 1px solid rgba(69, 162, 158, 0.3);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero__desc {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero__btns {
  display: flex;
  gap: 20px;
}

.hero__card {
  background: rgba(31, 40, 51, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  position: relative;
  transform: rotate(3deg);
  transition: var(--transition);
}

.hero__card:hover {
  transform: rotate(0) scale(1.02);
}

.hero__icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--bg-dark);
}

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

.hero__stat strong {
  font-size: 2rem;
  color: var(--accent);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-2.reverse .image-block {
  order: 2;
}

.grid-2.reverse .content-block {
  order: 1;
}

.content-block p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--secondary);
}

.feature-list {
  margin-top: 30px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 500;
}

.feature-list i {
  color: var(--accent);
}

.image-block {
  position: relative;
}

.image-block img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.overlay-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--bg-light);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.overlay-card strong {
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}

/* Banner Box */
.banner-box {
  background: linear-gradient(90deg, var(--primary), #2c7a7b);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.banner-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Features Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(69, 162, 158, 0.1);
}

.card__icon {
  width: 50px;
  height: 50px;
  background: rgba(69, 162, 158, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 25px;
}

.card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

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

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.step {
  position: relative;
  padding: 30px;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.step__num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(69, 162, 158, 0.2);
  position: absolute;
  top: 10px;
  right: 20px;
}

.step h3 {
  font-size: 1.3rem;
  margin-top: 10px;
  color: var(--accent);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 25px;
}

.faq-answer p {
  padding-bottom: 25px;
  color: var(--text-muted);
}

/* Form */
.section--form {
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80")
    no-repeat center center/cover;
  position: relative;
}

.section--form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 12, 16, 0.85);
}

.form-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(69, 162, 158, 0.2);
}

.error-msg {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 5px;
}

.form-group.error input {
  border-color: var(--error);
}

.form-group.error .error-msg {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.checkbox-group a {
  color: var(--accent);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #050608;
  padding: 80px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__col h4 {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.1rem;
}

.logo {
  font-family: "Exo 2", sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__desc {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer__links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer__contacts li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.footer__contacts i {
  width: 18px;
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  text-align: center;
  color: #555;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-light);
  border: 1px solid var(--primary);
  padding: 25px;
  border-radius: 16px;
  max-width: 350px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Adaptive */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 3.5rem;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-2.reverse .image-block {
    order: 1;
  }
  .grid-2.reverse .content-block {
    order: 2;
  }
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content {
    margin: 0 auto;
  }
  .hero__label {
    margin: 0 auto 20px auto;
  }
  .hero__desc {
    margin: 0 auto 30px auto;
  }
  .hero__btns {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }
  .hero__visual {
    display: none;
  }

  .section {
    padding: 60px 0;
  }
  .section__title {
    font-size: 2rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
  }

  .overlay-card {
    display: none;
  }
  .banner-box {
    padding: 30px;
  }
  .banner-content h3 {
    font-size: 1.5rem;
  }

  .cookie-popup {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
