/* ============ BAGIRA — pet food manufacturing plant ============ */
:root {
  --orange: #ff8a3d;
  --orange-dark: #f0701f;
  --yellow: #ffd166;
  --teal: #2ec4b6;
  --teal-dark: #21a99c;
  --cream: #fff6ec;
  --white: #ffffff;
  --ink: #3d2c1e;
  --ink-soft: #7a6a5c;
  --radius: 22px;
  --shadow: 0 12px 30px rgba(61, 44, 30, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

h1, h2, h3 { line-height: 1.2; }

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

/* ============ Icons ============ */
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 138, 61, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.logo__icon {
  width: 28px;
  height: 28px;
  color: var(--orange-dark);
  stroke-width: 2;
}

.logo__text {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 24px;
  font-weight: 700;
}

.nav a {
  position: relative;
  color: var(--ink);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover { color: var(--orange); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch__btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  cursor: pointer;
  color: var(--orange);
  transition: background 0.2s, color 0.2s;
}

.lang-switch__btn.active {
  background: var(--orange);
  color: var(--white);
}

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

.burger span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--cream) 0%, #ffe9d1 100%);
  padding: 70px 0 110px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.badge {
  display: inline-block;
  background: var(--white);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 900;
  margin-bottom: 18px;
}

.hero__subtitle {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 540px;
}

.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-3px); }

.btn__icon { width: 19px; height: 19px; }

.btn--primary {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(240, 112, 31, 0.35);
}

.btn--outline {
  background: var(--white);
  color: var(--orange-dark);
  border: 2px solid var(--orange);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__circle {
  width: clamp(240px, 26vw, 340px);
  height: clamp(240px, 26vw, 340px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--yellow), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  animation: bob 4s ease-in-out infinite;
}

.hero__icon {
  width: 46%;
  height: 46%;
  color: var(--white);
  stroke-width: 1.4;
}

.float {
  position: absolute;
  width: 38px;
  height: 38px;
  color: var(--orange-dark);
  opacity: 0.45;
  animation: bob 3.5s ease-in-out infinite;
}

.float--1 { top: 4%; left: 8%; animation-delay: 0.4s; }
.float--2 { bottom: 10%; left: 2%; animation-delay: 0.9s; }
.float--3 { top: 12%; right: 4%; animation-delay: 1.4s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}

.hero__wave svg { width: 100%; height: 90px; display: block; }

/* ============ Features ============ */
.features { padding: 60px 0 30px; background: var(--white); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--white);
  color: var(--orange-dark);
  box-shadow: 0 6px 16px rgba(61, 44, 30, 0.08);
  margin-bottom: 14px;
}

.feature__icon .icon { width: 30px; height: 30px; }

.feature h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }

.feature p { font-size: 0.92rem; color: var(--ink-soft); }

/* ============ Section headings ============ */
.section-head { text-align: center; margin-bottom: 46px; }

.section-tag {
  display: inline-block;
  background: rgba(255, 138, 61, 0.14);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-tag--light { background: rgba(255, 255, 255, 0.18); color: var(--white); }

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
}

.section-title--light { color: var(--white); }

/* ============ About ============ */
.about { padding: 70px 0; }

.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about__art { position: relative; min-height: 320px; }

.about__card {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__card--big {
  width: 68%;
  aspect-ratio: 1;
  top: 0;
  left: 6%;
  background: linear-gradient(135deg, #ffe3c4, var(--yellow));
  color: var(--ink);
}

.about__card--small {
  width: 44%;
  aspect-ratio: 1;
  bottom: 0;
  right: 4%;
  background: linear-gradient(135deg, #d8f6f2, var(--teal));
  color: var(--white);
}

.about__icon { width: 52%; height: 52%; stroke-width: 1.4; }

.about__icon--small { width: 46%; height: 46%; }

.about__content .section-tag { margin-bottom: 12px; }

.about__content .section-title { margin-bottom: 18px; }

.about__content p { color: var(--ink-soft); margin-bottom: 14px; }

.about__list { list-style: none; margin-top: 8px; }

.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  padding: 6px 0;
}

.list__icon {
  width: 20px;
  height: 20px;
  color: var(--teal-dark);
  stroke-width: 2;
}

/* ============ Process ============ */
.process {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.step {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--white);
}

.step__num {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 900;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.step h3 { margin-bottom: 8px; font-weight: 800; }

.step p { opacity: 0.92; font-size: 0.95rem; }

/* ============ Products ============ */
.products { padding: 70px 0; background: var(--cream); }

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 22px 30px;
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.product-card--star {
  border: 3px solid var(--orange);
}

.product-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-card__badge--new { background: var(--teal-dark); }

.product-card__badge--soon { background: var(--ink-soft); }

.product-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--orange-dark);
  margin-bottom: 16px;
}

.product-card__icon .icon { width: 34px; height: 34px; }

.product-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }

