/* ===========================================================
   Willekat — stylesheet
   Brand tokens retheme via :root only.
   =========================================================== */

:root {
  --ink: #16303F;
  --whitewash: #EFF2ED;
  --sand: #D8C9A3;
  --sage: #66785A;
  --yellow: #E8A93B;
  --charcoal: #212B2F;
  --stamp: #B5482F;
  --paper: #FAF9F4;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max-width: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--whitewash);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #d99a2c; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--whitewash); }
.btn-cta { background: var(--ink); color: var(--whitewash); font-size: 0.85rem; padding: 0.55rem 1.1rem; }

/* --- Header / nav --- */
.site-header {
  background: var(--ink);
  color: var(--whitewash);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--whitewash);
  display: flex;
  align-items: center;
}
.logo-img { height: 30px; width: auto; display: block; }
.site-nav {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  font-size: 0.95rem;
  opacity: 0.85;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
  border-bottom-color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--whitewash);
  border-radius: 1px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; justify-content: space-between; }
  .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 0 1.5rem;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }
  .site-nav.is-open {
    max-height: 360px;
    padding: 0.5rem 1.5rem 1.5rem;
  }
  .site-nav a {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(239, 242, 237, 0.12);
  }
}

/* --- Hero --- */
.hero {
  background: var(--ink);
  color: var(--whitewash);
  padding: 4.5rem 0 5rem;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.hero-mark { flex: 0 0 auto; }
.hero-mark img {
  width: clamp(160px, 20vw, 300px);
  height: auto;
  display: block;
}
.hero-content { flex: 1; min-width: 0; }
@media (max-width: 780px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero-mark img { width: 140px; }
}
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--sand);
  margin: 0 0 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 16ch;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 46ch;
  color: var(--whitewash);
  opacity: 0.9;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Sections --- */
.section { padding: 4.5rem 0; }
.section-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--sage);
  margin: 0 0 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}
.section-sub {
  font-size: 1.05rem;
  max-width: 60ch;
  color: var(--charcoal);
  opacity: 0.85;
}
.page-hero {
  background: var(--ink);
  color: var(--whitewash);
  padding-bottom: 3rem;
}
.page-hero .section-sub {
  color: var(--whitewash);
  opacity: 0.9;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 1rem;
}

.laptops-section { background: var(--whitewash); }

/* --- Pillar cards (homepage) --- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pillar-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(22, 48, 63, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0;
}
.pillar-card p { margin: 0; opacity: 0.85; }
.pillar-card .btn { margin-top: 0.5rem; }

/* --- Reveal-on-scroll --- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Price tag / receipt component --- */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.price-tag {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(22, 48, 63, 0.12);
  padding: 2rem 1.5rem 1.5rem;
}
.tag-punch {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--whitewash);
  border: 2px solid var(--sand);
}
.price-tag::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: 0.9rem;
  right: 0.9rem;
  border-top: 2px dashed var(--sand);
}
.tag-model {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.5rem 0 0.15rem;
}
.tag-photo {
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--whitewash);
}
.tag-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tag-specs {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--sage);
  margin: 0 0 1.1rem;
}
.tag-breakdown { margin-bottom: 0.75rem; }
.tag-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.8;
  padding: 0.2rem 0;
}
.tag-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.05rem;
  border-top: 1px solid var(--sand);
  padding-top: 0.6rem;
  color: var(--ink);
}

.tag-grid--single {
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
}
.special-layout {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  margin: 2rem 0 2.5rem;
}
.special-mockup {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.special-mockup .section-note {
  margin-top: auto;
  margin-bottom: auto;
}
.special-mockup img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(22, 48, 63, 0.12);
}
.special-layout .tag-grid {
  flex: 1 1 50%;
  margin-top: 0;
  grid-template-columns: 1fr;
}
.inline-link {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 780px) {
  .special-layout { flex-direction: column; }
}
.price-tag--special { padding-top: 2rem; }
.price-tag .tag-cta {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}
.tag-footnote {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0.65;
  margin: 0.4rem 0 0;
}
.section-note {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  max-width: 60ch;
}
.section-note a { text-decoration: underline; }
.stamp-badge {
  position: absolute;
  top: 1.1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stamp);
  border: 2px solid var(--stamp);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  transform: rotate(6deg);
}

