/* style.css - Czysty CSS (brak frameworków Tailwind/Bootstrap) */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-v31-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-v31-latin_latin-ext-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-v31-latin_latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-v31-latin_latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-v31-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-v31-latin_latin-ext-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Colors */
  --brand-dark: #135600; /* Primary Dark Green */
  --brand-light: #5ec232; /* Secondary Light Green */
  --brand-yellow: #ffd774; /* Accent Yellow */
  --brand-yellow-bright: #ffe433;
  --brand-yellow-deep: #fad02c;

  /* UI Colors */
  --primary: var(--brand-dark);
  --primary-hover: #0a3000;
  --secondary: var(--brand-yellow);
  --secondary-hover: var(--brand-yellow-deep);

  /* Backgrounds & Surfaces */
  --bg-color: #fdfcf8; /* Ultra-light warm off-white */
  --surface: #ffffff;
  --surface-alt: #f3f5f1;

  /* Typography */
  --text-main: #1c2219; /* Deep charcoal with green tint */
  --text-muted: #5a6357;
  --border: rgba(19, 86, 0, 0.08);
  --shadow-sm:
    0 10px 40px -10px rgba(19, 86, 0, 0.04),
    0 2px 10px -2px rgba(19, 86, 0, 0.02);
  --shadow-md:
    0 20px 50px -15px rgba(19, 86, 0, 0.08),
    0 8px 20px -5px rgba(19, 86, 0, 0.04);
  --shadow-lg:
    0 30px 60px -20px rgba(19, 86, 0, 0.12),
    0 12px 30px -10px rgba(19, 86, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 155px; /* Offset for desktop sticky header on anchor scroll */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5rem;
  box-sizing: border-box;
}

/* Typography Polish */
h1,
h2,
h3,
h4 {
  color: var(--brand-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Header & Navbar */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 140px;
}

.logo {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-yellow);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px auto;
  background-color: var(--brand-dark);
  transition: all 0.3s ease-in-out;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--brand-dark);
  color: var(--surface);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background-color: var(--brand-yellow);
  color: var(--brand-dark);
}

.btn-secondary:hover {
  background-color: var(--brand-yellow-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section - Agency Style */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background-color: var(--surface);
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 116, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(94, 194, 50, 0.08) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2.5rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  z-index: 1;
}

.features > * {
  min-width: 0;
}

.feature-card {
  background: var(--surface);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand-yellow));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--surface-alt);
  border-radius: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Page Content (Oferta / Kontakt) */
.page-content {
  flex-grow: 1;
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.page-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.page-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 4rem;
}

/* CSS cleaned */

