
/* ==========================================
   ALVALA COMPANY LIMITED
   SHARED STYLESHEET FOR ALL WEBSITE PAGES
========================================== */

:root {
  --black: #11110f;
  --black-light: #20201b;
  --gold: #c7a45b;
  --gold-light: #e0c47e;
  --cream: #f5f2eb;
  --white: #fffefa;
  --text: #24241f;
  --muted: #77766f;
  --line: #e6e1d6;
  --font: 'Poppins', Arial, sans-serif;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.25rem;
}

em {
  color: var(--gold);
  font-style: normal;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-soft {
  background: var(--cream);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-dark p {
  color: #b8b6ad;
}

/* Buttons and small headings */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow-dark {
  color: #8e6c2e;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: var(--black);
  background: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
}

.btn-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  border-color: var(--gold);
}

.text-link {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  font-size: 0.84rem;
  font-weight: 600;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 17, 15, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

.brand-mark span {
  color: var(--gold);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small {
  margin-top: 4px;
  color: #aaa89f;
  font-size: 0.54rem;
  letter-spacing: 0.17em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu a {
  color: #d3d1ca;
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--gold-light);
}

.nav-menu .nav-contact {
  padding: 9px 16px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid #55534b;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

/* Main home hero and page heroes */

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background-color: var(--black);
  background-size: cover;
  background-position: center;
}

.hero-home {
  min-height: 650px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=1800&q=85');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(12, 12, 10, 0.93),
    rgba(12, 12, 10, 0.72) 58%,
    rgba(12, 12, 10, 0.35)
  );
}

.hero-content {
  padding-top: 85px;
  padding-bottom: 90px;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 25px;
}

.hero-lead {
  max-width: 620px;
  color: #d4d1c7;
  font-size: 0.98rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.hero-location {
  margin-top: 50px;
  color: #d0cec5;
  font-size: 0.75rem;
}

.page-hero {
  min-height: 410px;
  display: flex;
  align-items: center;
}

.page-hero-about {
  background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=85');
}

.page-hero-services {
  background-image: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=1600&q=85');
}

.page-hero-growth {
  background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=85');
}

.page-hero-contact {
  background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=85');
}

.page-hero-content {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5.5vw, 4.6rem);
}

.page-hero-content > p:not(.eyebrow) {
  max-width: 620px;
  color: #d4d1c7;
}

.breadcrumbs {
  margin-top: 25px;
  color: #d4d1c7;
  font-size: 0.74rem;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

/* Intro and section headings */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: start;
}

.intro-grid h2 {
  max-width: 540px;
}

.intro-copy {
  padding-top: 28px;
}

.intro-copy p {
  font-size: 0.91rem;
  line-height: 1.95;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.section-heading > div {
  max-width: 630px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 370px;
  font-size: 0.86rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Home focus cards */

.focus-card {
  position: relative;
  min-height: 300px;
  padding: 32px 28px;
  border: 1px solid #383831;
  background: #191916;
  transition: 0.25s ease;
}

.focus-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.focus-card-featured {
  background: #24221b;
  border-color: rgba(199, 164, 91, 0.7);
}

.card-number {
  position: absolute;
  top: 23px;
  right: 24px;
  color: #858277;
  font-size: 0.75rem;
}

.line-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 20px 0 30px;
  border: 1px solid rgba(199, 164, 91, 0.6);
  color: var(--gold);
  font-size: 1.5rem;
}

.focus-card h3 {
  color: var(--white);
}

.focus-card p {
  font-size: 0.82rem;
  line-height: 1.85;
}

.card-link {
  color: var(--gold-light);
  font-size: 0.77rem;
  font-weight: 600;
}

/* Image and text feature */

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.feature-image {
  min-height: 420px;
  background-position: center;
  background-size: cover;
}

.image-mining {
  background-image: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=1100&q=85');
}

.image-processing {
  background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1100&q=85');
}

.image-partnership {
  background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1100&q=85');
}

.feature-copy > p:not(.eyebrow) {
  line-height: 1.95;
}

.feature-copy .btn {
  margin-top: 12px;
}

.check-list {
  list-style: none;
  margin: 25px 0;
  padding: 0;
}

.check-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(130, 125, 110, 0.18);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Location banner and CTA */

.location-band {
  padding: 45px 0;
  background: #22221d;
  color: var(--white);
}

.location-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.location-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.location-band .eyebrow {
  margin-bottom: 10px;
}

.location-band-inner > p {
  max-width: 330px;
  margin: 0;
  color: #c1bfb5;
  font-size: 0.84rem;
}

.location-band .btn {
  flex-shrink: 0;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 55px;
  background: var(--cream);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
}

.cta-panel .eyebrow {
  margin-bottom: 14px;
}

/* About page cards */

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.statement-card {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
}

.statement-card-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.statement-card h2 {
  font-size: 1.9rem;
}

.statement-card p:last-child {
  margin-bottom: 0;
  line-height: 1.9;
}

.statement-card-dark p:last-child {
  color: #b8b6ad;
}

.values-grid {
  row-gap: 18px;
}

.value-card {
  min-height: 175px;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s;
}

.value-card:hover {
  border-color: var(--gold);
}

.value-card > span {
  display: block;
  margin-bottom: 18px;
  color: #a17b37;
  font-size: 0.73rem;
}

.value-card h3 {
  margin-bottom: 10px;
}

.value-card p {
  margin-bottom: 0;
  font-size: 0.81rem;
  line-height: 1.8;
}

/* Services detail list */

.service-detail {
  display: grid;
  grid-template-columns: 45px 55px 1fr;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid #37372f;
}

.service-detail:first-child {
  padding-top: 0;
}

.service-detail:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-detail-number {
  padding-top: 10px;
  color: var(--gold);
  font-size: 0.78rem;
}

.service-detail-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 164, 91, 0.6);
  color: var(--gold);
  font-size: 1.5rem;
}

.service-detail-copy {
  max-width: 780px;
}

.service-detail-copy .eyebrow {
  margin-bottom: 10px;
}

.service-detail-copy h2 {
  font-size: 2rem;
}

.service-detail-copy > p:not(.eyebrow) {
  line-height: 1.9;
}

.service-detail .check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 24px;
}

