/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(135deg, var(--color-trust-light) 0%, var(--color-surface) 50%, var(--color-surface-warm) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(133, 68, 113, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: var(--grid-gap-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: var(--space-xl);
}

.hero__title {
  margin-bottom: var(--space-xl);
}

.hero__title em {
  font-style: normal;
  color: var(--color-trust);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero__content .btn-group {
  gap: var(--space-md);
  max-width: 520px;
}

@media (min-width: 480px) {
  .hero__content .btn-group {
    max-width: 560px;
  }
}

.hero__visual {
  position: relative;
}

.hero__image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero__img--large {
  grid-column: span 2;
  aspect-ratio: 16/7;
  min-height: 200px;
}

.hero__image-grid .hero__img:not(.hero__img--large) {
  aspect-ratio: 4/3;
  min-height: 140px;
}

.hero__float {
  position: absolute;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-float);
  font-size: var(--text-xs);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  border: 1px solid var(--color-border-light);
  z-index: 2;
}

.hero__float--1 {
  top: -12px;
  right: 10%;
  color: var(--color-brand);
}

.hero__float--2 {
  bottom: 30%;
  left: -8px;
  color: var(--color-trust);
}

.hero__float--3 {
  bottom: 8%;
  right: 5%;
  color: var(--color-growth);
}

.hero__float--4 {
  top: 40%;
  right: -5%;
  color: var(--color-brand-orange);
}

@media (max-width: 1023px) {
  .hero__float--3,
  .hero__float--4 {
    display: none;
  }

  .hero__float--1 {
    top: 8px;
    right: 5%;
  }

  .hero__float--2 {
    bottom: 12px;
    left: 5%;
  }
}

.hero__growth-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  opacity: 0.4;
  pointer-events: none;
}

/* Quick choice */
.quick-choice .card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.quick-choice .card:hover {
  border-color: var(--color-trust);
}

.quick-choice .card__indicator {
  width: 4px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.quick-choice .card {
  position: relative;
  padding-left: calc(var(--space-xl) + 4px);
  overflow: hidden;
}

.quick-choice .card--women .card__indicator { background: var(--color-brand); }
.quick-choice .card--biznis .card__indicator { background: var(--color-trust); }
.quick-choice a.card--biznis .card__indicator { background: var(--color-trust); }
.quick-choice .card--agri .card__indicator { background: var(--color-growth); }
.quick-choice .card--home .card__indicator { background: var(--color-brand-orange); }
.quick-choice .card--online .card__indicator { background: #6366f1; }
.quick-choice .card--eco .card__indicator { background: #059669; }

/* Products */
.products-grid {
  display: grid;
  gap: var(--grid-gap-lg);
}

.quick-choice .grid-3 {
  gap: var(--grid-gap-lg);
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.product-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.product-card__header p {
  margin-top: var(--space-sm);
  line-height: var(--leading-relaxed);
}

.product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card--women .product-card__icon { background: rgba(133, 68, 113, 0.12); color: var(--color-brand); }
.product-card--biznis .product-card__icon { background: var(--color-trust-light); color: var(--color-trust); }
.product-card--agri .product-card__icon { background: var(--color-growth-light); color: var(--color-growth); }
.product-card--eco .product-card__icon { background: #d1fae5; color: #059669; }
.product-card--home .product-card__icon { background: rgba(244, 129, 32, 0.12); color: var(--color-brand-orange); }
.product-card--online .product-card__icon { background: #e0e7ff; color: #4f46e5; }

.product-card__products {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.product-card__products li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.product-card__products li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand-yellow);
  flex-shrink: 0;
}

.section__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  margin-top: var(--section-header-gap);
  padding-top: var(--space-md);
}

/* Calculator */
.calculator-section {
  background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
}

.calculator__grid {
  display: grid;
  gap: var(--grid-gap-lg);
  align-items: start;
}

@media (min-width: 1024px) {
  .calculator__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .calculator__grid > div:first-child {
    padding-right: var(--space-lg);
  }
}

.calculator__intro-lead {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.calculator__intro-note {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xl);
  line-height: var(--leading-relaxed);
}

.calculator__panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.calculator__panel h3 {
  margin-bottom: var(--space-xl);
  font-family: var(--font-body);
}

/* Process timeline */
.process-timeline {
  display: grid;
  gap: var(--grid-gap-lg);
  position: relative;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
  }
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-trust);
  color: var(--color-text-inverse);
  font-weight: 700;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.process-step h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.process-contact {
  margin-top: 0;
  margin-bottom: var(--space-2xl);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.process-contact h3 {
  margin-bottom: var(--space-lg);
  font-family: var(--font-body);
}

.process-contact ul {
  gap: var(--space-md);
}

.process-contact ul {
  display: grid;
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .process-contact ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.process-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.process-contact li svg {
  flex-shrink: 0;
  color: var(--color-trust);
}

/* Brand section */
.brand-section {
  background: linear-gradient(135deg, rgba(133, 68, 113, 0.04) 0%, var(--color-trust-light) 100%);
  overflow: hidden;
}

.brand-section__grid {
  display: grid;
  gap: var(--grid-gap-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .brand-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.brand-section__grid > div:first-child p {
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

.brand-tagline {
  font-weight: 600;
  color: var(--color-brand);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.values-grid {
  display: grid;
  gap: var(--grid-gap);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  color: var(--color-brand);
}

.value-card h4 {
  font-family: var(--font-body);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.brand-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: var(--space-lg);
}

.brand-visual__circle {
  width: 280px;
  height: 280px;
}

.brand-visual__photos {
  position: absolute;
  inset: var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
}

.brand-visual__photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 3px solid var(--color-surface);
}

/* Stories */
.story-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base);
}

.story-card:hover {
  box-shadow: var(--shadow-card);
}

.story-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.story-card__body {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.story-card__quote {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.story-card__author {
  font-weight: 700;
  color: var(--color-brand);
  font-size: var(--text-sm);
}

.story-card__location {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* CSR */
.csr-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
}

.csr-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.csr-card__body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.csr-card__date {
  font-size: var(--text-xs);
  color: var(--color-growth);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.csr-card h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  margin-bottom: var(--space-sm);
}

.csr-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: var(--space-md);
}

.csr-card .card__link {
  margin-top: auto;
  padding-top: var(--space-sm);
}

/* News */
.news-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
  display: block;
  color: inherit;
}

.news-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--color-trust);
  color: inherit;
}

.news-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.news-card h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  line-height: var(--leading-normal);
}

/* Locations */
.locations__grid {
  display: grid;
  gap: var(--grid-gap-lg);
}

@media (min-width: 1024px) {
  .locations__grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }
}

.locations__search {
  margin-bottom: var(--space-xl);
}

.locations__list {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.locations__item {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
  font-weight: 500;
  transition: background var(--transition-fast);
}

.locations__item:hover,
.locations__item.is-active {
  background: var(--color-trust-light);
  color: var(--color-trust);
}

.locations__item.is-hidden {
  display: none;
}

.locations__map-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.locations__map {
  width: 100%;
  aspect-ratio: 520 / 340;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.locations-map {
  width: 100%;
  height: auto;
  display: block;
}

.locations-map__bg {
  fill: #eef6fa;
}

.locations-map__country {
  fill: #9ec9db;
  stroke: #1b6b8a;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.locations-map__caption {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--color-text-muted);
}

.locations-map__marker {
  cursor: pointer;
  outline: none;
}

.locations-map__marker circle:not(.locations-map__pulse) {
  fill: var(--color-trust);
  stroke: var(--color-surface);
  stroke-width: 2;
  transition: transform var(--transition-fast), fill var(--transition-fast), r var(--transition-fast);
}

.locations-map__marker .locations-map__dot--featured,
.locations-map__marker [class*="dot--featured"] {
  fill: var(--color-growth);
}

.locations-map__marker.is-hq circle:not(.locations-map__pulse) {
  fill: var(--color-brand);
}

.locations-map__marker.is-hq .locations-map__pulse {
  fill: var(--color-brand);
  opacity: 0.2;
  animation: map-pulse 2s ease infinite;
}

.locations-map__marker:hover circle:not(.locations-map__pulse),
.locations-map__marker:focus-visible circle:not(.locations-map__pulse) {
  fill: var(--color-brand-orange);
  transform-origin: center;
}

.locations-map__marker.is-active circle:not(.locations-map__pulse) {
  fill: var(--color-brand-orange);
  stroke-width: 3;
}

.locations-map__marker:focus-visible {
  outline: none;
}

.locations-map__marker:focus-visible circle:not(.locations-map__pulse) {
  stroke: var(--color-brand-yellow);
  stroke-width: 3;
}

@keyframes map-pulse {
  0%,
  100% {
    opacity: 0.15;
    r: 14;
  }
  50% {
    opacity: 0.28;
    r: 18;
  }
}

@media (prefers-reduced-motion: reduce) {
  .locations-map__marker.is-hq .locations-map__pulse {
    animation: none;
  }
}

.locations__map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  justify-content: center;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
}

.locations__map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.locations__map-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-border);
}

.locations__map-dot--hq {
  background: var(--color-brand);
}

.locations__map-dot--office {
  background: var(--color-trust);
}

.locations__map-dot--featured {
  background: var(--color-growth);
}

.locations__map-hint {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.locations__map-hint strong {
  color: var(--color-trust);
  font-weight: 600;
}

.locations__detail {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  display: none;
}

.locations__detail.is-visible {
  display: block;
}

.locations__hq {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-brand);
}

.locations__hq p {
  margin-bottom: var(--space-sm);
}

.locations__all-btn {
  margin-top: var(--space-xl);
}

.locations__detail {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.locations__hq h4 {
  font-family: var(--font-body);
  margin-bottom: var(--space-sm);
}

.locations__featured {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.locations__chip {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-trust-light);
  color: var(--color-trust);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background var(--transition-fast);
}

.locations__chip:hover {
  background: var(--color-trust);
  color: var(--color-text-inverse);
}

/* Documents */
.doc-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
  color: inherit;
}

.doc-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--color-trust);
  color: inherit;
}

.doc-card__icon {
  width: 44px;
  height: 44px;
  background: var(--color-trust-light);
  color: var(--color-trust);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-card h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.doc-card p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}

/* Quick help */
.help-section {
  background: linear-gradient(135deg, var(--color-trust) 0%, var(--color-trust-dark) 100%);
  color: var(--color-text-inverse);
  text-align: center;
}

.help-section {
  padding-block: var(--section-pad-y);
}

.help-section h2 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-lg);
}

.help-section .section__lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.help-section .btn-group {
  margin-bottom: var(--space-2xl);
}

.help-section .btn--primary {
  background: var(--color-brand-yellow);
  color: var(--color-text);
  border-color: var(--color-brand-yellow);
}

.help-section .btn--outline {
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.6);
}

.help-section .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-text-inverse);
}

.help-cards {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 0;
}

@media (min-width: 640px) {
  .help-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.help-card-mini {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  color: var(--color-text-inverse);
  transition: background var(--transition-fast);
}

.help-card-mini:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-text-inverse);
}

.help-card-mini svg {
  margin: 0 auto var(--space-sm);
}

.help-card-mini span {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
}