.cta-banner {
  background: var(--brand-dark);
  color: var(--surface);
  padding: 4rem;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(94, 194, 50, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--surface);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* Kontakt form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-container > * {
  min-width: 0;
}

.info-block {
  margin-top: 2.5rem;
}

.info-block h3 {
  margin-bottom: 0.5rem;
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.info-block p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.text-link {
  color: var(--brand-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--brand-dark);
}

.contact-form-wrapper {
  background: var(--surface);
  padding: 3.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface-alt);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-light);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(94, 194, 50, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: #dce4db; /* Elegant light Sage Gray offering high contrast against dark green (WCAG AA ~6.7:1) */
  padding: 5rem 0 2rem;
  margin-top: auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
  text-align: left;
}

.footer-columns > * {
  min-width: 0;
}

.footer-col h3,
.footer-col h4 {
  color: var(--surface);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  filter: brightness(0) invert(1);
  height: 80px;
  max-height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  display: block;
}

.footer-logo:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.footer-col p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.footer-col p a {
  color: #dce4db; /* Match high contrast text color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col p a:hover {
  color: var(--brand-yellow);
}

/* Secure email and phone styling */
.secure-email,
.secure-phone {
  color: var(--brand-yellow) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.secure-email:hover,
.secure-phone:hover {
  color: var(--brand-yellow-touch) !important;
  color: #fff !important;
  text-decoration: underline !important;
}

.footer-socials {
  margin-top: 1.5rem;
}

.footer-socials a,
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
  transition: all 0.3s ease;
}

.footer-socials a svg,
.social-link svg {
  width: 24px;
  height: 24px;
}

.footer-socials a:hover,
.social-link:hover {
  color: var(--brand-yellow-bright);
  transform: scale(1.1);
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: #dce4db; /* Match high contrast text color */
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--brand-yellow);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal text content */
.text-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 3.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.text-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.text-content p {
  margin-bottom: 1.5rem;
}

/* Media Queries (Mobile) */
@media (max-width: 900px) {
  .site-logo {
    height: 100px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero {
    padding: 6rem 0 4rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-detail-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  h1,
  .page-title {
    font-size: 2.25rem !important;
  }
  h2 {
    font-size: 1.7rem !important;
  }
}

@media (max-width: 768px) {
  /* Hard block on AI studio panes or random elements creating whitespace on mobile */
  .ai-studio-sidebar,
  .ai-studio-panel,
  [class*="dev-panel"],
  iframe#preview-iframe ~ * {
    display: none !important;
  }

  html,
  body {
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-padding-top: 100px; /* Smaller header offset on mobile scroll */
  }

  * {
    box-sizing: border-box !important;
  }

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-padding-top: 100px; /* Smaller header offset on mobile scroll */
  }

  .container,
  .page-content,
  main,
  .main-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .container {
    padding: 0 1rem !important;
  }

  .sector-tile-card {
    padding: 2rem 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    align-items: stretch !important;
    min-width: 0 !important;
  }

  .sector-tile-card h3 {
    font-size: 1.5rem !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }

  .sector-feature-list {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
  }

  .sector-feature-item {
    font-size: 1rem !important;
    gap: 0.75rem !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .sector-feature-item span {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
  }

  /* Grid fixes */
  .sectors-grid-home {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
  }

  .navbar {
    min-height: 85px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .site-logo {
    height: 70px;
    max-width: 100%;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--surface-alt);
    font-size: 1.1rem;
  }
  .nav-links a.social-link {
    border-bottom: none;
    align-self: flex-start;
    padding-top: 1.5rem;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .dropdown-content {
    min-width: unset;
    width: 100%;
  }
  .hero {
    padding: 5rem 0 3.5rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .cta-banner {
    padding: 3rem 1.5rem;
  }
  .text-content {
    padding: 1.5rem !important;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }

  /* Layout adjustments to prevent overlaps & scrolling */
  .page-content {
    padding: 3.5rem 0;
  }
  .sectors-section {
    padding: 3.5rem 0;
  }
  .sector-tile-card {
    padding: 2.5rem 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .sector-feature-list {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box !important;
  }
  .sector-feature-item {
    font-size: 1.05rem;
    gap: 1rem;
  }

  /* Cookie elements mobile sizing */
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    max-width: calc(100% - 2rem);
  }
  .cookie-icon {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
}

.animate-fade-up.visible {
  animation: fadeUpAnim 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
}

.animate-fade-in.visible {
  animation: fadeInAnim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes fadeInAnim {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 500px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-banner-content h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--text-main);
}

.cookie-banner-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.cookie-banner-content .btn {
  width: 100%;
  margin-top: 0.5rem;
  text-align: center;
}

.cookie-details {
  margin-bottom: 1.5rem;
  background: var(--surface-alt);
  padding: 1rem;
  border-radius: 8px;
}

.cookie-details summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.cookie-details p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-icon {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.cookie-icon:hover {
  transform: scale(1.1);
}

.cookie-icon.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--surface);
  min-width: 250px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  border-radius: 8px;
  top: 100%;
  left: 0;
  padding: 0.5rem 0;
}

.dropdown-content a {
  color: var(--text-main);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid var(--surface-alt);
  margin: 0; /* Override any margins */
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--surface-alt);
  color: var(--brand-dark);
}

.dropbtn {
  padding-bottom: 5px;
}

@media (max-width: 768px) {
  .dropdown {
    display: block;
  }
  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 1rem;
    background: transparent;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .dropdown-content a {
    border-bottom: none;
    padding: 0.8rem 0;
  }
}

/* Custom premium styles for START page */

.hero-tag {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background-color: rgba(94, 194, 50, 0.08);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(94, 194, 50, 0.16);
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
}

.hero h1 .highlight {
  background: linear-gradient(
    135deg,
    var(--brand-dark) 20%,
    var(--brand-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Sectors Section */
.sectors-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: rgba(
    133,
    91,
    0,
    0.12
  ); /* Slightly darker amber tint background for cohesion */
  color: #855b00; /* Rich gold/amber meeting WCAG AA contrast ratio of at least 4.5:1 (actually ~5.8:1) */
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sectors-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sectors-grid-home > * {
  min-width: 0;
}

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

.sector-tile-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.sector-tile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(94, 194, 50, 0.25);
}

.tile-icon-wrapper {
  width: 110px;
  height: 110px;
  background-color: var(--surface-alt);
  font-size: 3.5rem;
  border-radius: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2.5rem auto;
  transition: all 0.3s ease;
}

.sector-tile-card:hover .tile-icon-wrapper {
  transform: scale(1.05);
}

.sector-tile-card h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.sector-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 100%;
  margin: 0 auto;
}

.sector-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  text-align: left;
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sector-feature-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--brand-light);
  margin-top: 4px;
}

/* Philosophy Section */
.philosophy-section {
  padding: 6rem;
  background-color: var(--surface-alt);
  border-radius: 40px;
  margin-bottom: 6rem;
}

@media (max-width: 768px) {
  .philosophy-section {
    padding: 3rem 1.5rem;
    border-radius: 24px;
  }
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-grid > * {
  min-width: 0;
}

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

.philosophy-text {
  max-width: 500px;
}

.section-tag-alt {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: rgba(19, 86, 0, 0.08);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.philosophy-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.philosophy-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 500;
}

.philosophy-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.philosophy-tile-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.philosophy-tile-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--brand-light);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.philosophy-tile-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(94, 194, 50, 0.15);
}

.philosophy-tile-card:hover::after {
  transform: scaleY(1);
}

.tile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.tile-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(94, 194, 50, 0.08);
  color: var(--brand-dark);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.philosophy-tile-card:hover .tile-icon {
  background-color: rgba(94, 194, 50, 0.15);
  transform: scale(1.05);
}

.tile-icon svg {
  width: 24px;
  height: 24px;
}

.philosophy-tile-card h3,
.philosophy-tile-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.philosophy-tile-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 3.5rem;
}

