/*
Theme Name: Oakville Custom Closets
Theme URI: https://oakvillecustomclosets.ca/
Author: Oakville Custom Closets
Description: Custom production theme for Oakville Custom Closets.
Version: 1.0.3
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: oakville-custom-closets
*/

:root {
  --espresso: #2f241f;
  --espresso-2: #47352d;
  --ink: #1d1a18;
  --ivory: #f8f3ea;
  --mushroom: #e8ddd0;
  --taupe: #b9a595;
  --copper: #a85f3a;
  --copper-dark: #7f4328;
  --oak: #caa77c;
  --white: #ffffff;
  --line: rgba(47, 36, 31, .16);
  --shadow: 0 18px 50px rgba(47, 36, 31, .11);
  --radius: 18px;
  --wrap: min(1220px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--copper-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--espresso); }
button, input, select, textarea { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.site-main { overflow: clip; }
.skip-link { position: fixed; left: 14px; top: -80px; z-index: 9999; background: var(--white); padding: 12px 16px; }
.skip-link:focus { top: 14px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus { position: fixed !important; top: 14px; left: 14px; z-index: 9999; width: auto; height: auto; margin: 0; padding: 12px 16px; overflow: visible; clip: auto; background: var(--white); }

h1, h2, h3, h4 {
  margin: 0 0 .65em;
  color: var(--espresso);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.65rem, 5.7vw, 5.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.75rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { margin: 0 0 1.2em; }
.eyebrow { margin: 0 0 16px; color: var(--copper-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lede { max-width: 68ch; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: #574a43; }
.section { padding: clamp(68px, 8vw, 118px) 0; }
.section-tight { padding: clamp(48px, 6vw, 78px) 0; }
.section-alt { background: var(--mushroom); }
.section-dark { color: var(--ivory); background: var(--espresso); }
.section-dark h2, .section-dark h3, .section-dark a { color: var(--white); }
.section-head { max-width: 800px; margin-bottom: 42px; }
.button, .wp-element-button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--copper);
  border-radius: 999px;
  color: var(--white);
  background: var(--copper);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover, input[type="submit"]:hover { color: var(--white); background: var(--copper-dark); border-color: var(--copper-dark); transform: translateY(-1px); }
.button-secondary { color: var(--espresso); background: transparent; border-color: var(--espresso); }
.button-secondary:hover { color: var(--white); background: var(--espresso); }
.button-light { color: var(--espresso); background: var(--ivory); border-color: var(--ivory); }
.section-dark .button-light, .cta-panel .button-light, .site-footer .button-light { color: var(--espresso); }
.section-dark .button-light:hover, .cta-panel .button-light:hover, .site-footer .button-light:hover { color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.topbar { padding: 7px 0; color: var(--ivory); background: var(--espresso); font-size: .8rem; letter-spacing: .03em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: var(--white); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(248,243,234,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; min-height: 78px; gap: 24px; }
.site-branding { flex: 0 0 auto; }
.site-logo { display: block; width: auto; height: 54px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav a { display: flex; align-items: center; min-height: 46px; padding: 10px 9px; color: var(--espresso); font-size: .82rem; font-weight: 750; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.primary-nav .menu-item-has-children > a::after { width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: translateY(-2px) rotate(45deg); }
.primary-nav .sub-menu { position: absolute; top: 100%; left: 0; display: block; visibility: hidden; min-width: 260px; padding: 10px; opacity: 0; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.primary-nav .sub-menu a { min-height: 0; padding: 11px 12px; border-radius: 8px; white-space: normal; }
.primary-nav .sub-menu a:hover { background: var(--ivory); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-nav .menu-cta > a { min-height: 44px; margin-left: 6px; padding: 12px 15px; color: var(--white); background: var(--copper); border-radius: 999px; }
.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--espresso); }

.hero { padding: clamp(48px, 7vw, 96px) 0; background: linear-gradient(135deg, #f8f3ea 0%, #efe3d6 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero-copy { position: sticky; top: 118px; align-self: start; }
.hero-copy .lede { max-width: 58ch; }
.cue-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.cue-list li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.54); font-size: .78rem; font-weight: 750; }
.hero-mosaic { position: sticky; top: 118px; align-self: start; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 146px; gap: 10px; min-width: 0; }
.hero-mosaic figure { margin: 0; overflow: hidden; border-radius: 14px; background: var(--mushroom); }
.hero-mosaic figure:nth-child(1) { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.hero-mosaic figure:nth-child(2) { grid-column: 5 / span 2; grid-row: 1; }
.hero-mosaic figure:nth-child(3) { grid-column: 5 / span 2; grid-row: 2; }
.hero-mosaic figure:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; }
.hero-mosaic figure:nth-child(5) { grid-column: 3 / span 2; grid-row: 3; }
.hero-mosaic figure:nth-child(6) { grid-column: 5 / span 2; grid-row: 3; }
.hero-mosaic figure:nth-child(7) { grid-column: 1 / span 3; grid-row: 4; }
.hero-mosaic figure:nth-child(8) { grid-column: 4 / span 3; grid-row: 4; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.page-hero { padding: clamp(56px, 8vw, 104px) 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(30px, 6vw, 82px); }
.page-hero-media { aspect-ratio: 3/2; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.consultation-band { position: relative; z-index: 2; margin-top: -30px; }
.form-shell { padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.form-grid-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; align-items: start; }
.wpforms-container { margin: 0 !important; }
.wpforms-container .wpforms-field { padding: 7px 0 !important; }
.wpforms-container input, .wpforms-container select, .wpforms-container textarea { min-height: 50px !important; border: 1px solid #b9ada5 !important; border-radius: 8px !important; background: #fff !important; }
.form-unavailable { padding: 20px; background: var(--ivory); border-radius: 12px; }
.phone-card { display: flex; align-items: center; gap: 14px; width: min(100%, 410px); margin-top: 26px; padding: 16px 18px; color: var(--espresso); background: var(--ivory); border: 1px solid rgba(168,95,58,.3); border-radius: 14px; box-shadow: 0 12px 28px rgba(47,36,31,.09); }
.phone-card__icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; color: var(--white); background: var(--copper); border-radius: 50%; }
.phone-card__icon svg { width: 21px; height: 21px; }
.phone-card__copy { min-width: 0; }
.phone-card__label { display: block; margin-bottom: 2px; color: #715e54; font-size: .68rem; font-weight: 850; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; }
.phone-card .phone-card__number { display: block; color: var(--espresso); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.18rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.phone-card .phone-card__number:hover { color: var(--copper-dark); }
.phone-card--dark { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(202,167,124,.48); box-shadow: none; }
.phone-card--dark .phone-card__label { color: var(--oak); }
.phone-card--dark .phone-card__number { color: var(--white); }
.phone-card--dark .phone-card__number:hover { color: var(--oak); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.visual-card { position: relative; min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(47,36,31,.07); }
.visual-card .card-media { aspect-ratio: 3/2; overflow: hidden; background: var(--mushroom); }
.visual-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.visual-card:hover img { transform: scale(1.025); }
.card-body { padding: 24px; }
.card-body p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; margin-top: 8px; font-size: .82rem; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.problem-tile { min-height: 170px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.problem-tile span { display: block; margin-bottom: 14px; color: var(--copper); font-size: .76rem; font-weight: 850; letter-spacing: .12em; }
.problem-tile h3 { margin-bottom: 8px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-start { align-items: start; }
.split > .photo-pair, .split > .content-photo-grid { position: sticky; top: 112px; align-self: start; }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.photo-pair figure { margin: 0; overflow: hidden; aspect-ratio: 4/5; border-radius: 16px; }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }
.feature-photo { margin: 36px 0; }
.feature-photo img { width: 100%; border-radius: 18px; }
.feature-photo figcaption { padding: 10px 4px 0; color: #675850; font-size: .84rem; }
.content-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 38px 0; }
.content-photo-grid .feature-photo { margin: 0; overflow: hidden; aspect-ratio: 3/2; border-radius: 16px; }
.content-photo-grid .feature-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

.number-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; counter-reset: steps; }
.number-card { min-height: 210px; padding: 26px; background: var(--white); border-radius: 16px; border: 1px solid var(--line); counter-increment: steps; }
.number-card::before { display: block; margin-bottom: 26px; color: var(--copper); font-weight: 900; content: "0" counter(steps); }
.comparison { width: 100%; border-collapse: collapse; margin: 28px 0; background: var(--white); }
.comparison th, .comparison td { padding: 15px; text-align: left; border: 1px solid var(--line); vertical-align: top; }
.comparison th { color: var(--white); background: var(--espresso); }

.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(38px, 6vw, 84px); align-items: start; padding: 64px 0 100px; }
.entry-content { min-width: 0; }
.entry-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide, .entry-content > .content-photo-grid, .entry-content > .feature-photo, .entry-content > .comparison, .entry-content > .faq-list, .entry-content > .related-links, .entry-content > .cta-panel { max-width: 980px; }
.entry-content h2 { margin-top: 1.55em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em; padding-left: 1.3em; }
.entry-content li { margin-bottom: .55em; }
.article-sidebar { position: static; }
.sidebar-card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.sidebar-card h2 { max-width: 100%; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.14; overflow-wrap: break-word; }
.sidebar-card .phone-card { width: 100%; padding: 14px; }
.sidebar-card .phone-card__icon { flex-basis: 42px; width: 42px; height: 42px; }
.sidebar-card .phone-card__number { font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.toc { padding: 24px; margin: 24px 0 38px; background: var(--mushroom); border-radius: 14px; }
.toc a { text-decoration: none; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 22px 0; color: var(--espresso); background: transparent; border: 0; text-align: left; font-family: Georgia,serif; font-size: 1.22rem; cursor: pointer; }
.faq-question::after { content: "+"; font-family: system-ui,sans-serif; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; padding: 0 0 24px; }
.faq-answer.is-open { display: block; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px; margin-top: 36px; background: var(--mushroom); border-radius: 14px; }
.related-links a { padding: 8px 12px; background: var(--white); border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 750; }
.cta-panel { padding: clamp(30px, 5vw, 56px); margin-top: 50px; color: var(--ivory); background: var(--espresso); border-radius: 20px; }
.cta-panel h2, .cta-panel h3 { color: var(--white); }

.gallery-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery-filter { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; }
.gallery-filter.is-active { color: var(--white); background: var(--espresso); }
.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.gallery-item { margin: 0; overflow: hidden; background: var(--white); border-radius: 14px; }
.gallery-item button { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.gallery-item figcaption { padding: 12px 14px 16px; color: var(--ink); background: var(--white); font-size: .84rem; }
.gallery-item[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 30px; background: rgba(20,16,14,.92); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 82vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-size: 1.5rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 28px rgba(47,36,31,.06); }
.post-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.post-card h2, .post-card h3 { margin-bottom: .7em; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.18; letter-spacing: -.02em; }
.post-card h2 a, .post-card h3 a { color: var(--espresso); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--copper-dark); }
.post-card .card-link { margin-top: auto; padding-top: 10px; }
.post-meta { color: #78675d; font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.breadcrumbs { padding: 16px 0; font-size: .8rem; color: #746359; }
.breadcrumbs a { color: inherit; }

.site-footer { padding: 70px 0 28px; color: #e9dfd5; background: #201815; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 38px; }
.footer-logo { width: 230px; max-width: 100%; margin-bottom: 18px; filter: brightness(0) invert(1); }
.site-footer h2 { color: var(--white); font-family: inherit; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #e9dfd5; text-decoration: none; }
.site-footer .phone-card { width: min(100%, 310px); margin-top: 22px; padding: 14px 15px; background: rgba(255,255,255,.07); border-color: rgba(202,167,124,.42); box-shadow: none; }
.site-footer .phone-card__label { color: var(--oak); }
.site-footer .phone-card__number { color: var(--white); font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.site-footer .phone-card__number:hover { color: var(--oak); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; }
.mobile-cta { display: none; }

@media (max-width: 1120px) {
  :root { --wrap: min(100% - 30px, 960px); }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 108px 0 auto 0; display: none; max-height: calc(100vh - 108px); overflow: auto; padding: 18px; background: var(--ivory); border-top: 1px solid var(--line); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav a { justify-content: space-between; min-height: 48px; padding-inline: 12px; font-size: .95rem; }
  .primary-nav .sub-menu { position: static; display: none; visibility: visible; min-width: 0; padding: 0 0 8px 16px; opacity: 1; background: transparent; border: 0; box-shadow: none; transform: none; }
  .primary-nav li.submenu-open > .sub-menu { display: block; }
  .primary-nav .menu-cta > a { justify-content: center; margin: 14px 0 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { position: static; }
  .hero-mosaic { position: static; top: auto; grid-auto-rows: 130px; }
  .card-grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-shell { grid-template-columns: 1fr 300px; }
}

@media (max-width: 800px) {
  :root { --wrap: min(100% - 24px, 680px); }
  body { font-size: 16px; }
  .topbar .wrap span { display: none; }
  .topbar .wrap { justify-content: center; }
  .site-logo { height: 48px; }
  .primary-nav { top: 103px; max-height: calc(100vh - 103px); }
  .page-hero-grid, .form-grid-intro, .split, .article-shell { grid-template-columns: 1fr; }
  .split > .photo-pair, .split > .content-photo-grid { position: static; top: auto; }
  .card-grid, .problem-grid, .number-grid, .project-gallery, .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-hero-media { order: -1; }
  .hero-mosaic { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 190px; }
  .hero-mosaic figure, .hero-mosaic figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .hero-mosaic figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .article-sidebar { order: 2; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .mobile-cta { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 900; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: rgba(32,24,21,.94); border-radius: 999px; }
  .mobile-cta a { min-height: 44px; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .header-inner { min-height: 72px; }
  .site-logo { height: 44px; max-width: 225px; }
  .primary-nav { top: 99px; max-height: calc(100vh - 99px); }
  .hero-mosaic { grid-auto-rows: 150px; gap: 7px; }
  .card-grid, .card-grid-2, .card-grid-4, .problem-grid, .number-grid, .project-gallery, .post-grid, .footer-grid, .content-photo-grid { grid-template-columns: 1fr; }
  .photo-pair { gap: 8px; }
  .problem-tile { min-height: 0; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 8px; }
  .comparison { display: block; overflow-x: auto; }
  .phone-card { padding: 14px; }
  .phone-card__icon { flex-basis: 42px; width: 42px; height: 42px; }
  .phone-card .phone-card__number { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
