/*
Theme Name: Noble Paws
Template: hello-elementor
Description: Child theme for Noble Paws Haven. Pages are built with Elementor (free).
Version: 1.0.0
Text Domain: noble-paws
*/

/* Small helpers Elementor Free cannot set from its panel. */
html{scroll-behavior:smooth}
body{background:#F8F3F2}
.np-mobile-menu{display:none}
.np-mobile-menu summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-family:Jost,sans-serif;font-size:15px;letter-spacing:2px;text-transform:uppercase;color:#282820;padding:10px 16px;border:1px solid #282820;border-radius:30px;white-space:nowrap;width:auto}
.np-mobile-menu summary::-webkit-details-marker{display:none}
.np-mobile-menu nav{position:absolute;right:16px;left:16px;margin-top:10px;background:#F8F3F2;border:1px solid #D7C6BE;border-radius:18px;padding:12px;box-shadow:0 18px 40px rgba(40,40,32,.12);z-index:999}
.np-mobile-menu nav a{display:block;padding:12px 14px;font-family:Jost,sans-serif;font-size:16px;letter-spacing:1px;color:#282820;text-decoration:none;border-radius:12px}
.np-mobile-menu nav a:hover{background:#D7C6BE}
@media (max-width:1024px){.np-mobile-menu{display:block}}
.np-card{transition:transform .25s ease, box-shadow .25s ease}
.np-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(40,40,32,.10)}
.np-shadow-top{box-shadow:0 -14px 30px rgba(40,40,32,.10)}
.np-dog img{filter:drop-shadow(0 12px 14px rgba(40,40,32,.18))}
.np-prose h2{font-family:Jost,sans-serif;font-size:24px;letter-spacing:1px;color:#282820;margin:34px 0 10px}
.np-prose h3{font-family:Jost,sans-serif;font-size:19px;color:#282820;margin:24px 0 8px}
.np-prose p,.np-prose li{font-size:16px;line-height:1.75;color:#3D3327}
.ff-default .ff-btn-submit{background:#846551!important;border-radius:30px!important;padding:14px 34px!important;letter-spacing:2px;text-transform:uppercase;font-family:Jost,sans-serif}
.fluentform .ff-el-form-control{border-radius:12px;border-color:#D7C6BE;background:#fff}
.elementor-toggle .elementor-toggle-item{border-radius:16px;overflow:hidden;box-shadow:0 6px 18px rgba(40,40,32,.05)}
.elementor-toggle .elementor-tab-title{border:0!important}
.elementor-toggle .elementor-tab-content{border:0!important}

/* ---- Signature photo frame: arched top like the roof in our logo, with an offset outline ---- */
.np-feather{position:relative;padding:0 18px 18px 0}
.np-feather::before{content:"";position:absolute;left:18px;top:18px;right:0;bottom:0;border:1.5px solid #846551;
  border-radius:999px 999px 30px 30px;z-index:0;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.np-feather img{position:relative;z-index:1;width:100%;aspect-ratio:4/5;object-fit:cover;
  border-radius:999px 999px 30px 30px!important;transition:transform .6s cubic-bezier(.2,.7,.2,1),filter .6s}
.np-feather-wrap:hover .np-feather img{transform:translate(-6px,-6px);filter:saturate(1.06)}
.np-feather-wrap:hover .np-feather::before{transform:translate(6px,6px)}

/* ---- Faint crown watermark in the corners of story sections (!important beats Elementor's overlay ::before) ---- */
.np-paws-l,.np-paws-r{position:relative;overflow:hidden}
.e-con.np-paws-l::before,.e-con.np-paws-r::before{
  content:""!important;position:absolute!important;display:block!important;width:190px!important;height:190px!important;
  inset:auto!important;opacity:.06!important;pointer-events:none;z-index:0!important;mix-blend-mode:normal!important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23846551'%3E%3Cpath d='M10 70 L20 32 L38 54 L50 24 L62 54 L80 32 L90 70 Z'/%3E%3Crect x='10' y='76' width='80' height='8' rx='3'/%3E%3Ccircle cx='20' cy='27' r='5'/%3E%3Ccircle cx='50' cy='18' r='5'/%3E%3Ccircle cx='80' cy='27' r='5'/%3E%3C/svg%3E") no-repeat center/contain!important;
}
.e-con.np-paws-l::before{right:-30px!important;top:30px!important;transform:rotate(18deg)}
.e-con.np-paws-r::before{left:-30px!important;bottom:30px!important;transform:rotate(-20deg)}
.np-paws-l>.e-con,.np-paws-r>.e-con,.np-paws-l>.e-con-inner,.np-paws-r>.e-con-inner{position:relative;z-index:1}
@media(max-width:767px){.e-con.np-paws-l::before,.e-con.np-paws-r::before{width:120px!important;height:120px!important}}

/* ---- About page: birth-to-home timeline ---- */
.np-timeline{position:relative}
.e-con.np-timeline::before{content:""!important;display:block!important;position:absolute!important;inset:auto!important;left:10%!important;right:10%!important;top:62px!important;height:0!important;width:auto!important;opacity:1!important;background:none!important;border:0!important;border-top:2px dashed #CBBEB5!important;z-index:0!important}
.np-stage{position:relative;z-index:1;text-align:center}
.np-stage .elementor-icon{box-shadow:0 0 0 8px #F8F3F2}
.np-stage .elementor-icon-box-title{display:none}
@media(max-width:1024px){.e-con.np-timeline::before{display:none!important}}

/* ---- Hero buttons: a playful "look here" hop every few seconds ---- */
@keyframes np-hop{0%,62%,100%{transform:translateY(0)}68%{transform:translateY(-9px)}74%{transform:translateY(0)}80%{transform:translateY(-5px)}86%{transform:translateY(0)}}
.np-bounce .elementor-widget-button .elementor-button{animation:np-hop 3.2s ease-in-out infinite;will-change:transform}
.np-bounce .elementor-widget-button:nth-child(2) .elementor-button{animation-delay:.25s}
.np-bounce .elementor-button:hover{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.np-bounce .elementor-button{animation:none}}

/* ---- Header on phones and tablets: logo + menu on one line, dropdown spans the screen ---- */
.np-header{position:relative;flex-wrap:nowrap!important}
.np-header .e-con:has(.np-mobile-menu),.np-header .elementor-widget:has(.np-mobile-menu),.np-header .elementor-widget-container:has(.np-mobile-menu),.np-mobile-menu{position:static!important}
.np-mobile-menu nav{position:absolute;top:100%;left:16px;right:16px;margin-top:8px;width:auto;max-width:none}
.np-mobile-menu nav a{white-space:nowrap}
.np-mobile-menu[open] summary{background:#282820;color:#fff}
@media(max-width:767px){
  .np-logo .elementor-heading-title{letter-spacing:1.5px!important}
  .np-logo .elementor-widget:first-child .elementor-heading-title{font-size:16px!important}
  .np-logo .elementor-widget:last-child .elementor-heading-title{font-size:9px!important;letter-spacing:2px!important}
  .np-mobile-menu summary{font-size:13px;padding:9px 14px;letter-spacing:1.5px}
  h1.elementor-heading-title,h2.elementor-heading-title{letter-spacing:1px!important;overflow-wrap:break-word}
  p.elementor-heading-title{overflow-wrap:break-word}
}
.np-header>.e-con-inner{flex-wrap:nowrap!important;align-items:center!important}
@media(max-width:1024px){.np-header>.e-con-inner{gap:10px!important}.np-header>.e-con-inner>.e-con{min-width:0;flex-shrink:1}.np-header>.e-con-inner>.e-con:last-child{flex:0 0 auto;width:auto!important}}
/* Keep decorations from pushing the page wider than the screen */
.e-con.np-paws-l,.e-con.np-paws-r{overflow:hidden!important}
html,body{overflow-x:clip}

/* ---- Logo in header ---- */
.np-logo{flex-wrap:nowrap!important}
.np-logo-icon{flex:0 0 auto}
.np-logo-icon img{display:block;height:auto}
.np-logo-words{min-width:0}
@media(max-width:767px){.np-logo .np-logo-words .elementor-widget:first-child .elementor-heading-title{font-size:15px!important}}

/* ---- Header: keep name and menu on one line on laptops ---- */
.np-logo-words .elementor-heading-title{white-space:nowrap}
@media(min-width:1025px) and (max-width:1300px){.np-header .elementor-icon-list-items.elementor-inline-items{column-gap:18px}}
.np-header .elementor-icon-list-item{white-space:nowrap}

/* ---- Waitlist page ---- */
.np-ticks{list-style:none;margin:6px 0 10px;padding:0}
.np-ticks li{position:relative;padding:7px 0 7px 30px;border-bottom:1px dashed rgba(132,101,81,.25)}
.np-ticks li:last-child{border-bottom:0}
.np-ticks li::before{content:"";position:absolute;left:2px;top:12px;width:14px;height:8px;border-left:2px solid #846551;border-bottom:2px solid #846551;transform:rotate(-45deg)}
.np-list-dark .np-ticks li{border-bottom-color:rgba(255,255,255,.15)}
.np-list-dark .np-ticks li::before{border-color:#D9CBBF}
.np-list-dark{box-shadow:0 24px 60px rgba(40,40,32,.25)}
.np-step-num .elementor-heading-title{width:86px;height:86px;line-height:86px!important;border-radius:50%;background:#F8F3F2;margin:0 auto;box-shadow:0 0 0 8px #D7C6BE}
.e-con.np-timeline-num::before{top:63px!important;border-top-color:#846551!important;opacity:.35!important}
.elementor-widget-progress .elementor-title{display:block;margin-bottom:8px}
