/* ===============================
   Design tokens
   =============================== */
:root{
  --brand:#FA8072;        /* Salmon */
  --ink:#1b1b1b;
  --muted:#666;
  --bg:#fff;
  --card:#fff;

  /* Brand wordmark */
  --brand-brown:#6B4A2D;  /* Vitality */
  --brand-orange:#FF8A00; /* Op. */

  /* Logo sizing base (tweak once, flows everywhere) */
  --logo-base:28px;
}

@media (max-width:700px){
  :root{ --logo-base:24px; }
}

/* ===============================
   Base & layout
   =============================== */
*{ box-sizing:border-box }
html,body{ margin:0; padding:0 }
body{
  font:16px/1.5 Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink); background:var(--bg);
}
.container{ max-width:1040px; margin:0 auto; padding:0 16px }
.site-main{ padding:20px 0 28px }

/* ===============================
   Header: brand + nav + socials
   =============================== */
.site-header{ border-bottom:1px solid #eee; background:#fff; }
.header-inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:78px;
}

/* Brand lockup */
.brand{
  flex:0 0 auto;
  display:inline-flex; align-items:center; gap:10px;
  text-decoration:none; color:inherit;
}
.brand .logo{
  height:calc(var(--logo-base) * 1.875);   /* 2.5x reduced by ~25% */
  max-height:calc(var(--logo-base) * 1.875);
  width:auto; object-fit:contain; image-rendering:-webkit-optimize-contrast;
}
.brand-text{ font-weight:700; letter-spacing:.2px; font-size:1.05rem; line-height:1; }
.brand-text .brand-vital{ color:var(--brand-brown) }
.brand-text .brand-op{ color:var(--brand-orange) }

/* Right-side bundle: nav + header socials */
.header-right{
  margin-left:auto;
  display:flex; align-items:center; gap:16px;
  min-width:0; /* lets the nav shrink before wrapping */
}

/* Primary nav */
.nav{
  display:flex; align-items:center; gap:12px;
  flex-wrap:nowrap; white-space:nowrap;
}
.nav a{
  margin:0 6px; text-decoration:none; color:#333; position:relative;
}
.nav a.active, .nav a:hover{ color:var(--brand); }
.nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-10px; height:2px; background:var(--brand);
}

