@import url("https://fonts.googleapis.com/css2?family=Lusitana:wght@400;700&family=Open+Sans:wght@400;600;700;800&display=swap");

:root {
  --green: #1f5c39;
  --green-dark: #123b25;
  --gold: #d8a63a;
  --gold-dark: #b68121;
  --cream: #fffaf0;
  --paper: #ffffff;
  --text: #27231d;
  --muted: #6f695f;
  --line: #e8ddc9;
  --shadow: 0 18px 45px rgba(43, 31, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  background: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.top-bar {
  background: var(--green-dark);
  color: #fff7e7;
  font-size: 0.86rem;
}

.top-bar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar a {
  color: #ffe2a1;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(55, 37, 15, 0.08);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: clamp(86px, 8vw, 126px);
  height: 66px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(45, 30, 12, 0.12));
}

.brand strong {
  display: block;
  color: var(--green-dark);
  font-family: "Lusitana", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.05;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

nav a {
  padding: 10px 0;
}

nav a:hover {
  color: var(--gold-dark);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 50%, rgba(216, 166, 58, 0.34), transparent 24rem),
    linear-gradient(135deg, #123b25 0%, #163d26 44%, #f6ead2 44%, #fff8eb 100%);
}

.hero-overlay {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(90deg, rgba(18, 59, 37, 0.94), rgba(18, 59, 37, 0.76) 48%, rgba(255, 248, 235, 0.1));
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  color: white;
  padding-block: 90px;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-products {
  position: relative;
  min-height: 470px;
}

.hero-products img {
  position: absolute;
  width: min(38%, 240px);
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(34, 22, 8, 0.28));
}

.hero-products img:nth-child(1) {
  left: 3%;
  bottom: 0;
}

.hero-products img:nth-child(2) {
  left: 31%;
  top: 0;
  z-index: 2;
}

.hero-products img:nth-child(3) {
  right: 0;
  bottom: 2%;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Lusitana", Georgia, serif;
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
}

h2 {
  color: var(--green-dark);
  font-size: clamp(2.2rem, 4.4vw, 4.7rem);
}

h3 {
  color: var(--green-dark);
  font-size: 1.42rem;
}

.hero-content p:not(.eyebrow),
.section-copy p,
.section-heading p,
.product-card p,
.variety-grid p,
.nutrition p,
.footer p,
.footer span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: #fff4df;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 12px 22px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #2a1a08;
  background: var(--gold);
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.section {
  padding: clamp(66px, 9vw, 112px) 0;
  scroll-margin-top: 94px;
}

.about,
.quality {
  background: var(--paper);
}

.about-grid,
.quality-grid,
.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.section-copy p,
.section-heading p {
  max-width: 700px;
}

.section-copy .button {
  margin-top: 14px;
}

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

.feature-boxes article,
.variety-grid article,
.nutrition article,
.reasons-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.feature-boxes span {
  color: var(--gold-dark);
  font-weight: 900;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading p {
  margin-inline: auto;
}

.reasons {
  background: #f7efd9;
}

.strip-section {
  padding-top: 36px;
  padding-bottom: 36px;
  background: #f7efd9;
}

.strip-section .seal-strip {
  width: min(760px, 100%);
  margin: 0 auto;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px;
}

.reasons-grid article {
  border-top: 5px solid var(--gold);
}

.collection-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -12px 0 30px;
}

.collection-tabs button {
  border: 1px solid #d7c7ad;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--green-dark);
  background: white;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.collection-tabs button:hover,
.collection-tabs button.is-active {
  border-color: var(--gold);
  background: #fff1c8;
  transform: translateY(-1px);
}

.type-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: -12px 0 26px;
}

.type-tabs:empty {
  display: none;
}

.type-tabs button {
  min-height: 118px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--green-dark);
  background: white;
  box-shadow: 0 10px 26px rgba(43, 31, 16, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.type-tabs button:hover,
.type-tabs button.is-active {
  border-color: var(--gold);
  background: #fff6dc;
  transform: translateY(-2px);
}

.type-tabs img {
  width: 58px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(60, 40, 18, 0.18));
}

.type-tabs span {
  font-weight: 900;
  line-height: 1.2;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  margin: 0 auto 30px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 28%, rgba(216, 166, 58, 0.24), transparent 16rem),
    #fffdf8;
  box-shadow: var(--shadow);
}

.product-detail h3 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.product-detail .spec-list {
  max-width: 520px;
  margin-top: 12px;
}

.detail-image {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.detail-image img {
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(45, 30, 12, 0.24));
}

.products-section {
  background:
    linear-gradient(rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.92)),
    radial-gradient(circle at 20% 10%, rgba(216, 166, 58, 0.24), transparent 26rem);
}

