/*
Theme Name: Constructera Mont
Theme URI: https://constructera-mont.cz
Description: Moderní, responzivní WordPress theme pro webdesignovou agenturu
Version: 1.1.0
Author: Constructera Mont
Author URI: https://constructera-mont.cz
Template: twentytwentyfive
Text Domain: constructera-mont
Domain Path: /languages
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --primary-color: #132e2d;
  --primary-light: #1a4543;
  --primary-dark: #0a1716;
  --accent-color: #d3eb5d;
  --accent-light: #ddf07d;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --black: #000000;

  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Poppins", sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--gray-700);
  background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}
h2 {
  font-size: 2.5rem;
  font-weight: 700;
}
h3 {
  font-size: 2rem;
  font-weight: 700;
}
h4 {
  font-size: 1.5rem;
  font-weight: 600;
}
h5 {
  font-size: 1.25rem;
  font-weight: 600;
}
h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 400;
}

strong,
b {
  font-weight: 600;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}

/* Header se bílým pozadím na běžných stránkách */
body:not(.home) .site-header {
  background: rgba(255, 255, 255, 0.98);
  position: fixed;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

body:not(.home) .site-header .main-navigation a {
  color: var(--gray-700);
  font-weight: 500;
}

body:not(.home) .site-header .menu-toggle span {
  background-color: var(--gray-900);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  position: fixed;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.site-header.scrolled .site-logo-text {
  color: var(--primary-color);
}

.site-header.scrolled .main-navigation a {
  color: var(--gray-700);
}

.site-header.scrolled .menu-toggle span {
  background-color: var(--gray-900);
}

/* Font Awesome Icons */
.fas,
.fab {
  display: inline-block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-rendering: auto;
}

.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.top-bar-link i {
  font-size: 1.3rem !important;
  color: var(--primary-color) !important;
  display: inline-block !important;
  margin-right: 0.5rem;
  opacity: 1 !important;
}

.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 0;
  backdrop-filter: none;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled .top-bar {
  display: none;
}

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

.top-bar-left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: all var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--primary-dark);
  transform: translateX(2px);
}

.top-bar-right {
  display: flex;
  gap: 0.8rem;
}

/* Main Header */
.main-header {
  background: transparent;
}

.site-header.scrolled .main-header {
  background: transparent;
}

.site-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 2rem;
}

.site-branding {
  flex-shrink: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.logo-image {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.site-logo:hover .logo-image {
  transform: scale(1.05);
}

.site-logo-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.site-logo-text:hover {
  color: var(--primary-dark);
  transform: scale(1.05);
}

.logo-icon {
  font-size: 2rem;
  display: inline-block;
}

.logo-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.main-navigation {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-right: 1rem;
}

.main-navigation ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: var(--primary-color);
  font-weight: 500;
  transition: all var(--transition-fast);
  padding: 0.5rem 0;
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.main-navigation a:hover,
.main-navigation a.active,
.main-navigation a.current-menu-item {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
}

/* Dropdown Menu */
.main-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0;
  padding-top: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 1000;
  border: 1px solid var(--gray-200);
}

.main-navigation li {
  position: relative;
}

.main-navigation .menu-item-has-children {
  position: relative;
}

.main-navigation .menu-item-has-children::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
  display: flex;
}

.main-navigation ul ul li {
  width: 100%;
}

.main-navigation ul ul a {
  padding: 0.75rem 1.25rem;
  color: var(--primary-color);
  font-size: 0.9rem;
  border-bottom: none;
  transition: all 0.2s ease;
}

.main-navigation ul ul a:hover {
  background: var(--gray-50);
  color: var(--accent-color);
}

/* Dropdown Arrow Indicator */
.main-navigation .menu-item-has-children > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.main-navigation .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Header Social Icons */
.header-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.header-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white) !important;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header-social .social-link i {
  color: var(--white) !important;
  font-size: 1.2rem;
}

.header-social .social-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #eef1f7 100%);
  color: var(--gray-800);
  padding: 8rem 0 4rem 0;
  position: relative;
  overflow: visible;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Code Elements */
.code-element {
  position: absolute;
  font-family: "Courier New", monospace;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-color);
  opacity: 0.12;
  animation: floatCode 8s ease-in-out infinite;
  z-index: 1;
}

.code-element-1 {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}
.code-element-2 {
  top: 25%;
  right: 8%;
  animation-delay: 0.5s;
}
.code-element-3 {
  top: 35%;
  left: 10%;
  animation-delay: 1s;
}
.code-element-4 {
  top: 50%;
  right: 12%;
  animation-delay: 1.5s;
}
.code-element-5 {
  top: 60%;
  left: 8%;
  animation-delay: 2s;
}
.code-element-6 {
  top: 70%;
  right: 6%;
  animation-delay: 2.5s;
}
.code-element-7 {
  top: 20%;
  left: 15%;
  animation-delay: 3s;
}
.code-element-8 {
  top: 40%;
  right: 18%;
  animation-delay: 3.5s;
}
.code-element-9 {
  top: 55%;
  left: 12%;
  animation-delay: 4s;
}
.code-element-10 {
  top: 75%;
  right: 10%;
  animation-delay: 4.5s;
}
.code-element-11 {
  top: 30%;
  right: 4%;
  animation-delay: 5s;
}
.code-element-12 {
  top: 65%;
  left: 6%;
  animation-delay: 5.5s;
}

