/* ============================================
   Prozutek Innovations — Pastel Design System
   ============================================ */

:root {
  /* Pastel palette — warm, light, modern */
  --color-cream: #faf8f5;
  --color-mint: #eef8f3;
  --color-lavender: #f3f0fa;
  --color-peach: #ffede3;
  --color-sky: #e8f4fa;

  /* Brand — logo-inspired sage green */
  --color-brand: #2d7a55;
  --color-brand-dark: #1f5c3f;
  --color-brand-light: #5aab7d;
  --color-brand-soft: rgba(45, 122, 85, 0.12);
  --color-brand-softer: rgba(45, 122, 85, 0.06);

  /* Warm accent — dark orange (CTA pop) */
  --color-accent: #d8652f;
  --color-accent-hover: #bf5525;
  --color-accent-soft: rgba(216, 101, 47, 0.16);

  /* Text */
  --color-heading: #142d24;
  --color-text: #2a3832;
  --color-text-muted: #4a5a53;
  --color-white: #ffffff;
  --color-border: rgba(45, 122, 85, 0.12);

  /* Legacy aliases */
  --color-primary: var(--color-heading);
  --color-primary-light: var(--color-brand);
  --color-accent-light: var(--color-brand-light);
  --color-surface: var(--color-mint);
  --color-surface-alt: var(--color-lavender);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  --shadow-sm: 0 2px 8px rgba(45, 122, 85, 0.06);
  --shadow-md: 0 8px 30px rgba(45, 122, 85, 0.1);
  --shadow-lg: 0 16px 48px rgba(45, 122, 85, 0.12);
  --shadow-card: 0 4px 24px rgba(45, 122, 85, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.03); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.75; transform: scale(1.08); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content { animation: fadeUp 0.8s ease forwards; }
.hero-stats-row .stat-card:nth-child(1),
.hero-stats .stat-card:nth-child(1) { animation: fadeUp 0.8s 0.15s ease both; }
.hero-stats-row .stat-card:nth-child(2),
.hero-stats .stat-card:nth-child(2) { animation: fadeUp 0.8s 0.3s ease both; }
.hero-stats-row .stat-card:nth-child(3),
.hero-stats .stat-card:nth-child(3) { animation: fadeUp 0.8s 0.45s ease both; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-heading);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { color: var(--color-text); }

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  font-weight: 450;
}

.section-label {
  display: inline-block;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: var(--color-brand-soft);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

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

.section { padding: 5.5rem 0; }

.section--compact { padding: 2.5rem 0; }

.section--alt { background: var(--color-mint); }
.section--lavender { background: var(--color-lavender); }
.section--peach { background: var(--color-peach); }

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

.section-header p { margin-top: 1rem; }

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

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

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
  background: var(--color-white);
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.logo:hover img { transform: scale(1.03); }

.footer-brand .logo img {
  height: 52px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  position: relative;
}

.nav-desktop a:hover {
  color: var(--color-brand);
  background: var(--color-brand-softer);
}

.nav-desktop a.active {
  color: var(--color-brand);
  background: var(--color-brand-soft);
  font-weight: 600;
}

.nav-desktop a.active::after { display: none; }

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.4rem !important;
  background: linear-gradient(135deg, var(--color-accent), #de7038) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(216, 101, 47, 0.4);
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-accent-hover), #c85828) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(216, 101, 47, 0.45) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-brand);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 0.25rem;
  animation: fadeUp 0.3s ease;
}

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

.nav-mobile a {
  padding: 0.85rem 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 12px;
  transition: background var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--color-brand-soft);
  color: var(--color-brand);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #de7038);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(216, 101, 47, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover), #c85828);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(216, 101, 47, 0.5);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-brand);
  border-color: var(--color-brand);
  box-shadow: var(--shadow-sm);
}

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

.btn-dark {
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(45, 122, 85, 0.3);
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(45, 122, 85, 0.4);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(160deg, var(--color-mint) 0%, var(--color-cream) 45%, var(--color-peach) 100%);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}

.hero-blob--1 {
  width: 420px; height: 420px;
  background: rgba(90, 171, 125, 0.25);
  top: -80px; right: -60px;
  animation: float 9s ease-in-out infinite;
}

.hero-blob--2 {
  width: 300px; height: 300px;
  background: rgba(216, 101, 47, 0.24);
  bottom: 10%; left: -80px;
  animation: float 11s 1s ease-in-out infinite;
}

.hero-blob--3 {
  width: 200px; height: 200px;
  background: rgba(155, 142, 196, 0.2);
  top: 40%; right: 30%;
  animation: pulse-soft 7s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-content h1 {
  color: var(--color-heading);
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .lead {
  color: var(--color-text);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual {
  position: relative;
}

.hero-carousel {
  position: relative;
  margin-bottom: 1.5rem;
}

.hero-carousel__viewport {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.6);
  background: var(--color-white);
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

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

.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-brand);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.hero-carousel__btn:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.05);
}