/* --- Plugin cards --- */
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.plugin-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(22, 48, 63, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.plugin-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.plugin-card p { margin: 0 0 1.1rem; opacity: 0.85; }

.expand-details {
  width: 100%;
  align-self: stretch;
  margin: -0.3rem 0 1.1rem;
}
.expand-details summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage);
  list-style: none;
  padding: 0.3rem 0;
}
.expand-details summary::-webkit-details-marker { display: none; }
.expand-details summary::before { content: "+ "; font-weight: 700; }
.expand-details[open] summary::before { content: "\2212  "; }
.expand-details-body {
  margin-top: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--sand);
}
.expand-details-body p {
  margin: 0 0 0.9rem;
  opacity: 0.85;
  font-size: 0.95rem;
}
.plugin-subhead {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: var(--sage);
  margin: 1.1rem 0 0.6rem;
}
.expand-details-body ul {
  margin: 0 0 0.9rem;
  padding-left: 1.15rem;
}
.expand-details-body li {
  margin-bottom: 0.45rem;
  opacity: 0.85;
  font-size: 0.95rem;
}
.plugin-requirements {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 0.75rem;
}

/* --- Services teaser / trust --- */
.services-teaser { background: var(--sand); }
.trust-section { background: var(--ink); color: var(--whitewash); }
.trust-section .section-eyebrow { color: var(--yellow); }
.trust-section .section-sub { color: var(--whitewash); opacity: 0.85; }

/* --- Services grid --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(22, 48, 63, 0.08);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.service-card p { margin: 0; opacity: 0.85; }
.service-card-link { margin-top: 0.9rem; }
.service-group + .service-group { margin-top: 3.5rem; }
.group-rate-note { margin-bottom: 1.75rem; }
.portfolio-eyebrow { margin-top: 3rem; }

/* --- Logo cards (community partners / portfolio) --- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.logo-grid--compact { margin-top: 1.5rem; }
.logo-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(22, 48, 63, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo-card-image {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}
.logo-card-image img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.logo-card--text-only { justify-content: flex-start; }
.logo-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.logo-card p { margin: 0 0 1.1rem; opacity: 0.85; }

.cta-section { text-align: center; background: var(--sand); }
.cta-section .section-sub { margin-left: auto; margin-right: auto; margin-bottom: 1.75rem; }

/* --- About --- */
.about-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.about-photo { flex: 0 0 auto; width: 200px; }
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(22, 48, 63, 0.15);
}
@media (max-width: 780px) {
  .about-layout { flex-direction: column; }
  .about-photo { width: 140px; }
}
.about-body { max-width: 68ch; }
.about-body p { margin: 0 0 1.25rem; opacity: 0.85; }

/* --- Contact --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 780px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--paper);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(22, 48, 63, 0.08);
}
.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sage);
  margin-top: 0.75rem;
}

.channel-toggle {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.channel-option {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 0.6rem 1rem;
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  opacity: 0.7;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.channel-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.channel-option.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--whitewash);
  opacity: 1;
}
.contact-form-fields.is-hidden { display: none; }
.form-confirmation {
  text-align: center;
  padding: 2rem 0;
}
.form-confirmation.is-hidden { display: none; }
.form-confirmation-text {
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
  color: var(--charcoal);
}
.cf-email-group.is-hidden { display: none; }
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--whitewash);
  color: var(--charcoal);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}
.contact-form button { margin-top: 1.25rem; align-self: flex-start; }
.form-note { font-size: 0.85rem; opacity: 0.7; margin: 0.75rem 0 0; }

.contact-details {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-details h3 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
}
.contact-details p { margin: 0 0 0.6rem; font-family: var(--font-mono); font-size: 0.9rem; }
.contact-details a { text-decoration: underline; }

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: var(--whitewash);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(239, 242, 237, 0.15);
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.footer-logo-img { height: 26px; width: auto; margin-bottom: 0.75rem; }
.footer-tagline { opacity: 0.75; font-size: 0.9rem; max-width: 32ch; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { opacity: 0.8; font-size: 0.9rem; }
.footer-links a:hover { opacity: 1; }
.whatsapp-link {
  display: inline-block;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}
.webmail-link {
  display: block;
  font-size: 0.85rem;
  opacity: 0.6;
  text-decoration: underline;
  margin-bottom: 0.75rem;
}
.webmail-link:hover { opacity: 0.9; }
.footer-note { font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.65; }
.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.6;
}
