/*!
Theme Name: Upholstery Steamers
Theme URI: http://underscores.me/
Author: ShoWorks
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: upholstery-steamers
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Upholstery Steamers is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}



dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}





a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ============================================
   CR ADVANTAGE - STATIC CSS
   Migrated from React/Tailwind
   ============================================ */

/* ============================================
   FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES (Design Tokens)
   ============================================ */
:root {
  /* Core brand colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(213, 39%, 15%);

  /* Navy primary - trust & authority */
  --primary: hsl(213, 69%, 18%);
  --primary-foreground: hsl(0, 0%, 100%);

  /* Gold accent - premium feel */
  --accent: hsl(41, 46%, 59%);
  --accent-foreground: hsl(213, 69%, 18%);

  /* Subtle secondary for cards/sections */
  --secondary: hsl(210, 25%, 97%);
  --secondary-foreground: hsl(213, 39%, 15%);

  /* Muted for subtle text */
  --muted: hsl(210, 20%, 96%);
  --muted-foreground: hsl(213, 20%, 45%);

  /* Cards */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(213, 39%, 15%);

  /* Borders */
  --border: hsl(210, 20%, 90%);

  /* Radius */
  --radius: 0.5rem;

  /* Custom tokens */
  --hero-gradient: linear-gradient(135deg, hsl(213, 69%, 18%) 0%, hsl(213, 50%, 25%) 100%);
  --section-gradient: linear-gradient(180deg, hsl(210, 25%, 97%) 0%, hsl(0, 0%, 100%) 100%);
  --gold-gradient: linear-gradient(135deg, hsl(41, 46%, 59%) 0%, hsl(41, 50%, 70%) 100%);
  --shadow-soft: 0 4px 20px -4px hsla(213, 69%, 18%, 0.1);
  --shadow-card: 0 10px 40px -10px hsla(213, 69%, 18%, 0.15);
  --shadow-hero: 0 25px 60px -15px hsla(213, 69%, 18%, 0.25);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  line-height: 1.2;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsla(213, 69%, 18%, 0.9);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-weight: 600;
}

.btn-accent:hover {
  background-color: hsla(41, 46%, 59%, 0.9);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: var(--primary-foreground);
}

.btn-outline:hover {
  background-color: hsla(0, 0%, 100%, 0.1);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .header-nav {
    padding: 1rem 2rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo img {
  height: 60px;
  width: auto;
	margin-bottom: -10px;
	margin-top: -10px;
}

.header-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  display: none;
}

/* @media (min-width: 640px) {
  .header-logo-text {
    display: block;
  }
} */

  .header-logo-text {
    display: block;
  }


.header-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .header-menu {
    display: flex;
  }
}

.header-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(213, 39%, 15%, 0.8);
  transition: color 0.2s ease;
}