@keyframes floatCode {
  0%,
  100% {
    transform: translateY(0px);
    opacity: 0.08;
  }
  50% {
    transform: translateY(-40px);
    opacity: 0.18;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%231e3a8a" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-left {
  max-width: 600px;
  width: 100%;
  justify-self: auto;
  text-align: center;
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Hero Tags */
.hero-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
  justify-content: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(19, 46, 45, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(19, 46, 45, 0.2);
  backdrop-filter: blur(5px);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-tag i {
  font-size: 1rem;
  color: var(--primary-color);
}

.hero-tag:hover {
  background: rgba(19, 46, 45, 0.15);
  border-color: rgba(19, 46, 45, 0.3);
  transform: translateY(-2px);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  animation: fadeInUp 0.8s ease-out;
  line-height: 1.3;
  font-weight: 700;
}

/* Typewriter Effect */
.typewriter {
  display: inline-block;
  color: var(--accent-color);
  min-width: 1ch;
}

.cursor {
  display: inline-block;
  color: var(--accent-color);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  margin: 2rem auto;
  border-radius: 2px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
  box-shadow:
    0 2px 8px rgba(211, 235, 93, 0.4),
    0 0 12px rgba(211, 235, 93, 0.3);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.85;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  color: var(--gray-700);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 3rem;
}

/* Scroll Down Indicator */
.scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  position: relative;
  z-index: 10;
}

.scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 60px;
  border: 3px solid var(--primary-color);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 1.2rem;
  animation: scrollBounce 2s ease-in-out infinite;
  background: transparent;
}

.scroll-arrow i::before {
  content: "↓";
  position: absolute;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(-5px);
    opacity: 0.5;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

/* Hero Right Side */
.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 500px;
  width: 100%;
}

/* MacBook Mockup Wrapper */
.mbp-mockup-wrapper {
  width: 85%;
  max-width: 1280px;
  min-width: 320px;
  margin: 10px auto 20px;
  height: auto;
  align-self: flex-start;
  position: relative;
  display: flex;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Illustration Box */
.hero-illustration {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.08) 0%,
    rgba(30, 58, 138, 0.04) 100%
  );
  border: 2px solid rgba(30, 58, 138, 0.15);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  backdrop-filter: blur(8px);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 4px 24px rgba(30, 58, 138, 0.08);
  overflow: hidden;
}

.hero-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(30, 58, 138, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.illustration-icon {
  font-size: 5rem;
  color: var(--accent-color);
  animation: pulse 2.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.illustration-text {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 1rem;
  gap: 0.75rem;
  text-align: center;
}

.btn i {
  font-size: 1.1rem;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  white-space: nowrap;
}

/* Hero Section Buttons */
.hero-section .btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 700;
}

.hero-section .btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.hero-section .btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 600;
}

.hero-section .btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Tech Circle Container */
.tech-circle-container {
  position: relative;
  min-height: 480px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(30, 58, 138, 0.05) 0%,
    transparent 70%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-circle-large {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 2px dashed var(--gray-400);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spinSlow 60s linear infinite;
}

.tech-orbit {
  position: absolute;
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tech-item {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(30, 58, 138, 0.15);
  margin-top: -30px;
  margin-left: -30px;
  transition: all var(--transition-base);
  animation: orbit 70s linear infinite;
  cursor: pointer;
}

.tech-item:hover {
  transform: scale(1.15);
  box-shadow:
    0 4px 20px rgba(30, 58, 138, 0.25),
    0 0 15px rgba(30, 58, 138, 0.2);
}

.elementor-icon {
  width: 100%;
  height: 100%;
}

/* MacBook Mockup */
.mbp-mockup-wrapper {
  position: absolute;
  width: 80%;
  max-width: 1000px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.mbp-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mbp-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mbp-notch {
  position: absolute;
  width: 180px;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mbp-bottom {
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 0 0 2rem 2rem;
}

.mbp-feet {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #555 10%,
    #555 90%,
    transparent 100%
  );
  border-radius: 50%;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(210px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(210px) rotate(-360deg);
  }
}

@keyframes spinSlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--gray-50);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background-color: var(--accent-color);
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Portfolio Grid */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.portfolio-item {
  background: var(--gray-50);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  cursor: pointer;
  width: 100%;
  max-width: 370px;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.portfolio-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: var(--gray-200);
}

.portfolio-image img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.portfolio-screenshot-iframe {
  width: 1920px;
  height: 8000px;
  border: none;
  pointer-events: none;
  transform: scale(0.1927) translateX(-50%);
  transform-origin: top left;
  position: absolute;
  left: 50%;
  top: 0;
  transition: none;
}

.portfolio-item:hover .portfolio-screenshot-iframe {
  transform: scale(0.1927) translateX(-50%) translateY(-6700px);
  transition: transform 4s ease-in-out;
}

.portfolio-preview-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.portfolio-item:hover .portfolio-image img:not(.portfolio-screenshot) {
  transform: scale(1.1);
}

.portfolio-content {
  padding: 1.5rem;
  text-align: center;
}

.portfolio-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.portfolio-category {
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(249, 115, 22, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.portfolio-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
}

.portfolio-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--gray-50);
}

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

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-color);
  font-size: 1.125rem;
}

.testimonial-content {
  flex: 1;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  font-size: 0.9375rem;
}

.testimonial-excerpt {
  margin-bottom: 0;
}

.read-more-btn {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-style: normal;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: color var(--transition-base);
  font-size: 0.875rem;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--gray-900);
}

