/*
Theme Name: HOUSNAT Precision Kitchen
Theme URI: https://housnat.com/
Author: HOUSNAT
Description: A modern, responsive WordPress theme for HOUSNAT home and commercial kitchen appliances.
Version: 1.0.1
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: housnat
*/

:root {
  --ink: #14211e;
  --muted: #5c6b66;
  --paper: #f7f8f3;
  --surface: #ffffff;
  --mist: #eaf0eb;
  --line: #d8e0da;
  --green: #1d6b4f;
  --green-2: #2f8b65;
  --lime: #cfe87a;
  --orange: #f2994a;
  --night: #10241d;
  --shadow: 0 24px 70px rgba(19, 48, 38, .12);
  --radius: 24px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 128px) 0; }
.section-sm { padding: 58px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 6.7rem); }
h2 { font-size: clamp(2.3rem, 4.4vw, 4.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { margin: 0 0 1.15em; }
.lead { color: var(--muted); font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.6; }
.kicker { font-weight: 750; color: var(--green); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 13px 22px; border: 1px solid var(--green); border-radius: 999px; background: var(--green);
  color: #fff; font-weight: 780; text-decoration: none; transition: .2s ease;
}
.button:hover { background: var(--night); border-color: var(--night); transform: translateY(-2px); }
.button-ghost { background: transparent; color: var(--ink); border-color: rgba(20,33,30,.35); }
.button-ghost:hover { color: #fff; }
.button-light { background: var(--lime); color: var(--night); border-color: var(--lime); }
.button-light:hover { background: #fff; border-color: #fff; color: var(--night); }
.text-link { color: var(--green); font-weight: 800; text-decoration: none; }
.text-link::after { content: " →"; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,248,243,.92); border-bottom: 1px solid rgba(216,224,218,.8); backdrop-filter: blur(18px); }
body.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { position: relative; width: 38px; height: 38px; border-radius: 12px 12px 18px 18px; background: var(--green); transform: rotate(-4deg); }
.brand-mark::before { content: ""; position: absolute; width: 14px; height: 10px; left: 11px; top: -7px; border: 3px solid var(--orange); border-bottom: 0; border-radius: 10px 10px 0 0; }
.brand-word { font-size: 1.28rem; font-weight: 900; letter-spacing: .14em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-size: .91rem; font-weight: 700; text-decoration: none; }
.site-nav a:not(.button):hover { color: var(--green); }
.mobile-amazon { display: none; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); transition: .2s; }
.nav-backdrop { display: none; }

.hero { position: relative; min-height: 760px; display: grid; align-items: end; overflow: hidden; background: var(--night); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,26,20,.92) 0%, rgba(8,26,20,.68) 45%, rgba(8,26,20,.16) 78%), linear-gradient(0deg, rgba(8,26,20,.4), transparent 50%); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-grid { position: relative; z-index: 2; padding: 110px 0 92px; }
.hero-copy { max-width: 820px; }
.hero h1 { max-width: 800px; }
.hero .lead { max-width: 680px; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .button-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 36px; color: rgba(255,255,255,.7); font-size: .9rem; }
.hero-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(207,232,122,.16); }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 24px 0; list-style: none; }
.trust-list li { padding: 3px 18px; border-right: 1px solid var(--line); color: #395047; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.trust-list li:last-child { border: 0; }

.split { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(46px, 8vw, 110px); }
.image-frame { position: relative; min-height: 570px; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: #dfe8e1; }
.image-frame img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; }
.image-badge { position: absolute; right: 24px; bottom: 24px; max-width: 230px; padding: 19px 22px; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 12px 40px rgba(0,0,0,.13); backdrop-filter: blur(14px); }
.image-badge strong { display: block; color: var(--green); font-size: 1.5rem; }
.image-badge span { color: var(--muted); font-size: .82rem; }

.why { background: #eef2ec; }
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 100px); align-items: start; }
.why-sticky { position: sticky; top: 120px; }
.feature-lines { border-top: 1px solid #cbd6ce; }
.feature-line { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid #cbd6ce; }
.feature-number { color: var(--orange); font-weight: 850; }
.feature-line p { color: var(--muted); margin: 0; }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech-card { min-height: 280px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: .25s ease; }
.tech-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(19,48,38,.09); }
.tech-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 40px; border-radius: 15px; background: var(--mist); color: var(--green); font-weight: 900; }
.tech-card p { color: var(--muted); font-size: .96rem; }

