/* =============================================
   Aspis Food — Style System
   ============================================= */

:root {
  /* Colors */
  --c-olive: #4a5d3a;
  --c-olive-dark: #3a4a2e;
  --c-olive-light: #6b7f58;
  --c-olive-pale: #e8ece4;
  --c-gold: #c4a35a;
  --c-gold-dark: #a8893e;
  --c-gold-light: #d4b97a;
  --c-cream: #faf8f4;
  --c-warm-white: #f5f2ec;
  --c-charcoal: #2a2a2a;
  --c-text: #3d3d3d;
  --c-text-light: #6b6b6b;
  --c-border: #e5e0d8;
  --c-white: #ffffff;

  /* Typography */
  --f-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --s-section: clamp(80px, 10vw, 140px);
  --s-gap: clamp(16px, 2vw, 32px);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 0.2s var(--ease);
  --t-normal: 0.4s var(--ease);
  --t-slow: 0.6s var(--ease);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;
}

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

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--t-fast);
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Section */
.section {
  padding: var(--s-section) 0;
}

.section__label {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: 16px;
}

.section__label--light {
  color: var(--c-gold-light);
}

.section__title {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--c-charcoal);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section__title--light {
  color: var(--c-white);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}

.section__desc {
  font-size: 1.05rem;
  color: var(--c-text-light);
  line-height: 1.8;
}

/* =============================================
   Navigation
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--t-normal), box-shadow var(--t-normal);
}

.nav--scrolled {
  background-color: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-border);
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-charcoal);
  z-index: 1001;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  color: var(--c-olive);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-text);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--c-gold);
  transition: width var(--t-normal);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--c-charcoal);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 20px 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74, 93, 58, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(196, 163, 90, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(74, 93, 58, 0.05) 0%, transparent 40%);
  background-color: var(--c-cream);
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  opacity: 0.4;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  opacity: 0.3;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  animation: heroFadeIn 1s var(--ease) both;
}

.hero__tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--f-heading);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--c-charcoal);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--c-text-light);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--c-text-light);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}

.btn--primary {
  background-color: var(--c-olive);
  color: var(--c-white);
  border-color: var(--c-olive);
}

.btn--primary:hover {
  background-color: var(--c-olive-dark);
  border-color: var(--c-olive-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74, 93, 58, 0.25);
}

.btn--outline {
  background-color: transparent;
  color: var(--c-olive);
  border-color: var(--c-olive);
}

.btn--outline:hover {
  background-color: var(--c-olive);
  color: var(--c-white);
}

.btn--dark {
  color: var(--c-charcoal);
  border-color: var(--c-charcoal);
}

.btn--dark:hover {
  background-color: var(--c-charcoal);
  color: var(--c-white);
}

.btn--full {
  width: 100%;
}

/* =============================================
   About
   ============================================= */
.about {
  background-color: var(--c-white);
}

.about__intro {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.about__intro .section__title {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Grove Visual */
.about__grove {
  margin-bottom: clamp(60px, 8vw, 100px);
}

.grove-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.grove-visual__img {
  width: 100%;
  height: clamp(280px, 40vw, 480px);
  object-fit: cover;
  display: block;
}

/* Founder Section */
.about__founder {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.founder__photo {
  position: relative;
}

.founder__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.founder__name-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  right: 24px;
  background-color: var(--c-white);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.founder__name {
  display: block;
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-charcoal);
}

.founder__role {
  font-size: 0.8rem;
  color: var(--c-gold-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.founder__story {
  max-width: 580px;
}

.founder__headline {
  font-family: var(--f-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 24px;
  line-height: 1.3;
}

.founder__text {
  color: var(--c-text-light);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.85;
}

.founder__quote {
  margin-top: 28px;
  padding: 24px 28px;
  background-color: var(--c-olive-pale);
  border-left: 4px solid var(--c-olive);
  border-radius: 0 12px 12px 0;
  font-family: var(--f-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--c-olive-dark);
  line-height: 1.7;
}

/* Journey Timeline */
.about__journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.journey__item {
  padding: 28px 24px;
  background-color: var(--c-cream);
  border-radius: 16px;
  border: 1px solid var(--c-border);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.journey__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.journey__year {
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-gold-dark);
  margin-bottom: 12px;
}

.journey__content h4 {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 8px;
}

.journey__content p {
  font-size: 0.875rem;
  color: var(--c-text-light);
  line-height: 1.7;
}

/* Stats */
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--c-border);
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--f-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--c-olive);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--c-text-light);
  letter-spacing: 0.02em;
}

/* =============================================
   Products
   ============================================= */
.products {
  background-color: var(--c-cream);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-gap);
}