.hero-carousel__btn--prev { left: 12px; }
.hero-carousel__btn--next { right: 12px; }

.hero-carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
}

.hero-carousel__dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(45, 122, 85, 0.28);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.hero-carousel__dot.is-active {
  background: var(--color-brand);
  transform: scale(1.2);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 3;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.stat-card .number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.45;
}

/* ---- Page Hero ---- */
.page-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  background: linear-gradient(160deg, var(--color-mint), var(--color-lavender));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  background: rgba(90, 171, 125, 0.15);
  border-radius: 50%;
  top: -100px; right: -80px;
  filter: blur(40px);
}

.page-hero h1 {
  color: var(--color-heading);
  margin-bottom: 1rem;
  position: relative;
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  position: relative;
}
/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-light), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 122, 85, 0.2);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-brand-soft), var(--color-accent-soft));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-brand);
  transition: transform var(--transition);
}

.card:hover .card-icon { transform: scale(1.1) rotate(-3deg); }

.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.925rem; }
.card ul { margin-top: 1rem; }

.card ul li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.75rem;
  width: 7px; height: 7px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  border-radius: 50%;
}

/* ---- Feature blocks ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-visual {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--color-white);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.feature-visual::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  bottom: -60px; right: -40px;
}

.feature-visual h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.feature-visual p {
  color: rgba(255, 255, 255, 0.88);
  position: relative;
}

.feature-visual--image {
  padding: 0;
  min-height: auto;
  background: transparent;
  box-shadow: none;
}

.feature-visual--image::after { display: none; }

.feature-visual--image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.img-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.img-gallery--3 {
  grid-template-columns: repeat(3, 1fr);
}

.img-gallery--4 {
  grid-template-columns: repeat(4, 1fr);
}

.img-gallery--5 {
  grid-template-columns: repeat(5, 1fr);
}

.img-gallery--single {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.img-gallery--3 .gallery-item,
.img-gallery--4 .gallery-item,
.img-gallery--5 .gallery-item,
.img-gallery--single .gallery-item {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.img-gallery--3 .gallery-item:hover,
.img-gallery--4 .gallery-item:hover,
.img-gallery--5 .gallery-item:hover,
.img-gallery--single .gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.img-gallery--3 .gallery-item img,
.img-gallery--4 .gallery-item img,
.img-gallery--5 .gallery-item img,
.img-gallery--single .gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  background: #f4f6f8;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.img-gallery--3 .gallery-item img:hover,
.img-gallery--4 .gallery-item img:hover,
.img-gallery--5 .gallery-item img:hover,
.img-gallery--single .gallery-item img:hover {
  transform: none;
  box-shadow: none;
}

.img-gallery--3 .gallery-item figcaption,
.img-gallery--4 .gallery-item figcaption,
.img-gallery--5 .gallery-item figcaption,
.img-gallery--single .gallery-item figcaption {
  margin-top: 0;
  padding: 0.75rem 0.5rem 1rem;
}

@media (max-width: 900px) {
  .img-gallery--3,
  .img-gallery--4,
  .img-gallery--5,
  .img-gallery--single { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .img-gallery--3,
  .img-gallery--4,
  .img-gallery--5,
  .img-gallery--single { grid-template-columns: 1fr; }
}

.img-gallery img,
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.img-gallery img:hover,
.gallery-item:hover img {
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

.gallery-item {
  text-align: center;
}

.gallery-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.card--with-img { padding: 1.25rem; }

.solutions-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.solutions-showcase img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.solutions-showcase img:hover { transform: translateY(-4px); }

.solutions-showcase--solo {
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.solutions-showcase--solo img {
  height: 360px;
  object-position: center 40%;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.feature-list .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
  transition: transform var(--transition);
}

.feature-list li:hover .check { transform: scale(1.15); }

/* ---- Pillars ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}

.pillar {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--color-brand-light);
  box-shadow: var(--shadow-lg);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  display: inline-block;
  transition: transform var(--transition);
}

.pillar:hover .pillar-icon {
  transform: scale(1.2);
  animation: float 2s ease-in-out infinite;
}

.pillar h4 {
  font-size: 1rem;
  color: var(--color-heading);
  margin-bottom: 0.35rem;
}

.pillar p { font-size: 0.85rem; }

/* ---- Team ---- */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.team-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-avatar {
  flex: 0 0 240px;
  width: 240px;
  min-height: 240px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-avatar--icon {
  background: #fff;
  align-self: stretch;
  height: auto;
  min-height: 100%;
}

.team-avatar--icon img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.team-experts-banner {
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-experts-banner img {
  width: 100%;
  display: block;
}

.team-body {
  flex: 1;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-body .role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.team-body h3 { margin-bottom: 1rem; }

.team-body > p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.team-body ul {
  margin: 0;
}

.team-body ul li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0.3rem 0;
  padding-left: 1.1rem;
  position: relative;
}

.team-body ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-brand);
  font-weight: 700;
}

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }

