/* ============================================
   MELLOW WAVES - WARM & FRIENDLY DESIGN SYSTEM
   Modern, Creative, Harmonious Brand Identity
   ============================================ */

/* CSS RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

/* WARM & FRIENDLY TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #2D5F7F;
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

p {
  font-size: 16px;
  margin-bottom: 16px;
  color: #555555;
}

a {
  color: #2D5F7F;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #E8956C;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
  color: #555555;
}

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

/* CONTAINER & LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* WARM & FRIENDLY BUTTONS */
.btn-primary,
.cta-button,
button[type="submit"] {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(135deg, #E8956C 0%, #D4845E 100%);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 149, 108, 0.3);
  text-align: center;
}

.btn-primary:hover,
.cta-button:hover,
button[type="submit"]:hover {
  background: linear-gradient(135deg, #D4845E 0%, #C27550 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 149, 108, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  background: transparent;
  color: #2D5F7F;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #2D5F7F;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #2D5F7F;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(45, 95, 127, 0.3);
}

.link {
  color: #E8956C;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.link:hover {
  border-bottom-color: #E8956C;
}

/* HEADER STYLES - WARM & WELCOMING */
header {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4EEE8 100%);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #2D5F7F;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #E8956C;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: #E8956C;
}

/* MOBILE MENU - FRIENDLY & SMOOTH */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: #E8956C;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(232, 149, 108, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
  background: #D4845E;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(180deg, #F4EEE8 0%, #FFFFFF 100%);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  z-index: 1999;
  padding: 80px 40px 40px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #2D5F7F;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: #E8956C;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: #2D5F7F;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 20px;
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: #E8956C;
  color: #FFFFFF;
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(232, 149, 108, 0.3);
}

/* HERO SECTION - WARM WELCOME */
.hero {
  background: linear-gradient(135deg, #F4EEE8 0%, #FFFFFF 100%);
  padding: 80px 20px;
  text-align: center;
  border-radius: 0 0 50px 50px;
  margin-bottom: 60px;
}

.hero h1 {
  color: #2D5F7F;
  font-size: 48px;
  margin-bottom: 24px;
}

.hero .subheadline {
  font-size: 20px;
  color: #555555;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-inner {
  background: linear-gradient(135deg, #F4EEE8 0%, #FFFFFF 100%);
  padding: 60px 20px 40px;
  text-align: center;
  border-radius: 0 0 50px 50px;
  margin-bottom: 40px;
}

.hero-inner h1 {
  font-size: 40px;
}

/* BREADCRUMB - FRIENDLY NAVIGATION */
.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: #777777;
}

.breadcrumb a {
  color: #E8956C;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* CTA GROUP - WARM INVITATION */
.cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* SECTION HEADERS - FRIENDLY & CLEAR */
.section-sub {
  font-size: 18px;
  color: #777777;
  text-align: center;
  margin-bottom: 40px;
}

/* CARDS - SOFT & INVITING */
.benefit-card,
.service-card,
.package,
.testimonial-card,
.project-card,
.method-card,
.action-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  position: relative;
}

.benefit-card:hover,
.service-card:hover,
.project-card:hover,
.method-card:hover,
.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(232, 149, 108, 0.2);
}

/* FLEXBOX GRID LAYOUTS - NO CSS GRID */
.benefits-grid,
.services-grid,
.portfolio-grid,
.packages-grid,
.industries-grid,
.values-grid,
.expertise-grid,
.approach-grid,
.communication-methods,
.contact-methods,
.actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 40px;
}

.benefit-card,
.service-card,
.package,
.project-card {
  flex: 1 1 calc(50% - 12px);
  min-width: 280px;
}

.industry,
.value,
.expertise-item,
.approach-card,
.method-card,
.action-card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 250px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  flex: 1 1 calc(50% - 12px);
  min-width: 300px;
  background: #F4EEE8;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-card::before {
  content: '❝';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 60px;
  color: #E8956C;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-card p {
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.client-name,
.client-info {
  color: #2D5F7F;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-top: 16px;
}

.client-company {
  color: #777777;
  font-size: 14px;
}

/* PRICE DISPLAY - WARM & CLEAR */
.price,
.package-price {
  color: #E8956C;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin: 16px 0;
}

/* STEPS & TIMELINE - FRIENDLY PROGRESSION */
.steps-grid,
.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  justify-content: space-between;
}

