/*
Theme Name: Mira Mi Casa
Description: Tema editorial de Mira Mi Casa para impresión de miniaturas 3D.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: mira-mi-casa
*/
@font-face{font-family:Cinzel;src:url(fuentes/cinzel.woff2) format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:Inter;src:url(fuentes/inter.woff2) format("woff2");font-style:normal;font-weight:400 700;font-display:swap}

:root {
  --coal:#202020;
  --wine:#801c29;
  --wine-dark:#64131e;
  --ivory:#f5f1e8;
  --paper:#faf7f0;
  --muted:#584e46;
  --line:#d8cfc1;
  --dark-line:#534749;
  --whatsapp:#26d873;
  --whatsapp-light:#44ea89;
  --whatsapp-ink:#092b1c;
  --display:Cinzel, Georgia, "Times New Roman", serif;
  --body:Inter, system-ui, sans-serif;
  --wrap: min(1320px, 100% - clamp(2rem, 8vw, 8rem));
  --section: clamp(2.75rem, 5vw, 5.25rem);
}
*, *::before, *::after {box-sizing:border-box}
html {color-scheme:light}
body {margin:0;color:var(--coal);background:var(--ivory);font:1rem/1.6 var(--body);overflow-wrap:break-word}
[hidden] {display:none !important}
img {max-width:100%;height:auto;display:block}
figure {margin:0}
a {color:var(--wine);text-underline-offset:.2em}
a:hover {color:var(--wine-dark)}
:focus-visible {outline:3px solid #a43846;outline-offset:4px}
.dark :focus-visible,.closing :focus-visible,.site-footer :focus-visible,.hero :focus-visible {outline-color:#f4d6bd}
h1,h2,h3 {margin:0;font-family:var(--display);line-height:1.18;font-weight:700;text-wrap:balance}
h1 {font-size:clamp(2.25rem,5vw,4.35rem)}
h2 {color:var(--wine);font-size:clamp(1.62rem,3vw,2.7rem)}
h3 {font-size:clamp(1.05rem,1.8vw,1.35rem)}
p {margin:.75em 0 0}
ul,ol,dl {margin:0}
.wrap {width:var(--wrap);margin-inline:auto}
.section {padding-block:var(--section)}
.centered {text-align:center;margin-inline:auto}
.fine {font-size:.84rem;line-height:1.45}
.section > .wrap > .fine {max-width:80ch;margin:1.15rem auto 0}
.skip-link {position:absolute;z-index:10;left:1rem;top:1rem;transform:translateY(-250%);padding:.75rem;background:var(--paper);color:var(--wine)}
.skip-link:focus {transform:none}
.button {display:inline-flex;min-height:45px;align-items:center;justify-content:center;text-align:center;border-radius:.42rem;border:1px solid transparent;padding:.65rem 1.18rem;background:var(--wine);color:var(--ivory);font-weight:700;line-height:1.3;text-decoration:none}
.button:hover {background:var(--wine-dark);color:var(--ivory)}
.button-outline {color:var(--ivory);border-color:#e1b6aa;background:var(--wine)}
.button-secondary {color:var(--wine);border-color:var(--wine);background:transparent}
.button-whatsapp {
  --whatsapp-icon-size:32px;
  --whatsapp-label-height:52px;
  --whatsapp-label-padding:1.35rem;
  min-height:52px;
  max-inline-size:100%;
  gap:8px;
  padding:0;
  border:0;
  border-radius:4px;
  background:none;
  color:var(--whatsapp-ink);
  font-weight:750;
}
.button-whatsapp:hover {background:none;color:var(--whatsapp-ink)}
.button-whatsapp-icon {
  flex:none;
  inline-size:auto;
  block-size:var(--whatsapp-icon-size);
}
.button-whatsapp-label {
  display:grid;
  place-items:center;
  min-block-size:var(--whatsapp-label-height);
  padding:.55rem var(--whatsapp-label-padding);
  border-radius:4px;
  background:var(--whatsapp);
}
.button-whatsapp:hover .button-whatsapp-label {background:var(--whatsapp-light)}
.text-link {display:inline-block;margin-top:.65rem;font-weight:700}

.site-header {background:var(--ivory);border-bottom:1px solid #dbd2c6;position:relative;z-index:2}
.header-inner {min-height:81px;display:flex;justify-content:space-between;align-items:center;gap:1.5rem}
.brand {display:block;flex:0 1 270px;color:var(--coal);font:700 1.25rem var(--display);text-decoration:none}
.brand-descriptor {display:block;font:650 .68rem/1.3 var(--body);color:var(--wine)}
.brand-logo {width:100%;max-height:65px;object-fit:contain;object-position:left center}
.header-menu,.header-menu ul {display:flex;align-items:center;gap:clamp(.8rem,2vw,2rem)}
.header-menu ul,.site-footer ul,.feature-grid,.social-list {list-style:none;padding:0}
.header-menu li {white-space:nowrap}
.header-menu nav a {display:block;padding:.55rem 0;color:var(--coal);font-size:.91rem;font-weight:600;text-decoration:none}
.header-menu nav a:hover,.header-menu nav a[aria-current] {color:var(--wine);box-shadow:inset 0 -2px var(--wine)}
.button-header {white-space:nowrap;font-size:.91rem}
.button-header.button-whatsapp {
  --whatsapp-icon-size:26px;
  --whatsapp-label-height:44px;
  --whatsapp-label-padding:.7rem;
  min-height:45px;
}
.menu-toggle {min-height:44px;padding:.45rem .75rem;background:transparent;color:var(--wine);border:1px solid var(--wine);border-radius:.4rem;font:600 1rem var(--body)}

.hero {position:relative;isolation:isolate;background:#161616;color:var(--ivory);min-height:470px;display:grid;align-items:center}
.hero-figure {position:absolute;z-index:-2;inset:0 0 0 auto;width:71%;margin:0}
.hero-image {width:100%;height:100%;object-fit:cover;object-position:58% 48%}
.hero::after {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#161616 5%,#161616 26%,rgba(22,22,22,.98) 32%,rgba(22,22,22,.72) 40%,rgba(22,22,22,.22) 58%,transparent 74%)}
.hero-figure figcaption {position:absolute;bottom:.55rem;right:clamp(.75rem,3vw,2rem);z-index:1;padding:.25rem .5rem;border-radius:.2rem;color:var(--ivory);background:#202020;font-size:.76rem}
.hero-inner {padding-block:clamp(2.8rem,5vw,5rem);position:relative;z-index:0}
.hero-copy {max-width:43rem}
.eyebrow {color:#efc6be;font-size:.76rem;letter-spacing:.17em;font-weight:700;margin:0 0 .8rem}
.hero h1 {font-size:clamp(2.1rem,4.15vw,3.9rem);text-wrap:balance;text-shadow:0 2px 14px #111}
.hero h1::after {content:"";display:block;width:4rem;height:2px;background:#bb4e57;margin:1.05rem 0 .95rem}
.hero-body {max-width:43ch;font-size:clamp(1rem,1.4vw,1.1rem)}
.hero-body p + p {margin-top:.55rem}
.hero .button {margin-top:1.15rem}
.hero .button:not(.button-whatsapp) {border-color:#d7a498}
.button-hero-quote.button-whatsapp {
  --whatsapp-icon-size:76px;
  --whatsapp-label-height:64px;
  --whatsapp-label-padding:clamp(.85rem,2.4vw,1.65rem);
  font-size:clamp(1rem,1.55vw,1.2rem);
}
.hero .fine {font-style:italic}

.section-heading {text-align:center;margin:0 auto 1.85rem;max-width:72ch}
.ruled {display:flex;align-items:center;justify-content:center;gap:clamp(.7rem,2vw,1.4rem)}
.ruled::before,.ruled::after {content:"";width:clamp(1.1rem,6vw,4.75rem);height:3px;flex:none;background:linear-gradient(90deg,transparent,var(--wine))}
.ruled::after {transform:scaleX(-1)}
.category-grid,.process-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.85rem,1.6vw,1.4rem)}
.category-card,.post-card,.info-card {border:1px solid var(--line);border-radius:.58rem;background:var(--paper);overflow:hidden}
.category-media,.post-card img {width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--coal)}
.card-copy {padding:1rem 1.05rem 1.15rem}
.card-copy h3 {color:var(--wine);text-wrap:initial}
.card-copy p,.process-grid p,.feature-grid p {font-size:.94rem;line-height:1.5}
.dark {background:radial-gradient(ellipse at top,#2d2828,var(--coal) 65%);color:var(--ivory)}
.dark h2 {color:var(--ivory)}
.dark .ruled::before,.dark .ruled::after {background:linear-gradient(90deg,transparent,#be5060)}
.process-grid {padding:0;margin-bottom:1.55rem;list-style:none;text-align:center}
.process-grid li {padding:.25rem .45rem 0}
.process-grid li + li {border-inline-start:1px solid var(--dark-line)}
.step-mark {display:flex;justify-content:center;align-items:center;gap:.65rem;margin:0 0 .65rem}
.step-mark span {display:grid;place-items:center;min-width:1.85rem;height:1.85rem;border-radius:50%;background:var(--wine);font-weight:700}
.step-mark svg {width:2.85rem;height:2.85rem}
.material-grid {display:grid;grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:clamp(1.5rem,4vw,4rem);align-items:center}
.material-grid:not(:has(figure)) {grid-template-columns:1fr}
.material-media {width:100%;aspect-ratio:1.25;object-fit:cover;object-position:35% center;border-radius:.55rem}
.material-grid figcaption {margin-top:.4rem;color:var(--muted)}
.feature-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.35rem}
.feature-grid li {border-top:1px solid var(--line);padding-top:.7rem}
.feature-grid svg {width:1.85rem;height:1.85rem;color:var(--wine);margin-bottom:.2rem}
.feature-grid h3 {color:var(--wine);font:700 .98rem/1.3 var(--body)}
.feature-grid p {margin-top:.4rem}
.finish-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.finish-card {display:flex;align-items:center;background:var(--ivory);border:1px solid var(--line);border-radius:.52rem;overflow:hidden;color:var(--coal)}
.finish-media {width:40%;height:100%;object-fit:cover;object-position:center;background:var(--coal)}
.logistics-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.6rem,5vw,4rem)}
.logistics-grid article + article {border-left:1px solid var(--line);padding-left:clamp(1.4rem,4vw,3.25rem)}
.dimensions {display:flex;align-items:center;gap:.75rem 1.15rem;margin-top:1rem;color:var(--wine)}
.dimensions svg {width:clamp(2.6rem,5vw,4.2rem);height:auto;flex:none}
.dimensions dl {display:flex;gap:.75rem clamp(.8rem,2vw,2rem);flex-wrap:wrap}
.dimensions dl div {display:flex;flex-direction:column-reverse;gap:.12rem}
.dimensions dt {font-size:.86rem;color:var(--muted)}
.dimensions dd {margin:0;font:700 1.23rem var(--display)}
.metro-line {display:flex;gap:.75rem;align-items:center;color:var(--wine);font-size:1.1rem;font-weight:700}
.metro-line span {display:grid;place-items:center;width:2.35rem;height:2.35rem;border-radius:.4rem;background:#a01e2c;color:white}
.metro-line svg {width:1.6rem;height:1.6rem}

.editorial-section {border-block:1px solid var(--line);background:#f0ebe1}
.editorial-grid {max-width:58rem}
.editorial-grid.with-blog {max-width:1320px;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:clamp(1.5rem,4vw,4rem)}
.editorial-grid h2 {margin-bottom:1.1rem}
.faq-item {margin:0 0 .55rem;border:1px solid var(--line);border-radius:.42rem;background:var(--paper)}
.faq-item summary {position:relative;cursor:pointer;min-height:45px;padding:.65rem 2.5rem .65rem .85rem;font-weight:650;list-style:none}
.faq-item summary::-webkit-details-marker {display:none}
.faq-item summary::after {content:"";position:absolute;right:1.15rem;top:1rem;width:.54rem;height:.54rem;border:solid var(--wine);border-width:0 .13rem .13rem 0;transform:rotate(45deg)}
.faq-item[open] summary::after {transform:rotate(225deg);top:1.25rem}
.faq-item[open] summary {color:var(--wine)}
.faq-item > div {padding:0 .85rem .85rem}
.faq-item p:first-child {margin-top:0}
.faq-group {margin:1.6rem 0 1rem;font-size:clamp(1.25rem,2.5vw,1.65rem)}
.faq-group:first-child {margin-top:0}
.closing {position:relative;isolation:isolate;padding-block:clamp(2.5rem,6vw,5.2rem);text-align:center;color:var(--ivory);background:radial-gradient(ellipse at 50% 5%,#891e2c,#5b1721 75%)}
.closing-media {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.closing:has(.closing-media)::before {content:"";position:absolute;inset:0;background:#2c0c13c4;z-index:-1}
.closing-inner {max-width:55rem}
.closing h2 {color:var(--ivory)}
.closing .button {margin-top:1.35rem}

.site-footer {padding:2.3rem 0 1.2rem;background:#181818;color:var(--ivory)}
.footer-grid {display:flex;flex-wrap:wrap;gap:1.5rem 2.5rem}
.footer-grid > * {flex:1 1 10rem}
.footer-grid > :first-child {flex:1.6 1 16rem}
.footer-brand {font:700 1.45rem var(--display);text-decoration:none}
.site-footer a {color:var(--ivory)}
.site-footer a:hover {color:#f1b7b4}
.site-footer p,.site-footer ul {font-size:.88rem}
.site-footer li + li {margin-top:.25rem}
.site-footer h2 {font:700 .93rem/1.45 var(--body);color:var(--ivory);margin-bottom:.3rem}
.site-footer ul + h2 {margin-top:.7rem}
.site-footer h2 + p {margin-top:.25rem}
.footer-bottom {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;border-top:1px solid #555;margin-top:1.4rem;padding-top:.85rem}
.social-list {display:flex;gap:.7rem}
.social-list svg {width:1.4rem;height:1.4rem}
.social-list a {display:grid;place-items:center;width:44px;height:44px;border:1px solid #555;border-radius:50%}

.reading {max-width:71ch}
.page-intro {background:radial-gradient(ellipse at top,#3d2c2e,var(--coal) 70%);color:var(--ivory);padding-block:clamp(2.7rem,6vw,5rem)}
.page-intro .reading {margin-inline:calc((100% - var(--wrap)) / 2)}
.page-intro h1,.entry-header h1,.reading > h1 {font-size:clamp(2.1rem,4.7vw,3.75rem)}
.page-intro p {max-width:67ch;color:#ede3d8}
.contact-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem}
.info-card {padding:clamp(1.15rem,3vw,2rem);margin-bottom:1rem}
.info-card h2 {font-size:clamp(1.3rem,3vw,2rem)}
.info-card .button {margin-top:1.1rem}
.info-card .contact-email {font-weight:650}
.checklist {padding-inline-start:1.25rem;margin-top:1rem}
.checklist li + li {margin-top:.35rem}
.post-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}
.post-card img {aspect-ratio:16/10}
.post-card h3 a {text-decoration:none}
.post-card h3 a:hover {text-decoration:underline}
.entry-meta,.post-card .entry-meta {font-size:.83rem;color:var(--muted);margin:.2rem 0 .55rem}
.entry-header .entry-meta {margin-top:.8rem}
.breadcrumbs {display:flex;flex-wrap:wrap;gap:.45rem;font-size:.87rem;margin-bottom:1.25rem}
.entry-cover {margin-top:1rem}
.entry-lede {font-size:1.13rem;color:var(--muted)}
.entry-content h2,.entry-content h3 {margin-top:1.5em}
.entry-content figure,.entry-content ul,.entry-content ol {margin-block:1rem}
.entry-content a {overflow-wrap:anywhere}
.pagination {margin-top:1.5rem}
.page-numbers {display:inline-block;padding:.25rem .55rem}
.page-numbers.current {font-weight:700}
.screen-reader-text {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}

@media (max-width:56rem) {
  .header-inner {flex-wrap:wrap;min-height:69px;gap:.55rem;padding-block:.45rem}
  .brand {flex-basis:220px}
  .header-menu {flex:1 0 100%;justify-content:space-between;flex-wrap:wrap;gap:.6rem;padding:.45rem 0 .65rem}
  .header-menu nav {min-width:0}
  .header-menu ul {flex-wrap:wrap;gap:.35rem 1.05rem}
  .header-menu nav a {min-height:44px;padding:.62rem 0}
  .category-grid,.process-grid,.post-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .process-grid li:nth-child(odd) {border-left:0}
  .material-grid {grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
  .editorial-grid.with-blog {grid-template-columns:1fr}
}
@media (max-width:700px) {
  .button-hero-quote.button-whatsapp {
    --whatsapp-icon-size:60px;
    --whatsapp-label-height:56px;
  }
  .hero {display:flex;flex-direction:column;min-height:auto;align-items:stretch}
  .hero-inner {padding-block:2.25rem 1.4rem;order:-1}
  .hero::after {display:none}
  .hero-figure {position:relative;z-index:0;width:100%}
  .hero-image {aspect-ratio:16/9;height:auto;object-position:center}
  .hero h1 {font-size:clamp(1.9rem,8vw,3.2rem)}
  .material-grid,.finish-grid,.logistics-grid,.contact-grid {grid-template-columns:1fr}
  .material-media {aspect-ratio:16/9}
  .logistics-grid article + article {border-left:0;border-top:1px solid var(--line);padding:1.45rem 0 0}
}
@media (max-width:480px) {
  .brand {flex-basis:172px}
  .brand-descriptor {display:block;font:650 .68rem/1.3 var(--body);color:var(--wine)}
.brand-logo {max-height:49px}
  .header-menu {align-items:stretch;flex-direction:column}
  .header-menu .button {align-self:flex-start}
  .category-grid,.post-grid {grid-template-columns:1fr}
  .finish-card {display:block}
  .finish-media {width:100%;height:auto;aspect-ratio:4/3}
  .process-grid li {padding-inline:.15rem}
  .ruled {gap:.55rem}
  .ruled::before,.ruled::after {width:.9rem}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto !important;animation-duration:.01ms !important;transition-duration:.01ms !important}
}