.author-position {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.author-company {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Testimonial Modal */
.testimonial-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.testimonial-modal.active {
  display: flex;
}

.testimonial-modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.testimonial-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: color var(--transition-base);
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-modal-close:hover {
  color: var(--gray-900);
}

.testimonial-modal .testimonial-rating {
  margin-bottom: 1.5rem;
}

.testimonial-modal .testimonial-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.testimonial-modal .testimonial-author {
  border-top: 2px solid var(--gray-200);
  padding-top: 1.5rem;
}

/* Partners Section */
.partners-section {
  padding: 5rem 0;
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: center;
  justify-items: center;
}

.partner-item {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.partner-logo {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  background: var(--gray-200);
  border-radius: 8px;
  color: var(--gray-600);
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

.no-partners {
  text-align: center;
  color: var(--gray-600);
  font-style: italic;
  padding: 2rem;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .partner-item {
    height: 150px;
    padding: 1.5rem;
  }

  .partner-logo {
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Systems Section */
.systems-section {
  padding: 5rem 0;
  background: var(--gray-50);
  overflow: hidden;
}

.systems-carousel-wrapper {
  margin-top: 3rem;
  overflow: hidden;
  max-width: 100%;
  position: relative;
}

.systems-carousel {
  display: flex;
  gap: 2rem;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
}

.system-item {
  flex: 0 0 calc((100% - 8rem) / 5);
  min-width: calc((100% - 8rem) / 5);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.system-item:hover {
  border-color: var(--primary-color);
  border-width: 2px;
}

.system-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.system-logo {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.system-item:hover .system-logo {
  transform: scale(1.05);
}

.system-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  background: var(--gray-100);
  border-radius: 8px;
  color: var(--gray-600);
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

.no-systems {
  text-align: center;
  color: var(--gray-600);
  font-style: italic;
  padding: 2rem;
}

@media (max-width: 1200px) {
  .system-item {
    flex: 0 0 calc((100% - 6rem) / 4);
    min-width: calc((100% - 6rem) / 4);
  }
}

@media (max-width: 992px) {
  .system-item {
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: calc((100% - 4rem) / 3);
  }
}

@media (max-width: 768px) {
  .system-item {
    flex: 0 0 calc((100% - 2rem) / 2);
    min-width: calc((100% - 2rem) / 2);
    height: 150px;
    padding: 1.5rem;
  }

  .systems-carousel {
    gap: 1rem;
  }

  .system-logo {
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .system-item {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .systems-carousel {
    gap: 1rem;
  }
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 700;
  display: inline-block;
  margin-left: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-icon {
    font-size: 2.5rem;
  }
}

/* Interactive Timeline */
.timeline-wrapper {
  position: relative;
  margin-top: 4rem;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 80px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  z-index: 1;
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.timeline-step:hover .timeline-dot,
.timeline-step.active .timeline-dot {
  width: 32px;
  height: 32px;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.2);
}

.timeline-content {
  text-align: center;
  padding: 0 1rem;
}

.timeline-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-300);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-number,
.timeline-step.active .timeline-number {
  color: var(--accent-color);
  transform: scale(1.1);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
  transition: all 0.3s ease;
}

.timeline-step:hover h3,
.timeline-step.active h3 {
  color: var(--primary-color);
}

.timeline-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  margin-top: 1rem;
}

.timeline-step:hover .timeline-detail,
.timeline-step.active .timeline-detail {
  max-height: 300px;
  opacity: 1;
}

.timeline-detail p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.timeline-detail ul li {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-detail ul li i {
  color: var(--accent-color);
  font-size: 0.8rem;
}

@media (max-width: 1024px) {
  .timeline-steps {
    flex-wrap: wrap;
    gap: 3rem;
  }

  .timeline-step {
    flex: 0 0 calc(50% - 1.5rem);
  }

  .timeline-line {
    display: none;
  }
}

@media (max-width: 576px) {
  .timeline-step {
    flex: 0 0 100%;
  }

  .timeline-detail {
    max-height: none;
    opacity: 1;
  }

  .timeline-number {
    font-size: 2rem;
  }
}

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.04"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all var(--transition-base);
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(211, 235, 93, 0.5);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(19, 46, 45, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px);
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 20px;
}

/* Enhanced Focus States */
.keyboard-nav *:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.keyboard-nav button:focus,
.keyboard-nav a:focus,
.keyboard-nav input:focus,
.keyboard-nav textarea:focus,
.keyboard-nav select:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Loading Button State */
button.loading,
input[type="submit"].loading,
.btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Micro-interactions - Enhanced Button Hover */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-widget h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: 0.75rem;
}

.footer-widget a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-widget a::before {
  content: "→";
  color: var(--accent-color);
  font-size: 0.9rem;
  opacity: 0.7;
  transition: transform var(--transition-fast);
}

.footer-widget a[href^="mailto:"]::before,
.footer-widget a[href^="tel:"]::before {
  content: none;
}

.footer-widget a:hover {
  color: var(--white);
}

.footer-widget a:hover::before {
  transform: translateX(3px);
}

/* Social Media Links */
.social-media-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icon:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-500);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.875rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .site-header {
    position: fixed;
    top: 0;
    width: 100%;
  }

  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
  }

  .top-bar {
    display: none;
  }

  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
  }

  .site-header.scrolled .main-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .hero-section {
    padding-top: 4rem;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-left {
    padding-right: 0;
    text-align: center;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-illustration {
    min-height: 300px;
  }

  .menu-toggle {
    display: flex !important;
  }

  .main-navigation {
    position: fixed !important;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex !important;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .main-navigation.active {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 500px;
    overflow-y: auto;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    width: 100%;
  }

  .main-navigation li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
  }

  .main-navigation a {
    padding: 1rem 1.5rem;
    border-bottom: none !important;
    color: var(--primary-color) !important;
    font-weight: 500;
    display: block;
    width: 100%;
  }

  .main-navigation a:hover,
  .main-navigation a.active {
    background-color: rgba(211, 235, 93, 0.1);
    color: var(--primary-color) !important;
    border-left: 3px solid var(--accent-color);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1rem;
  }

  .top-bar-left {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .top-bar-link {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

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

/* Utilities */
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

.text-primary {
  color: var(--primary-color);
}
.text-accent {
  color: var(--accent-color);
}
.text-muted {
  color: var(--gray-600);
}

.bg-light {
  background-color: var(--gray-100);
}
.bg-dark {
  background-color: var(--gray-900);
}

.rounded-sm {
  border-radius: 0.25rem;
}
.rounded {
  border-radius: 0.5rem;
}
.rounded-lg {
  border-radius: 0.75rem;
}
.rounded-full {
  border-radius: 9999px;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}
.shadow-md {
  box-shadow: var(--shadow-md);
}
.shadow-lg {
  box-shadow: var(--shadow-lg);
}
.shadow-xl {
  box-shadow: var(--shadow-xl);
}

/* Social Icons */
.social-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
}

.social-icon:hover {
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Decorative Elements */
.hero-deco {
  position: absolute;
  opacity: 0.6;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-deco-dots {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(
    circle,
    var(--primary-color) 2px,
    transparent 2px
  );
  background-size: 20px 20px;
}

.hero-deco-dots.top-left {
  top: -30px;
  left: -40px;
  opacity: 0.3;
}

.hero-deco-dots.bottom-right {
  bottom: 50px;
  right: -60px;
  opacity: 0.2;
}

.hero-deco-line {
  position: absolute;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  top: 50%;
  right: -80px;
  opacity: 0.4;
}

/* MacBook Container */
.mbp-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-width: 320px;
  height: auto;
  padding-top: 58.6%;
  margin: 0 auto;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.mbp-display {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  width: 81.3%;
  height: 95.2%;
  margin: 0 auto;
  background-image: radial-gradient(#cfd0d1, #cfd0d1, #adadae);
  border: 1px solid #e5e7e9;
  border-radius: 3.1% / 4%;
  z-index: 1;
}

.mbp-display .display-edge {
  display: block;
  position: relative;
  width: 99.37%;
  height: 99.25%;
  margin: 0.3% auto;
  z-index: 2;
  background-color: #262626;
  border-radius: 2.75% / 3.8%;
}

.mbp-display .display-edge .bezel {
  display: block;
  position: relative;
  width: 99.5%;
  height: 99.2%;
  margin: auto;
  top: 0.4%;
  border-radius: 2.8% / 3.2%;
  z-index: 3;
  background-color: #010101;
}

.mbp-display .bezel:after {
  content: "";
  display: none;
  position: absolute;
  right: 0.15%;
  top: 0.3%;
  width: 62.5%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    55deg,
    rgba(0, 0, 0, 0) 61%,
    rgba(242, 245, 248, 0.15) 61%
  );
  background-blend-mode: screen;
  border-top-right-radius: 3.5% 3%;
}

.mbp-display.with-glare .bezel:after {
  display: block;
}

.mbp-display .display-edge .bezel .display-camera {
  width: 0.62%;
  height: 0.95%;
  margin: 1% auto;
  left: 0;
  right: 0;
  position: absolute;
  border-radius: 50%;
  z-index: 5;
  background-color: #303132;
}

.mbp-display .display-edge .bezel .display-frame {
  display: block;
  position: absolute;
  width: 97.65%;
  height: 89.5%;
  margin: 0 auto;
  top: 3.5%;
  left: 0;
  right: 0;
  background-color: #151515;
  overflow: hidden;
}

.mbp-display .display-frame iframe {
  left: 0;
  top: 0;
  position: absolute;
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
}

.mbp-display .display-edge .bezel .below-display {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 4.9%;
  bottom: 0.15%;
  z-index: 3;
  background-color: #212121;
  border-bottom-right-radius: 2.5% 70%;
  border-bottom-left-radius: 2.5% 70%;
}

.mbp-display .display-edge .bezel .below-display .macbookpro {
  display: block;
  position: relative;
  width: 7.4%;
  height: 32%;
  margin-top: 0.5%;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 145 20' %3E%3Cpath fill='%23D8D8DA' d='M0.5 0.6h2.67L9.6 16.23h0.08L16.11 0.6h2.67v18.55h-2.16V4.81h-1.05l2.51-3.7l-7.46 18.04H8.66L1.21 1.11 l2.51 3.7H2.66v14.33H0.5V0.6z M23.23 18.9c-0.67-0.33-1.19-0.81-1.56-1.41s-0.56-1.32-0.56-2.12v-0.03c0-1.14 0.42-2.05 1.27-2.73 c0.85-0.68 2.04-1.07 3.57-1.15l4.95-0.28v1.74l-4.69 0.28c-0.89 0.05-1.58 0.27-2.08 0.64c-0.49 0.38-0.74 0.88-0.74 1.5v0.03 c0 0.64 0.24 1.15 0.73 1.53s1.13 0.57 1.93 0.57c0.7 0 1.34-0.15 1.9-0.44c0.56-0.29 1.01-0.7 1.34-1.21 c0.33-0.51 0.49-1.09 0.49-1.74v-3.95c0-0.81-0.26-1.45-0.76-1.92c-0.51-0.47-1.23-0.7-2.17-0.7c-0.86 0-1.55 0.19-2.08 0.56 c-0.53 0.37-0.85 0.86-0.98 1.46l-0.03 0.12h-2.16l0.01-0.14c0.07-0.74 0.32-1.41 0.75-2.01s1.03-1.08 1.79-1.43 c0.76-0.36 1.67-0.53 2.71-0.53c1.05 0 1.96 0.18 2.73 0.54c0.77 0.36 1.36 0.87 1.78 1.52c0.42 0.66 0.63 1.43 0.63 2.32v9.24 h-2.24v-2.17h-0.05c-0.26 0.49-0.6 0.91-1.03 1.28c-0.43 0.36-0.91 0.65-1.45 0.85c-0.54 0.2-1.1 0.3-1.7 0.3 C24.67 19.4 23.9 19.24 23.23 18.9z M37.12 18.55c-0.93-0.57-1.65-1.38-2.15-2.42c-0.51-1.04-0.76-2.27-0.76-3.68v-0.01 c0-1.41 0.26-2.63 0.77-3.66s1.23-1.84 2.16-2.4c0.93-0.57 2.01-0.85 3.24-0.85c1.11 0 2.07 0.22 2.87 0.65 c0.8 0.43 1.43 0.99 1.88 1.68c0.46 0.69 0.73 1.41 0.83 2.17l0.01 0.1h-2.19l-0.03-0.1c-0.16-0.67-0.52-1.26-1.07-1.76 S41.36 7.5 40.38 7.5c-0.77 0-1.45 0.2-2.03 0.61c-0.58 0.41-1.04 0.98-1.36 1.72c-0.33 0.74-0.49 1.62-0.49 2.63v0.01 c0 1.04 0.17 1.92 0.49 2.66c0.33 0.74 0.79 1.3 1.38 1.7c0.59 0.39 1.27 0.59 2.04 0.59c0.92 0 1.66-0.23 2.23-0.7 c0.57-0.47 0.95-1.07 1.14-1.82l0.03-0.1H46l-0.01 0.09c-0.12 0.85-0.43 1.61-0.93 2.3c-0.5 0.68-1.15 1.22-1.94 1.62 c-0.79 0.4-1.7 0.6-2.71 0.6C39.15 19.4 38.05 19.12 37.12 18.55z M48.4 0.6h2.31v18.55H48.4V0.6z M49.56 17.1h5.5 c1.39 0 2.44-0.28 3.17-0.83c0.72-0.55 1.09-1.36 1.09-2.42v-0.03c0-0.72-0.17-1.32-0.5-1.8s-0.83-0.84-1.5-1.08 c-0.66-0.24-1.49-0.36-2.47-0.36h-5.28V8.59h4.63c1.37 0 2.42-0.27 3.14-0.8c0.72-0.53 1.09-1.3 1.09-2.3V5.47 c0-0.92-0.3-1.62-0.91-2.1c-0.61-0.48-1.47-0.73-2.6-0.73h-5.35V0.6h5.88c1.06 0 1.99 0.19 2.79 0.58c0.8 0.39 1.42 0.93 1.86 1.62 c0.45 0.69 0.67 1.5 0.67 2.43v0.03c0 0.64-0.15 1.26-0.44 1.84c-0.29 0.58-0.69 1.07-1.2 1.47c-0.51 0.4-1.08 0.65-1.72 0.74v0.05 c0.89 0.1 1.66 0.36 2.3 0.77c0.64 0.41 1.14 0.94 1.48 1.59c0.34 0.65 0.51 1.38 0.51 2.2v0.03c0 1.09-0.25 2.02-0.75 2.8 c-0.5 0.78-1.22 1.37-2.15 1.79c-0.93 0.42-2.06 0.62-3.38 0.62h-5.85V17.1z M66.26 18.56c-0.93-0.57-1.65-1.37-2.17-2.41 c-0.52-1.04-0.78-2.27-0.78-3.68v-0.03c0-1.42 0.26-2.65 0.78-3.68c0.52-1.03 1.24-1.83 2.17-2.39c0.93-0.56 2.01-0.84 3.23-0.84 c1.23 0 2.32 0.28 3.25 0.84c0.93 0.56 1.65 1.36 2.17 2.39c0.52 1.03 0.78 2.26 0.78 3.68v0.03c0 1.42-0.26 2.65-0.78 3.69 c-0.52 1.04-1.24 1.84-2.17 2.4c-0.93 0.57-2.01 0.85-3.24 0.85S67.19 19.12 66.26 18.56z M71.57 16.84 c0.58-0.39 1.03-0.96 1.35-1.7c0.32-0.74 0.48-1.63 0.48-2.68v-0.03c0-1.05-0.16-1.94-0.48-2.67s-0.78-1.3-1.36-1.68 C70.97 7.69 70.29 7.5 69.5 7.5c-0.77 0-1.45 0.19-2.04 0.59c-0.59 0.39-1.04 0.95-1.37 1.68c-0.33 0.73-0.49 1.62-0.49 2.67v0.03 c0 1.05 0.16 1.94 0.49 2.68c0.33 0.74 0.78 1.31 1.37 1.7c0.59 0.39 1.27 0.59 2.06 0.59S71 17.23 71.57 16.84z M80.24 18.56 c-0.93-0.57-1.65-1.37-2.17-2.41c-0.52-1.04-0.78-2.27-0.78-3.68v-0.03c0-1.42 0.26-2.65 0.78-3.68c0.52-1.03 1.24-1.83 2.17-2.39 c0.93-0.56 2.01-0.84 3.23-0.84c1.23 0 2.32 0.28 3.25 0.84c0.93 0.56 1.65 1.36 2.17 2.39c0.52 1.03 0.78 2.26 0.78 3.68v0.03 c0 1.42-0.26 2.65-0.78 3.69c-0.52 1.04-1.24 1.84-2.17 2.4c-0.93 0.57-2.01 0.85-3.24 0.85C82.25 19.4 81.17 19.12 80.24 18.56z M85.55 16.84c0.58-0.39 1.03-0.96 1.35-1.7c0.32-0.74 0.48-1.63 0.48-2.68v-0.03c0-1.05-0.16-1.94-0.48-2.67 c-0.32-0.74-0.78-1.3-1.36-1.68c-0.59-0.39-1.27-0.58-2.06-0.58c-0.77 0-1.45 0.19-2.04 0.59c-0.59 0.39-1.04 0.95-1.37 1.68 c-0.33 0.73-0.49 1.62-0.49 2.67v0.03c0 1.05 0.16 1.94 0.49 2.68c0.33 0.74 0.78 1.31 1.37 1.7c0.59 0.39 1.27 0.59 2.06 0.59 S84.97 17.23 85.55 16.84z M92.1 0.6h2.24v18.55H92.1V0.6z M93.83 11.68h0.55l5.86-5.9h2.71l-6.34 6.31h-0.18l-2.61 2.49V11.68z M95.45 12.76l1.49-1.49l6.2 7.88h-2.6L95.45 12.76z M110.44 0.6h2.31v18.55h-2.31V0.6z M111.6 10.47h4.86 c1.33 0 2.36-0.35 3.09-1.04c0.73-0.69 1.09-1.64 1.09-2.86V6.55c0-1.23-0.36-2.18-1.09-2.87c-0.73-0.69-1.76-1.03-3.09-1.03h-4.86 V0.6h5.45c1.17 0 2.19 0.25 3.09 0.75c0.89 0.5 1.59 1.19 2.1 2.08S123 5.35 123 6.52v0.03c0 1.17-0.26 2.21-0.76 3.11 s-1.21 1.6-2.1 2.11c-0.89 0.51-1.92 0.76-3.09 0.76h-5.45V10.47z M125.31 5.78h2.24v2.26h0.05c0.22-0.77 0.61-1.38 1.16-1.84 s1.2-0.68 1.95-0.68c0.2 0 0.37 0.01 0.53 0.03c0.16 0.02 0.28 0.04 0.37 0.06v2.17c-0.09-0.03-0.24-0.06-0.46-0.09 s-0.46-0.04-0.74-0.04c-0.57 0-1.08 0.13-1.51 0.39c-0.43 0.26-0.77 0.63-1 1.11c-0.24 0.48-0.35 1.07-0.35 1.74v8.25h-2.24V5.78z M135.07 18.56c-0.93-0.57-1.65-1.37-2.17-2.41c-0.52-1.04-0.78-2.27-0.78-3.68v-0.03c0-1.42 0.26-2.65 0.78-3.68 c0.52-1.03 1.24-1.83 2.17-2.39c0.93-0.56 2.01-0.84 3.23-0.84c1.23 0 2.32 0.28 3.25 0.84c0.93 0.56 1.65 1.36 2.17 2.39 c0.52 1.03 0.78 2.26 0.78 3.68v0.03c0 1.42-0.26 2.65-0.78 3.69s-1.24 1.84-2.17 2.4c-0.93 0.57-2.01 0.85-3.24 0.85 S136 19.12 135.07 18.56z M140.38 16.84c0.58-0.39 1.03-0.96 1.35-1.7c0.32-0.74 0.48-1.63 0.48-2.68v-0.03 c0-1.05-0.16-1.94-0.48-2.67c-0.32-0.74-0.78-1.3-1.36-1.68c-0.59-0.39-1.27-0.58-2.06-0.58c-0.77 0-1.45 0.19-2.04 0.59 c-0.59 0.39-1.04 0.95-1.37 1.68c-0.33 0.73-0.49 1.62-0.49 2.67v0.03c0 1.05 0.16 1.94 0.49 2.68c0.33 0.74 0.78 1.31 1.37 1.7 c0.59 0.39 1.27 0.59 2.06 0.59S139.8 17.23 140.38 16.84z'/%3E%3C/svg%3E");
}

.mbp-keyboard {
  width: 99.75%;
  height: 7.6%;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.mbp-keyboard .front {
  width: 100%;
  height: 37.25%;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(
    90deg,
    #68696b 0%,
    #757678 0.15%,
    #a0a1a3 0.3%,
    #cccdcf 0.5%,
    #e7e8ea 0.8%,
    #e8e9eb 1%,
    #dfe0e2 1.25%,
    #d1d2d4 1.5%,
    #adaeb0 2%,
    #a4a5a7 3%,
    #bbbdbf 4%,
    #e1e1e3 8%,
    #eaebed 15%,
    #e9eaec 25%,
    #e9eaec 75%,
    #eaebed 85%,
    #e1e1e3 92%,
    #bbbdbf 96%,
    #a4a5a7 97%,
    #adaeb0 98%,
    #d1d2d4 98.5%,
    #dfe0e2 98.75%,
    #e8e9eb 99%,
    #e7e8ea 99.2%,
    #cccdcf 99.5%,
    #a0a1a3 99.7%,
    #757678 99.85%,
    #68696b 100%
  );
  z-index: 100;
  border-radius: 1px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mbp-keyboard .opener-left {
  position: relative;
  width: 6.917%;
  height: 65.5%;
  z-index: 101;
  border-radius: 0 0 0 20px;
  background-color: #c1c2c6;
  background:
    linear-gradient(
      180deg,
      rgba(195, 198, 200, 0.5) 0%,
      rgba(199, 200, 204, 0.5) 60%,
      rgba(115, 125, 130, 0.4) 100%
    ),
    radial-gradient(
      circle at right,
      rgba(189, 190, 193, 0.5) 0%,
      rgba(189, 190, 193, 0.5) 50%,
      rgba(166, 169, 172, 0.5) 80%,
      rgba(30, 34, 40, 0.75) 100%
    );
  background-blend-mode: darken;
}

.mbp-keyboard .opener-right {
  position: relative;
  width: 6.917%;
  height: 65.5%;
  z-index: 101;
  border-radius: 0 0 20px 0;
  background-color: #c1c2c6;
  background:
    linear-gradient(
      180deg,
      rgba(195, 198, 200, 0.5) 0%,
      rgba(199, 200, 204, 0.5) 60%,
      rgba(115, 125, 130, 0.4) 100%
    ),
    radial-gradient(
      circle at left,
      rgba(189, 190, 193, 0.5) 0%,
      rgba(189, 190, 193, 0.5) 50%,
      rgba(166, 169, 172, 0.5) 80%,
      rgba(30, 34, 40, 0.75) 100%
    );
  background-blend-mode: darken;
}

.mbp-keyboard .bottom-left {
  display: block;
  position: relative;
  width: 50%;
  height: 58%;
  top: 10%;
  z-index: 99;
  background: linear-gradient(
    180deg,
    #e5e6e9 0%,
    #909193 65%,
    #4e4f51 90%,
    #323234 96%,
    #29292b 100%
  );
  border-bottom-left-radius: 25% 60%;
}

.mbp-keyboard .bottom-right {
  display: block;
  position: relative;
  width: 50%;
  height: 58%;
  top: 10%;
  z-index: 99;
  background: linear-gradient(
    180deg,
    #e5e6e9 0%,
    #909193 65%,
    #4e4f51 90%,
    #323234 96%,
    #29292b 100%
  );
  border-bottom-right-radius: 25% 60%;
}

.mbp-shadow {
  width: 95%;
  height: 60%;
  display: flex;
  justify-content: center;
}

.mbp-shadow .shadow-left {
  display: block;
  position: relative;
  width: 50%;
  height: 100%;
  top: 10%;
  z-index: 90;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(8, 11, 17, 0.85) 2.5%,
    rgba(29, 32, 36, 0.4) 15%,
    rgba(255, 255, 255, 0) 50%
  );
  filter: blur(2px);
  background-blend-mode: multiply;
  border-top-left-radius: 20% 90%;
}

.mbp-shadow .shadow-right {
  display: block;
  position: relative;
  width: 50%;
  height: 100%;
  top: 10%;
  z-index: 90;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(8, 11, 17, 0.85) 2.5%,
    rgba(29, 32, 36, 0.4) 15%,
    rgba(255, 255, 255, 0) 50%
  );
  filter: blur(2px);
  background-blend-mode: multiply;
  border-top-right-radius: 20% 90%;
}

/* Top Bar Social Links */
.top-bar .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
  border: none;
}

.top-bar .social-link:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}
/* ====== PAGE TEMPLATE STYLES ====== */

/* Page Header */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #f5f7fa 0%, #eef1f7 100%);
  padding: 6rem 0 3rem 0;
  margin-top: 0;
  padding-top: 10rem;
  overflow: hidden;
  min-height: 420px;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%231e3a8a" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  pointer-events: none;
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

/* Responsive page header */
@media (max-width: 992px) {
  .page-header {
    padding: 7rem 0 1.5rem 0 !important;
    min-height: auto !important;
    padding-top: 7rem !important;
  }

  .page-header-content[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .page-header-image {
    max-width: 500px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 6.5rem 0 1.5rem 0 !important;
    min-height: auto !important;
    padding-top: 6.5rem !important;
  }

  .page-header-content[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .page-title {
    font-size: 1.75rem !important;
  }

  .page-subtitle {
    font-size: 1rem !important;
  }

  .page-header-image {
    max-width: 100% !important;
    padding: 0 !important;
    aspect-ratio: 16/10 !important;
  }

  .page-header-image img {
    border-radius: 0.5rem !important;
  }

  /* Pokud není obrázek, menší padding */
  .page-header:not(:has(.page-header-image)) {
    padding: 6rem 0 1rem 0 !important;
    padding-top: 6rem !important;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 6rem 0 1rem 0 !important;
    min-height: auto !important;
    padding-top: 6rem !important;
  }

  .page-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  /* Pokud není obrázek, menší padding */
  .page-header:not(:has(.page-header-image)) {
    padding: 5.5rem 0 1rem 0 !important;
    padding-top: 5.5rem !important;
  }

  .page-subtitle {
    font-size: 0.95rem !important;
  }

  .breadcrumbs {
    font-size: 0.85rem !important;
  }
}
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.breadcrumbs .separator {
  color: var(--gray-400);
  font-weight: 400;
}

.breadcrumbs .current {
  color: var(--gray-600);
  font-weight: 600;
}

/* Page Title */
.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.2;
}

/* Page Content Section */
.page-content {
  padding: 4rem 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.entry-content h2 {
  margin: 2.5rem 0 1rem 0;
  font-size: 2rem;
}

.entry-content h3 {
  margin: 2rem 0 0.75rem 0;
  font-size: 1.5rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

.entry-content li {
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header {
    padding: 4rem 0 2rem 0;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .breadcrumbs {
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}

/* ====== PORTFOLIO STYLES ====== */

/* Portfolio Featured Image */
.portfolio-featured-image {
  margin-bottom: 3rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.portfolio-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Portfolio Meta */
.portfolio-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 0.75rem;
  margin-bottom: 3rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.meta-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* Portfolio Navigation */
.portfolio-navigation {
  display: flex;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.portfolio-nav-prev,
.portfolio-nav-next {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  background: var(--primary-color);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.portfolio-nav-prev:hover,
.portfolio-nav-next:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Portfolio Archive Section */
.portfolio-archive-section {
  padding: 4rem 0;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.portfolio-item {
  transition: all var(--transition-base);
  overflow: hidden;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 1;
  background: var(--gray-200);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 58, 138, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .btn {
  margin: 0;
}

.portfolio-content {
  padding: 1.5rem 0;
}

.portfolio-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.portfolio-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.portfolio-item h3 a {
  color: var(--gray-900);
  transition: color var(--transition-fast);
}

.portfolio-item h3 a:hover {
  color: var(--primary-color);
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-top: 0.75rem;
  max-width: 600px;
  font-weight: 400;
}

/* Pagination */
.posts-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 0.25rem;
  background: var(--gray-100);
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.page-numbers a:hover,
.page-numbers .current {
  background: var(--primary-color);
  color: var(--white);
}

/* Responsive Portfolio Grid */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .portfolio-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .portfolio-nav-prev,
  .portfolio-nav-next {
    width: 100%;
    justify-content: center;
  }
}

/* ====================================
   CONTACT PAGE STYLES
   ==================================== */

/* Contact Content Section */
.contact-content {
  padding: 4rem 0;
}

.contact-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--white);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.contact-info-card p {
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}

.contact-info-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-card a:hover {
  color: var(--accent-color);
}

/* Contact Details Section */
.contact-form-section {
  margin-bottom: 3rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gray-50);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  max-width: 100%;
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.form-subtitle {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

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

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

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

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--transition-fast);
  background: var(--white);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23374151' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.checkbox-label {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  appearance: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
}

.checkbox-label a {
  color: var(--primary-color);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--accent-color);
}

.contact-form .btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
}

/* Bottom Section: Company Info and Map */
.contact-bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

/* Company Info */
.contact-company-info {
  background: var(--gray-50);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.contact-company-info h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--gray-900);
}

.company-details,
.bank-details {
  margin-bottom: 2.5rem;
}

.bank-details:last-child {
  margin-bottom: 0;
}

.bank-details h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--gray-800);
  padding-top: 2rem;
  border-top: 2px solid var(--gray-200);
}

.detail-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.detail-item strong {
  color: var(--gray-700);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.detail-item span {
  color: var(--gray-900);
  font-size: 1rem;
}

/* Map Section */
.contact-map-wrapper {
  background: var(--gray-50);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.contact-map-wrapper h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex: 1;
  min-height: 450px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* CTA Section */
.contact-cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  padding: 5rem 0;
  margin-top: 4rem;
}

.contact-cta-section .cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.contact-cta-section .cta-text h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-cta-section .cta-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.contact-cta-section .btn-accent {
  background: var(--accent-color);
  color: var(--white);
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
  white-space: nowrap;
}

.contact-cta-section .btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-bottom-section {
    grid-template-columns: 1fr;
  }

  .contact-map-wrapper {
    min-height: 450px;
  }

  .contact-cta-section .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-cta-section .cta-text h2 {
    font-size: 2rem;
  }

  .contact-cta-section .cta-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-bottom-section {
    grid-template-columns: 1fr;
  }

  .contact-map-wrapper {
    min-height: 350px;
  }

  .contact-form-wrapper,
  .contact-company-info {
    padding: 2rem;
  }

  .contact-cta-section {
    padding: 3rem 0;
  }

  .contact-cta-section .cta-text h2 {
    font-size: 1.75rem;
  }

  .contact-cta-section .cta-text p {
    font-size: 1rem;
  }

  .contact-cta-section .btn-accent {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-content {
    padding: 2rem 0;
  }

  .contact-info-card {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .contact-form-wrapper h2,
  .contact-company-info h2,
  .contact-map-wrapper h2 {
    font-size: 1.5rem;
  }

  .contact-map-wrapper {
    min-height: 300px;
  }
}

/* Footer Legal Links */
.footer-legal-links {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding: 0;
  text-align: center;
}

.footer-legal-links a {
  color: var(--gray-300);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-legal-links .separator {
  color: var(--gray-500);
  margin: 0 0.5rem;
}

@media (max-width: 768px) {
  .footer-legal-links {
    font-size: 0.8rem;
  }

  .footer-legal-links .separator {
    margin: 0 0.35rem;
  }
}

@media (max-width: 480px) {
  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .footer-legal-links .separator {
    display: none;
  }
}

/* ===================================
   ADDITIONAL RESPONSIVE ENHANCEMENTS
=================================== */

/* Tablets (min 769px, max 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-content {
    padding: 4rem 0;
  }
  
  .hero-tags {
    flex-wrap: wrap;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portal-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Mobile improvements (max-width: 768px) */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero section */
  .hero-section {
    padding: 5rem 0 3rem 0;
    min-height: calc(100vh - 60px);
  }
  
  body.home .hero-section {
    padding-top: 6rem;
  }
  
  .hero-content {
    padding: 2rem 0;
  }
  
  .hero-left {
    text-align: center;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-card {
    max-width: 100%;
  }
  
  /* Stats */
  .stats-section {
    padding: 3rem 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1.5rem 1rem;
  }
  
  /* Navigation */
  .site-header {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    position: fixed !important;
    box-shadow: var(--shadow-sm);
  }
  
  .site-branding {
    background: transparent !important;
  }
  
  .site-branding h1,
  .site-logo h1 {
    background: transparent !important;
    padding: 0 !important;
  }
  
  body.home .site-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  /* FAQ */
  .faq-item {
    padding: 1.25rem;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-locations-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
  }
  
  .footer-column {
    padding: 0;
  }
  
  /* CTA Section */
  .cta-content h2 {
    font-size: 1.75rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  /* About section on O nás */
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Portal section */
  .portal-content {
    grid-template-columns: 1fr !important;
  }
  
  /* Page header */
  .page-header {
    padding: 3rem 0 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  /* Container */
  .container {
    padding: 0 1rem;
  }
  
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Hero */
  .hero-tags {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .hero-tag {
    font-size: 0.8125rem;
  }
  
  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  /* Buttons */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  .btn-lg {
    padding: 1rem 1.75rem;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
  }
  
  .services-section,
  .pricing-section,
  .faq-section {
    padding: 3rem 0;
  }
  
  /* Page header */
  .page-header {
    padding: 2rem 0 1.5rem;
  }
  
  .breadcrumbs {
    font-size: 0.75rem;
  }
  
  /* Prevent text from being too small */
  body {
    min-font-size: 14px;
  }
  
  /* Inputs - prevent zoom on iOS */
  input, textarea, select {
    font-size: 16px !important;
  }
}

/* Landscape mode on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  section {
    padding: 2.5rem 0;
  }
}

/* Extra wide screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Touch device enhancements */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets */
  .btn,
  a.btn,
  button {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Remove hover effects on touch devices */
  .service-card:hover,
  .pricing-card:hover {
    transform: none;
  }
}

/* Cache bust: 1770022781 */