.step,
.timeline-step,
.timeline-item {
  flex: 1 1 calc(25% - 18px);
  min-width: 220px;
  text-align: center;
  padding: 32px 20px;
  background: #F4EEE8;
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.step:hover,
.timeline-step:hover {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(232, 149, 108, 0.2);
  transform: translateY(-5px);
}

.step-number,
.step-num {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #E8956C 0%, #D4845E 100%);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  line-height: 60px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(232, 149, 108, 0.3);
}

.step h3,
.timeline-step h3 {
  color: #2D5F7F;
  margin-bottom: 12px;
}

/* TRUST ELEMENTS - WARM REASSURANCE */
.trust-badges,
.stats,
.promises {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.badge,
.stat {
  background: #F4EEE8;
  padding: 20px 32px;
  border-radius: 50px;
  font-weight: 600;
  color: #2D5F7F;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.trust-element,
.note {
  text-align: center;
  color: #777777;
  font-size: 14px;
  margin-top: 24px;
  font-style: italic;
}

/* INDUSTRIES - WARM TAG STYLE */
.industry {
  background: #FFFFFF;
  padding: 20px 28px;
  border-radius: 15px;
  text-align: center;
  font-weight: 600;
  color: #2D5F7F;
  border: 2px solid #F4EEE8;
  transition: all 0.3s ease;
}

.industry:hover {
  background: #E8956C;
  color: #FFFFFF;
  border-color: #E8956C;
  transform: scale(1.05);
}

/* CTA BANNER - WARM CALL TO ACTION */
.cta-banner {
  background: linear-gradient(135deg, #2D5F7F 0%, #1F4A63 100%);
  color: #FFFFFF;
  padding: 60px 40px;
  text-align: center;
  border-radius: 30px;
  margin: 60px 0;
  box-shadow: 0 10px 40px rgba(45, 95, 127, 0.2);
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #F4EEE8;
  font-size: 18px;
  margin-bottom: 32px;
}

/* FOOTER - WARM & INFORMATIVE */
footer {
  background: linear-gradient(180deg, #2D5F7F 0%, #1F4A63 100%);
  color: #F4EEE8;
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1 1 calc(25% - 30px);
  min-width: 220px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  color: #F4EEE8;
  font-size: 14px;
  line-height: 1.8;
  display: block;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #E8956C;
  padding-left: 5px;
}

.copyright {
  text-align: center;
  color: #F4EEE8;
  font-size: 14px;
  padding-top: 30px;
  border-top: 1px solid rgba(244, 238, 232, 0.2);
}

/* FORMS - FRIENDLY INPUT STYLES */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #F4EEE8;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  background: #FFFFFF;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #E8956C;
  box-shadow: 0 0 0 3px rgba(232, 149, 108, 0.1);
}

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

/* SERVICE DETAILS - WARM PRESENTATION */
.service-detail {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #E8956C;
}

.service-detail h2 {
  color: #2D5F7F;
  margin-bottom: 16px;
}

.service-detail ul {
  list-style: none;
  margin-left: 0;
}

.service-detail ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}

.service-detail ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #E8956C;
  font-weight: 700;
  font-size: 18px;
}

.timeline {
  color: #777777;
  font-size: 14px;
  font-style: italic;
  margin: 20px 0;
}

/* PACKAGE STYLES - WARM HIGHLIGHTING */
.package.featured {
  background: linear-gradient(135deg, #2D5F7F 0%, #1F4A63 100%);
  color: #FFFFFF;
  transform: scale(1.05);
  position: relative;
}

.package.featured::before {
  content: 'NAJPOPULARNIEJSZY';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #E8956C;
  color: #FFFFFF;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.package.featured h3,
.package.featured .package-price {
  color: #FFFFFF;
}

/* FAQ - FRIENDLY Q&A */
.faq-item {
  background: #F4EEE8;
  padding: 24px;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
  color: #2D5F7F;
  font-size: 18px;
  margin-bottom: 12px;
}

.faq-item p {
  color: #555555;
  margin-bottom: 0;
}

/* FILTERS - WARM INTERACTIVE BUTTONS */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 24px;
  background: #F4EEE8;
  color: #2D5F7F;
  border: 2px solid transparent;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #E8956C;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 149, 108, 0.3);
}

/* CASE STUDY - WARM STORYTELLING */
.case-study {
  background: #F4EEE8;
  padding: 60px 20px;
  border-radius: 30px;
  margin: 60px 0;
}

.case-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.case-section {
  flex: 1 1 calc(33.333% - 22px);
  min-width: 250px;
  background: #FFFFFF;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.case-section h3 {
  color: #2D5F7F;
  margin-bottom: 16px;
}

/* PROCESS STEPS - WARM PROGRESSION */
.step-detail {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 100px;
}

.step-detail .step-number {
  position: absolute;
  left: 30px;
  top: 40px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
}

.duration {
  color: #E8956C;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

/* CONTACT PAGE - WARM & WELCOMING */
.office-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.info-block {
  flex: 1 1 calc(33.333% - 22px);
  min-width: 250px;
  background: #F4EEE8;
  padding: 32px;
  border-radius: 20px;
}

.info-block h3 {
  color: #2D5F7F;
  margin-bottom: 16px;
}

/* THANK YOU PAGE - WARM CONFIRMATION */
.thank-you-hero {
  text-align: center;
  padding: 80px 20px;
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #E8956C 0%, #D4845E 100%);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 60px;
  line-height: 100px;
  margin: 0 auto 32px;
  box-shadow: 0 8px 30px rgba(232, 149, 108, 0.3);
  animation: successPulse 2s infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.confirmation {
  color: #777777;
  font-size: 16px;
  margin-top: 16px;
}

/* LEGAL PAGES - CLEAR & READABLE */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.legal-section h2 {
  color: #2D5F7F;
  font-size: 24px;
  margin-bottom: 16px;
  border-bottom: 3px solid #E8956C;
  padding-bottom: 12px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.legal-links a {
  padding: 12px 24px;
  background: #F4EEE8;
  color: #2D5F7F;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.legal-links a:hover {
  background: #E8956C;
  color: #FFFFFF;
}

.last-updated {
  color: #777777;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  margin-top: 16px;
}

/* COOKIES TABLE - CLEAR PRESENTATION */
.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.cookies-table th,
.cookies-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #F4EEE8;
}

.cookies-table th {
  background: #F4EEE8;
  color: #2D5F7F;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.cookies-table tr:hover {
  background: rgba(232, 149, 108, 0.05);
}

/* COOKIE CONSENT BANNER - FRIENDLY & NON-INTRUSIVE */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2D5F7F 0%, #1F4A63 100%);
  color: #FFFFFF;
  padding: 24px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1998;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1 1 400px;
  color: #F4EEE8;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-text a {
  color: #E8956C;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn-accept,
.cookie-btn-reject,
.cookie-btn-settings {
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.cookie-btn-accept {
  background: #E8956C;
  color: #FFFFFF;
}

.cookie-btn-accept:hover {
  background: #D4845E;
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: transparent;
  color: #F4EEE8;
  border: 2px solid #F4EEE8;
}

.cookie-btn-reject:hover {
  background: rgba(244, 238, 232, 0.1);
}

.cookie-btn-settings {
  background: transparent;
  color: #E8956C;
  text-decoration: underline;
}

/* COOKIE SETTINGS MODAL - FRIENDLY PREFERENCES */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2001;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #FFFFFF;
  max-width: 600px;
  width: 100%;
  border-radius: 20px;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #777777;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: #F4EEE8;
  color: #2D5F7F;
}

.cookie-category {
  background: #F4EEE8;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.cookie-category h3 {
  color: #2D5F7F;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  background: #CCCCCC;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle.active {
  background: #E8956C;
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: left 0.3s ease;
}

.cookie-toggle.active::after {
  left: 27px;
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-save-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #E8956C 0%, #D4845E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.3s ease;
}

.cookie-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 149, 108, 0.4);
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }

  /* Hide desktop navigation */
  .main-nav {
    display: none;
  }

  /* Adjust header */
  header .cta-button {
    display: none;
  }

  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .subheadline {
    font-size: 16px;
  }

  /* Sections */
  section {
    padding: 30px 16px;
    margin-bottom: 40px;
  }

  /* Cards to full width */
  .benefit-card,
  .service-card,
  .package,
  .project-card,
  .testimonial-card,
  .industry,
  .value,
  .step,
  .timeline-step,
  .case-section,
  .info-block {
    flex: 1 1 100%;
    min-width: 100%;
  }

  /* CTA group vertical */
  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-group .btn-primary,
  .cta-group .btn-secondary {
    width: 100%;
  }

  /* Footer columns stack */
  .footer-col {
    flex: 1 1 100%;
  }

  /* Step detail adjustments */
  .step-detail {
    padding-left: 32px;
  }

  .step-detail .step-number {
    position: static;
    margin-bottom: 16px;
  }

  /* Cookie consent */
  .cookie-consent .container {
    flex-direction: column;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn-accept,
  .cookie-btn-reject {
    flex: 1;
  }

  /* Hero adjustments */
  .hero,
  .hero-inner {
    padding: 50px 16px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .btn-primary,
  .btn-secondary,
  .cta-button {
    padding: 14px 24px;
    font-size: 15px;
  }

  .service-card,
  .benefit-card,
  .testimonial-card {
    padding: 24px;
  }

  .cookie-modal-content {
    padding: 24px;
  }
}

/* SMOOTH ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card,
.service-card,
.testimonial-card {
  animation: fadeIn 0.6s ease-out;
}

/* ACCESSIBILITY */
*:focus {
  outline: 3px solid rgba(232, 149, 108, 0.5);
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 3px solid rgba(232, 149, 108, 0.5);
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cta-banner {
    display: none;
  }
}