/* ==========================================================
   MOFSHEK Water: styles
   Colours are variables. Once the real logo is supplied, adjust
   --ink / --blue / --aqua here and the whole site follows.
   ========================================================== */
:root {
  --ink: #0a2540;      /* deep navy: text, dark section */
  --blue: #0e6ba8;     /* primary action colour */
  --blue-dark: #0a5586;
  --aqua: #7cc8e3;     /* accent on dark backgrounds */
  --mist: #eaf4f8;     /* pale tint: hero, footer */
  --paper: #fafcfd;    /* page background */
  --line: #cfe1ea;     /* hairlines */
  --muted: #476079;    /* secondary text */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 1.25rem;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.5rem, 9vw, 2.75rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.6rem); }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

.eyebrow { font-size: 1rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }
.eyebrow--light { color: var(--aqua); }

/* Buttons: square-cornered, not pills */
.btn {
  display: inline-block; padding: .85rem 1.4rem; background: var(--blue); color: #fff;
  font-weight: 600; text-decoration: none; border-radius: var(--radius); transition: background .2s ease;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn--small { padding: .55rem 1rem; font-size: .95rem; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--aqua); padding-bottom: 2px; color: var(--ink); transition: border-color .2s ease; }
.link-arrow:hover { border-color: var(--blue); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand-wrap { display: flex; align-items: center; gap: 1rem; }
.brand-wrap a { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.15rem; color: var(--blue); }

.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; }
.brand img { display: block; height: 50px; width: auto; }

.nav-toggle { background: none; border: 0; padding: .75rem; margin-right: -.75rem; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-nav li a { display: block; padding: .7rem 0; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { background: var(--mist); padding-top: 2.25rem; }
.hero__grid { display: grid; gap: 2rem; }
.hero-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--blue); margin-bottom: .5rem; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin: 1.25rem 0 1.75rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }

.hero__visual { margin: 0; align-self: end; }
.hero__visual svg { display: block; width: 100%; height: auto; max-height: 300px; }
.ruler { stroke: var(--blue); opacity: .45; }
.waterline { stroke: var(--ink); stroke-width: 2; }
.size-labels text { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: var(--ink); letter-spacing: .04em; }

/* bottle illustration parts */
.b-cap { fill: var(--blue); }
.b-body { fill: #ffffff; fill-opacity: .75; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.b-label { fill: var(--blue); }
.b-shine { fill: none; stroke: var(--aqua); stroke-width: 3; stroke-linecap: round; opacity: .8; }

.facts { margin-top: 2rem; border-top: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 1.25rem 0; place-items: center;}
.facts dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .15rem 0 0; font-weight: 600; font-size: .95rem; }

/* ---------- Sizes ---------- */
.sizes { padding: 4rem 0 5rem; }
.sizes__grid { display: grid; gap: 2rem; }
.size-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.size-list li {
  display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "icon name" "icon meta";
  align-items: end; column-gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.size-icon { grid-area: icon; align-self: center; width: auto; }
.size-name { grid-area: name; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.size-meta { grid-area: meta; color: var(--muted); font-size: .95rem; margin-top: .4rem; }
.note { color: var(--muted); margin: 0; }

/* ---------- Quality (dark section) ---------- */
.quality { position: relative; background: var(--ink); color: #e6eff5; padding: 5rem 0 4.5rem; }
.wave { position: absolute; top: -1px; left: 0; width: 100%; height: 28px; fill: var(--paper); }
.quality__grid { display: grid; gap: 2.5rem; }
.quality h2 { color: #fff; margin-bottom: 1.25rem; }
.quality strong { color: #fff; }
.credentials { margin: 0; border-top: 1px solid rgba(255,255,255,.2); align-self: start; }
.credentials div { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.credentials dt { color: var(--aqua); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.credentials dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Contact ---------- */
.contact { padding: 5rem 0; }
.contact__grid { display: grid; gap: 2.25rem; }
.contact .section-head .btn { margin-top: 1.5rem; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; gap: .35rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.value { display: flex; flex-direction: column; gap: .15rem; font-size: 1.15rem; font-weight: 500; }
.value a { color: var(--ink); text-decoration-color: var(--aqua); text-decoration-thickness: 2px; text-underline-offset: 4px; width: fit-content; transition: text-decoration-color .2s ease; }
.value a:hover { text-decoration-color: var(--blue); }
address { font-style: normal; }
.value address + a { font-size: .95rem; font-weight: 500; margin-top: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 2rem 0; }
.footer__inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; }
.site-footer img { height: 80px; width: auto; }
.site-footer p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Tablet and up ---------- */
@media (min-width: 760px) {
  :root { --gutter: 2rem; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 2rem; position: static; border: 0; padding: 0; background: none; }
  .site-nav ul { display: flex; gap: 2rem; margin: 0; }
  .site-nav li a { padding: .25rem 0; border: 0; font-size: .95rem; }
  .site-nav li a:hover { color: var(--blue); }

  .hero { padding-top: 3.5rem; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem; }
  .hero__visual svg { max-height: 360px; }
  .facts dl { padding: 1.5rem 0; }
  .facts dd { font-size: 1.05rem; }

  .sizes__grid { grid-template-columns: .8fr 1.2fr; column-gap: 4rem; align-items: start; }
  .sizes .note { grid-column: 2; }
  .quality__grid { grid-template-columns: 1.3fr .7fr; column-gap: 4rem; }
  .contact__grid { grid-template-columns: .8fr 1.2fr; column-gap: 4rem; }
  .contact-list li { grid-template-columns: 9rem 1fr; align-items: baseline; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
