/* 
  ----------------------------------------------------
  ROOT VARIABLES - easy change of clors 
  ----------------------------------------------------
*/

:root {
  /* Kolory brandu */
  --color-primary: #164ca4;        /* Polynesian blue */
  --color-primary-light: #8fbfe0;  /* Carolina blue */
  --color-primary-soft: #e9f2f9;   /* Alice blue */
  --color-text-main: #101828;
  --color-text-muted: #667085;     /* Slate gray */
  --color-surface: #ffffff;
  --color-bg: #f5f7fb;
  --color-border-subtle: #e4e7ec;

  /* Gradient brand */
  /*--gradient-primary: linear-gradient(135deg, #0a178b 0%, #83b3d3 45%, #cedbe6 100%);*/
  --gradient-primary: linear-gradient(135deg, #0A178B 0%, #164CA4 45%, #6CA7D4 100%);     


  /* Typografia */
  --font-family-base: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Layout */
  --max-width: 1120px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.09);

  /* Przerwy - free space */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

/* Reset i podstawy */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  color: var(--color-text-main);
  background: var(--color-bg);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}


/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

.brand-text {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(143, 191, 224, 0.15);
}

.header-cta {
  font-size: 0.9rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  background-clip: padding-box;
  border: none;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.btn--secondary {
  background: rgba(22, 76, 164, 0.06);
  border-color: rgba(22, 76, 164, 0.15);
  color: var(--color-primary);
}

.btn--secondary:hover {
  background: rgba(22, 76, 164, 0.12);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(22, 76, 164, 0.18);
  color: var(--color-primary);
}

.btn--ghost:hover {
  background: rgba(22, 76, 164, 0.06);
}

/* PILL / BADGE */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(22, 76, 164, 0.06);
  color: var(--color-primary);
}

.pill--light {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.pill--muted {
  background: rgba(102, 112, 133, 0.08);
  color: var(--color-text-muted);
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 1.2rem 0 0.75rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 30rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.hero-meta .meta-label {
  display: block;
  color: var(--color-text-muted);
}

.hero-meta .meta-value {
  font-weight: 600;
}

/* HERO visual side */

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.7rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.hero-card--primary {
  background-image: var(--gradient-primary);
  color: #ffffff;
}

.hero-card--primary h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.hero-card--primary p {
  font-size: 0.9rem;
  opacity: 0.95;
}

.hero-card--stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.mini-card {
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  background: var(--color-surface);
  border: 1px solid rgba(143, 191, 224, 0.4);
}

.mini-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.mini-value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* SEKCJE OGÓLNE */

.section {
  padding: 3.75rem 0;
}

.section--clients {
  background: radial-gradient(circle at top left, rgba(143, 191, 224, 0.26), transparent 55%), #f8fafc;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.section--interpreters {
  background: #0f172a;
  color: #e5e7eb;
}

.section--investors {
  background: #ffffff;
}

.section--contact {
  background: #0b1220;
  color: #e5e7eb;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  margin: 0 0 0.6rem;
}

.section-head p {
  margin: 0;
  color: var(--color-text-muted);
}

.section-head--center {
  text-align: center;
  margin: 0 auto 2.5rem;
}

/* Dla ciemnego tła */

.section--interpreters .section-head p,
.section--contact p {
  color: rgba(226, 232, 240, 0.8);
}

/* Sekcja: Klienci */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.section-cta {
  margin-top: 0.75rem;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.7rem;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-cta h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.section-cta p {
  margin: 0;
  font-size: 0.9rem;
}

/* Sekcja: Tłumacze */

.interpreters-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.interpreters-copy h2 {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  margin: 1rem 0 0.7rem;
}

.interpreters-copy p {
  margin: 0 0 1.25rem;
  color: rgba(226, 232, 240, 0.85);
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary-light);
}

.interpreters-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem;
  background: radial-gradient(circle at top left, rgba(143, 191, 224, 0.28), rgba(15, 23, 42, 1));
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.panel-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.panel-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.9);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.panel-item {
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.panel-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 1);
  margin-bottom: 0.2rem;
}

.panel-value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Sekcja: Inwestorzy / About us */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-card {
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem;
  background: #f9fafb;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.02rem;
}