.header-menu a:hover,
.header-menu a.active {
  color: var(--accent);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.header-phone:hover {
  color: var(--foreground);
}

.header-phone svg {
  width: 1rem;
  height: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: hsla(213, 39%, 15%, 0.8);
  transition: color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--hero-gradient);
  overflow: hidden;
  padding-top: 73px; /* Header height offset */
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1124px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  color: var(--primary-foreground);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsla(41, 46%, 59%, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--accent);
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-title-accent {
  color: var(--accent);
}

.hero-description {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  max-width: 36rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn 0.5s ease forwards;
}

.hero-benefit:nth-child(1) { animation-delay: 0.3s; }
.hero-benefit:nth-child(2) { animation-delay: 0.4s; }
.hero-benefit:nth-child(3) { animation-delay: 0.5s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-benefit svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-benefit span {
  color: hsla(0, 0%, 100%, 0.9);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Hero Stats Card */
.hero-stats {
  display: none;
}

@media (min-width: 1124px) {
  .hero-stats {
    display: block;
  }
}

.hero-stats-card {
  background-color: hsla(0, 0%, 100%, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hero-stat {
  text-align: center;
  padding: 1.5rem;
  background-color: hsla(0, 0%, 100%, 0.05);
  border-radius: 0.75rem;
}

.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 0.5s ease 1s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.scroll-indicator {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid hsla(0, 0%, 100%, 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
}

.scroll-indicator-dot {
  width: 0.375rem;
  height: 0.75rem;
  background-color: var(--accent);
  border-radius: 9999px;
  margin-top: 0.5rem;
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* ============================================
   PROCESS STEPS SECTION
   ============================================ */
.process-section {
  padding: 6rem 0;
  background: var(--section-gradient);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.process-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.process-step.animate {
  animation: fadeUp 0.5s ease forwards;
}

.process-step:nth-child(1).animate { animation-delay: 0s; }
.process-step:nth-child(2).animate { animation-delay: 0.1s; }
.process-step:nth-child(3).animate { animation-delay: 0.2s; }
.process-step:nth-child(4).animate { animation-delay: 0.3s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-step-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.process-step-card:hover {
  box-shadow: var(--shadow-hero);
}

.process-step-number {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--accent);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.process-step-number span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--accent-foreground);
}

.process-step-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--secondary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.process-step-card:hover .process-step-icon {
  background-color: hsla(213, 69%, 18%, 0.1);
}

.process-step-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.process-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.process-step-description {
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Connector lines (desktop only) */
.process-step-connector {
  display: none;
}

@media (min-width: 1024px) {
  .process-step-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background-color: var(--border);
  }

  .process-step:last-child .process-step-connector {
    display: none;
  }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.benefits-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefits-content {
  opacity: 0;
  transform: translateX(-30px);
}

.benefits-content.animate {
  animation: slideRight 0.6s ease forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.benefits-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .benefits-title {
    font-size: 2.25rem;
  }
}

.benefits-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.benefits-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-item {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.benefit-item.animate {
  animation: fadeUp 0.4s ease forwards;
}

.benefit-item:nth-child(1).animate { animation-delay: 0s; }
.benefit-item:nth-child(2).animate { animation-delay: 0.1s; }
.benefit-item:nth-child(3).animate { animation-delay: 0.2s; }
.benefit-item:nth-child(4).animate { animation-delay: 0.3s; }
.benefit-item:nth-child(5).animate { animation-delay: 0.4s; }
.benefit-item:nth-child(6).animate { animation-delay: 0.5s; }

.benefit-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.benefit-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.benefit-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Benefits Visual Card */
.benefits-visual {
  position: relative;
  opacity: 0;
  transform: translateX(30px);
}

.benefits-visual.animate {
  animation: slideLeft 0.6s ease forwards;
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.benefits-card {
  background-color: var(--primary);
  border-radius: 1rem;
  padding: 2.5rem;
  color: var(--primary-foreground);
}

.benefits-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.benefits-card-label {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.benefits-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefits-card-note {
  color: hsla(0, 0%, 100%, 0.7);
}

.benefits-card-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits-stat-row {
  background-color: hsla(0, 0%, 100%, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
}

.benefits-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.benefits-stat-label {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.8);
}

.benefits-stat-value {
  font-weight: 600;
}

.benefits-stat-value.accent {
  color: var(--accent);
}

.benefits-progress-bar {
  width: 100%;
  height: 0.5rem;
  background-color: hsla(0, 0%, 100%, 0.2);
  border-radius: 9999px;
  overflow: hidden;
}

.benefits-progress-fill {
  height: 100%;
  background-color: var(--accent);
  border-radius: 9999px;
}

/* Decorative background */
.benefits-visual-bg {
  position: absolute;
  z-index: -1;
  top: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  background-color: hsla(41, 46%, 59%, 0.2);
  border-radius: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: var(--hero-gradient);
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 40px 40px;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  color: var(--primary-foreground);
  opacity: 0;
  transform: translateY(30px);
}

.cta-content.animate {
  animation: fadeUp 0.6s ease forwards;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    display: flex;
	  justify-content: space-between
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: invert(1);
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-description {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-label {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}

.footer-contact-value {
  font-size: 0.875rem;
}

.footer-contact-value a {
  transition: color 0.2s ease;
}

.footer-contact-value a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ============================================
   ANIMATIONS (Scroll-triggered)
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   SIMERP PAGE STYLES
   ============================================ */

/* ============================================
   SIMERP HERO
   ============================================ */
.simerp-hero {
  padding-top: 73px; /* Header offset */
  padding-bottom: 6rem;
  background: var(--hero-gradient);
}

.simerp-hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  color: var(--primary-foreground);
  padding: 6rem 0;
}

.simerp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsla(41, 46%, 59%, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.simerp-hero-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.simerp-hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.simerp-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .simerp-hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .simerp-hero-title {
    font-size: 3.75rem;
  }
}

.simerp-hero-description {
  font-size: 1.25rem;
  color: hsla(0, 0%, 100%, 0.8);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================
   WHAT IS SIMERP
   ============================================ */
.simerp-what {
  padding: 6rem 0;
  background-color: var(--background);
}

.simerp-what-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .simerp-what-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.simerp-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .simerp-section-title {
    font-size: 2.25rem;
  }
}

.simerp-what-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.simerp-what-text p {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.simerp-what-text strong {
  color: var(--foreground);
}

.simerp-what-card {
  background-color: var(--secondary);
  border-radius: 1rem;
  padding: 2rem;
}

.simerp-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.simerp-facts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.simerp-fact-item {
  display: flex;
  gap: 1rem;
}

.simerp-fact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: hsla(213, 69%, 18%, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simerp-fact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.simerp-fact-item h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.simerp-fact-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   WHO IS IT FOR
   ============================================ */
.simerp-who {
  padding: 6rem 0;
  background: var(--section-gradient);
}

.simerp-who-card {
  max-width: 48rem;
  margin: 0 auto;
  background-color: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.simerp-who-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.simerp-who-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--secondary);
  border-radius: 0.5rem;
  opacity: 0;
  transform: translateX(-20px);
}

.simerp-who-item.animate {
  animation: slideRight 0.4s ease forwards;
}

.simerp-who-item:nth-child(1).animate { animation-delay: 0s; }
.simerp-who-item:nth-child(2).animate { animation-delay: 0.1s; }
.simerp-who-item:nth-child(3).animate { animation-delay: 0.2s; }
.simerp-who-item:nth-child(4).animate { animation-delay: 0.3s; }
.simerp-who-item:nth-child(5).animate { animation-delay: 0.4s; }

.simerp-who-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.simerp-who-item span {
  font-weight: 500;
  color: var(--foreground);
}

/* ============================================
   PROBLEMS SOLVED
   ============================================ */
.simerp-problems {
  padding: 6rem 0;
  background-color: var(--background);
}

.simerp-problems-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .simerp-problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.simerp-problem-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(30px);
}

.simerp-problem-card.animate {
  animation: fadeUp 0.5s ease forwards;
}

.simerp-problem-card:nth-child(1).animate { animation-delay: 0s; }
.simerp-problem-card:nth-child(2).animate { animation-delay: 0.1s; }
.simerp-problem-card:nth-child(3).animate { animation-delay: 0.2s; }
.simerp-problem-card:nth-child(4).animate { animation-delay: 0.3s; }

.simerp-problem-label {
  font-weight: 500;
  color: hsl(0, 84%, 60%);
  margin-bottom: 0.5rem;
}

.simerp-problem-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.simerp-solution-label {
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.simerp-solution-text {
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* ============================================
   PROGRAM PHASES
   ============================================ */
.simerp-phases {
  padding: 6rem 0;
  background: var(--section-gradient);
}

.simerp-phases-timeline {
  max-width: 56rem;
  margin: 0 auto;
}

.simerp-phase {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.simerp-phase:last-child {
  margin-bottom: 0;
}

.simerp-phase-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simerp-phase-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.simerp-phase-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-foreground);
}

.simerp-phase-line {
  width: 2px;
  flex: 1;
  background-color: var(--border);
  margin-top: 1rem;
}

.simerp-phase-content {
  flex: 1;
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
}

.simerp-phase-content.animate {
  animation: fadeUp 0.4s ease forwards;
}

.simerp-phase:nth-child(1) .simerp-phase-content.animate { animation-delay: 0s; }
.simerp-phase:nth-child(2) .simerp-phase-content.animate { animation-delay: 0.1s; }
.simerp-phase:nth-child(3) .simerp-phase-content.animate { animation-delay: 0.2s; }
.simerp-phase:nth-child(4) .simerp-phase-content.animate { animation-delay: 0.3s; }
.simerp-phase:nth-child(5) .simerp-phase-content.animate { animation-delay: 0.4s; }

.simerp-phase-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.simerp-phase-content p {
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* ===================================
   Services Page Styles
   =================================== */

/* Hero Section */
.services-hero {
    background: var(--hero-gradient);
    padding: 8rem 0 6rem;
    text-align: center;
}

.services-hero-content {
    max-width: 56rem;
    margin: 0 auto;
}

.services-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.services-hero p {
    font-size: 1.25rem;
    color: hsla(0, 0%, 100%, 0.8);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid Section */
.services-grid-section {
    padding: 6rem 0;
    background-color: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Service Card */
.service-card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-hero);
}

.service-card:hover .service-icon {
    background-color: hsla(213, 69%, 18%, 0.1);
}

.service-card:hover .service-btn {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

/* Service Icon */
.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.service-icon svg {
    color: var(--primary);
}

/* Service Content */
.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Service Benefits List */
.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.benefit-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Service Button */
.service-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background-color: var(--section);
}

.why-choose-section .section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.why-choose-section .section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.why-choose-section .section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stat Card */
.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Services CTA Section */
.services-cta {
    background: var(--hero-gradient);
    padding: 6rem 0;
}

.services-cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.services-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.services-cta p {
    font-size: 1.125rem;
    color: hsla(0, 0%, 100%, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Animations */
.service-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card:nth-child(1).animate { transition-delay: 0s; }
.service-card:nth-child(2).animate { transition-delay: 0.1s; }
.service-card:nth-child(3).animate { transition-delay: 0.2s; }
.service-card:nth-child(4).animate { transition-delay: 0.3s; }
.service-card:nth-child(5).animate { transition-delay: 0.4s; }
.service-card:nth-child(6).animate { transition-delay: 0.5s; }

.stat-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.stat-card.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stat-card:nth-child(1).animate { transition-delay: 0s; }
.stat-card:nth-child(2).animate { transition-delay: 0.1s; }
.stat-card:nth-child(3).animate { transition-delay: 0.2s; }

.services-hero-content.animate-on-scroll,
.services-cta-content.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.services-hero-content.animate-on-scroll.animate,
.services-cta-content.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===================================
   Contact Page Styles
   =================================== */

/* Hero Section */
.contact-hero {
    background: var(--hero-gradient);
    padding: 8rem 0 6rem;
    text-align: center;
}

.contact-hero-content {
    max-width: 56rem;
    margin: 0 auto;
}

.contact-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-hero p {
    font-size: 1.25rem;
    color: hsla(0, 0%, 100%, 0.8);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Info */
.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.contact-intro {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Contact Items */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--secondary);
    border-radius: var(--radius-lg);
}

.contact-item-icon {
    width: 3rem;
    height: 3rem;
    background-color: hsla(213, 69%, 18%, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    color: var(--primary);
}

.contact-item-content h3 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.contact-item-content a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item-content a:hover {
    color: var(--accent);
}

.contact-item-content p {
    color: var(--muted-foreground);
    margin: 0;
}

/* Map Placeholder */
.map-placeholder {
    margin-top: 2rem;
    background-color: var(--secondary);
    border-radius: var(--radius);
    height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder p {
    color: var(--muted-foreground);
}

.contact-form-card {
    --card-bg: #25466e;
    --input-bg: #ffffff;
    --input-text: #0f172a;
    --input-placeholder: #64748b;
    --border: #355882;
    --foreground: #f1f5f9;
    --muted-foreground: #94a3b8;
    --primary: #1d4ed8; /* Темно-синий для кнопки и фокуса */
    --primary-hover: #1e40af; /* Цвет кнопки при наведении */
    --primary-glow: rgba(29, 78, 216, 0.25);
    --destructive: #f87171;
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.2);

    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.contact-form-card h3 {
    font-family: var(--font-serif, sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--font-sans, sans-serif);
    color: var(--input-text);
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--input-placeholder);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--destructive);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    font-size: 0.875rem;
    color: var(--destructive);
    margin: 0;
    min-height: 1.25rem;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #0e2b4f;
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-btn:hover:not(:disabled) {
    background-color: var(--primary-hover);
}

.submit-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.submit-btn .loader-icon {
    display: none;
    animation: spin 1s linear infinite;
}

.submit-btn.loading .send-icon {
    display: none;
}

.submit-btn.loading .loader-icon {
    display: block;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* FAQ Teaser Section */
.faq-teaser {
    padding: 4rem 0;
    background-color: var(--section);
}

.faq-teaser-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.faq-teaser h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.faq-teaser p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.faq-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.faq-link:hover {
    text-decoration: underline;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hero);
    padding: 1rem 1.5rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.toast-icon {
    color: hsl(142, 76%, 36%);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.toast-title {
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.25rem;
}

.toast-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Animations */
.contact-hero-content.animate-on-scroll,
.contact-info.animate-on-scroll,
.contact-form-wrapper.animate-on-scroll,
.faq-teaser-content.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.contact-hero-content.animate-on-scroll.animate,
.faq-teaser-content.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-info.animate-on-scroll.animate {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-form-wrapper.animate-on-scroll.animate {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-item.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.contact-item.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-item:nth-child(1).animate { transition-delay: 0s; }
.contact-item:nth-child(2).animate { transition-delay: 0.1s; }
.contact-item:nth-child(3).animate { transition-delay: 0.2s; }
.contact-item:nth-child(4).animate { transition-delay: 0.3s; }

/* ===================================
   Blog Page Styles
   =================================== */

/* Hero Section */
.blog-hero {
    background: var(--hero-gradient);
    padding: 8rem 0 6rem;
    text-align: center;
}

.blog-hero-content {
    max-width: 56rem;
    margin: 0 auto;
}

.blog-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.blog-hero p {
    font-size: 1.25rem;
    color: hsla(0, 0%, 100%, 0.8);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Categories Section */
.blog-categories {
    padding: 2rem 0;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
}

.categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.category-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.category-btn:hover {
    background-color: hsla(213, 69%, 18%, 0.1);
}

.category-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

/* Featured Post Section */
.featured-post-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.featured-post {
    display: block;
    text-decoration: none;
    background-color: var(--secondary);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-2px);
}

.featured-post:hover h2 {
    color: var(--accent);
}

@media (min-width: 1024px) {
    .featured-post {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.featured-post-image {
    background-color: hsla(213, 69%, 18%, 0.1);
    height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .featured-post-image {
        height: auto;
        min-height: 20rem;
    }
}

.featured-emoji {
    font-size: 4rem;
}

.featured-post-content {
    padding: 2rem;
}

@media (min-width: 1024px) {
    .featured-post-content {
        padding: 3rem;
    }
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
}

.post-featured-badge {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.featured-post-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.featured-post-content > p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-date,
.post-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Blog Grid Section */
.blog-grid-section {
    padding: 4rem 0;
    background-color: var(--section);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Blog Card */
.blog-card {
    height: 100%;
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    background-color: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.blog-card-link:hover {
    box-shadow: var(--shadow-card);
}

.blog-card-link:hover h3 {
    color: var(--accent);
}

.blog-card-image {
    background-color: hsla(213, 69%, 18%, 0.05);
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Обрезает все, что вылезает за границы (например, при скруглении) */
}

/* Добавьте это для картинки */
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет весь контейнер, обрезая лишнее */
    display: block;    /* Убирает лишние отступы снизу */
}

.blog-card-image span {
    font-size: 2.5rem;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    background-color: hsla(41, 46%, 59%, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.blog-card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.blog-card-content > p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.blog-card-footer .post-date,
.blog-card-footer .post-read-time {
    font-size: 0.75rem;
}

/* Load More */
.load-more {
    margin-top: 3rem;
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.load-more-btn:hover {
    color: var(--accent);
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: var(--hero-gradient);
}

.newsletter-content {
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.newsletter-content > p {
    color: hsla(0, 0%, 100%, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background-color: hsla(0, 0%, 100%, 0.1);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    color: var(--primary-foreground);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: hsla(0, 0%, 100%, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent);
}

/* Animations */
.blog-hero-content.animate-on-scroll,
.featured-post.animate-on-scroll,
.newsletter-content.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.blog-hero-content.animate-on-scroll.animate,
.featured-post.animate-on-scroll.animate,
.newsletter-content.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.blog-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.blog-card.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.blog-card:nth-child(1).animate { transition-delay: 0s; }
.blog-card:nth-child(2).animate { transition-delay: 0.1s; }
.blog-card:nth-child(3).animate { transition-delay: 0.2s; }
.blog-card:nth-child(4).animate { transition-delay: 0.3s; }
.blog-card:nth-child(5).animate { transition-delay: 0.4s; }
.blog-card:nth-child(6).animate { transition-delay: 0.5s; }

/* Hidden state for filtered posts */
.blog-card.hidden,
.featured-post.hidden {
    display: none;
}

/* ===================================
   Blog Post Page Styles
   =================================== */

/* Hero Section */
.post-hero {
    background: var(--hero-gradient);
    padding: 6rem 0 4rem;
}

.post-hero-content {
    max-width: 56rem;
    margin: 0 auto;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsla(0, 0%, 100%, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-foreground);
}

/* Category Tag */
.post-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    background-color: hsla(41, 46%, 59%, 0.2);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

/* Title */
.post-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Meta Info */
.post-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.7);
}

.post-meta-info .separator {
    color: hsla(0, 0%, 100%, 0.4);
}

.post-meta-info .post-date,
.post-meta-info .post-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Content Section */
.post-content-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.post-content-wrapper {
    max-width: 48rem;
    margin: 0 auto;
}

/* Prose Styles */
.prose {
    color: var(--muted-foreground);
    line-height: 1.8;
}

.prose h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--foreground);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    position: relative;
}

.prose li::marker {
    color: var(--accent);
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s ease;
}

.prose a:hover {
    text-decoration-color: var(--accent);
}

/* Share Section */
.share-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.share-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.share-btn:hover {
    background-color: hsla(213, 69%, 18%, 0.1);
}

.share-btn svg {
    color: var(--foreground);
}

/* Post CTA */
.post-cta {
    margin-top: 3rem;
    background-color: var(--secondary);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.post-cta h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.post-cta p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Not Found State */
.post-not-found {
    text-align: center;
    padding: 6rem 0;
}

.post-not-found h1 {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.post-not-found p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* Animations */
.post-hero-content.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.post-hero-content.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.prose.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.prose.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

/* --- Language Switcher Styles --- */
.lang-switcher {
	position: relative;
	margin-right: 15px; /* Отступ от телефона */
}

.lang-current {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 5px;
	color: inherit; /* Наследует цвет текста хедера */
}

.lang-dropdown {
	position: absolute;
	top: 100%;
	right: 0; /* Выравнивание по правому краю */
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	border-radius: 6px;
	min-width: 100px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.2s ease;
	z-index: 100;
	padding: 5px 0;
}

/* Показываем при наведении */
.lang-switcher:hover .lang-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-dropdown a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 15px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.2s;
}

.lang-dropdown a:hover {
	background-color: #f5f5f5;
}

.lang-dropdown a.active {
	font-weight: bold;
	color: #000;
}

.check-icon {
	margin-left: 8px;
}
.form-title {
    font-size: 34px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 25px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}
.wpcf7-list-item label {
	display: flex !important;
}
.wpcf7-list-item label input {
	margin-right: 5px !important;
}
/* ========================= */
/* 📱 Mobile Responsive Fix   */
/* ========================= */

@media (max-width: 768px) {

    .form-title {
        font-size: 21px;
        text-align: left;
    }

    .form-row {
        flex-direction: column; /* поля становятся вертикально */
        gap: 15px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-control {
        font-size: 15px;
        padding: 14px;
    }

    /* Radio buttons красиво в колонку */
    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Кнопка submit на всю ширину */
    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    /* Prev / Next кнопки тоже на всю ширину */
    .uacf7-prev,
    .uacf7-next {
        width: 100%;
        display: block;
        text-align: center;
        margin-top: 12px;
    }
}


@media(max-width: 768px){
	
	.d-none-mobile{
		display: none;
	}
}

@media(min-width: 768px){
	.d-none-pc{
		display: none;
	}
}

@media(max-width: 1600px){
	.d-none-1600{
		display: none;
	}
}