/* VARIABLES: Swiss Style / Bauhaus */
:root {
  --bg: #f4f4f4; /* Off-White */
  --text: #1a1a1a; /* Almost Black */
  --primary: #e63946; /* Swiss Red */
  --accent: #1d3557; /* Deep Blue */
  --white: #ffffff;

  --font-head: "Oswald", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --gap: 30px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

/* Adaptive Fonts */
h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -1px;
  margin-bottom: 25px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #444;
}
.lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  max-width: 600px;
}
.highlight {
  color: var(--primary);
  background: transparent;
}

/* UTILS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.bg-light {
  background: var(--white);
}
.bg-dark {
  background: var(--text);
  color: var(--white);
}
.bg-dark h2,
.bg-dark p {
  color: var(--white);
}
.bg-accent {
  background: var(--accent);
  color: var(--white);
}
.text-center {
  text-align: center;
}
.text-block-centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 60px;
}
.full {
  width: 100%;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 16px 36px;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  border: none;
  transition: 0.3s;
}
.btn-primary:hover {
  background: var(--text);
}

.btn-primary-sm {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: 0.3s;
}
.btn-primary-sm:hover {
  background: var(--text);
}

.btn-dark {
  display: inline-block;
  background: var(--text);
  color: var(--white);
  padding: 16px 36px;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.3s;
}
.btn-dark:hover {
  background: var(--primary);
}

.btn-text {
  font-weight: 700;
  border-bottom: 2px solid var(--text);
  display: inline-block;
  padding-bottom: 2px;
}
.btn-text:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-circle {
  width: 50px;
  height: 50px;
  background: var(--white);
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.btn-circle:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.link-arrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}
.link-u {
  text-decoration: underline;
  font-weight: 700;
}

/* HEADER */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 100;
}
.head-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: 1px;
}
.brand-square {
  width: 20px;
  height: 20px;
  background: var(--primary);
}

.main-nav {
  display: flex;
  gap: 40px;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.main-nav a:hover {
  color: var(--primary);
}

.burger-btn {
  display: none;
  font-family: var(--font-head);
  font-weight: 700;
  background: none;
  font-size: 1rem;
  border: 2px solid var(--text);
  padding: 5px 15px;
}

/* HERO */
.hero {
  padding: 80px 0;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tag-label {
  background: var(--text);
  color: var(--white);
  padding: 5px 10px;
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-visual {
  position: relative;
}
.visual-box {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--white);
  padding: 20px 30px;
  box-shadow: 20px -20px 0 var(--primary);
}
.visual-box strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
}
.visual-box span {
  font-size: 0.8rem;
  color: #666;
}
.hero-actions {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

/* STATS */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 4px solid var(--text);
  padding-top: 40px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}
.stat-desc {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* BLOG GRID */
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  border-bottom: 2px solid #000;
  padding-bottom: 15px;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  grid-template-rows: auto auto;
}
.blog-item.large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
}
.bi-img {
  height: 100%;
  min-height: 300px;
}
.bi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bi-content {
  padding: 20px;
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bi-cat {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.blog-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.read-btn {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
  display: inline-block;
  color: var(--primary);
}

/* EXPERTISE (Services) */
.services-list {
  margin-top: 50px;
}
.srv-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  transition: 0.3s;
}
.srv-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.srv-row:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 20px;
  padding-right: 20px;
}
.srv-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
}
.srv-info p {
  color: #ccc;
  margin: 0;
  max-width: 500px;
}
.srv-info h3 {
  color: var(--white);
}
.srv-act {
  display: flex;
  justify-content: flex-end;
}

/* QUIZ */
.shadow-box {
  background: var(--white);
  box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.2);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  color: var(--text);
}
.qb-left p {
  color: #666;
}
.q-card {
  display: none;
  animation: fadeIn 0.4s;
}
.q-card.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.q-card h5 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text);
}
.q-card button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  margin-bottom: 10px;
  background: #f4f4f4;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.2s;
}
.q-card button:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

/* PRICING (Bauhaus) */
.pricing-bauhaus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 50px;
}
.p-col {
  background: var(--white);
  padding: 50px 30px;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
}
.p-head {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.p-col ul {
  margin-bottom: 40px;
  flex-grow: 1;
}
.p-col li {
  margin-bottom: 10px;
  padding-left: 15px;
  position: relative;
  font-size: 0.9rem;
}
.p-col li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--primary);
}
.p-footer {
  margin-top: auto;
  border-top: 2px solid var(--text);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p-cost {
  font-weight: 700;
  font-size: 1.1rem;
}
.p-pro {
  background: var(--primary);
  color: var(--white);
  transform: scaleY(1.05);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.p-pro .p-footer {
  border-color: var(--white);
}
.p-pro p,
.p-pro li {
  color: rgba(255, 255, 255, 0.9);
}
.p-pro li::before {
  color: var(--white);
}

/* CONTACT */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.contact-info {
  padding-top: 40px;
}
.c-details {
  margin-top: 40px;
}
.cd-row {
  margin-bottom: 30px;
}
.cd-row strong {
  font-family: var(--font-head);
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.clean-form {
  background: var(--white);
  padding: 40px;
  border: 1px solid #ddd;
}
.inp-field {
  margin-bottom: 20px;
}
.inp-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.inp-field input {
  width: 100%;
  padding: 14px;
  background: #f9f9f9;
  border: 2px solid #eee;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}
.inp-field input:focus {
  border-color: var(--text);
  outline: none;
  background: #fff;
}
.chk-field {
  font-size: 0.85rem;
  margin-bottom: 30px;
}
.chk-field a {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  background: var(--white);
  border-top: 1px solid #ddd;
  padding: 80px 0 20px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.f-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.footer h5 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer a {
  display: block;
  margin-bottom: 10px;
  color: #444;
}
.footer a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.footer-copy {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #999;
  font-size: 0.8rem;
}

/* FULLSCREEN MENU */
.fs-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}
.fs-menu.active {
  transform: translateY(0);
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  font-size: 3rem;
  color: var(--white);
}
.fs-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 20px;
}
.fs-content a {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 700;
}
.fs-content a:hover {
  color: var(--text);
}
.fs-info {
  margin-top: 50px;
  color: rgba(255, 255, 255, 0.6);
}

/* COOKIE */
.cookie-simple {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--text);
  color: var(--white);
  padding: 15px;
  text-align: center;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 5000;
}
.cookie-simple p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--white);
}
#acceptCookie {
  background: var(--white);
  color: var(--text);
  padding: 5px 15px;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: block;
  }

  h1 {
    font-size: 3rem;
  }
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 0;
    height: 300px;
  }
  .hero-visual img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .blog-item.large {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .srv-row,
  .shadow-box,
  .pricing-bauhaus,
  .split-screen,
  .footer-grid,
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .p-col {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
  .p-pro {
    transform: scale(1);
    box-shadow: none;
    border: none;
  }
}

.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(--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: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
