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

:root {
  --bg: #f8f7f4;
  --dark: #0d0f1a;
  --dark2: #141624;
  --accent: #4f46e5;
  --accent2: #6366f1;
  --green: #22c55e;
  --wa: #25D366;
  --text: #1a1a2e;
  --muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
}

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

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background: rgba(13, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 12px 6%;
  background: rgba(13, 15, 26, 0.98);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 20px;
}

.logo strong {
  color: #818cf8;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

nav a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

.lang-switcher {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 3px;
  margin-left: 8px;
}

.lang-switcher button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.lang-switcher button.active {
  background: var(--accent2);
  color: white;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  position: relative;
  z-index: 201;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: rgba(13,15,26,0.98);
  backdrop-filter: blur(16px);
  flex-direction: column;
  padding: 12px 16px 16px;
  gap: 4px;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-lang {
  display: flex;
  gap: 6px;
  padding: 10px 16px 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 4px;
}

.mobile-lang button {
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.mobile-lang button.active {
  background: var(--accent2);
  color: white;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.08);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0d0f1a 0%, #1a1040 50%, #0d0f1a 100%);
  color: white;
  text-align: center;
  padding: 120px 6% 80px;
  position: relative;
  overflow: clip;  /* clip zamiast hidden — nie przycina tekstu z diakrytykami greckimi */
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.s1 {
  width: 500px;
  height: 500px;
  background: #4f46e5;
  top: -100px;
  right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.s2 {
  width: 300px;
  height: 300px;
  background: #7c3aed;
  bottom: 100px;
  left: -50px;
  animation: float2 10s ease-in-out infinite;
}

.s3 {
  width: 200px;
  height: 200px;
  background: #06b6d4;
  top: 40%;
  left: 30%;
  animation: float1 12s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 0.8s ease both;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 0;
  /* Boczny padding kompensuje letter-spacing:0 (byl -1px) i chroni skrajne litery */
  padding: 0.1em 0.12em 0.2em;
  overflow: visible;
}

/* span i em sa elementami inline — display:block na kazdym daje pelna kontrole
   nad padding/margin bez ryzyka ze innerText (JS) zresetuje style inline */
.hero h1 span,
.hero h1 em {
  display: block;
  padding: 0.04em 0;
  overflow: visible;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #818cf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.cta:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
}

.cta2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.cta2:hover {
  background: var(--wa);
  border-color: var(--wa);
  color: white;
  transform: translateY(-2px);
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 64px;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px 48px;
  border-radius: var(--radius);
  animation: fadeUp 0.8s 0.2s ease both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: white;
}

.stat span:last-child {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}

/* ===== TRUST BAR ===== */
.trust {
  background: var(--dark);
  padding: 20px 6%;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
}

.trust-icon {
  font-size: 18px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 6%;
}

.dark-section {
  background: var(--dark);
}

.section-inner {
  max-width: 1100px;
  margin: auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent2);
  margin-bottom: 12px;
}

.section-label.light {
  color: #818cf8;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

h2.light {
  color: white;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  background: var(--dark);
  border-color: rgba(255,255,255,0.08);
  color: white;
}

.service-card.featured p {
  color: rgba(255,255,255,0.65);
}

.service-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tags span {
  font-size: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent2);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

.service-card.featured .service-tags span {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
}

.project-item.img-placeholder {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.project-item.img-placeholder::after {
  content: '🔧';
  font-size: 40px;
  opacity: 0.4;
}

.project-item.img-placeholder img {
  display: none;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.project-overlay span {
  color: white;
  font-size: 13px;
  font-weight: 600;
}

/* ===== BOOKING ===== */
.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.booking-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  min-width: 50px;
}

.booking-step strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.booking-step p {
  font-size: 14px;
  color: var(--muted);
}

.booking-form {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--accent2);
}

.booking-form textarea {
  resize: vertical;
  min-height: 80px;
}

.price-box {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #dbeafe;
  padding: 14px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--muted);
}

.price-box strong {
  font-size: 22px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--accent);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.submit-btn:hover {
  background: #1faa56;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* ===== REVIEWS ===== */
.reviews-section {
  background: linear-gradient(135deg, #fafafa, #f0f4ff);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-card.featured-review {
  background: var(--dark);
  border-color: transparent;
  color: white;
}

.review-card.featured-review p {
  color: rgba(255,255,255,0.8);
}

.review-stars {
  font-size: 16px;
  margin-bottom: 14px;
}

.review-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.reviewer strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.reviewer span {
  font-size: 12px;
  color: var(--muted);
}

.review-card.featured-review .reviewer span {
  color: rgba(255,255,255,0.5);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--bg);
}

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  gap: 16px;
}

.faq-arrow {
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-a p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 6%;
}

.contact-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin-top: -32px;
  margin-bottom: 48px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  border-radius: var(--radius);
  text-decoration: none;
  color: white;
  transition: all 0.3s;
}

.contact-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.contact-card.whatsapp-card:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
}

.contact-icon {
  font-size: 28px;
}

.contact-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-card span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== FOOTER ===== */
footer {
  background: #080a12;
  padding: 40px 6%;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

footer p {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-copy {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.25) !important;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--wa);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav a, .lang-switcher {
    display: none;
  }

  nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-stats {
    gap: 20px;
    padding: 20px 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

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

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .booking-info {
    display: none;
  }

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

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

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

  .booking-form {
    padding: 24px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.25;
    padding: 0.15em 0;
  }

  .hero {
    padding: 100px 8% 60px;
  }

  .section {
    padding: 60px 8%;
  }

  .contact-section {
    padding: 60px 8%;
  }

  .trust {
    padding: 20px 8%;
  }

  header {
    padding: 16px 5%;
  }
}

/* ===== GRECKI — mniejsza czcionka żeby litery się nie obcinały ===== */
body.lang-gr .hero h1 {
  font-size: clamp(32px, 5.5vw, 64px);
  letter-spacing: 0;
  line-height: 1.25;
  padding: 0.1em 0;
}

@media (max-width: 768px) {
  body.lang-gr .hero h1 {
    font-size: 30px;
    line-height: 1.3;
  }
}
