/* =============================================
   DigiGemin – style.css
   Reference: vileikis.lt
   ============================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f0efeb;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 76px;
}

/* ===== COLOR VARS ===== */
:root {
  --orange: #d4621a;
  --orange-hover: #b85316;
  --dark: #0f0f0f;
  --dark-bg: #111213;
  --light-bg: #f0efeb;
  --card-bg: #ffffff;
  --border: #e0dedd;
  --text-muted: #6b6b6b;
  --text-label: #888;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --transition: 0.22s ease;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: #333; line-height: 1.7; }
a { text-decoration: none; color: inherit; }

/* ===== CONTAINER ===== */
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* ===== SECTION LABEL ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-label.dark { color: var(--text-label); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-hover); border-color: var(--orange-hover); transform: translateY(-1px); }
.btn-dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: #fff; transform: translateY(-1px); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Transparent background — only the white inner card is visible */
  background: transparent;
  padding: 10px 0;
  pointer-events: none; /* allow clicks to pass through the transparent gap */
}
.site-header.scrolled .header-inner { box-shadow: 0 4px 24px rgba(0,0,0,0.13); }
.header-inner-sticky-wrap {
  position: relative;
  pointer-events: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 20px;
  transition: box-shadow 0.3s ease;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}
.logo-icon.small { width: 32px; height: 32px; font-size: 0.85rem; }
.logo-name { font-size: 1rem; font-weight: 800; color: var(--dark); display: block; line-height: 1; }
.logo-sub { font-size: 0.72rem; color: var(--text-muted); display: block; margin-top: 2px; }
.main-nav { display: flex; gap: 6px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  transition: all var(--transition);
}
.nav-link:hover { background: var(--light-bg); color: var(--dark); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto; /* push to far right */
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV — dropdown below header card ===== */
.mobile-nav-overlay {
  /* No full-screen overlay — menu drops below the card */
  display: none;
}
.mobile-nav-dropdown {
  position: absolute;
  top: calc(100% + 8px); /* just below the white card */
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 999;
  overflow: hidden;
  /* Slide-down animation */
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  pointer-events: none;
}
.mobile-nav-dropdown.open {
  max-height: 420px;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-dropdown nav {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.mobile-nav-link {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: block;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:last-of-type { border-bottom: none; }
.mobile-nav-link:hover { background: var(--light-bg); color: var(--orange); }
.mobile-nav-cta-wrap {
  padding: 12px;
  border-top: 1px solid var(--border);
}
.mobile-nav-cta-wrap .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 14px;
}

/* ===== HERO ===== */
.hero-section {
  padding: 60px 0 80px;
  background: var(--light-bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #333;
  text-transform: uppercase;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 24px;
}
.hero-heading {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--dark);
}
.hero-accent {
  color: var(--orange);
  display: inline-block;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Process Card */
.process-card {
  background: var(--dark-bg);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.process-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 20px 0 12px;
  white-space: nowrap;
}
.process-banner:hover { background: var(--orange-hover); }
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.process-steps { padding: 56px 20px 24px; display: flex; flex-direction: column; gap: 0; }
.process-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 85%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.process-step.right { margin-left: auto; }
.step-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
  background: #fff3ec;
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  flex-shrink: 0;
  min-width: 36px;
  text-align: center;
}
.step-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.step-body p { font-size: 0.8rem; color: #555; line-height: 1.5; margin: 0; }
.orange-text { color: var(--orange); font-weight: 700; }
.process-connector {
  height: 24px;
  width: 60%;
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--orange);
  opacity: 0.4;
}
.process-connector.right-side { align-self: flex-end; }
.process-connector.left-side { align-self: flex-start; }
.process-connector.right-side::after { right: 0; }
.process-connector.left-side::after { left: 0; }

/* ===== SERVICES ===== */
.services-section {
  padding: 80px 0;
  background: var(--dark-bg);
}
.section-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.section-header-left h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-header-left .section-label { color: var(--orange); }
.section-header-right p { color: #aaa; font-size: 0.95rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: #f9f8f5;
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.service-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.service-card p { font-size: 0.85rem; color: #555; flex: 1; }
.service-list { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.service-list li {
  font-size: 0.8rem;
  color: #555;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}
.service-price { font-size: 0.9rem; color: var(--dark); margin-top: auto; }
.service-price strong { font-size: 1.05rem; }
.service-btn { margin-top: 4px; font-size: 0.82rem; padding: 10px 18px; align-self: flex-start; }

/* ===== PORTFOLIO ===== */
.portfolio-section { padding: 80px 0; background: var(--light-bg); }
.section-intro { max-width: 560px; margin-bottom: 48px; }
.section-intro h2 { margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 0.95rem; }
.portfolio-slider-wrapper { position: relative; overflow: hidden; }
.portfolio-slider { display: flex; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.portfolio-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.portfolio-img-placeholder {
  border-radius: var(--radius);
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portfolio-img-real {
  border-radius: var(--radius);
  height: 400px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border: 1px solid var(--border);
}
.portfolio-img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-img-real:hover img {
  transform: scale(1.03);
}
.p1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.p2 { background: linear-gradient(135deg, #2d1b69 0%, #11998e 100%); }
.p3 { background: linear-gradient(135deg, #134e5e 0%, #71b280 100%); }
.p4 { background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%); }
.placeholder-content { width: 90%; max-width: 380px; }
.placeholder-browser {
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.browser-bar {
  background: #e8e8e8;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #aaa;
}
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.browser-body { padding: 16px; }
.fake-nav { height: 20px; background: #ddd; border-radius: 4px; margin-bottom: 12px; }
.fake-hero { height: 80px; background: linear-gradient(90deg, #e0e0e0, #c8c8c8); border-radius: 6px; margin-bottom: 16px; }
.fake-content { display: flex; flex-direction: column; gap: 8px; }
.fake-block { height: 10px; background: #e8e8e8; border-radius: 4px; }
.fake-block.w70 { width: 70%; }
.fake-block.w50 { width: 50%; }
.fake-block.w80 { width: 80%; }
.portfolio-slide-info { padding: 20px 0; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--border);
  color: #555;
  border: 1px solid var(--border);
}
.tag.active { background: #fff3ec; color: var(--orange); border-color: var(--orange); }
.portfolio-slide-info h3 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.portfolio-slide-info p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.portfolio-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
  display: inline-block;
  padding-bottom: 2px;
}
.portfolio-link:hover { border-color: var(--orange); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.slider-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.slider-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: var(--orange); width: 24px; border-radius: 4px; }

/* ===== ABOUT ===== */
.about-section { padding: 80px 0; background: var(--light-bg); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.about-left .section-label { color: var(--orange); }
.about-left h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.about-left p { color: #555; margin-bottom: 16px; font-size: 0.95rem; }
.about-cta { margin-top: 8px; }
.skills-block {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.skills-block h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.skills-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--light-bg);
  color: #555;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.skill-tag.active { color: var(--orange); background: #fff3ec; border-color: #f0c4a0; }
.skill-tag:hover { border-color: var(--orange); }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ===== WHY + TESTIMONIALS ===== */
.why-section { padding: 80px 0; background: var(--light-bg); border-top: 1px solid var(--border); }
.why-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.why-left h2 { margin-bottom: 24px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: #333; }
.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.testimonials-slider { position: relative; min-height: 220px; }
.testimonial { display: none; }
.testimonial.active { display: block; }
.stars { color: var(--orange); font-size: 1.2rem; margin-bottom: 12px; }
.testimonial-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.7;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.testimonial-author strong { font-size: 0.9rem; color: var(--dark); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }
.testimonial-controls { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.testimonial-dots { display: flex; gap: 8px; }

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; background: #f7f6f2; }
.faq-header { max-width: 560px; margin-bottom: 40px; }
.faq-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.faq-list { max-width: 860px; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  gap: 20px;
  font-family: inherit;
}
.faq-question:hover { color: var(--orange); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-answer p { padding-bottom: 20px; color: #555; font-size: 0.95rem; }

/* ===== CONTACT ===== */
.contact-section { padding: 80px 0; background: var(--light-bg); }
.contact-section > .container > .section-label { margin-bottom: 8px; }
.contact-section h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 40px; max-width: 600px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; }
.contact-left { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.contact-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-card-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.contact-details-block { background: var(--light-bg); border-radius: var(--radius-sm); padding: 18px; border: 1px solid var(--border); }
.contact-block-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.contact-row:last-of-type { border-bottom: none; }
.contact-row span { color: var(--text-muted); }
.contact-val { font-weight: 700; color: var(--dark); }
.contact-val:hover { color: var(--orange); }
.social-btn-group { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { border-color: var(--orange); color: var(--orange); }
.rekvizitai-card p { font-size: 0.85rem; color: #555; margin-bottom: 4px; }
.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--light-bg);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; }
.form-success-card {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.4s ease;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: #d4edda;
  color: #155724;
  font-size: 2rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(40, 167, 69, 0.2);
}
.form-success-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.form-success-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer { padding: 40px 0 0; background: var(--light-bg); border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-tagline { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.06em; max-width: 360px; }
.footer-nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.footer-nav a { padding: 8px 14px; font-size: 0.88rem; color: #555; border-radius: var(--radius-sm); transition: all var(--transition); font-weight: 500; }
.footer-nav a:hover { background: var(--border); color: var(--dark); }
.footer-copy { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-copy p { font-size: 0.82rem; color: var(--text-muted); text-align: center; }

/* ===== STICKY BOTTOM BAR ===== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 1001;
  pointer-events: none;
  padding: 0 24px;
  transition: transform 0.35s ease, opacity 0.3s ease;
}
.sticky-bottom-bar.hidden {
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  pointer-events: none;
}
.sticky-bar-inner {
  max-width: 1172px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  pointer-events: auto;
}
.sticky-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.sticky-text:hover { color: var(--orange); }
.sticky-icons { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.sticky-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: all var(--transition);
  flex-shrink: 0;
}
.sticky-icon-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.sticky-cta { padding: 10px 18px; font-size: 0.85rem; }
.sticky-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}
.sticky-close:hover { background: #e0e0e0; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== GDPR CHECKBOX ===== */
.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}
.form-group-checkbox label {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}
.form-group-checkbox label a,
.privacy-link {
  color: var(--dark);
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--transition);
}
.form-group-checkbox label a:hover,
.privacy-link:hover {
  color: var(--orange);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 780px;
  margin: 0 auto;
  z-index: 10000;
  background: rgba(26, 26, 46, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpCookie {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 260px;
}
.cookie-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.cookie-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.cookie-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  margin: 0;
}
.cookie-desc a {
  color: var(--orange);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions .btn {
  padding: 9px 18px;
  font-size: 0.85rem;
}
.cookie-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.cookie-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ===== PRIVACY POLICY MODAL ===== */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.privacy-modal.open {
  opacity: 1;
  visibility: visible;
}
.privacy-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.privacy-modal-box {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.privacy-modal.open .privacy-modal-box {
  transform: translateY(0);
}
.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
}
.privacy-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}
.privacy-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  padding: 0 4px;
}
.privacy-close-btn:hover {
  color: var(--dark);
}
.privacy-modal-body {
  padding: 24px 26px;
  overflow-y: auto;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.65;
}
.privacy-modal-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 18px;
  margin-bottom: 8px;
}
.privacy-modal-body h4:first-of-type {
  margin-top: 10px;
}
.privacy-modal-body p {
  margin-bottom: 12px;
}
.privacy-modal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.privacy-modal-body li {
  margin-bottom: 4px;
}
.privacy-modal-body a {
  color: var(--orange);
  text-decoration: underline;
}
.privacy-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
}
.privacy-modal-footer {
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  background: var(--light-bg);
}

/* ===== CONSENT WARNING MODAL ===== */
.consent-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 21000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}
.consent-modal.open {
  opacity: 1;
  visibility: visible;
}
.consent-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.consent-modal-box {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  padding: 32px 28px 24px;
  text-align: center;
  z-index: 2;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.consent-modal.open .consent-modal-box {
  transform: scale(1) translateY(0);
}
.consent-modal-icon {
  width: 56px;
  height: 56px;
  background: #fff3e0;
  color: var(--orange);
  font-size: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.2);
}
.consent-modal-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.consent-modal-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 24px;
}
.consent-modal-box p a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}
.consent-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.consent-modal-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ===== COST CALCULATOR SECTION ===== */
.calculator-section {
  padding: 80px 0;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
}
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: flex-start;
  margin-top: 40px;
}
.calculator-options {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calc-group {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}
.calc-group-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
}
.calc-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.calc-card {
  position: relative;
  background: var(--light-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.calc-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}
.calc-card.active {
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.12);
}
.calc-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.calc-card.active .calc-card-badge {
  background: var(--orange);
}
.calc-card-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  line-height: 1;
}
.calc-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.calc-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Radio Group */
.calc-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-radio-group.inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.calc-radio-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition);
}
.calc-radio-item:hover {
  background: #f1f5f9;
}
.calc-radio-item.active {
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08);
}
.calc-radio-item input[type="radio"] {
  display: none;
}
.calc-radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.calc-radio-item.active .calc-radio-custom {
  border-color: var(--orange);
}
.calc-radio-item.active .calc-radio-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
.calc-radio-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.calc-radio-text strong {
  font-size: 0.9rem;
  color: var(--dark);
}
.calc-radio-text small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Addons Grid */
.calc-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.calc-addon-item {
  cursor: pointer;
}
.calc-addon-item input[type="checkbox"] {
  display: none;
}
.calc-addon-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  position: relative;
  transition: all var(--transition);
  height: 100%;
}
.calc-addon-item:hover .calc-addon-box {
  background: #f1f5f9;
}
.calc-addon-item input[type="checkbox"]:checked + .calc-addon-box {
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08);
}
.calc-addon-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.calc-addon-item input[type="checkbox"]:checked + .calc-addon-box .calc-addon-check {
  background: var(--orange);
  border-color: var(--orange);
}
.calc-addon-item input[type="checkbox"]:checked + .calc-addon-box .calc-addon-check::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 3px;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
}
.calc-addon-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  padding-right: 24px;
}
.calc-addon-box small {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Sidebar Result Card */
.calculator-sidebar {
  position: sticky;
  top: 100px;
}
.calc-result-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}
.calc-result-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.calc-result-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.08em;
  background: #fff3e0;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.calc-price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.calc-price-from {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}
.calc-price-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.calc-price-currency {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange);
}
.calc-timeline-display {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.calc-timeline-display strong {
  color: var(--dark);
}
.calc-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.calc-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
}
.calc-sum-label {
  color: var(--text-muted);
  flex-shrink: 0;
}
.calc-sum-val {
  color: var(--dark);
  font-weight: 600;
  text-align: right;
}
.calc-guarantee-note {
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.78rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}
.calc-guarantee-note span {
  color: #10b981;
  font-weight: 900;
  margin-right: 4px;
}
.calc-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-grid { grid-template-columns: 1fr 340px; gap: 24px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .section-header-split { grid-template-columns: 1fr; gap: 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .calculator-grid { grid-template-columns: 1fr; }
  .calculator-sidebar { position: static; }
  .contact-inner { grid-template-columns: 1fr; }
  .portfolio-slide { grid-template-columns: 1fr; }
  .portfolio-img-placeholder { height: 260px; }
  .footer-inner { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 768px) {
  /* Disable sticky header on mobile — header flows with page */
  .site-header { position: static; }
  .main-nav { display: none; }
  .header-inner .btn-orange { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .calc-card-grid { grid-template-columns: 1fr; }
  .calc-addons-grid { grid-template-columns: 1fr; }
  .calc-radio-group.inline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-heading { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .sticky-text { display: none; }
  .cookie-banner { bottom: 12px; left: 12px; right: 12px; padding: 16px; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-controls { flex-wrap: wrap; gap: 12px; }
  .social-btn-group { flex-direction: column; }
  .cookie-actions { flex-direction: column; width: 100%; }
  .cookie-actions .btn { width: 100%; justify-content: center; }
}
