/* Dayin PET Panels — original site styles */
:root {
  --ink: #1a1614;
  --muted: #5c534c;
  --paper: #f7f2eb;
  --paper-2: #efe7dc;
  --white: #fffcf8;
  --brand: #1a4f9c;
  --brand-dark: #143a75;
  --accent: #9a3b32;
  --accent-soft: #c45b3e;
  --line: #e0d6c8;
  --line-dark: #c9bdaa;
  --shadow: 0 16px 40px rgba(26, 22, 20, 0.08);
  --radius: 16px;
  --header-h: 80px;
  --font-sans: "Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: 0.6rem 1rem; z-index: 1000;
}
.skip:focus { left: 0; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.wrap-wide { width: min(1280px, calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.logo { display: flex; align-items: center; text-decoration: none; color: inherit; flex: 0 0 auto; }
.logo img, .logo svg { height: 56px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 0.2rem 1.1rem; }
.nav a, .nav-btn {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  background: none; border: 0; font-family: inherit; cursor: pointer; padding: 0.4rem 0;
}
.nav a:hover, .nav-btn:hover, .nav a[aria-current="page"] { color: var(--brand); }
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 0.5rem; z-index: 20;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 0.5rem 0.7rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.dropdown-menu a:hover { background: var(--paper-2); color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border-radius: 999px; padding: 0.7rem 1.2rem;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #7e2e27; color: #fff; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-dark); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--paper); color: var(--brand-dark); }
.header-cta { margin-left: 0.4rem; }
.nav-toggle {
  display: none; border: 1px solid var(--line-dark); background: var(--white);
  border-radius: 8px; width: 42px; height: 42px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative; margin: 0 auto;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero { padding: 2rem 0 3.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 0.92fr 1.08fr; gap: 2.5rem; }
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem;
  font-weight: 700; color: var(--brand); margin-bottom: 0.8rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 1.2rem; }
.hero-note { font-size: 0.92rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: min(70vw, 640px); object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-visual.portrait img { height: min(80vw, 720px); }

/* Trust / facts */
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin: 0 0 3.5rem;
}
@media (min-width: 800px) { .facts { grid-template-columns: repeat(5, 1fr); } }
.fact { background: var(--white); padding: 1.1rem 1rem; }
.fact strong { display: block; font-family: var(--font-sans); font-weight: 700; font-size: 1.15rem; }
.fact span { display: block; color: var(--muted); font-size: 0.88rem; }

/* Sections */
section { padding: 2.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.kicker { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }

.cards {
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(26,22,20,0.03);
  color: inherit; text-decoration: none;
}
a.card:hover { border-color: var(--line-dark); transform: translateY(-2px); transition: transform .15s ease, border-color .15s; color: inherit; }
.card img { width: 100%; height: 220px; object-fit: cover; background: var(--paper-2); }
.card-body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.22rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card .more { margin-top: auto; padding-top: 0.8rem; font-weight: 700; color: var(--brand); font-size: 0.92rem; }

.split {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { width: 100%; border-radius: var(--radius); object-fit: cover; max-height: 520px; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }

.band {
  background: var(--brand-dark); color: #fff; padding: 3rem 0; margin: 2rem 0 0;
}
.band h2, .band p { color: #fff; }
.band p { color: rgba(255,255,255,0.85); }
.band .btn-primary { background: #fff; color: var(--brand-dark); }
.band .btn-primary:hover { background: var(--paper); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
table.specs { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
table.specs th, table.specs td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.specs th { width: 34%; background: var(--paper-2); font-weight: 700; }
table.specs tr:last-child th, table.specs tr:last-child td { border-bottom: 0; }
.note, .disclaimer {
  font-size: 0.9rem; color: var(--muted); background: var(--paper-2);
  border-left: 3px solid var(--brand); padding: 0.8rem 1rem; margin: 1.2rem 0;
}

/* Colors */
.swatch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
@media (min-width: 600px) { .swatch-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1000px) { .swatch-grid { grid-template-columns: repeat(8, 1fr); } }
.swatch { text-decoration: none; color: inherit; display: block; }
.swatch img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line);
}
.swatch span { display: block; font-size: 0.8rem; font-weight: 600; margin-top: 0.3rem; text-align: center; }

/* Forms */
form.inquiry {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; display: grid; gap: 0.9rem;
}
@media (min-width: 700px) { form.inquiry { grid-template-columns: 1fr 1fr; padding: 1.8rem; } }
form.inquiry .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line-dark);
  border-radius: 10px; font: inherit; background: var(--white); color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form-status { grid-column: 1 / -1; font-size: 0.95rem; }
.contact-aside { background: var(--paper-2); border-radius: var(--radius); padding: 1.4rem; }
.contact-aside a { color: var(--brand-dark); font-weight: 700; }
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.3fr 0.7fr; align-items: start; } }


.social {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 8px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.08); color: #fff;
  text-decoration: none !important; border: 1px solid rgba(255,255,255,0.18);
}
.social a:hover, .social a:focus-visible { background: #fff; color: var(--brand-dark); }
.social img, .social svg {
  width: 18px; height: 18px; max-width: 18px; max-height: 18px;
  display: block; flex: none; border: 0;
}
.site-footer .social a:hover img,
.site-footer .social a:focus-visible img { filter: invert(1); }
.contact-aside .social a img { filter: invert(1); }
.contact-aside .social a:hover img,
.contact-aside .social a:focus-visible img { filter: none; }
.company-name { margin: 0.75rem 0 0.35rem; }
.company-name + p { margin-top: 0; }
.contact-aside .social { margin-top: 0.8rem; }
.contact-aside .social a {
  background: #fff; color: var(--brand-dark); border-color: var(--line);
}
.contact-aside .social a:hover, .contact-aside .social a:focus-visible {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* Footer */
.site-footer { background: #1a1614; color: #efe7dc; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.6rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: #c9bdaa; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.legal { border-top: 1px solid #3a332c; margin-top: 2rem; padding-top: 1rem; font-size: 0.85rem; color: #c9bdaa; }

/* Cookie */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 1rem 1.1rem; display: none;
  max-width: 720px; margin: 0 auto;
}
.cookie.is-on { display: block; }
.cookie p { margin: 0 0 0.8rem; font-size: 0.92rem; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Utilities */
.muted { color: var(--muted); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.gallery { display: grid; gap: 0.8rem; grid-template-columns: 1fr 1fr; }
.gallery img, .gallery picture img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
@media (min-width: 800px) {
  .gallery.wide { grid-template-columns: 1.3fr 1fr; }
  .gallery.wide img, .gallery.wide picture img { height: 320px; }
}
.breadcrumbs { font-size: 0.9rem; color: var(--muted); margin: 1.2rem 0 0.8rem; }
.breadcrumbs a { color: var(--muted); }
.page-hero { padding: 1.2rem 0 2rem; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.8rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; list-style: none; margin: 1rem 0; }
.tag-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.9rem; }

@media (max-width: 879px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 0.6rem 1rem 1rem; gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav-btn, .header-cta { width: 100%; text-align: left; padding: 0.7rem 0.2rem; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0.4rem 0.8rem; display: none; }
  .dropdown.is-open .dropdown-menu { display: block; }
  .header-cta { margin: 0.4rem 0 0; display: flex; }
}