.family-section { background: var(--night); color: #fff; overflow: hidden; }
.family-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.family-intro .lead { color: rgba(255,255,255,.66); }
.family-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid rgba(255,255,255,.17); }
.family-item { position: relative; min-height: 250px; padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.17); }
.family-item:last-child { border: 0; }
.family-item .family-symbol { display: block; margin-bottom: 58px; color: var(--lime); font-size: 1.8rem; }
.family-item p { color: rgba(255,255,255,.62); font-size: .92rem; }

.diagram { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.diagram-board { position: relative; min-height: 540px; border: 1px solid var(--line); border-radius: 34px; background: radial-gradient(circle at 50% 45%, #fff 0, #fff 14%, #e7eee8 15%, #e7eee8 28%, transparent 29%), linear-gradient(145deg, #edf2ed, #fdfdfb); overflow: hidden; }
.diagram-core { position: absolute; width: 150px; height: 150px; left: 50%; top: 50%; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 50%; background: #fff; transform: translate(-50%,-50%); color: var(--green); font-weight: 900; text-align: center; box-shadow: 0 14px 44px rgba(29,107,79,.12); }
.diagram-tag { position: absolute; width: 170px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(19,48,38,.1); font-size: .8rem; font-weight: 800; }
.diagram-tag:nth-child(2) { top: 54px; left: 40px; }
.diagram-tag:nth-child(3) { top: 72px; right: 34px; }
.diagram-tag:nth-child(4) { bottom: 68px; left: 32px; }
.diagram-tag:nth-child(5) { bottom: 50px; right: 42px; }
.spec-list { margin: 34px 0 0; padding: 0; list-style: none; }
.spec-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-list b { color: var(--green); }

.safety { background: #f0ede6; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.safety-main, .safety-card { border-radius: 28px; }
.safety-main { padding: clamp(38px, 6vw, 76px); background: var(--green); color: #fff; }
.safety-main .lead { color: rgba(255,255,255,.75); }
.safety-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.safety-card { padding: 28px; background: #fff; }
.safety-card .num { display: block; margin-bottom: 42px; color: var(--orange); font-size: .83rem; font-weight: 850; }
.safety-card p { color: var(--muted); font-size: .93rem; }

.performance-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 18px; }
.performance-item { position: relative; min-height: 500px; border-radius: 28px; overflow: hidden; background: #dce5de; }
.performance-item img { width: 100%; height: 100%; object-fit: cover; }
.performance-caption { position: absolute; inset: auto 18px 18px; padding: 22px; border-radius: 18px; background: rgba(16,36,29,.88); color: #fff; backdrop-filter: blur(12px); }
.performance-caption p { margin: 6px 0 0; color: rgba(255,255,255,.7); font-size: .86rem; }

.support-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: clamp(44px, 7vw, 86px); border-radius: 34px; background: #fff; box-shadow: var(--shadow); }
.support-points { display: grid; gap: 18px; }
.support-point { display: flex; gap: 16px; align-items: flex-start; }
.support-point i { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--night); font-style: normal; font-weight: 900; }
.support-point p { margin: 0; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 50px 24px 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 22px; color: var(--green); font-size: 1.6rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { max-width: 760px; padding: 0 0 24px; color: var(--muted); }

.cta-band { background: var(--orange); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-inner h2 { max-width: 720px; margin: 0; font-size: clamp(2.2rem, 4vw, 4.2rem); }

.page-hero { padding: 100px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #fff 0%, #eef3ed 100%); }
.page-hero h1 { max-width: 900px; font-size: clamp(3rem, 6vw, 6rem); }
.page-hero .lead { max-width: 740px; }
.breadcrumb { margin-bottom: 24px; color: var(--muted); font-size: .84rem; font-weight: 750; }
.breadcrumb a { color: var(--green); text-decoration: none; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: start; }
.prose h2 { margin-top: 1.4em; font-size: clamp(2rem, 3vw, 3rem); }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #485a53; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .7em; }
.aside-card { position: sticky; top: 110px; padding: 28px; border-radius: 22px; background: var(--night); color: #fff; }
.aside-card p { color: rgba(255,255,255,.7); font-size: .94rem; }

.products-wrap { padding: 70px 0 120px; }
.category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 72px 0 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.category-head:first-child { margin-top: 0; }
.category-head span { color: var(--muted); font-size: .85rem; font-weight: 750; }
.product-list { display: grid; gap: 18px; }
.product { display: grid; grid-template-columns: 280px 1fr 210px; gap: 34px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.product-media { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #f1f3ef; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-copy h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.product-copy p { color: var(--muted); margin: 0; }
.product-action { text-align: right; }
.product-action small { display: block; margin-top: 10px; color: var(--muted); }

.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.contact-card p { color: var(--muted); }
.wp-content { margin-top: 50px; }

.site-footer { padding: 74px 0 30px; background: var(--night); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 70px; padding-bottom: 58px; }
.footer-intro { max-width: 430px; }
.footer-intro p { color: rgba(255,255,255,.62); }
.footer-title { margin-bottom: 18px; color: rgba(255,255,255,.52); font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.52); font-size: .8rem; }

@media (max-width: 980px) {
  .menu-toggle { position: relative; z-index: 53; display: block; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; z-index: 52; top: 80px; right: 14px; left: 14px; bottom: auto;
    display: none; grid-template-columns: minmax(0, 1fr); grid-auto-rows: min-content;
    align-content: start; align-items: stretch; justify-content: stretch; gap: 4px;
    max-height: calc(100dvh - 96px); padding: 20px; overflow-y: auto;
    border: 1px solid var(--line); border-radius: 0 0 24px 24px; background: #fff;
    box-shadow: 0 24px 70px rgba(12, 34, 27, .22);
  }
  .nav-open .site-nav { display: grid; }
  .site-nav a:not(.button) { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border-radius: 12px; font-size: 1.05rem; line-height: 1.25; }
  .site-nav a:not(.button):hover { background: var(--mist); }
  .site-nav .desktop-amazon { display: none; }
  .mobile-amazon { display: inline-flex; width: 100%; margin-top: 12px; }
  .nav-backdrop { position: fixed; z-index: 45; inset: 80px 0 0; background: rgba(10, 25, 20, .42); backdrop-filter: blur(2px); }
  .nav-open .nav-backdrop { display: block; }
  body.admin-bar .site-nav { top: 112px; max-height: calc(100dvh - 128px); }
  body.admin-bar .nav-backdrop { inset-block-start: 112px; }
  .trust-list { grid-template-columns: repeat(3,1fr); }
  .trust-list li:nth-child(3) { border-right: 0; }
  .trust-list li:nth-child(-n+3) { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
  .split, .why-grid, .diagram, .family-intro, .support-panel { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .tech-grid { grid-template-columns: repeat(2,1fr); }
  .family-list { grid-template-columns: repeat(2,1fr); }
  .family-item:nth-child(2) { border-right: 0; }
  .family-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.17); }
  .safety-grid { grid-template-columns: 1fr; }
  .performance-grid { grid-template-columns: 1.2fr .8fr; }
  .performance-item:last-child { grid-column: 1 / -1; min-height: 380px; }
  .content-grid { grid-template-columns: 1fr; gap: 44px; }
  .aside-card { position: static; }
  .product { grid-template-columns: 220px 1fr; }
  .product-action { grid-column: 2; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .site-nav { top: 126px; max-height: calc(100dvh - 142px); }
  body.admin-bar .nav-backdrop { inset-block-start: 126px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .header-inner { min-height: 72px; }
  .site-nav { top: 72px; max-height: calc(100dvh - 88px); }
  .nav-backdrop { inset-block-start: 72px; }
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .site-nav { top: 118px; max-height: calc(100dvh - 134px); }
  body.admin-bar .nav-backdrop { inset-block-start: 118px; }
  .hero { min-height: 690px; }
  .hero-grid { padding: 90px 0 64px; }
  .hero h1 { font-size: clamp(2.85rem, 14vw, 4.3rem); }
  .hero::after { background: linear-gradient(0deg, rgba(8,26,20,.95) 0%, rgba(8,26,20,.7) 62%, rgba(8,26,20,.25) 100%); }
  .hero-actions .button { width: 100%; }
  .trust-list { grid-template-columns: repeat(2,1fr); }
  .trust-list li { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); margin: 0 !important; padding: 12px 8px !important; }
  .trust-list li:nth-child(even) { border-right: 0 !important; }
  .trust-list li:nth-last-child(-n+2) { border-bottom: 0; }
  .image-frame, .image-frame img { min-height: 410px; }
  .tech-grid, .family-list, .safety-side, .performance-grid, .contact-cards { grid-template-columns: 1fr; }
  .family-item { min-height: 210px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .family-item:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,.17); }
  .family-symbol { margin-bottom: 34px !important; }
  .diagram-board { min-height: 500px; }
  .diagram-tag { width: 145px; }
  .performance-item, .performance-item:last-child { min-height: 430px; grid-column: auto; }
  .cta-inner { display: grid; }
  .product { grid-template-columns: 1fr; padding: 16px; }
  .product-action { grid-column: auto; }
  .product-action .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { display: grid; }
}

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

