@import url("../fonts/fonts.css");

/* ===== Design tokens (reconstructed from original Elementor kit) ===== */
:root {
  --ink: #262626;
  --ink-2: #2a2a2a;
  --paper: #ffffff;
  --paper-soft: #f7f8f8;
  --paper-soft-2: #f3f3f3;
  --cyan: #14bfe6;
  --cyan-dark: #0fa6c9;
  --green: #5ec429;
  --green-msg: #07b12a;
  --blue-heading: #1a73e8;
  --red: #ff0000;
  --text: #000000;
  --text-muted: #4a4a4a;
  --white: #ffffff;
  --container: 1140px;
  --radius: 6px;
  --font-display: "Assistant", "Roboto", system-ui, sans-serif;
  --font-body: "Roboto", "Assistant", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  flex-wrap: wrap;
}
.site-header__logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.site-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a:focus-visible { background: rgba(255, 255, 255, .12); }
.site-nav a[aria-current="page"] { color: var(--cyan); }

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 3px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .12s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--cyan { background: var(--cyan); color: var(--white); }
.btn--cyan:hover { background: var(--cyan-dark); }
.btn--green { background: var(--green); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* ===== Home: hero ===== */
.hero {
  background: var(--ink);
  color: var(--white);
  padding-block: 36px 48px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 3vw, 48px);
  box-sizing: border-box;
}
.hero__media {
  display: flex;
  flex-direction: column;
  gap: 22px;
  order: 1;
  min-width: 0;
  width: 100%;
}
.hero__banner { border-radius: 10px; overflow: hidden; }
.hero__banner img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  order: 2;
  width: 100%;
  align-items: center;
  text-align: center;
}
.hero__panel h1 { margin: 0 0 0.2em; }
.hero__panel h2:not(.hero__subtitle),
.hero__panel p { margin: 0; }
.hero__panel .lead-form { max-width: 100%; width: 100%; gap: 8px; }
.hero__panel .form-note { text-align: center; }
.hero__panel .form-message { text-align: center; }
.hero__panel-banner { border-radius: 10px; overflow: hidden; margin-bottom: 6px; }
.hero h1, .hero h2 { color: var(--white); }
.hero__title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; margin-bottom: 0.2em; }
.hero__phone {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  text-align: center;
}
.hero__phone-btn {
  background: transparent;
  color: var(--cyan);
  font-size: clamp(20px, 2.6vw, 24px);
  padding: 10px 20px;
  border: 1px solid var(--white);
  border-radius: 8px;
}
.hero__phone-btn:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--cyan-dark);
  border-color: var(--white);
}
.hero__phone-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}
.hero__subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-block: 14px;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, .85);
}
.hero__subtitle::before,
.hero__subtitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .35);
}

/* ===== Lead form ===== */
.lead-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; text-align: right; }
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid #d7d7d7;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  direction: rtl;
  text-align: right;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
  text-align: right;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
  border-color: var(--cyan);
}
.lead-form .btn { width: 100%; }
.form-note { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .82); text-align: right; }
.form-note a { text-decoration: underline; }
.form-message { font-size: 15px; font-weight: 600; min-height: 1.2em; text-align: right; }
.form-message:empty { min-height: 0; margin: 0; display: none; }
.form-message--success { color: #7CFFB0; }
.form-message--error { color: #ff9a9a; }

/* ===== Carousel ===== */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  direction: ltr;
}
.carousel__viewport {
  flex: 1;
  min-width: 0;
  order: 2;
  overflow: hidden;
  border-radius: 10px;
}
.carousel__track {
  display: flex;
  align-items: stretch;
  transition: transform .5s ease;
  direction: ltr;
  will-change: transform;
}
.carousel__slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.carousel__slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}
@media (min-width: 901px) {
  .hero__banner img {
    max-height: 360px;
    object-fit: contain;
  }
  .carousel__btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}
.carousel__btn {
  position: static;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, .45);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color .2s ease;
  direction: ltr;
}
.carousel__btn:hover { background: rgba(0, 0, 0, .7); }
.carousel__btn--prev { order: 1; }
.carousel__btn--next { order: 3; }

/* ===== Advantages banner ===== */
.advantages { background: var(--paper); padding-block: 30px; }
.advantages img { margin-inline: auto; border-radius: 10px; }
.advantages .adv--mobile { display: none; }

/* ===== Generic content page ===== */
.page { background: var(--paper-soft); padding-block: 44px 64px; }
.content {
  background: var(--white);
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
}
.content h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: .6em; }
.content h2 {
  color: var(--blue-heading);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  margin-top: 1.4em;
}
.content p { margin: 0 0 1em; font-size: 17px; }
.content ul { padding-inline-start: 22px; margin: 0 0 1em; }
.content li { margin-bottom: .6em; font-size: 17px; }
.content a { color: var(--blue-heading); text-decoration: underline; }
.content strong { font-weight: 700; }
.muted { color: var(--text-muted); font-size: 15px; }

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  padding: clamp(22px, 3vw, 36px);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
}
.contact-form .lead-form { max-width: none; }
.contact-form .lead-form input,
.contact-form .lead-form textarea { background: var(--paper-soft); }
.contact-form .form-note { color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-block: 34px 28px;
}
.site-footer__cta {
  text-align: center;
  margin-bottom: 22px;
}
.footer-links {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 6px 4px;
}
.footer-links a:hover { color: var(--cyan); }
.footer-links svg { width: 18px; height: 18px; fill: currentColor; }
.footer-legal {
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
  max-width: 900px;
  margin-inline: auto;
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 200;
  background: var(--ink-2);
  color: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 720px;
  margin-inline: auto;
  transform: translateY(140%);
  transition: transform .35s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.6; flex: 1 1 280px; }
.cookie-banner a { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding-block: 24px 32px; }
  .hero__grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero__media { display: contents; }
  .hero__banner { order: 1; width: 100%; }
  .hero__panel { order: 2; gap: 6px; }
  .hero__media .carousel { order: 3; width: 100%; }
  .hero__title { margin-bottom: 0.2em; }
  .hero__phone { margin: 0; }
  .hero__subtitle { margin-block: 14px; }
  .hero__panel .lead-form { gap: 8px; }
  .hero__panel .form-note { margin-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .advantages { padding-block: 0; }
  .advantages .container {
    max-width: none;
    padding-inline: 0;
  }
  .advantages .adv--desktop { display: none; }
  .advantages .adv--mobile {
    display: block;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    border-radius: 0;
  }
  .site-header__inner { justify-content: space-between; flex-wrap: nowrap; }
  .site-header__logo img { height: 52px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--ink);
    box-shadow: 0 14px 24px rgba(0, 0, 0, .3);
    padding: 10px 16px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 18px; padding: 14px 12px; }
}
