/*
Theme Name: Mismis Furniture
Theme URI: https://mismisconcepts.com
Author: Mismis Concepts
Description: Website for Mismis Furniture: office furniture, accessories and supplies.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mismis-furniture
*/

/* Layout rhythm */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 3rem); margin: 0 !important; }
.site-main > * + * { margin-top: 0; }
.muted { color: #4A5A51; }
.small { font-size: var(--wp--preset--font-size--small); }
.lede { font-size: var(--wp--preset--font-size--large); max-width: 38em; color: #33443A; line-height: 1.5; }
.section-intro { max-width: 40em; margin-bottom: 2.5rem !important; }
/* Keep narrow text blocks left-aligned with the content column instead of centred */
.section > :is(.lede, .hub-title, .tech-title, .section-intro, .lifecycle) {
  margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 1180px)) / 2)) !important;
  margin-right: auto !important; }

/* Header */
.site-header { padding: 1rem clamp(1.25rem, 5vw, 3rem); background: var(--wp--preset--color--white);
  border-bottom: 1px solid var(--wp--preset--color--line); position: sticky; top: 0; z-index: 50; gap: 1rem; }
.admin-bar .site-header { top: 32px; }
.brand { gap: .6rem; align-items: center; }
.brand-name, .brand-name a { font-family: var(--wp--preset--font-family--display); font-weight: 700;
  font-size: 1.2rem; letter-spacing: -0.01em; color: var(--wp--preset--color--forest); text-decoration: none; }
.header-actions { gap: 1.75rem; align-items: center; }
.site-nav a { text-decoration: none; color: var(--wp--preset--color--ink); font-weight: 500; }
.site-nav a:hover { color: var(--wp--preset--color--brand); }
.header-actions .wp-block-button__link { padding: .55rem 1.1rem; font-size: .95rem; }
@media (max-width: 600px) { .header-actions .wp-block-buttons { display: none; } }

/* Cards and lists */
.card-grid { gap: 1.25rem; }
.card { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--line);
  border-radius: 10px; padding: 1.6rem; }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; }
ul.plain { list-style: none; padding: 0; }
ul.plain li { margin: .35rem 0; }
ul.ticks { list-style: none; padding: 0; columns: 2 16rem; column-gap: 2rem; }
ul.ticks li { padding-left: 1.6rem; position: relative; margin: 0 0 .6rem; break-inside: avoid; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .75rem; height: .4rem;
  border-left: 2px solid var(--wp--preset--color--brand); border-bottom: 2px solid var(--wp--preset--color--brand);
  transform: rotate(-45deg); }

/* Ordered process steps: a real sequence, so numbers carry meaning */
ol.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
ol.steps li { counter-increment: step; padding: 1.25rem 1.25rem 1.25rem 0; border-top: 2px solid var(--wp--preset--color--line);
  position: relative; }
ol.steps li::before { content: counter(step); display: block; font-family: var(--wp--preset--font-family--display);
  font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--wp--preset--color--brand); margin: .6rem 0 .8rem; }
ol.steps li strong { display: block; font-size: 1.1rem; color: var(--wp--preset--color--forest); margin-bottom: .3rem; }

/* CTA band */
.cta-band { background: var(--wp--preset--color--forest); color: #E6F2EA; }
.cta-band h2 { color: #fff; }
.cta-band .wp-block-button__link { background: #fff; color: var(--wp--preset--color--forest); }
.cta-band .wp-block-button__link:hover { background: var(--wp--preset--color--mint); }

/* Footer */
.site-footer { padding: 3.5rem clamp(1.25rem, 5vw, 3rem) 2rem; background: var(--wp--preset--color--ink); color: #C9D6CE; margin: 0 !important; }
.site-footer h3 { color: #fff; font-size: 1rem; font-family: var(--wp--preset--font-family--body); letter-spacing: 0; }
.site-footer a { color: #E6F2EA; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .muted { color: #9FB2A6; }
.footer-brand, .footer-brand a { font-family: var(--wp--preset--font-family--display); font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer-cols { gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid #2C3A33; }

/* Pages */
.page-head { padding-bottom: 1rem; }
.page-body { padding-top: 1rem; }
.page-body > * { max-width: 46rem; }

/* Accessibility */
a:focus-visible, .wp-element-button:focus-visible { outline: 3px solid var(--wp--preset--color--brand); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }


.furn-hero { background: var(--wp--preset--color--mint); border-bottom: 14px solid var(--wp--preset--color--oak); }
.parent-link { font-size: .95rem; }
.parent-link a { color: var(--wp--preset--color--brand); text-decoration: none; }
.furn-hero-cols { gap: clamp(2rem, 5vw, 4rem); align-items: center !important; }
@media (min-width: 782px) { .furn-hero-cols > .wp-block-column:first-child { flex-basis: 60% !important; } }
.furn-title { font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 4.2rem); max-width: 12em; }
.furn-hero .is-style-outline .wp-block-button__link { color: var(--wp--preset--color--forest); border-color: var(--wp--preset--color--forest); background: transparent; }
/* The plan card: the signature element, a fit-out spec sheet on drafting paper */
.plan-card { background-color: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 4px 4px 4px 28px;
  padding: 2rem; box-shadow: 10px 10px 0 var(--wp--preset--color--oak);
  background-image: linear-gradient(rgba(23,120,74,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(23,120,74,.07) 1px, transparent 1px);
  background-size: 18px 18px; }
.plan-label { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.3rem; color: var(--wp--preset--color--forest); margin-top: 0; }
.plan-card ul.ticks { columns: 1; margin-bottom: 0; }
.furn-ranges .card { border-left: 5px solid var(--wp--preset--color--oak); }
.furn-process { background: var(--wp--preset--color--white); border-block: 1px solid var(--wp--preset--color--line); }
.furn-process ol.steps li::before { color: var(--wp--preset--color--oak); }
.sector-cols { gap: 3rem; }
