/*
Theme Name: Mi Rinconcillo Child
Template: astra
Author: Piedrasoft
Version: 1.0
*/

:root{
--stone-50:#fafaf9;--stone-100:#f5f5f4;--stone-200:#e7e5e4;--stone-300:#d6d3d1;
--stone-400:#a8a29e;--stone-500:#78716c;--stone-600:#57534e;--stone-700:#44403c;
--stone-800:#292524;--stone-900:#1c1917;
--amber-100:#fef3c7;--amber-400:#fbbf24;--amber-700:#b45309;--amber-800:#92400e;
--serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
--sans:'Lato',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
}

body,button,input,select,textarea{font-family:var(--sans);}
body{color:var(--stone-700);background:var(--stone-50);}
h1,h2,h3,h4,h5,.site-title,.entry-title,.ast-archive-title{font-family:var(--serif)!important;color:var(--stone-800);}

/* ---------- Cabecera (Astra) ---------- */
#masthead.site-header{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.07);}
.ast-primary-header-bar,.main-header-bar{background:#fff!important;}
.site-title{font-size:1.7rem!important;font-weight:600!important;letter-spacing:.01em;line-height:1.2;}
.site-title a{color:var(--stone-800)!important;}
.site-description{display:none!important;}
.main-header-menu a,.ast-builder-menu .menu-item>a,.ast-header-navigation-arrow{
  color:var(--stone-600);font-weight:300;letter-spacing:.03em;}
.main-header-menu .menu-item>a:hover,.ast-builder-menu .menu-item>a:hover,
.main-header-menu .current-menu-item>a{color:var(--amber-700)!important;}

/* ---------- Botones ---------- */
.mr-btn{display:inline-block;padding:.85rem 2rem;font-weight:400;letter-spacing:.02em;
  transition:all .3s ease;text-decoration:none!important;cursor:pointer;border:2px solid transparent;
  font-size:1rem;line-height:1;}
.mr-btn-primary,.entry-content a.mr-btn-primary{background:var(--amber-700);color:#fff!important;}
.mr-btn-primary:hover,.entry-content a.mr-btn-primary:hover{background:var(--amber-800);color:#fff!important;}
.mr-btn-outline,.entry-content a.mr-btn-outline{border-color:#fff;color:#fff!important;background:transparent;}
.mr-btn-outline:hover,.entry-content a.mr-btn-outline:hover{background:#fff;color:var(--stone-900)!important;}
.mr-link{text-decoration:none!important;}

/* Botón del formulario Fluent Forms en color del tema */
.fluentform .ff-btn-submit,.fluentform button[type="submit"]{
  background:var(--amber-700)!important;border-color:var(--amber-700)!important;
  color:#fff!important;border-radius:0!important;padding:.7rem 2rem!important;
  font-family:var(--sans)!important;box-shadow:none!important;}
.fluentform .ff-btn-submit:hover,.fluentform button[type="submit"]:hover{
  background:var(--amber-800)!important;border-color:var(--amber-800)!important;}
.fluentform .ff-el-input--label label{font-weight:700;color:var(--stone-700);}

/* ---------- Hero ---------- */
.mr-hero{position:relative;min-height:88vh;display:flex;align-items:center;justify-content:center;
  text-align:center;padding:6rem 1.5rem;background:url('https://mirinconcillo.piedrasoftcorporation.com/wp-content/uploads/2026/07/lacasa001b.jpg') center/cover no-repeat;}
.mr-hero::before{content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(28,25,23,.62),rgba(28,25,23,.42));}
.mr-hero-inner{position:relative;z-index:2;max-width:820px;margin:0 auto;}
.mr-hero-eyebrow{color:var(--amber-400);letter-spacing:.3em;text-transform:uppercase;
  font-size:.8rem;margin:0 0 1rem;}
.mr-hero-title{font-family:var(--serif);color:#fff;font-size:clamp(3rem,8vw,5rem);
  line-height:1.05;margin:0 0 1.2rem;font-weight:500;}
.mr-hero-sub{font-size:clamp(1.2rem,3vw,1.6rem);color:var(--stone-200);font-weight:300;
  margin:0 0 1.4rem;}
.mr-hero-desc{color:var(--stone-300);max-width:620px;margin:0 auto 2.2rem;line-height:1.7;}
.mr-hero-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;}

/* ---------- Secciones ---------- */
.mr-section{padding:5rem 0;}
.mr-section-white{background:#fff;}
.mr-section-stone{background:var(--stone-100);}
.mr-container{max-width:1180px;margin:0 auto;padding:0 1.5rem;}
.mr-eyebrow{color:var(--amber-700);text-transform:uppercase;letter-spacing:.1em;
  font-weight:700;font-size:.8rem;margin:0 0 .5rem;}
.mr-h2{font-family:var(--serif);font-size:clamp(2rem,4vw,2.6rem);color:var(--stone-800);
  font-weight:500;margin:0 0 1.2rem;line-height:1.15;}
.mr-grid2{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;}
.mr-grid2 p{color:var(--stone-600);line-height:1.8;margin:0 0 1.2rem;}
.mr-link{color:var(--amber-700);font-weight:700;text-decoration:none;display:inline-block;}
.mr-link:hover{color:var(--amber-800);}
.mr-imggrid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.mr-imggrid img{width:100%;height:210px;object-fit:cover;border-radius:.6rem;
  box-shadow:0 10px 22px rgba(0,0,0,.14);display:block;}
.mr-imggrid .mr-offset{margin-top:2rem;}
.mr-section-head{text-align:center;max-width:640px;margin:0 auto 3.5rem;}
.mr-section-head p{color:var(--stone-600);}
.mr-features{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;}
.mr-card{background:#fff;padding:2.2rem;border-radius:.6rem;box-shadow:0 4px 16px rgba(0,0,0,.06);}
.mr-card h3{font-family:var(--serif);font-size:1.45rem;color:var(--stone-800);margin:.2rem 0 .6rem;}
.mr-card p{color:var(--stone-600);line-height:1.7;margin:0;}
.mr-icon{width:56px;height:56px;border-radius:9999px;background:var(--amber-100);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.3rem;}
.mr-icon::after{content:"";width:28px;height:28px;background:var(--amber-700);
  -webkit-mask:center/contain no-repeat var(--i);mask:center/contain no-repeat var(--i);}
.mr-icon-home{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20fill%3D%27none%27%20viewBox%3D%270%200%2024%2024%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%3E%3Cpath%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20d%3D%27M3%2012l2-2m0%200l7-7%207%207M5%2010v10a1%201%200%20001%201h3m10-11l2%202m-2-2v10a1%201%200%2001-1%201h-3m-6%200a1%201%200%20001-1v-4a1%201%200%20011-1h2a1%201%200%20011%201v4a1%201%200%20001%201m-6%200h6%27%2F%3E%3C%2Fsvg%3E");}
.mr-icon-fire{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20fill%3D%27none%27%20viewBox%3D%270%200%2024%2024%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%3E%3Cpath%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20d%3D%27M17.657%2018.657A8%208%200%20016.343%207.343S7%209%209%2010c0-2%20.5-5%202.986-7C14%205%2016.09%205.777%2017.656%207.343A7.975%207.975%200%200120%2013a7.975%207.975%200%2001-2.343%205.657z%27%2F%3E%3C%2Fsvg%3E");}
.mr-icon-paw{--i:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20fill%3D%27none%27%20viewBox%3D%270%200%2024%2024%27%20stroke%3D%27%23000%27%20stroke-width%3D%272%27%3E%3Cpath%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%20d%3D%27M4.318%206.318a4.5%204.5%200%20000%206.364L12%2020.364l7.682-7.682a4.5%204.5%200%2000-6.364-6.364L12%207.636l-1.318-1.318a4.5%204.5%200%2000-6.364%200z%27%2F%3E%3C%2Fsvg%3E");}
.mr-cta{background:var(--stone-900);color:#fff;padding:5rem 0;text-align:center;}
.mr-cta .mr-container{max-width:760px;}
.mr-cta .mr-h2{color:#fff;}
.mr-cta p{color:var(--stone-300);margin:0 0 2rem;line-height:1.7;}

/* ---------- Páginas interiores ---------- */
.ast-container .entry-title,h1.entry-title{font-family:var(--serif)!important;
  color:var(--stone-800);font-weight:500;}
.entry-content h2{font-family:var(--serif);color:var(--stone-800);font-weight:500;
  margin-top:2rem;}
.entry-content table{width:100%;border-collapse:collapse;margin:1rem 0;}
.entry-content table th{background:var(--stone-100);text-align:left;}
.entry-content table td,.entry-content table th{border:1px solid var(--stone-200);
  padding:.6rem .85rem;}
.entry-content a{color:var(--amber-700);}

/* ---------- Footer personalizado ---------- */
.site-footer,footer.site-footer{display:none!important;}
.mr-footer{background:var(--stone-900);color:var(--stone-300);padding:3.5rem 0 1.8rem;}
.mr-footer .mr-container{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem;}
.mr-footer h3{font-family:var(--serif);color:#fff;font-size:1.35rem;margin:0 0 1rem;}
.mr-footer h4{color:#fff;font-size:1rem;margin:0 0 1rem;font-weight:700;}
.mr-footer p{color:var(--stone-400);font-size:.92rem;line-height:1.7;margin:0 0 .6rem;}
.mr-footer a{color:var(--stone-400);text-decoration:none;}
.mr-footer a:hover{color:#fff;}
.mr-footer-social a{margin-right:1.2rem;}
.mr-footer-reg{color:var(--stone-500)!important;font-size:.8rem;margin-top:1rem;}
.mr-footer-bottom{border-top:1px solid var(--stone-800);margin-top:2.5rem;padding-top:1.5rem;
  text-align:center;color:var(--stone-500);font-size:.85rem;}

/* ---------- Responsive ---------- */
@media(max-width:920px){
.mr-features{grid-template-columns:1fr;}
.mr-grid2{grid-template-columns:1fr;gap:2rem;}
.mr-footer .mr-container{grid-template-columns:1fr;gap:1.8rem;}
.mr-imggrid .mr-offset{margin-top:0;}
.mr-hero{min-height:80vh;}
}