.about-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Zespół */

.team {
  border-radius: 26px;
  padding: 1.8rem 1.9rem 2rem;
  background: radial-gradient(circle at top left, rgba(143, 191, 224, 0.18), #ffffff);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.team-header {
  max-width: 36rem;
  margin-bottom: 1.7rem;
}

.team-header h3 {
  margin: 0 0 0.4rem;
}

.team-header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(22, 76, 164, 0.1), rgba(143, 191, 224, 0.4));
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.team-member h4 {
  margin: 0 0 0.1rem;
  font-size: 0.95rem;
}

.team-role {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Sekcja kontaktowa */

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

.section--contact h2 {
  font-size: 1.7rem;
  margin: 0 0 0.7rem;
}

.section--contact p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-placeholder {
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.5rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  min-width: min(320px, 100%);
}

.contact-label {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(209, 213, 219, 0.9);
}

/* FOOTER 

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: #ffffff;
  padding: 1.6rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-left p {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-right {
  display: flex;
  gap: 1rem;
}

.footer-right a {
  color: var(--color-text-muted);
}

.footer-right a:hover {
  color: var(--color-primary);
}*/

/* ============================
   NEW FULL PROFESSIONAL FOOTER
   ============================ */

.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-col a {
  display: block;
  margin: 0.35rem 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.footer-col a:hover {
  color: #8fbfe0;
}

.footer-brand p {
  max-width: 230px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.footer-logo img {
  height: 42px;
}

.footer-logo span {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.footer-social img {
  width: 20px;
  opacity: 0.8;
  transition: 0.2s;
}

.footer-social img:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 2.5rem;
  padding-top: 1.2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 1rem;
}

.legal-links a {
  color: rgba(255,255,255,0.65);
}

.legal-links a:hover {
  color: #8fbfe0;
}

/* RESPONSIVE FOOTER */
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: minmax(0,1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
  }
}


/* PARTNERS SECTION */

.section--partners {
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  padding: 3rem 0 3.5rem;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* === PARTNERS SECTION (IMPROVED LOGO LAYOUT) === */

/*
 Each partner logo sits inside a fixed-size container.
 This makes all logos appear consistent regardless of their original proportions.
*/
.partner-logo {
  width: 300px;              /* fixed container width for all logos */
  height: 120px;              /* fixed container height */
  display: flex;             /* enables centering */
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering */

  background: #ffffff;       /* subtle background (optional) */
  border-radius: 16px;       /* rounded edges for consistency with brand */
  padding: 10px;             /* inner spacing to avoid touching edges */
  
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* light shadow to elevate */
}

/*
 The image will scale down to fit inside the container,
 without stretching or distorting.
*/
.partner-logo img {
  max-width: 100%;           /* prevent stretching horizontally */
  max-height: 100%;          /* prevent stretching vertically */
  object-fit: contain;       /* maintain aspect ratio */
  display: block;
  opacity: 0.9;              /* slightly muted look by default */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Small hover effect for a more polished UI */
.partner-logo img:hover {
  opacity: 1;
  transform: scale(1.05);    /* subtle zoom on hover */
}




/* === CUSTOM ADDED LOGO STYLES === */
.brand-logo {
  height: 45px;
  width: auto;
  display: block;
}

/*break between footer and contact*/

.section--contact {
  padding-bottom: 3rem;  /* było 3rem → duża przerwa */
}

.site-footer {
  margin-top: 0;         /* usuwa dodatkową szczelinę */
  border-top: none;      /* linia która dawała biały odcień */
}

/* --- translations---*/
.language-switcher {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.language-switcher button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  border: 1px solid rgba(22,76,164,0.20);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: 0.2s ease;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-switcher button:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.language-switcher img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.language-switcher button.active {
  border-color: var(--color-primary);
  background: rgba(22,76,164,0.10);
}











/* RESPONSIVNESS */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr);
  }

  .hero-visual {
    order: -1;
  }

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

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

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

  .interpreters-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    justify-content: space-between;
  }

  .main-nav {
    display: none; /* without JS for now – można później dodać mobile menu */
  }

  .hero {
    padding-top: 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .feature-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .section--contact .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
