/* Nila Ruchikoottu – green, gold and cream (from the logo, labels and visiting card) */
:root {
  --green: #143d24;
  --green-dark: #0d2918;
  --gold: #b08527;
  --gold-light: #d4a843;
  --cream: #fbf8eb;
  --sand: #f3eed8;
  --red: #9a3412;
  --ink: #1b2a1f;
  --muted: rgba(27, 42, 31, .75);
  --line: rgba(176, 133, 39, .25);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ml: "Noto Sans Malayalam", sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-md: 0 6px 16px -4px rgba(13, 41, 24, .15);
  --shadow-lg: 0 18px 40px -12px rgba(13, 41, 24, .3);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(212, 168, 67, .3); color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; color: var(--green); line-height: 1.15; }
p { margin: 0; }
[lang="ml"] { font-family: var(--ml); }
[hidden] { display: none !important; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

.kicker { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; font-weight: 600; font-size: .9rem; padding: .8rem 1.5rem; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .65rem 1.2rem; font-size: .8rem; }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-dark); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-md); }
.btn-gold:hover { background: var(--gold-light); color: var(--green-dark); }
.btn-outline { border-color: rgba(20, 61, 36, .3); color: var(--green); background: #fff; }
.btn-outline:hover { background: var(--sand); }
.btn-outline-light { border-color: rgba(251, 248, 235, .85); color: var(--cream); background: rgba(13, 41, 24, .35); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: var(--cream); color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Announcement */
.announce { background: var(--green); color: var(--cream); text-align: center; font-size: .8rem; font-weight: 500; letter-spacing: .02em; padding: .6rem 1rem; border-bottom: 2px solid var(--gold); }
.announce-regular { display: none; }
.after-opening .announce-opening { display: none; }
.after-opening .announce-regular { display: inline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 235, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.brand img { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.brand-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--green); line-height: 1.1; }
.brand-sub { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: .15rem; }
.main-nav { display: none; gap: 2rem; font-size: .9rem; font-weight: 600; color: rgba(27, 42, 31, .8); }
.main-nav a:hover { color: var(--gold); }
.btn-header { padding: .65rem 1.1rem; font-size: .85rem; white-space: nowrap; }
@media (min-width: 900px) { .main-nav { display: flex; } }
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand img { width: 2.75rem; height: 2.75rem; }
  .brand-name { font-size: 1.1rem; }
  .btn-header span { display: none; }
  .btn-header { padding: .7rem; }
  .btn-header svg { width: 22px; height: 22px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green-dark); color: var(--cream); padding: 6rem 0; border-bottom: 3px solid var(--gold); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 41, 24, .94) 0%, rgba(13, 41, 24, .78) 45%, rgba(13, 41, 24, .15) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 72rem; }
