/* === VARIABLES & RESET === */
:root {
  --terra: #e07a5f;
  --terra-dark: #c45d42;
  --navy: #3d405b;
  --sand: #f4f1de;
  --green: #81b29a;
  --white: #ffffff;
  --text: #2b2d42;
  --text-light: #5f6368;
  --border: #e0e0e0;
  --container: 1180px;
  --font-head: "Playfair Display", serif;
  --font-body: "DM Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

/* === UTILS === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.bg-sand {
  background: var(--sand);
}
.bg-light {
  background: #f8f9fa;
}
.bg-light-warm {
  background: #fffbf0;
}
.bg-dark {
  background: var(--navy);
  color: #f2f2f2;
}
.bg-dark h2,
.bg-dark h3 {
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 25px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text-light);
}

.center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.italic-accent {
  font-style: italic;
  color: var(--terra);
}
.highlight {
  color: var(--terra);
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 35px;
  background: var(--terra);
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3);
}
.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-3px);
}

.btn-outline {
  padding: 10px 25px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
}
.btn-text:hover {
  color: var(--terra);
  gap: 12px;
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
}
.btn-white:hover {
  background: var(--sand);
}

.link-nav {
  font-weight: 500;
  color: var(--navy);
}
.full {
  width: 100%;
}
.mt-20 {
  margin-top: 20px;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}
.h-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-txt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
}
.logo-svg {
  transition: 0.3s;
}
.logo:hover .logo-svg {
  transform: rotate(10deg);
}

.d-nav {
  display: flex;
  gap: 30px;
}
.d-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}
.d-nav a:hover,
.d-nav a.active {
  color: var(--terra);
}

.h-act {
  display: flex;
  align-items: center;
  gap: 20px;
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
}

/* === MOBILE MENU === */
.mob-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--sand);
  z-index: 2000;
  padding: 25px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: 0.4s ease;
}
.mob-menu.active {
  transform: translateX(0);
}
.mm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.mm-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}
.mm-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: auto;
}
.mm-nav a {
  font-size: 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}

/* === HERO === */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 25px;
}
.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 30px;
}
.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.hero-info {
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.7;
}

/* Hero Visuals */
.floating-ui {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ui-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(61, 64, 91, 0.15);
  position: absolute;
  border: 1px solid var(--border);
}
.main-ui {
  width: 300px;
  padding: 20px;
  z-index: 2;
  transform: rotate(-3deg);
  transition: 0.5s;
}
.main-ui:hover {
  transform: rotate(0deg);
}
.ui-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.dots {
  display: flex;
  gap: 5px;
}
.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}
.dots span:first-child {
  background: var(--terra);
}
.ui-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.ui-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  max-width: 90%;
}
.bot {
  background: #f0f0f0;
  align-self: flex-start;
}
.user {
  background: var(--navy);
  color: var(--white);
  align-self: flex-end;
}

.float-stat {
  z-index: 3;
  bottom: 40px;
  right: 0;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  transform: rotate(2deg);
}
.float-stat i {
  color: var(--green);
  width: 32px;
  height: 32px;
}
.float-stat div {
  display: flex;
  flex-direction: column;
}
.float-stat strong {
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1;
}
.float-stat span {
  font-size: 0.8rem;
}

/* === SCENARIOS === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.case-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: 0.3s;
}
.case-card:hover {
  border-color: var(--terra);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.cc-icon {
  width: 60px;
  height: 60px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--navy);
}
.cc-link {
  font-weight: 700;
  color: var(--terra);
  font-size: 0.9rem;
  margin-top: 15px;
  display: inline-block;
}

/* === METHOD === */
.split-rev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-img img {
  border-radius: 20px;
  box-shadow: 20px 20px 0 var(--navy);
}
.check-list {
  margin-top: 30px;
}
.check-list li {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}
.check-list i {
  color: var(--green);
}

/* === BANNER === */
.banner-box {
  background: var(--navy);
  border-radius: 20px;
  padding: 60px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.banner-box h2 {
  color: var(--white);
}
.banner-box p {
  color: #ccc;
}
.bb-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}
.bb-act {
  text-align: center;
  position: relative;
  z-index: 2;
}
.bb-note {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.6;
}
.banner-box::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 200px;
  height: 200px;
  background: var(--terra);
  opacity: 0.2;
  border-radius: 50%;
}

/* === FEATURES === */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}
.f-row {
  display: flex;
  gap: 30px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  border-left: 3px solid var(--terra);
  transition: 0.3s;
}
.f-row:hover {
  background: rgba(255, 255, 255, 0.1);
}
.fr-num {
  font-size: 2.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
}
.fr-body h3 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.2rem;
}
.fr-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #ccc;
}

/* === FAQ === */
.narrow {
  max-width: 800px;
  margin: 0 auto;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.acc-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.acc-header {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-align: left;
}
.acc-header i {
  transition: 0.3s;
  color: var(--terra);
}
.acc-item.active .acc-header i {
  transform: rotate(180deg);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}
.acc-body p {
  padding: 0 25px 25px;
  margin: 0;
}
.acc-item.active .acc-body {
  max-height: 200px;
}

/* === FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contacts-list {
  margin-top: 40px;
}
.cl-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.cl-row i {
  color: var(--terra);
}
.cl-row a {
  font-weight: 600;
  color: var(--terra-dark);
}

.warm-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}
.inp-wrap {
  margin-bottom: 20px;
}
.inp-wrap label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
}
.inp-wrap input {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
  background: #fafafa;
}
.inp-wrap input:focus {
  border-color: var(--terra);
  outline: none;
  background: var(--white);
}
.chk-wrap {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 25px;
  color: var(--text-light);
}
.chk-wrap a {
  text-decoration: underline;
  color: var(--navy);
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: #bfc0c8;
  padding: 80px 0 20px;
  margin-top: 80px;
}
.foot-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.f-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 15px;
}
.f-btn {
  color: var(--terra);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 10px;
}
.f-col h5 {
  color: var(--white);
  margin-bottom: 20px;
  font-family: var(--font-head);
}
.f-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  transition: 0.3s;
}
.f-col a:hover {
  color: var(--terra);
}
.foot-btm {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* === COOKIE === */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 5000;
  display: none;
  border-left: 5px solid var(--terra);
}
.cp-in {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cp-in p {
  margin: 0;
  font-size: 0.9rem;
}
.btn-xs {
  align-self: flex-start;
  padding: 8px 20px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .d-nav,
  .h-act .link-nav,
  .h-act .btn-outline {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-wrapper,
  .split-rev,
  .contact-grid,
  .foot-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-wrapper {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-img {
    order: -1;
  }
  .floating-ui {
    height: 320px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .banner-box {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  h1 {
    font-size: 2.2rem;
  }
  .warm-form {
    padding: 25px;
  }
}
.pages {
  padding: 120px 0;
}

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

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 40px;
  margin-top: 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(--ink);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px !important;
    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;
  }
}