/* Header socials (compact) */
.header-socials{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; gap:10px;
  flex:0 0 auto; white-space:nowrap;
}
.header-socials .social-link{
  display:inline-flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:50%;
  color:var(--brand); background:transparent; border:1px solid var(--brand);
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.header-socials .social-link:hover{ transform:translateY(-1px); background:var(--brand); color:#fff; }
.header-socials .ico-svg{ display:block; fill:currentColor; }

/* Tighten on smaller screens; hide header socials if space is too tight */
@media (max-width:900px){ .nav a{ margin:0 4px } }
@media (max-width:760px){ .header-socials{ display:none; } }

/* ===============================
   Home hero (image above text)
   =============================== */
.hero.hero--stack{ display:grid; gap:16px; padding:24px 0; }
.hero-media img{
  display:block; width:100%; max-height:320px; object-fit:contain; margin:0 auto;
}
.hero-text h1{ font-size:clamp(28px,4.6vw,44px); line-height:1.15; margin:6px 0 10px; }
.hero-text p{ margin:0; color:var(--muted); }
.hero-cta{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.trust{
  list-style:none; padding:0; margin:12px 0 0;
  display:flex; gap:12px; flex-wrap:wrap; color:#2b2b2b;
}

/* ===============================
   Feature cards
   =============================== */
.features{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:18px; }
.card{ background:var(--card); border:1px solid #eee; border-radius:12px; padding:14px; }
.card .ico{ font-size:22px; margin-bottom:8px; }
.cards-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }

@media (max-width:900px){ .features, .cards-3{ grid-template-columns:1fr 1fr } }
@media (max-width:600px){ .features, .cards-3{ grid-template-columns:1fr } }

/* ===============================
   Generic sections & grids
   =============================== */
.page-section{ padding:16px 0 }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:18px }
@media (max-width:800px){ .two-col{ grid-template-columns:1fr } }

/* About slice: image right on desktop */
.about-slice .two-col{ gap:24px; grid-template-columns:1fr; }
@media (min-width:900px){
  .about-slice .two-col{ grid-template-columns:1fr 1fr; }
  .about-slice .about-text{ order:1; }
  .about-slice .about-image{ order:2; justify-self:end; }
}
.about-slice .about-image img{ max-width:100%; height:auto; display:block; }

/* ===============================
   Lists
   =============================== */
ul.check{ padding-left:18px }
ul.check li{ margin-bottom:6px }
ul.bul{ padding-left:18px }
ul.bul li{ margin-bottom:6px }

/* ===============================
   Tables
   =============================== */
.table-wrap{ overflow:auto }
.table{ width:100%; border-collapse:collapse }
.table th, .table td{
  padding:10px; border-bottom:1px solid #eee; text-align:left; white-space:nowrap;
}
.badge{
  display:inline-block; padding:2px 8px; border-radius:999px;
  background:rgba(250,128,114,.1); color:var(--brand);
  border:1px solid rgba(250,128,114,.3);
}

/* ===============================
   Buttons
   =============================== */
.actions .btn.sm{ padding:6px 10px; font-size:.9rem; }
.btn{
  display:inline-block; padding:10px 16px; border-radius:8px; text-decoration:none;
  border:1px solid var(--brand); color:var(--brand); background:transparent;
}
.btn-primary{ background:var(--brand); color:#fff; border-color:var(--brand) }
.btn.danger{ border-color:#c33; color:#c33 }
.btn.danger:hover{ background:#c33; color:#fff }

/* ===============================
   Forms
   =============================== */
.form label{ display:block; margin:0 0 12px }
.form input, .form textarea{ width:100%; padding:10px; border:1px solid #ddd; border-radius:8px }
.form .grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:12px }
.form .row{ display:flex; gap:12px }
@media (max-width:700px){
  .form .grid-2{ grid-template-columns:1fr }
  .form .row{ flex-direction:column }
}
.err{ color:#c33; background:#fee; border:1px solid #fbb; padding:10px; border-radius:8px }

/* ===============================
   Owner / portrait blocks
   =============================== */
.owner{
  display:grid; grid-template-columns:240px 1fr; gap:18px; align-items:start; margin-top:18px;
}
.portrait{ margin:0 }
.portrait img{
  display:block; width:100%; height:auto; object-fit:cover; border:none; box-shadow:none; border-radius:12px;
}
.owner-text h3{ margin:6px 0 8px }
.meet .meet-inner{ display:grid; grid-template-columns:120px 1fr; gap:14px; align-items:center }
.portrait.sm img{ border-radius:10px }
@media (max-width:800px){
  .owner{ grid-template-columns:1fr }
  .meet .meet-inner{ grid-template-columns:1fr; text-align:left }
}

/* ===============================
   Footer & social bar
   =============================== */
/* === Canonical footer social icon fix (11-09-2025) === */
.site-footer .socials{
  list-style:none; display:flex; gap:14px; margin:8px 0 0; padding:0;
}
.site-footer .socials li{ display:inline-flex }

.site-footer .socials a{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  border:1px solid var(--brand); color:var(--brand);
  background:transparent; line-height:0; /* prevent text metrics from deforming the circle */
  padding:0; box-sizing:border-box;
}

.site-footer .socials a:hover{ background:var(--brand); color:#fff }

.site-footer .socials .ico-svg{
  display:block;
  width:20px; height:20px; flex:0 0 20px; /* fixed, square */
  fill:currentColor; stroke:none; vector-effect:non-scaling-stroke;
}
/* === Footer centering & icon sizing (canonical) === */
.site-footer .container{
  display:flex;
  justify-content:center;
}
.site-footer .footer-inner{
  width:100%;
  max-width:1040px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-align:center;
}

.footer-nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}

.socials{
  list-style:none;
  display:flex;
  gap:16px;
  margin:6px 0 0;
  padding:0;
  justify-content:center;     /* force true centering */
}
.socials li{display:inline-flex}
.social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px; height:34px;
  border-radius:50%;
  color: var(--brand);
  background: transparent;
  border:1px solid var(--brand);
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.social-link:hover{ transform:translateY(-1px); background:var(--brand); color:#fff }
.socials .ico-svg{ width:18px; height:18px; display:block; fill:currentColor }
/* Form select matches input style */
.form select{
  width:100%; padding:10px; border:1px solid #ddd; border-radius:8px; background:#fff;
  font:inherit; color:inherit;
}