.product-grid {
  display: grid;
  gap: 34px;
}

.rice-family {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.rice-family-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.rice-family-heading p {
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rice-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-select {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(43, 31, 16, 0.2);
}

.product-card.is-selected {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.product-image {
  flex: 0 0 300px;
  display: grid;
  place-items: center;
  padding: 20px 18px 8px;
  background: linear-gradient(180deg, #fff8e8, #ffffff);
}

.product-image img {
  width: 100%;
  height: 278px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 22px rgba(60, 40, 18, 0.28));
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-content {
  flex: 1;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 20px;
  border-top: 4px solid var(--gold);
}

.product-badge {
  width: fit-content;
  padding: 6px 9px;
  color: white;
  background: var(--green);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-content p {
  margin: 0;
  font-size: 0.92rem;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

.spec-list li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.spec-list strong {
  color: var(--text);
}

.varieties {
  background: var(--green-dark);
}

.varieties h2,
.varieties h3 {
  color: white;
}

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

.variety-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.variety-grid p {
  color: #e9dcc7;
}

.quality-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.quality-points span {
  padding: 13px 14px;
  color: var(--green-dark);
  font-weight: 800;
  background: #fff7e2;
  border-left: 4px solid var(--gold);
}

.fssai-card {
  margin-top: 24px;
  width: fit-content;
  min-width: min(100%, 320px);
  padding: 18px 22px;
  border: 1px solid rgba(216, 166, 58, 0.34);
  background: linear-gradient(180deg, #fffdf8, #fff5dc);
  box-shadow: 0 14px 30px rgba(64, 42, 16, 0.08);
}

.fssai-card span,
.fssai-card strong {
  display: block;
}

.fssai-card span {
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.fssai-card strong {
  margin-top: 6px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.quality-badge {
  display: block;
  margin-top: 22px;
}

.quality-badge-image {
  display: block;
  width: min(315px, 100%);
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(72, 44, 14, 0.18));
}

.seal-strip {
  margin-top: 24px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(216, 166, 58, 0.34);
  background: linear-gradient(180deg, rgba(255, 250, 238, 0.98), rgba(252, 243, 217, 0.92));
  box-shadow: 0 16px 34px rgba(64, 42, 16, 0.08);
}

.seal-strip .eyebrow {
  margin-bottom: 12px;
}

.seal-strip-image {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 10px 14px rgba(86, 60, 12, 0.18));
}

.seal-strip p:last-child {
  margin-top: 14px;
  max-width: 60ch;
}

.product-stack {
  min-height: 460px;
  position: relative;
}

.product-stack img {
  position: absolute;
  width: min(38%, 230px);
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgba(45, 30, 12, 0.28));
}

.product-stack img:nth-child(1) {
  left: 0;
  bottom: 0;
}

.product-stack img:nth-child(2) {
  left: 31%;
  top: 0;
  z-index: 2;
}

.product-stack img:nth-child(3) {
  right: 0;
  bottom: 4%;
}

.nutrition {
  background: #f7efd9;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px;
}

.inquiry {
  background: var(--paper);
}

.sack-lineup {
  overflow: hidden;
  background:
    linear-gradient(180deg, #fffaf0 0%, #f3e5c5 100%);
}

.lineup-strip {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  margin-top: 28px;
  padding: clamp(22px, 4vw, 42px) clamp(12px, 3vw, 34px);
  min-height: clamp(220px, 27vw, 360px);
  overflow-x: auto;
  border: 1px solid rgba(206, 168, 94, 0.42);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.95), rgba(255, 247, 226, 0.5) 52%, rgba(214, 174, 93, 0.22) 100%);
  box-shadow: inset 0 -24px 40px rgba(120, 78, 27, 0.08), var(--shadow);
  scrollbar-width: thin;
}

.lineup-strip img {
  flex: 0 0 auto;
  width: clamp(86px, 9.2vw, 138px);
  height: clamp(156px, 18vw, 260px);
  object-fit: contain;
  filter: drop-shadow(0 18px 14px rgba(61, 39, 14, 0.24));
  transform-origin: bottom center;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.lineup-strip img:hover {
  transform: translateY(-10px) scale(1.04);
  filter: drop-shadow(0 26px 20px rgba(61, 39, 14, 0.3));
}

form {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d7c7ad;
  padding: 13px 14px;
  color: var(--text);
  background: white;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.footer {
  padding: 44px 0;
  color: #f9efd7;
  background: #102c1d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}

.footer h3,
.footer strong {
  color: white;
}

.footer-brand {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: block;
  width: 170px;
  max-width: 100%;
  max-height: 128px;
  height: auto;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.24));
}

.footer span,
.footer-product-link,
.footer address {
  display: block;
  margin-top: 8px;
  color: #dfd0b6;
  font-style: normal;
  line-height: 1.75;
}

.footer-product-link {
  width: fit-content;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-product-link:hover,
.footer-product-link:focus-visible {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-product-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.footer p {
  color: var(--gold);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (min-width: 1500px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(245px, 1fr));
  }
}

@media (max-width: 1060px) {
  .about-grid,
  .quality-grid,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-products {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .variety-grid,
  .nutrition-grid,
  .reasons-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .product-stack {
    width: min(100%, 700px);
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .top-bar-inner {
    justify-content: center;
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .nav-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  nav {
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .hero,
  .hero-overlay {
    min-height: 560px;
  }

  .hero-products {
    min-height: 410px;
  }

  h1 {
    font-size: clamp(2.7rem, 11vw, 4.8rem);
  }
}

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

  .top-bar {
    display: none;
  }

  .brand-logo {
    width: 82px;
    height: 52px;
  }

  .brand strong {
    max-width: 250px;
    overflow: hidden;
    font-size: 0.96rem;
    text-overflow: ellipsis;
  }

  .brand small {
    font-size: 0.64rem;
  }

  nav {
    font-size: 0.78rem;
  }

  .hero,
  .hero-overlay {
    min-height: 520px;
  }

  .hero-content {
    padding-block: 58px;
  }

  .hero-products {
    min-height: 330px;
  }

  .hero-products img {
    width: 38%;
    height: 74%;
  }

  .hero-products img:nth-child(1) {
    left: 2%;
  }

  .hero-products img:nth-child(2) {
    left: 31%;
  }

  .hero-products img:nth-child(3) {
    right: 2%;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 3.1rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-boxes,
  .variety-grid,
  .nutrition-grid,
  .quality-points,
  .reasons-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rice-family {
    padding: 14px;
  }

  .rice-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lineup-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    justify-items: center;
    gap: 16px 10px;
    overflow-x: visible;
    padding: 22px 10px;
  }

  .lineup-strip img {
    width: min(100%, 118px);
    height: 190px;
  }

  .footer-logo {
    width: 145px;
    max-height: 110px;
  }

  .detail-image {
    min-height: 260px;
  }

  .detail-image img {
    max-height: 300px;
  }

  .product-card {
    min-height: 365px;
  }

  .product-image {
    flex-basis: 190px;
    padding: 14px 8px 4px;
  }

  .product-image img {
    height: 174px;
  }

  .product-content {
    gap: 7px;
    padding: 12px 10px;
  }

  .product-content h3 {
    font-size: 1.08rem;
    line-height: 1.12;
  }

  .product-content p {
    display: none;
  }

  .product-badge {
    padding: 5px 7px;
    font-size: 0.55rem;
  }

  .spec-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .product-stack {
    min-height: 330px;
  }

  .product-stack img {
    width: 48%;
    height: 72%;
  }

  .product-stack img:nth-child(1) {
    left: -6%;
  }

  .product-stack img:nth-child(2) {
    left: 24%;
  }

  .product-stack img:nth-child(3) {
    right: -7%;
  }
}

@media (max-width: 390px) {
  .brand strong {
    max-width: 205px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .rice-family {
    padding: 10px;
  }

  .rice-family-grid {
    gap: 9px;
  }

  .product-card {
    min-height: 330px;
  }

  .product-image {
    flex-basis: 165px;
  }

  .product-image img {
    height: 152px;
  }

  .product-content {
    padding: 10px 8px;
  }

  .product-content h3 {
    font-size: 0.96rem;
  }

  .lineup-strip {
    gap: 13px 8px;
    padding: 18px 8px;
  }

  .lineup-strip img {
    width: min(100%, 104px);
    height: 168px;
  }
}
