/* ==========================================================================
   Ruhaniyat by Dugran - website styles
   Brand gold: #B19846  (extracted from your logo - 52.6% of all logo pixels)
   Font: Book Antiqua with Palatino / Georgia fallbacks. No web font is loaded,
   so the site has ZERO external requests. It cannot break and it loads instantly
   even on a weak mobile connection.
   ========================================================================== */

:root {
  --gold: #B19846;
  --gold-dark: #8F7A34;
  --gold-pale: #F5EFE0;
  --ink: #1C1C1C;
  --ink-soft: #55524B;
  --paper: #FDFCF9;
  --line: #E7E2D6;
  --white: #FFFFFF;
  --wa: #25D366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Book Antiqua", "Palatino Linotype", Palatino, "Palatino LT STD",
               "URW Palladio L", Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* ------------------------------------------------------------------ header */
header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 50;
}
.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
/* The logo is a full wordmark ("RUHANIYAT BY DUGRAN"), roughly 2.6:1 wide,
   so we size it by HEIGHT and let the width follow. Never set both. */
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
@media (max-width: 560px) { .brand img { height: 30px; } }
nav { display: flex; gap: 24px; align-items: center; }
nav a {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
}
nav a:hover, nav a[aria-current="page"] { color: var(--gold-dark); }

/* -------------------------------------------------------------------- hero */
.hero { padding: 74px 0 60px; text-align: center; }
.eyebrow {
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 20px;
}
h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.05rem);
  font-weight: 400; line-height: 1.2; letter-spacing: .005em;
  max-width: 21ch; margin: 0 auto 22px;
}
.lede {
  font-size: clamp(1rem, 2.4vw, 1.16rem); color: var(--ink-soft);
  max-width: 56ch; margin: 0 auto 34px;
}
.rule {
  width: 62px; height: 2px; background: var(--gold);
  margin: 0 auto 34px; border: 0;
}

/* ----------------------------------------------------------------- buttons */
.btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 27px; border-radius: 2px;
  font-size: .84rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--gold);
  transition: background .18s ease, color .18s ease;
}
.btn-solid { background: var(--gold); color: var(--white); }
.btn-solid:hover { background: var(--gold-dark); border-color: var(--gold-dark);
  color: var(--white); text-decoration: none; }
.btn-line { background: transparent; color: var(--gold-dark); }
.btn-line:hover { background: var(--gold-pale); text-decoration: none; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: var(--white); }
.btn-wa:hover { background: #1DA851; border-color: #1DA851; color: var(--white);
  text-decoration: none; }

/* --------------------------------------------------------------- sections */
section { padding: 58px 0; }
section + section { border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.85rem); font-weight: 400;
  margin-bottom: 12px; letter-spacing: .01em;
}
h3 { font-size: 1.05rem; font-weight: 400; margin-bottom: 7px; color: var(--ink); }
.sub { color: var(--ink-soft); max-width: 60ch; margin-bottom: 34px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------- grids */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line);
  padding: 26px 24px; border-radius: 2px;
}
.card .num {
  font-size: .7rem; letter-spacing: .22em; color: var(--gold-dark);
  text-transform: uppercase; margin-bottom: 11px;
}
.card p { color: var(--ink-soft); font-size: .96rem; }

/* photo tile - swap the placeholder for your own product photo */
.tile {
  border: 1px solid var(--line); background: var(--white); border-radius: 2px;
  overflow: hidden;
}
.tile .ph {
  aspect-ratio: 4 / 5; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; text-align: center; padding: 18px;
}
.tile img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tile .cap { padding: 16px 18px; }
.tile .cap strong { display: block; font-weight: 400; font-size: 1rem; }
.tile .cap span { font-size: .84rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ ribbon */
.ribbon { background: var(--gold-pale); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.ribbon .wrap { padding-top: 46px; padding-bottom: 46px; }

/* -------------------------------------------------------------------- list */
ul.ticks { list-style: none; }
ul.ticks li {
  position: relative; padding-left: 26px; margin-bottom: 11px;
  color: var(--ink-soft);
}
ul.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .68em;
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
}

/* ------------------------------------------------------------------ footer */
footer {
  background: var(--ink); color: #C9C4B8; padding: 46px 0 30px;
  font-size: .9rem;
}
footer a { color: var(--gold); }
footer .cols { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--white); font-weight: 400; margin-bottom: 12px;
}
footer p, footer li { margin-bottom: 7px; }
footer ul { list-style: none; }
.legal {
  border-top: 1px solid #35322C; margin-top: 32px; padding-top: 18px;
  font-size: .8rem; color: #8C877C;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ------------------------------------------------- sticky mobile WhatsApp */
.wa-fixed {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  background: var(--wa); color: var(--white);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.24); text-decoration: none;
}
.wa-fixed svg { width: 29px; height: 29px; fill: currentColor; }
.wa-fixed:hover { background: #1DA851; text-decoration: none; }
@media (min-width: 900px) { .wa-fixed { display: none; } }

@media print { header, .wa-fixed, .btns { display: none; } }
