/* =========================
   AGROMINA GROUP WEBSITE
   File: style.css
   ========================= */

:root {
  --green: #007a3d;
  --green-dark: #035b31;
  --red: #ed0014;
  --yellow: #ffcc33;
  --navy: #0f172a;
  --slate: #475569;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--light);
  color: var(--navy);
  line-height: 1.6;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-wrapper {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  width: 150px;
  height: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  transition: 0.2s ease;
}

.nav-menu a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 122, 61, 0.22);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--navy);
  border-radius: 5px;
}

/* HERO */
.hero {
  padding: 150px 0 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(0, 122, 61, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 204, 51, 0.22), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(0, 122, 61, 0.09);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.hero h1::first-line {
  color: var(--navy);
}

.hero p {
  max-width: 660px;
  margin-top: 28px;
  font-size: 18px;
  color: var(--slate);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-card {
  padding: 10px;
  border-radius: 44px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card-inner {
  padding: 36px;
  border-radius: 36px;
  color: var(--white);
  background: linear-gradient(145deg, #0f172a, #064e3b 56%, #0f172a);
}

.hero-logo {
  width: 190px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.hero-tag {
  width: fit-content;
  margin-top: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #dcfce7;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.stat-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
  font-size: 34px;
  line-height: 1;
  color: var(--white);
}

.stat-card p {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.location-box {
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.location-box span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

/* GENERAL SECTION */
.section {
  padding: 100px 0;
}

.white-section {
  background: var(--white);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.section h2,
.two-column h2 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.section p,
.two-column p {
  margin-top: 24px;
  color: var(--slate);
  font-size: 17px;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
}

.section-heading .section-label {
  margin: 0 auto;
}

.feature-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-item {
  padding: 18px;
  border-radius: 20px;
  background: var(--light);
  border: 1px solid var(--border);
  font-weight: 800;
  color: #334155;
}

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

.photo-placeholder {
  min-height: 220px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8fafc, #ecfeff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}

.photo-placeholder span {
  font-size: 18px;
  font-weight: 900;
}

.photo-placeholder small {
  margin-top: 8px;
  color: #64748b;
}

/* DARK STRIP */
.dark-strip {
  padding: 58px 0;
  background: var(--navy);
  color: var(--white);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-row div {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-row h3 {
  font-size: 34px;
  color: var(--yellow);
}

.stat-row p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

/* SERVICES */
.service-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 50px rgba(15, 23, 42, 0.05);
  transition: 0.25s ease;
}

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

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(0, 122, 61, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.service-card h3 {
  margin-top: 22px;
  font-size: 21px;
}

.service-card p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--slate);
}

/* ADVANTAGES */
.advantage-list {
  display: grid;
  gap: 14px;
}

.advantage-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: start;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: var(--light);
  border: 1px solid var(--border);
}

.advantage-item span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}

.advantage-item p {
  margin: 0;
  font-size: 16px;
}

/* EXPANSION */
.expansion-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.expansion-card,
.timeline-item,
.chart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 12px 50px rgba(15, 23, 42, 0.05);
}

.expansion-card h3,
.chart-card h3 {
  font-size: 28px;
}

.expansion-card p {
  margin-top: 16px;
  color: var(--slate);
}

.big-number {
  margin-top: 34px;
  width: fit-content;
  padding: 20px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--green), var(--navy));
  color: var(--white);
  font-size: 70px;
  line-height: 1;
  font-weight: 950;
}

.expansion-card span {
  display: block;
  margin-top: 16px;
  color: var(--slate);
}

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

.timeline-item strong {
  color: var(--green);
  font-size: 14px;
}

.timeline-item h4 {
  margin-top: 10px;
  font-size: 21px;
}

.timeline-item p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--slate);
}

/* PROCESS */
.process-row {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process-row div {
  padding: 30px 18px;
  border-radius: 26px;
  background: var(--light);
  border: 1px solid var(--border);
  text-align: center;
  font-weight: 900;
  position: relative;
}

.process-row div:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* FINANCE */
.table-wrapper {
  margin-top: 30px;
  overflow-x: auto;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 16px;
}

td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  color: #334155;
}

td:first-child {
  font-weight: 900;
  color: var(--navy);
}

.chart-card {
  min-height: 500px;
}

.chart-card p {
  margin-top: 8px;
  color: var(--slate);
}

.bar-chart {
  height: 350px;
  margin-top: 40px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.bar-item {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.bar {
  width: 100%;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #00a95c, var(--green-dark));
}

.bar-item span {
  font-weight: 900;
  color: #334155;
}

/* INVESTMENT */
.investment-section {
  background: var(--navy);
  color: var(--white);
}

.investment-section p {
  color: rgba(255, 255, 255, 0.72);
}

.gold-label {
  background: rgba(255, 204, 51, 0.12);
  color: var(--yellow);
}

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

.investment-grid div {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.investment-grid h3 {
  font-size: 34px;
  color: var(--yellow);
}

.investment-grid p {
  margin-top: 6px;
  font-size: 14px;
}

/* TEAM */
.team-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.team-card {
  padding: 28px 18px;
  border-radius: var(--radius-lg);
  background: var(--light);
  border: 1px solid var(--border);
  text-align: center;
}

.avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 24px;
}

.team-card h3 {
  margin-top: 18px;
  font-size: 17px;
}

.team-card p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--slate);
}

/* CONTACT */
.contact-box {
  border-radius: 44px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--navy));
  box-shadow: var(--shadow);
}

.contact-content h2 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-form {
  background: var(--white);
  color: var(--navy);
  border-radius: 32px;
  padding: 30px;
}

.contact-form h3 {
  font-size: 26px;
}

.contact-form p {
  margin: 8px 0 20px;
  font-size: 14px;
  color: var(--slate);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  outline: none;
  font-family: inherit;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

/* FOOTER */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.footer-wrapper img {
  width: 140px;
}

.footer-wrapper p {
  color: var(--slate);
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 86px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .nav-menu a:hover {
    background: var(--light);
  }

  .hero-grid,
  .two-column,
  .expansion-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .stat-row,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-row {
    grid-template-columns: 1fr;
  }

  .process-row div::after {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-logo {
    width: 128px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-card-inner {
    padding: 24px;
  }

  .stat-grid,
  .feature-grid,
  .photo-grid,
  .service-grid,
  .stat-row,
  .timeline,
  .investment-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .contact-box {
    padding: 28px;
    border-radius: 32px;
  }

  .footer-wrapper {
    flex-direction: column;
    text-align: center;
  }
}
