/* ==========================================================================
   Acquabuddy — aquariums only
   Modernist brand: warm light ground, red accent, ink/teal set, Archivo 800
   headings, square corners, 2px dividers.
   ========================================================================== */

:root {
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --text: #201e1d;
  --accent: #ec3013;        /* display only */
  --accent-solid: #dd2b0f;  /* fills */
  --accent-text: #c72510;   /* small text */
  --accent-deep: #ae1800;
  --accent-100: #fff2ef;
  --n-300: #d7d3d3; --n-600: #7d7979; --n-800: #444141;
  --ink: #062634; --deep: #0a3d55; --teal: #0e8f9e; --aqua: #2fc4c8;
  --divider: rgba(32,30,29,.4);
  --rail: 1320px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --shadow-md: 0 3px 10px rgba(45,43,43,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
p { margin: 0; }
[hidden] { display: none !important; }

.rail { max-width: var(--rail); margin: 0 auto; padding-inline: 32px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow--aqua { color: var(--aqua); }
.lead { font-size: 20px; line-height: 1.5; color: var(--n-800); max-width: 520px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; background: var(--accent-solid); color: #fff;
  font-weight: 700; font-size: 16px; border: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--text); border: 2px solid var(--text); }
.btn--outline:hover { background: var(--text); color: #fff; box-shadow: none; }
.btn--white { background: #fff; color: var(--accent-solid); }
.btn--white:hover { background: #fff; color: var(--accent-deep); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* ----------------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 2px solid var(--divider); }
.navbar { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark { width: 44px; height: 44px; background: var(--ink) url("assets/mark.png") center/112% no-repeat; display: block; flex: none; }
.logo__mark--sm { width: 36px; height: 36px; background-color: var(--deep); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.logo__text small { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--text); }
.nav a:hover { color: var(--accent-text); }
.header__cta { height: 46px; padding: 0 22px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: var(--text); cursor: pointer; }
.drawer { display: none; flex-direction: column; border-top: 2px solid var(--divider); padding: 12px 20px 20px; gap: 4px; }
.drawer a { color: var(--text); font-weight: 600; font-size: 17px; padding: 12px 0; }
.drawer .btn { margin-top: 10px; color: #fff; }
.header.is-open .drawer { display: flex; }

/* ------------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 2px solid var(--divider); }
.hero__copy { padding: 104px 64px 104px max(32px, calc((100vw - var(--rail)) / 2 + 32px)); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.tagrow { display: flex; align-items: center; gap: 14px; }
.kicker { background: var(--accent-solid); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.tagrow__meta { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--n-600); }
.hero h1 { font-size: clamp(44px, 5.4vw, 78px); line-height: .98; text-wrap: balance; }
.cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero__media { position: relative; min-height: 620px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,38,52,.55) 0%, rgba(6,38,52,.1) 40%, rgba(6,38,52,0) 70%); }

/* ----------------------------------------------------------------- series */
.series { border-bottom: 2px solid var(--divider); }
.series__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.series__item { padding: 40px 32px; display: flex; flex-direction: column; gap: 12px; color: var(--text); border-right: 2px solid var(--divider); }
.series__item:first-child { padding-left: 0; }
.series__item:last-child { padding-right: 0; border-right: 0; }
.series__item:hover { color: var(--text); }
.series__item:hover h3 { color: var(--accent-text); }
.series__num { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--accent-text); }
.series__item h3 { font-size: 28px; }
.series__item p { color: var(--n-800); font-size: 15px; }
.series__link { font-weight: 700; color: var(--accent-text); font-size: 15px; }

/* ------------------------------------------------------------------ range */
.range { border-bottom: 2px solid var(--divider); }
.range .rail { padding-top: 88px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.sechead { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: end; }
.sechead > div { display: flex; flex-direction: column; gap: 12px; }
.sechead h2 { font-size: clamp(36px, 4vw, 52px); }
.sechead p { font-size: 18px; color: var(--n-800); max-width: 640px; }
.tabs { display: flex; border: 2px solid var(--text); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs button { padding: 12px 22px; font: inherit; font-weight: 600; font-size: 14px; background: none; border: 0; border-left: 2px solid var(--text); color: var(--text); cursor: pointer; white-space: nowrap; }
.tabs button:first-child { border-left: 0; }
.tabs button[aria-selected="true"] { background: var(--text); color: #fff; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.card { background: #fff; border: 2px solid var(--text); display: flex; flex-direction: column; }
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.card__art { aspect-ratio: 4 / 3; position: relative; display: block; background-size: cover; background-position: center; }
.card__tag { position: absolute; top: 12px; left: 12px; background: var(--text); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.card__body h3 { font-size: 22px; }
.card__body h3 a { color: var(--text); }
.card__body h3 a:hover { color: var(--accent-text); }
.card__meta { font-size: 14px; color: var(--n-600); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.card__price { font-size: 22px; font-weight: 800; color: var(--accent-text); letter-spacing: -0.02em; }
.prodnote { font-size: 14px; color: var(--n-600); }

/* --------------------------------------------------------------- included */
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--deep); color: #eaf6f8; }
.included__media { min-height: 640px; position: relative; }
.included__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.included__copy { padding: 88px 92px 88px 72px; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.included h2 { font-size: clamp(36px, 4vw, 52px); color: #fff; }
.included .lead { color: #bfe0e6; font-size: 18px; }
.numlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid rgba(255,255,255,.22); }
.numlist li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 2px solid rgba(255,255,255,.22); font-size: 17px; font-weight: 600; }
.numlist li span { color: var(--aqua); font-weight: 700; min-width: 28px; }

/* ------------------------------------------------------------------ order */
.order { background: var(--accent-solid); color: #fff; }
.order .rail { padding-top: 88px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.order h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: .98; max-width: 760px; color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 2px solid rgba(255,255,255,.5); padding-top: 32px; }
.steps > div { display: flex; flex-direction: column; gap: 10px; }
.steps span { font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.steps h3 { font-size: 24px; color: #fff; }
.steps p { color: rgba(255,255,255,.88); }
.order__contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-weight: 600; }
.order__phone { color: #fff; font-size: 17px; }
.order__phone:hover { color: #fff; text-decoration: underline; }
.order__terms { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.88); max-width: 760px; }
.order__terms a { color: #fff; text-decoration: underline; }

/* ----------------------------------------------------------------- footer */
.footer { background: var(--ink); color: #cfe3e8; }
.footer__grid { padding-top: 48px; padding-bottom: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; font-size: 14px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; font-size: 16px; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { color: #cfe3e8; }
.footer__nav a:hover { color: var(--aqua); }
.footer__copy { color: #8fb3bc; }

/* --------------------------------------------------------- product page */
.pdp { border-bottom: 2px solid var(--divider); }
.pdp .rail { padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--n-600); flex-wrap: wrap; }
.crumbs a { color: var(--n-800); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.pdp__hero { aspect-ratio: 4 / 3; background-size: cover; background-position: center; border: 2px solid var(--text); }
.pdp__copy { display: flex; flex-direction: column; gap: 22px; }
.pdp__copy h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: .98; }
.pdp__price { font-size: 36px; font-weight: 800; color: var(--accent-text); letter-spacing: -0.02em; }
.pdp__price small { font-size: 14px; font-weight: 500; color: var(--n-600); letter-spacing: 0; margin-left: 10px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 2px solid var(--text); }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 2px solid var(--divider); vertical-align: top; }
.spec th { font-weight: 600; color: var(--n-800); width: 46%; }
.spec td { font-weight: 700; }
.pdp__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.rangehead { border-bottom: 2px solid var(--divider); background: var(--surface); }
.rangehead .rail { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.rangehead h1 { font-size: clamp(40px, 4.6vw, 64px); }
.rangehead p { font-size: 18px; color: var(--n-800); max-width: 640px; }
.rangelist .rail { padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }

/* -------------------------------------------------------------- legal pages */
.legal .rail { max-width: 820px; padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; }
.legal h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: .98; margin-bottom: 4px; }
.legal__updated { font-size: 14px; color: var(--n-600); margin-bottom: 20px; }
.legal h2 { font-size: 22px; margin-top: 22px; padding-top: 22px; border-top: 2px solid var(--divider); }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--n-800); }
.legal ul, .legal ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal strong { color: var(--text); }
.footer__copy { line-height: 1.6; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .included__copy { padding: 64px 48px; }
}
@media (max-width: 860px) {
  .rail { padding-inline: 20px; }
  .navbar { height: 68px; }
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: 260px; }
  .hero__media::after { display: none; }
  .hero__copy { padding: 32px 20px 36px; gap: 18px; }
  .lead { font-size: 17px; }
  .cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta .btn { height: 52px; }
  .series__grid { grid-template-columns: 1fr; }
  .series__item { padding: 24px 0; border-right: 0; border-bottom: 2px solid var(--divider); }
  .series__item:last-child { border-bottom: 0; }
  .range .rail { padding-top: 40px; padding-bottom: 44px; gap: 22px; }
  .sechead { grid-template-columns: 1fr; gap: 12px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .included { grid-template-columns: 1fr; }
  .included__media { min-height: 240px; }
  .included__copy { padding: 40px 20px 44px; gap: 18px; }
  .numlist li { font-size: 15px; gap: 12px; padding: 12px 0; }
  .order .rail { padding-top: 40px; padding-bottom: 44px; gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
  .order__contact .btn { width: 100%; }
  .footer__grid { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 32px; padding-bottom: 32px; }
  .pdp__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .hero h1 { font-size: 48px; }
  .hero__copy { padding: 64px 40px; }
}