thead {
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: var(--color-white);
}

th, td { padding: 1rem 1.25rem; text-align: left; }

tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

tbody tr:nth-child(even) { background: var(--color-brand-softer); }
tbody tr:hover { background: var(--color-brand-soft); }

/* ---- Solutions ---- */
.solution-category { margin-bottom: 0; }

.solution-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--color-brand), var(--color-accent)) 1;
}

.solution-header .icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--color-brand-soft), var(--color-accent-soft));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
}

.solution-header h2 { margin-bottom: 0.25rem; }

.solution-header p {
  font-size: 0.95rem;
  margin: 0;
}

.solution-intro {
  max-width: 820px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.solution-highlights {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-card);
}

.section--alt .solution-highlights {
  background: rgba(255, 255, 255, 0.85);
}

.solution-highlights .feature-list { margin: 0; }

.solution-highlights .tag-list { margin-top: 0; }

.solution-details { margin-bottom: 1.75rem; }

.solution-details:last-child,
.solution-benefits:last-child { margin-bottom: 0; }

.solution-benefits { margin-top: 1.75rem; }

.solution-category .img-gallery { margin-bottom: 1.75rem; }

.solution-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.solution-columns .solution-col {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.section--alt .solution-columns .solution-col {
  background: rgba(255, 255, 255, 0.9);
}

.solution-columns h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.solution-columns p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.solution-columns p:last-child { margin-bottom: 0; }

.solution-note {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.solution-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.solution-split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.solution-applications {
  display: grid;
  gap: 1rem;
}

.solution-applications .application-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.section--alt .solution-applications .application-item {
  background: rgba(255, 255, 255, 0.9);
}

.solution-applications .application-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #f4f6f8;
  border-radius: var(--radius);
}

.solution-applications .application-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.solution-feature-image {
  margin: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.solution-feature-image img {
  height: auto;
  max-height: 360px;
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  background: #f4f6f8;
}

@media (max-width: 900px) {
  .solution-columns { grid-template-columns: 1fr; }
  .solution-split { grid-template-columns: 1fr; }
}

.solution-subsection {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px dashed var(--color-border);
}

.solution-subtitle {
  font-size: 1.2rem;
  color: var(--color-heading);
  margin-bottom: 0.65rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--color-brand);
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.tag:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand);
  border-color: var(--color-brand-light);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 60%, #6bc49a 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -100px; left: -60px;
}

.cta-banner h2 { color: var(--color-white); margin-bottom: 1rem; position: relative; }

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-banner .btn-primary {
  position: relative;
  background: var(--color-white);
  color: var(--color-brand);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-banner .btn-primary:hover {
  background: var(--color-cream);
  color: var(--color-brand-dark);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-grid__info,
.contact-grid > div:last-child {
  display: flex;
  flex-direction: column;
}

.contact-grid__info .section-label {
  align-self: flex-start;
}

.contact-info-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-info-cards .contact-info-card {
  margin-bottom: 0;
  flex: 1;
}

.contact-info-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.contact-info-card:last-child {
  margin-bottom: 0;
}

.contact-info-card:hover {
  border-color: var(--color-brand-light);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--color-brand-soft), var(--color-accent-soft));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  color: var(--color-heading);
  margin-bottom: 0.35rem;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-info-card a:hover { color: var(--color-brand); }

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group:has(textarea) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group:has(textarea) textarea {
  flex: 1;
  min-height: 120px;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-cream);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-brand);
  background: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-brand-soft);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.map-placeholder {
  background: linear-gradient(135deg, var(--color-mint), var(--color-lavender));
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  margin-top: 2rem;
}

.map-placeholder a {
  color: var(--color-brand);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.map-placeholder a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.maps-grid--single {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.map-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.map-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.map-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
}

.map-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brand);
  transition: color var(--transition);
}

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

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(160deg, #1a3a2f 0%, #2d5a45 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.3rem 0;
  transition: color var(--transition), transform var(--transition);
}

.footer-col a:hover {
  color: #8fd4aa;
  transform: translateX(4px);
}

.footer-address {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-top: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content .lead { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats-row { max-width: 480px; margin: 1.5rem auto 0; }
  .hero-stats { max-width: 480px; margin: 0 auto; }
  .hero-visual { margin-top: 2rem; }
  .hero-carousel__viewport { height: 260px; }
  .hero-carousel__btn { width: 34px; height: 34px; }
  .hero-carousel__btn--prev { left: 8px; }
  .hero-carousel__btn--next { right: 8px; }
  .solutions-showcase { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .team-card { flex-direction: column; }
  .team-avatar {
    flex: none;
    width: 100%;
    min-height: 280px;
  }
  .team-body { padding: 1.5rem; }
  .maps-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-in { opacity: 1; transform: none; }
}