.product-card {
  background-color: var(--c-white);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
  border: 1px solid var(--c-border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card__image svg {
  width: 100%;
  height: 100%;
  transition: transform var(--t-slow);
}

.product-card:hover .product-card__image svg {
  transform: scale(1.05);
}

.product-card__content {
  padding: clamp(20px, 3vw, 32px);
}

.product-card__title {
  font-family: var(--f-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 10px;
}

.product-card__desc {
  font-size: 0.925rem;
  color: var(--c-text-light);
  line-height: 1.7;
}

/* =============================================
   Heritage
   ============================================= */
.heritage {
  position: relative;
  background-color: var(--c-olive-dark);
  overflow: hidden;
}

.heritage__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(196, 163, 90, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

.heritage__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.heritage__text {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.heritage__features {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--c-gold);
}

.feature__title {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 6px;
}

.feature__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* =============================================
   CTA
   ============================================= */
.cta {
  background-color: var(--c-warm-white);
  padding: var(--s-section) 0;
}

.cta__card {
  text-align: center;
  padding: clamp(48px, 6vw, 80px);
  background-color: var(--c-white);
  border-radius: 24px;
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.cta__title {
  font-family: var(--f-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 16px;
}

.cta__desc {
  font-size: 1.05rem;
  color: var(--c-text-light);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   Contact
   ============================================= */
.contact {
  background-color: var(--c-white);
}

.contact__center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact__text {
  color: var(--c-text-light);
  margin-bottom: 48px;
  line-height: 1.8;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contact__card {
  background-color: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact__card-icon {
  width: 40px;
  height: 40px;
  color: var(--c-olive);
  margin-bottom: 8px;
}

.contact__card h4 {
  font-family: var(--f-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-charcoal);
  margin-bottom: 4px;
}

.contact__card a:not(.btn),
.contact__card p {
  font-size: 0.9rem;
  color: var(--c-text-light);
  line-height: 1.6;
}

.contact__card a:not(.btn):hover {
  color: var(--c-olive);
}

.btn--small {
  padding: 10px 24px;
  font-size: 0.8rem;
  margin-top: 12px;
}

.contact__social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  color: var(--c-text-light);
  transition: all var(--t-fast);
}

.social-link:hover {
  border-color: var(--c-olive);
  color: var(--c-olive);
  background-color: var(--c-olive-pale);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background-color: var(--c-charcoal);
  padding: clamp(60px, 8vw, 100px) 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: 60px;
}

.footer .nav__logo {
  color: var(--c-white);
  margin-bottom: 16px;
}

.footer .nav__logo-icon {
  color: var(--c-gold);
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer__links h4 {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a,
.footer__links li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--t-fast);
}

.footer__links a:hover {
  color: var(--c-gold);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* =============================================
   Animations (scroll-triggered)
   ============================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 968px) {
  .about__founder {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder__photo {
    max-width: 360px;
    margin: 0 auto;
  }

  .founder__story {
    max-width: 100%;
  }

  .about__journey {
    grid-template-columns: repeat(2, 1fr);
  }

  .heritage__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--c-cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-normal);
  }

  .nav__menu.nav__menu--open {
    opacity: 1;
    pointer-events: all;
  }

  .nav__menu--open .nav__link {
    font-size: 1.25rem;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .about__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about__journey {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__scroll {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__brand {
    margin-bottom: 12px;
  }

  .cta__card {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }

  .about__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .founder__quote {
    padding: 20px 22px;
    font-size: 0.95rem;
  }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