/* Banner Section */
.banner-section {
  padding-bottom: 6rem;
}

.banner-card {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0d3b00 100%);
  padding: 4rem;
  border-radius: 30px;
  color: var(--surface);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.banner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(94, 194, 50, 0.15) 0%,
    transparent 60%
  );
  border-radius: 50%;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.banner-badge {
  background-color: var(--brand-yellow);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.banner-card h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--surface);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .banner-card {
    padding: 3rem 2rem;
    text-align: center;
  }
  .banner-content {
    align-items: center;
  }
  .banner-card h2 {
    font-size: 1.75rem;
  }
}

/* Accordion Component */
.accordion {
  max-width: 800px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(94, 194, 50, 0.2);
}

.accordion-item summary {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-dark);
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::marker {
  display: none;
  content: "";
}

.summary-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.summary-content .icon {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(94, 194, 50, 0.08); /* brand-light alpha */
  border-radius: 50%;
  flex-shrink: 0;
}

.accordion-item summary::after {
  content: "+";
  font-size: 1.8rem;
  line-height: 1;
  color: var(--brand-light);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.accordion-item[open] summary {
  margin-bottom: 1rem;
}

.accordion-item[open] summary::after {
  transform: rotate(45deg);
}

.accordion-item p {
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 4rem; /* match the icon gap */
  animation: fadeInDown 0.3s ease forwards;
}

@media (max-width: 768px) {
  .accordion-item p {
    padding-left: 0 !important;
    margin-top: 1rem;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.biznes-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto 5rem;
  align-items: start;
}

.biznes-intro-grid > * {
  min-width: 0; /* Prevents CSS Grid blowout */
}

@media (max-width: 768px) {
  .biznes-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
}