.product-card p { font-size: 0.92rem; color: var(--ink-soft); }

.products__note {
  text-align: center;
  margin-top: 36px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ============ Partnership ============ */
.partnership { padding: 70px 0; }

.partnership__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.partner-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.partner-card--dark {
  background: var(--ink);
  color: var(--white);
}

.partner-card--dark p { color: rgba(255, 255, 255, 0.75); }

.partner-card--dark .list__icon { color: var(--yellow); }

.partner-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--white);
  color: var(--orange-dark);
  box-shadow: 0 6px 16px rgba(61, 44, 30, 0.08);
  margin-bottom: 18px;
}

.partner-card--dark .partner-card__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--yellow);
  box-shadow: none;
}

.partner-card__icon .icon { width: 30px; height: 30px; }

.partner-card h3 { font-size: 1.35rem; font-weight: 900; margin-bottom: 10px; }

.partner-card p { color: var(--ink-soft); margin-bottom: 16px; }

.partner-card__list {
  list-style: none;
  margin-bottom: 26px;
}

.partner-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  padding: 5px 0;
  font-size: 0.95rem;
}

.partner-card .btn { margin-top: auto; }

/* ============ Location ============ */
.location { padding: 70px 0; background: var(--cream); }

.location__text {
  margin-top: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}

.map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.location__actions {
  text-align: center;
  margin-top: 30px;
}

/* ============ Contact ============ */
.contact { padding: 80px 0; }

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.contact__info .section-tag { margin-bottom: 12px; }

.contact__info .section-title { margin-bottom: 16px; }

.contact__info > p { color: var(--ink-soft); margin-bottom: 28px; max-width: 480px; }

.contact__cards { display: grid; gap: 14px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--cream);
  border-radius: 16px;
  padding: 16px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }

.contact-card__icon {
  background: var(--white);
  border-radius: 12px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange-dark);
  box-shadow: 0 4px 12px rgba(61, 44, 30, 0.08);
}

.contact-card__icon .icon { width: 22px; height: 22px; }

.contact-card strong { display: block; font-size: 0.85rem; color: var(--orange-dark); }

.contact-card span span { font-weight: 700; }

.contact__art { display: flex; justify-content: center; }

.brand-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
  width: min(320px, 100%);
  box-shadow: var(--shadow);
}

.brand-panel__icon {
  width: 64px;
  height: 64px;
  color: var(--orange);
  stroke-width: 1.6;
  margin-bottom: 14px;
}

.brand-panel__name {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-panel__text {
  margin-top: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: #f3e9df;
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.logo--footer .logo__icon { color: var(--yellow); }

.logo--footer .logo__text {
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer__copy { font-size: 0.85rem; opacity: 0.6; }

/* ============ Animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg) scale(1.1); }
  75% { transform: rotate(10deg) scale(1.1); }
}

.feature:hover .feature__icon,
.product-card:hover .product-card__icon,
.partner-card:hover .partner-card__icon,
.contact-card:hover .contact-card__icon {
  animation: wiggle 0.5s ease;
}

.logo:hover .logo__icon {
  animation: wiggle 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__circle,
  .float,
  .feature:hover .feature__icon,
  .product-card:hover .product-card__icon,
  .partner-card:hover .partner-card__icon,
  .contact-card:hover .contact-card__icon,
  .logo:hover .logo__icon {
    animation: none;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .nav { gap: 16px; font-size: 0.95rem; }
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .partnership__grid { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__buttons { justify-content: center; }
  .hero__art { margin-top: 20px; }
  .about__inner { grid-template-columns: 1fr; }
  .about__art { max-width: 420px; margin: 0 auto; width: 100%; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__art { order: -1; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 14px 24px rgba(61, 44, 30, 0.12);
    font-size: 1rem;
  }

  .nav.open { max-height: 420px; }

  .nav a { padding: 14px 0; width: 100%; text-align: center; }

  .nav a::after { display: none; }

  .burger { display: flex; }

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

@media (max-width: 520px) {
  .features__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .product-card--star { order: -1; }
  .partner-card { padding: 30px 24px; }
}
