/* ==========================================================================
   OROSMA India landing page - main stylesheet
   Colours / spacing are defined once in :root so they are easy to change.
   ========================================================================== */

:root {
  --ink: #1F2328;
  --ink-soft: #4A5058;
  --muted: #5A6068;
  --gold: #C9A13B;
  --gold-light: #E6C878;
  --gold-dark: #86640F;
  --cream: #FBF6E8;
  --grey-bg: #F5F4F1;
  --line: #E4E1DA;
  --white: #FFFFFF;
  --error: #B3261E;
  --success: #1B7F3B;
  --wa-green: #18A24F;
  --radius: 16px;
  --wrap: 1200px;
  --header-h: 100px;   /* height of the sticky header, used so anchor links do not hide under it */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); }
a:hover { color: var(--ink); }
h2, h3, p, ul, ol, address { margin: 0; }
ul, ol { padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn--gold { background: var(--gold); color: var(--ink); padding: 12px 22px; }
.btn--gold:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); font-size: 16px; padding: 16px 28px; }
.btn--dark:hover { color: var(--white); }
.btn--block { width: 100%; height: 52px; padding: 0; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #D9DCE0; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #D9DCE0; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(31,35,40,.06); }
.header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.brand img { height: 36px; width: auto; align-self: flex-start; }
.brand span { font-size: 12px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero img { width: 100%; height: auto; }

/* ---------- Generic section ---------- */
.section { padding: 72px 0; background: var(--white); }
.section > .wrap { display: flex; flex-direction: column; gap: 40px; }
.section--cream { background: var(--cream); }
.section--grey  { background: var(--grey-bg); }
.section--dark  { background: var(--ink); color: var(--white); }
.section--gold  { background: var(--gold-light); }

.section__head { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--gold-dark); }
.eyebrow--light { color: var(--gold-light); }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-weight: 600; }

/* ---------- About ---------- */
.section--cream > .about__inner { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; }
.about__img {
  flex: 1 1 420px; min-width: 0; height: auto;
  aspect-ratio: 1398 / 1125; object-fit: cover; border-radius: var(--radius);
}
.about__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__text h2 { line-height: 1.15; }
.about__text p, .about__brand p { font-size: 17px; color: var(--ink-soft); }
.about__brand { border-top: 1px solid #E4D9B8; padding-top: 28px; margin-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.about__brand h3 { font-size: 26px; font-weight: 700; line-height: 1.2; }

/* ---------- Three ranges ---------- */
.range { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.range__card { background: var(--grey-bg); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.range__card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.range__card h3 { font-size: 22px; }
.range__card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- All categories ---------- */
/* 42 categories: 7 per row (6 rows) on desktop, 6 per row (7 rows) on tablet, 3 per row, then 2 per row on phones */
.cat-grid { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.cat {
  background: var(--white); border-radius: 12px; padding: 16px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.cat img { width: min(96px, 100%); height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }
.cat span { font-weight: 600; font-size: 14px; line-height: 1.3; }

/* ---------- Why OROSMA ---------- */
.why { display: flex; flex-wrap: wrap; gap: 24px; }
.why__box { flex: 1 1 240px; min-width: 0; border: 1px solid #3A4048; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.why__box h3 { font-size: 20px; color: var(--gold-light); }
.why__box p { font-size: 15px; color: #C9CDD2; }

/* ---------- Enquiry ---------- */
.section--gold > .contact__inner { flex-direction: row; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact__intro { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lead { font-size: 17px; }
.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.steps li { counter-increment: step; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before { content: counter(step) "."; font-weight: 700; min-width: 24px; }

.form { flex: 1 1 400px; min-width: 0; background: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 0 14px; border: 1.5px solid #B9B2A3; border-radius: 8px;
  font-family: inherit; font-size: 16px; color: var(--ink); background: var(--white);
}
.field input { height: 48px; }
.field textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(201,161,59,.35); }
.field .invalid { border-color: var(--error); }
.err { color: var(--error); font-size: 13px; }
.err:empty { display: none; }
.status { font-size: 14px; }
.status:empty { display: none; }
.status.is-ok { color: var(--success); }
.status.is-error { color: var(--error); }
.status a { color: inherit; }
.legal { font-size: 12px; color: var(--muted); line-height: 1.5; }
.legal a { color: inherit; }
.hp { position: absolute; left: -9999px; }

/* Google's floating badge is hidden; the required notice is shown in .legal instead. */
.grecaptcha-badge { visibility: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9CDD2; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-top: 64px; padding-bottom: 40px; font-size: 14px; }
.footer__col { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col--brand { gap: 16px; }
.footer__col--links { flex-basis: 200px; }
.footer__logo { background: var(--white); border-radius: 12px; padding: 10px 16px; align-self: flex-start; }
.footer__logo img { height: 104px; width: auto; }
.footer__lead { color: var(--white); font-weight: 600; margin-top: 8px; }
.footer__title { color: var(--white); font-weight: 700; letter-spacing: .1em; }
.footer__company { color: var(--white); font-weight: 600; }
.site-footer a { color: #C9CDD2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer__bar { border-top: 1px solid #3A4048; }
.footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; }
.footer__bar a { color: var(--gold-light); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.28); text-decoration: none;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 719px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 979px) {
  :root { --header-h: 102px; }
  /* compact sticky header on tablet/phone: the header WhatsApp button is dropped (the floating WhatsApp button covers it) */
  .header__inner { padding-top: 10px; padding-bottom: 10px; gap: 6px 16px; }
  .brand { gap: 4px; }
  .brand img { height: 30px; }
  .brand span { font-size: 11px; }
  .nav { gap: 6px 18px; font-size: 14px; }
  .nav .btn--gold { display: none; }
}
@media (max-width: 400px) {
  .nav { gap: 6px 12px; font-size: 12.5px; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section > .wrap { gap: 32px; }
  h2 { font-size: 30px; line-height: 1.3; }
  .about__brand h3 { font-size: 22px; }
}
@media (max-width: 479px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding: 48px 0; }
  h2 { font-size: 26px; line-height: 1.3; }
  .form { padding: 24px 20px; }
  .why__box { padding: 22px; }
  .footer__inner { padding-top: 48px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wa-float { transition: none; }
}
