/*
Theme Name: Ereztech 2026
Theme URI: https://ereztech.com/
Author: Ereztech
Author URI: https://ereztech.com/
Description: Ereztech 2026 offers flexible design options, supported by a variety of patterns for different page types.
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ereztech2026
 */

/* DESIGN KIT */
:root {
  --color-white: #fff;

  --color-indigo-950: #0f0037;
  --color-neutral-100: #f5f5f5;
  --color-indigo-500: #3d3efe;
  --color-amber-500: #f7941e;

  --section-desktop-width: 1200px;
  --section-desktop-padding: 64px 24px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: Poppins, sans-serif;
}

.bg-dark {
  background: var(--color-indigo-950);
}

.bg-light {
  background: var(--color-white);
  isolation: isolate;
}

.bg-neutral {
  background: var(--color-neutral-100);
}

.text-dark {
  color: var(--color-indigo-950);
}

.text-light {
  color: var(--color-white);
}

.text-accent {
  color: var(--color-indigo-500);
}

.text-highlight {
  color: var(--color-amber-500);
}

.shadow {
  box-shadow: 0 0 20px 0 var(--color-indigo-500);
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
  text-wrap: pretty;
  font-family: Poppins, sans-serif;
  letter-spacing: 0;
  padding: 0 0 30px;
  max-width: unset;
}

.page-template-default h1 {
  padding: 30px 0;
  max-width: unset;
}

h1,
h1 span {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
}

h2 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
}

h4 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

h5 {
  font-size: 14px;
  line-height: 21px;
  padding: 0 0 20px;
}

h6 {
  font-size: 12px;
  line-height: 18px;
  padding: 0 0 16px;
}

p,
span,
div,
blockquote,
caption,
figcaption {
  font-size: 16px;
  line-height: 24px;
}

.bold {
  font-weight: 700;
}

.text-xs {
  font-size: 12px;
  line-height: 18px;
}

.text-s {
  font-size: 14px;
  line-height: 21px;
}

.text-m {
  font-size: 16px;
  line-height: 24px;
}

.text-l {
  font-size: 18px;
  line-height: 27px;
}

.text-xl {
  font-size: 20px;
  line-height: 30px;
}

.text-xxl {
  font-size: 32px;
  line-height: 40px;
}

.btn {
  font-family: Poppins, sans-serif;
  font-size: 12px;
  line-height: 18px;
  font-weight: 300;
  letter-spacing: 0;
  width: 100%;
  max-width: 153px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.btn-primary {
  min-height: 25px;
  padding: 4px 10px 3px;
  border: 0.5px solid transparent;
  border-radius: 12.5px;
  background:
    linear-gradient(#0f0037, #0f0037) padding-box,
    linear-gradient(270deg, #f7941e 0%, #bd6fd5 100%) border-box;
  cursor: pointer;
}

.btn-secondary {
  height: 21px;
  text-decoration: none;
  padding: 1.5px 5px;
  border-bottom: 0.5px solid;
  border-image: linear-gradient(90deg, #f7941e 0%, #bd6fd5 100%) 1;
}

.divider-h {
  border-left: 1px solid var(--color-indigo-950);
}

.divider-w {
  border-bottom: 0.5px solid var(--color-indigo-950);
}

.frame-highlight {
  border: 0.5px solid var(--color-indigo-500);
}

p {
  padding: 0 0 20px;
}

p:empty {
  padding: 0;
}

.quote-box {
  padding: 24px;
  margin-bottom: 24px;
}

.card-section {
  padding: 30px;
  margin-bottom: 24px;
}

.page-section {
  max-width: var(--section-desktop-width);
  padding: var(--section-desktop-padding);
  width: 100%;
  margin: 0 auto;
} /* полноэкранный блок */

.specs-list {
  list-style: disc;
  padding: 0 0 0 25px;
}

.old-way {
  background: #fef3f2;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.new-way {
  background: #f0fdf4;
  padding: 16px;
  border-radius: 8px;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.model-card {
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.flex {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

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

.text-center {
  text-align: center;
}

.intro {
  max-width: 800px;
  margin: 0 auto;
}

.container {
  padding: 0 24px;
} /* боковые поля */
.card {
  padding: 24px;
} /* карточка */
.gap-s {
  margin-bottom: 16px;
}
.gap-m {
  margin-bottom: 32px;
}
.gap-l {
  margin-bottom: 64px;
}

/* Growth Illustration */
.growth-illustration {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
.growth-svg {
  width: 100%;
  height: auto;
}
.growth-stage {
  cursor: pointer;
  transition:
    transform 0.3s,
    filter 0.3s;
}
.growth-stage:hover {
  filter: brightness(1.1);
}
.growth-stage:hover .stage-glow {
  opacity: 0.3;
}

.stage-glow {
  opacity: 0;
  transition: opacity 0.3s;
}

/* Animate elements on load */
@keyframes growUp {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.growth-svg .animate-grow {
  animation: growUp 1s ease-out forwards;
}
.growth-svg .animate-fade {
  animation: fadeInUp 0.8s ease-out forwards;
}
.growth-svg .delay-1 {
  animation-delay: 0.2s;
}
.growth-svg .delay-2 {
  animation-delay: 0.4s;
}
.growth-svg .delay-3 {
  animation-delay: 0.6s;
}
.growth-svg .delay-4 {
  animation-delay: 0.8s;
}
.growth-svg .delay-5 {
  animation-delay: 1s;
}

.gradient-border {
  --borderWidth: 1px;
  position: relative;
  background: unset;
  border: none;
}

.gradient-border.btn-dark {
  background: #0f0037;
  color: #ffffff;
}

.gradient-border.btn-light {
  background: #ffffff !important;
  color: #0f0037;
}

.gradient-border.btn-gray {
  background: #F3F2F5;
  color: #0f0037;
}

.bg-gray {
  background: #0F00370D !important;
}

.gradient-border:after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  border-radius: 12.5px;
  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  z-index: -1;
  background-size: 300% 300%;
}

gradient-border.btn-light {
  background: var(--color-white);
}

.gradient-border:hover:after {
  animation: animatedgradient 3s ease alternate infinite;
}

.gradient-border.btn-dark{
  background: #0f0037;
}

.gradient-border.btn-gray {
  background: #F3F2F5
}

.btn-primary:hover {
  font-weight: 300;
}


@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-border.button-border {
  max-width: 180px !important;
  width: 100%;
}

.entry-content .gradient-border.button-border::after {
  content: '';
  position: absolute;
  top: unset;
  height: 1px;
  bottom: -1px;
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  z-index: -1;
  background-size: 300% 300%;
}

.entry-content .gradient-border.button-border:hover::after {
  animation: animatedgradient 3s ease alternate infinite;
}