.service-detail .check-list li {
  border: 0;
}

/* Growth cards */

.growth-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}

.growth-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.growth-card-image {
  height: 220px;
  background-position: center;
  background-size: cover;
}

.image-trade {
  background-image: url('https://images.unsplash.com/photo-1488459716781-31db52582fe9?auto=format&fit=crop&w=900&q=80');
}

.image-farming {
  background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=900&q=80');
}

.image-livestock {
  background-image: url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=900&q=80');
}

.growth-card-body {
  padding: 25px;
}

.status-label {
  display: inline-block;
  padding: 5px 9px;
  color: #86672e;
  background: #f3ead5;
  font-size: 0.62rem;
  font-weight: 600;
}

.growth-card h3 {
  margin: 15px 0 10px;
}

.growth-card p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

/* Contact page */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.contact-intro > p:not(.eyebrow) {
  line-height: 1.9;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: #94712e;
  font-size: 1.2rem;
}

.contact-info-card small {
  display: block;
  margin-bottom: 4px;
  color: #967333;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.contact-info-card strong {
  font-size: 0.87rem;
}

.contact-info-card p {
  margin: 3px 0 0;
  font-size: 0.8rem;
}

.small-note {
  margin-top: 20px;
  font-size: 0.74rem;
}

.contact-form {
  padding: 35px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.contact-form h3 {
  margin-bottom: 5px;
  font-size: 1.55rem;
}

.form-subtitle {
  margin-bottom: 25px;
  font-size: 0.77rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}

.form-row label {
  font-size: 0.77rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #d9d2c3;
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  font-size: 0.82rem;
}

.form-row textarea {
  min-height: 125px;
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 1.4em;
  margin: 14px 0 0;
  font-size: 0.77rem;
}

.form-status.is-error {
  color: #a13b2d;
}

/* Footer */

.site-footer {
  padding-top: 42px;
  color: var(--white);
  background: #10100e;
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  padding-bottom: 35px;
}

.footer-main > p {
  margin: 0;
  font-size: 0.73rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.footer-links a {
  color: #b9b7ae;
  font-size: 0.7rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border-top: 1px solid #30302a;
  color: #89877e;
  font-size: 0.68rem;
}

/* Tablet */

@media (max-width: 1000px) {
  .nav-menu {
    gap: 15px;
  }

  .intro-grid,
  .split-feature {
    gap: 40px;
  }

  .contact-layout {
    gap: 35px;
  }

  .footer-main {
    grid-template-columns: 1fr auto;
  }

  .footer-main > p {
    grid-column: 1 / -1;
  }
}

/* Mobile navigation and layouts */

@media (max-width: 800px) {
  .container {
    width: calc(100% - 36px);
  }

  .nav-wrap {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .nav-menu {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 22px;
    background: var(--black);
    border-top: 1px solid #33332d;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu .nav-contact {
    margin-top: 12px;
    text-align: center;
  }

  .section {
    padding: 75px 0;
  }

  .hero-home {
    min-height: 590px;
  }

  .intro-grid,
  .split-feature,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .card-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-image {
    min-height: 340px;
  }

  .location-band-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .vision-mission-grid {
    gap: 14px;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px;
  }
}

/* Small mobile screens */

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-copy strong {
    font-size: 0.84rem;
  }

  .brand-copy small {
    font-size: 0.49rem;
  }

  .hero-home {
    min-height: 570px;
  }

  .hero-content {
    padding-top: 55px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .hero-lead {
    font-size: 0.88rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
  }

  .hero-location {
    margin-top: 32px;
    font-size: 0.68rem;
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero h1 {
    font-size: 2.6rem;
  }

  .page-hero-content {
    padding-top: 48px;
    padding-bottom: 45px;
  }

  .section {
    padding: 60px 0;
  }

  .card-grid.three,
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    min-height: auto;
  }

  .feature-image {
    min-height: 260px;
  }

  .location-band h2 {
    font-size: 1.8rem;
  }

  .cta-panel {
    padding: 30px 23px;
  }

  .cta-panel .btn {
    width: 100%;
  }

  .statement-card {
    padding: 28px 23px;
  }

  .service-detail {
    grid-template-columns: 30px 42px 1fr;
    gap: 10px;
    padding: 30px 0;
  }

  .service-detail-icon {
    width: 40px;
    height: 40px;
  }

  .service-detail-copy h2 {
    font-size: 1.65rem;
  }

  .service-detail .check-list {
    display: block;
  }

  .growth-card-image {
    height: 200px;
  }

  .contact-form {
    padding: 23px 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-main > p {
    grid-column: auto;
  }

  .footer-links {
    gap: 12px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