.hero-content > * { max-width: 40rem; }
.hero-pill { display: inline-block; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hero h1 { color: var(--cream); font-size: 2.4rem; line-height: 1.12; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hero-ml { margin-top: 1rem; color: var(--gold-light); font-size: 1.1rem; font-weight: 700; }
.hero-lead { margin-top: 1rem; font-size: 1.02rem; color: rgba(251, 248, 235, .92); line-height: 1.7; max-width: 34rem; }
.hero-lead strong { color: var(--gold-light); }
.hero .btn-row { margin-top: 2rem; }
@media (min-width: 640px) { .hero { padding: 8rem 0; } .hero h1 { font-size: 3.2rem; } }
@media (min-width: 1024px) { .hero { padding: 9.5rem 0; } .hero h1 { font-size: 3.75rem; } }
@media (max-width: 640px) { .hero-shade { background: linear-gradient(180deg, rgba(13, 41, 24, .82), rgba(13, 41, 24, .9)); } }

/* Story */
.story { padding: 5rem 0; background: var(--cream); }
.story-grid { display: grid; gap: 3rem; align-items: center; }
.story-art { display: flex; flex-direction: column; align-items: center; max-width: 20rem; margin: 0 auto; width: 100%; }
@media (max-width: 640px) { .story-art { max-width: 15rem; } }
.story-label-oil { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-lg); border: 5px solid #fff; background: #fff; }
.story-label-sambar { width: 48%; margin-top: -2.5rem; position: relative; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-lg); border: 4px solid #fff; background: #fff; transform: rotate(6deg); }
.story-text > * + * { margin-top: 1.1rem; }
.story-text h2 { font-size: 2rem; }
.story-ml { color: var(--gold); font-weight: 700; }
.story-text p { color: var(--muted); }
.story-text p strong { color: var(--green); }
.steps { list-style: none; padding: 0; display: grid; gap: .8rem; counter-reset: s; }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: .9rem 1rem .9rem 3.4rem; font-size: .88rem; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.step-title { display: block; font-weight: 700; color: var(--green); font-size: .95rem; }
.story-text .btn { margin-top: 1.6rem; }
@media (min-width: 640px) { .story { padding: 6rem 0; } .story-text h2 { font-size: 2.4rem; } .steps { grid-template-columns: repeat(3, 1fr); } .steps li { padding: 3.2rem 1rem 1rem; } .steps li::before { top: 1rem; transform: none; } }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

/* Products */
.products { position: relative; overflow: hidden; padding: 5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.products-bg { position: absolute; inset: 0; background: var(--sand); }
.products-bg img { width: 100%; height: 100%; object-fit: cover; }
.products-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 248, 235, .86), rgba(251, 248, 235, .8) 50%, rgba(243, 238, 216, .9)); }
.products-inner { position: relative; z-index: 1; }
.products-head { text-align: center; max-width: 44rem; margin: 0 auto; background: rgba(251, 248, 235, .9); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 1.5rem; padding: 2rem 1.25rem; box-shadow: var(--shadow-sm); }
.products-head h2 { font-size: 1.9rem; margin-top: .5rem; }
.products-head p { margin-top: .75rem; color: var(--muted); font-size: .95rem; }
.filters { margin-top: 1.5rem; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .4rem; background: #fff; padding: .4rem; border-radius: 1.5rem; border: 1px solid var(--line); }
.filter-btn { font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink); background: none; border: 0; padding: .6rem 1rem; border-radius: 999px; cursor: pointer; transition: background-color .15s, color .15s; }
.filter-btn:hover { background: var(--sand); }
.filter-btn.is-active { background: var(--green); color: var(--cream); }
.product-grid { margin-top: 3rem; display: grid; gap: 1.4rem; }
.product-card { background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow-md); display: flex; flex-direction: column; justify-content: space-between; transition: box-shadow .2s; }
.product-card:hover { box-shadow: var(--shadow-lg); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; }
.tag-gold { color: #8a6516; background: rgba(176, 133, 39, .14); }
.tag-green { color: var(--green); background: rgba(20, 61, 36, .09); }
.tag-red { color: var(--red); background: rgba(154, 52, 18, .09); }
.size { font-size: .78rem; font-weight: 500; color: rgba(27, 42, 31, .6); }
.product-card h3 { font-size: 1.25rem; margin-top: 1rem; }
.product-card p { margin-top: .6rem; font-size: .9rem; color: var(--muted); line-height: 1.65; }
.card-foot { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(176, 133, 39, .18); display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.note { font-size: .82rem; font-weight: 600; color: var(--green); }
.card-foot a { font-size: .8rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.card-foot a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .products { padding: 6rem 0; } .products-head { padding: 2.25rem 2.5rem; } .products-head h2 { font-size: 2.3rem; } .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

/* Promise */
.promise { padding: 4.5rem 0; }
.promise-grid { display: grid; gap: 1.2rem; text-align: center; }
.promise-card { background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.75rem 1.25rem; box-shadow: var(--shadow-sm); }
.promise-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--sand); margin-bottom: .9rem; }
.promise-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.promise-card h3 { font-size: 1.1rem; }
.promise-card p { margin-top: .4rem; font-size: .85rem; color: var(--muted); }
@media (min-width: 640px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } }

/* Visit */
.visit { padding: 5rem 0; background: var(--sand); border-top: 1px solid var(--line); }
.visit-grid { display: grid; gap: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-md); padding: 0; }
.visit-info { padding: 2rem 1.5rem; }
.visit-info h2 { font-size: 1.9rem; margin: .5rem 0 1.25rem; }
address { font-style: normal; line-height: 1.75; color: var(--muted); }
address strong { color: var(--green); }
.contact-list { margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.contact-list dd { margin: .15rem 0 0; }
.contact-list a { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--green); word-break: break-word; }
.contact-list a:hover { color: var(--gold); }
.visit-info .btn-row { margin-top: 1.75rem; }
.map { min-height: 320px; background: var(--sand); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (min-width: 640px) { .visit { padding: 6rem 0; } .visit-info { padding: 3rem; } }
@media (min-width: 1024px) { .visit-grid { grid-template-columns: 5fr 7fr; gap: 0; } }
@media (max-width: 640px) { .visit .container.visit-grid { margin: 0 1rem; } }

/* Footer */
.site-footer { background: var(--green-dark); color: var(--cream); padding: 4rem 0 2rem; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(251, 248, 235, .15); }
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand img { width: 3rem; height: 3rem; border-radius: 50%; }
.footer-name { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--gold-light); }
.footer-ml { display: block; font-size: .85rem; color: rgba(251, 248, 235, .75); }
.site-footer h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .8rem; }
.site-footer p { font-size: .9rem; color: rgba(251, 248, 235, .85); line-height: 1.7; }
.site-footer p + p { margin-top: .35rem; }
.site-footer p a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer p a:hover { color: var(--gold-light); }
.site-footer .btn { margin-top: 1.1rem; }
.footer-bottom { padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.footer-bottom p { font-size: .78rem; color: rgba(251, 248, 235, .6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
