/*
Theme Name: Dependable Needle
Theme URI: https://example.com
Author: Dependable Needle
Author URI: https://example.com
Description: A multi-page WordPress theme for a Nigerian bespoke native wear tailoring brand. Jewel-tone emerald & gold-foil branding, a real photo gallery with sewing prices, newsletter capture, and social/WhatsApp contact integration.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: depneedle
*/

:root{
  /* Deep jewel-tone emeralds, from near-black to a bright pop accent */
  --emerald-950:#052A1E;
  --emerald-900:#073B29;
  --emerald-700:#0B6E4F;
  --emerald-500:#12996B;
  --emerald-400:#1DB37D;

  /* Gold, from bronze to pale shimmer, for foil-style accents */
  --gold-900:#8A6A1A;
  --gold-700:#C9A227;
  --gold-500:#E8C158;
  --gold-300:#F4DFA0;

  --ivory:#FBF8F1;
  --charcoal:#14120F;
  --sand:#F1E9D8;
  --line: rgba(20,18,15,0.12);

  --brand-gradient: linear-gradient(120deg, var(--emerald-700) 0%, var(--emerald-500) 45%, var(--gold-500) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(7,59,41,0.94) 0%, rgba(11,110,79,0.9) 50%, rgba(212,162,39,0.82) 100%);
  --gold-foil: linear-gradient(110deg, var(--gold-900) 0%, var(--gold-700) 30%, var(--gold-300) 50%, var(--gold-700) 70%, var(--gold-900) 100%);
  --vignette: radial-gradient(circle at 28% 20%, var(--emerald-900) 0%, var(--emerald-950) 55%, #0a0805 100%);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--ivory);
  color:var(--charcoal);
  font-family:'Work Sans', sans-serif;
  line-height:1.55;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Fraunces', serif; font-weight:600; letter-spacing:-0.01em;}
.mono{font-family:'IBM Plex Mono', monospace; letter-spacing:0.02em;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1200px; margin:0 auto; padding:0 32px;}
.gradient-text{
  background:var(--gold-foil);
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:shimmer 6s linear infinite;
}
@keyframes shimmer{
  0%{background-position:0% center;}
  100%{background-position:200% center;}
}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer;}
input, textarea{font-family:inherit; font-size:14px;}

/* Reusable diamond-chain pattern motif, echoing the embroidery on our own garments */
.motif-bg{
  background-image:
    radial-gradient(circle, rgba(232,193,88,0.16) 1.5px, transparent 1.5px);
  background-size:26px 26px;
}

/* ---------- TOPBAR ---------- */
.topbar{
  background:var(--charcoal);
  color:var(--gold-300);
  text-align:center;
  font-size:11px;
  letter-spacing:0.16em;
  padding:8px 12px;
  text-transform:uppercase;
}

/* ---------- NAV ---------- */
nav.site-nav{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:14px 32px;
  background:var(--ivory);
  position:sticky; top:0; z-index:60;
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 0 rgba(212,162,39,0.15);
}
.nav-left{display:flex; align-items:center; gap:14px; flex-shrink:0;}
.brand-logo-img, .custom-logo{height:48px; width:auto; display:block; max-width:220px; object-fit:contain;}
.brand-logo-text{font-family:'Fraunces', serif; font-weight:700; font-size:21px; letter-spacing:0.01em;}
.nav-center{display:flex; align-items:center; gap:30px; flex:1; justify-content:center;}
.nav-links{display:flex; gap:28px; font-size:14px; font-weight:600;}
.nav-links a{position:relative; padding-bottom:3px; white-space:nowrap;}
.nav-links a:after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--gold-foil);transition:width .25s ease;}
.nav-links a:hover:after, .nav-links a.current-menu-item:after{width:100%;}
.nav-right{display:flex; align-items:center; gap:12px; flex-shrink:0;}

.nav-search{position:relative;}
.search-toggle{
  background:none; border:1px solid var(--line); width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--charcoal);
  transition:border-color .2s ease;
}
.search-toggle:hover{border-color:var(--emerald-500);}
.nav-search-form{
  position:absolute; top:50px; right:0; background:var(--ivory);
  border:1px solid var(--line); border-radius:6px; padding:10px;
  box-shadow:0 12px 30px rgba(0,0,0,0.14);
  display:none; gap:8px;
}
.nav-search-form.open{display:flex;}
.nav-search-form input[type="search"]{
  border:1px solid var(--line); border-radius:4px; padding:9px 12px; font-size:14px; width:200px;
}
.nav-search-form button{
  background:var(--emerald-700); color:#fff; border:none; border-radius:4px; padding:0 14px; font-size:13px; font-weight:600;
}

.btn-cta{
  background:var(--brand-gradient); background-size:160% auto; color:#fff; padding:12px 24px;
  border-radius:3px; font-size:13px; font-weight:700; letter-spacing:0.02em;
  border:none; display:inline-block; box-shadow:0 8px 22px rgba(11,110,79,0.35), 0 0 0 1px rgba(232,193,88,0.4) inset;
  transition:transform .2s ease, box-shadow .2s ease, background-position .4s ease;
}
.btn-cta:hover{transform:translateY(-2px); box-shadow:0 14px 28px rgba(11,110,79,0.42), 0 0 0 1px rgba(232,193,88,0.6) inset; background-position:100% center;}

.nav-toggle{
  display:none; font-size:22px; background:none; border:1px solid var(--line); color:var(--charcoal);
  width:40px; height:40px; border-radius:8px; align-items:center; justify-content:center;
}

/* ---------- HERO (Home) — dark jewel vignette, echoing our own studio photography ---------- */
.hero{
  position:relative;
  background:var(--vignette);
  color:#fff;
  padding:90px 32px 70px;
  overflow:hidden;
}
.hero-pattern{position:absolute; inset:0; opacity:0.5; pointer-events:none;}
.hero:before{
  content:"";
  position:absolute; top:-30%; right:-10%; width:60%; height:160%;
  background:radial-gradient(circle, rgba(232,193,88,0.16) 0%, transparent 65%);
  pointer-events:none;
}
.hero-inner{
  position:relative; max-width:1200px; margin:0 auto;
}
.eyebrow{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.2em;
  color:var(--gold-300); text-transform:uppercase; margin-bottom:18px; display:flex; gap:10px; align-items:center;
}
.eyebrow:before{content:"";width:26px;height:1px;background:var(--gold-foil);}
.hero h1{
  font-size:clamp(34px, 5vw, 60px); line-height:1.06; font-weight:600; color:#fff; max-width:760px;
}
.hero p.lead{margin-top:20px; font-size:17px; max-width:520px; color:rgba(255,255,255,0.82); font-weight:400;}
.hero-ctas{display:flex; gap:16px; margin-top:34px; flex-wrap:wrap;}
.btn-solid-light{
  background:var(--gold-foil); background-size:200% auto; color:var(--emerald-950); padding:15px 28px;
  font-weight:700; font-size:14px; border-radius:3px; display:inline-block;
  box-shadow:0 10px 26px rgba(232,193,88,0.28);
  transition:background-position .4s ease, transform .2s ease;
}
.btn-solid-light:hover{background-position:100% center; transform:translateY(-2px);}
.btn-outline-light{
  padding:15px 28px; font-weight:700; font-size:14px; border-radius:3px;
  border:1.5px solid rgba(255,255,255,0.5); color:#fff; display:inline-block;
  transition:border-color .2s ease, background .2s ease;
}
.btn-outline-light:hover{border-color:var(--gold-300); background:rgba(255,255,255,0.06);}

/* image collage on home hero — real product photography */
.hero-media{
  margin-top:56px; display:grid; grid-template-columns:repeat(4,1fr); gap:16px;
}
.media-tile{
  aspect-ratio:3/4; border-radius:8px; overflow:hidden; position:relative;
  background:rgba(255,255,255,0.06); border:1px solid rgba(232,193,88,0.28);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px rgba(0,0,0,0.35);
}
.media-tile img{width:100%; height:100%; object-fit:cover;}
.media-tile.placeholder{
  flex-direction:column; gap:8px; color:rgba(255,255,255,0.7); text-align:center; padding:14px;
}
.media-tile.placeholder svg{width:26px; height:26px; opacity:0.8;}
.media-tile.placeholder span{font-size:11px; font-family:'IBM Plex Mono'; letter-spacing:0.04em;}

/* ---------- SECTION HEADERS ---------- */
.section{padding:92px 32px;}
.section-head{max-width:600px; margin-bottom:48px;}
.section-eyebrow{font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.18em; text-transform:uppercase; color:var(--emerald-700); margin-bottom:14px; display:flex; align-items:center; gap:10px;}
.section-eyebrow:before{content:"";width:22px; height:1px; background:var(--gold-700);}
.section-head h2{font-size:clamp(26px,3.4vw,40px); font-weight:600;}
.section-head p{margin-top:16px; color:#4a463d; font-size:16px; max-width:520px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head.center .section-eyebrow{justify-content:center;}
.section-head.center .section-eyebrow:before{display:none;}

/* ---------- WHAT WE DO (home quicklinks) ---------- */
.quick-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.quick-card{
  background:var(--ivory); border:1px solid var(--line); border-radius:10px; padding:30px 26px;
  position:relative; overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.quick-card:before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--brand-gradient);
  transform:scaleX(0); transform-origin:left; transition:transform .3s ease;
}
.quick-card:hover{transform:translateY(-6px); box-shadow:0 20px 36px rgba(5,42,30,0.12);}
.quick-card:hover:before{transform:scaleX(1);}
.quick-icon{
  width:48px; height:48px; border-radius:50%; background:var(--brand-gradient);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; color:#fff;
  box-shadow:0 8px 18px rgba(11,110,79,0.3);
}
.quick-card h3{font-size:19px; margin-bottom:10px;}
.quick-card p{font-size:14px; color:#4a463d; margin-bottom:14px;}
.quick-card a{font-size:13px; font-weight:700; color:var(--emerald-700);}

/* ---------- GALLERY PREVIEW / GALLERY PAGE ---------- */
.gallery-strip{background:var(--charcoal); color:#fff;}
.gallery-strip .section-head h2{color:#fff;}
.gallery-strip .section-head p{color:rgba(255,255,255,0.65);}
.gallery-strip .section-eyebrow{color:var(--gold-300);}
.gallery-strip .section-eyebrow:before{background:var(--gold-500);}
.gallery-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:26px;}
.gallery-card{
  background:var(--ivory); border-radius:10px; overflow:hidden; border:1px solid var(--line);
  transition:transform .25s ease, box-shadow .25s ease;
}
.gallery-card:hover{transform:translateY(-6px); box-shadow:0 22px 40px rgba(0,0,0,0.35);}
.gallery-photo{
  aspect-ratio:4/5; background:var(--brand-gradient-soft); position:relative; overflow:hidden;
}
.gallery-photo img{width:100%; height:100%; object-fit:cover; position:absolute; inset:0; transition:transform .4s ease;}
.gallery-card:hover .gallery-photo img{transform:scale(1.05);}
.gallery-photo.placeholder{display:flex; flex-direction:column; gap:10px; color:rgba(255,255,255,0.85); text-align:center; padding:20px; align-items:center; justify-content:center;}
.gallery-photo.placeholder svg{width:30px; height:30px;}
.gallery-photo.placeholder span{font-size:11px; font-family:'IBM Plex Mono'; letter-spacing:0.04em;}
.gallery-price-tag{
  position:absolute; top:14px; right:14px; background:var(--gold-foil); color:var(--emerald-950);
  font-family:'IBM Plex Mono'; font-size:12px; font-weight:500; padding:6px 12px; border-radius:20px;
  box-shadow:0 6px 14px rgba(0,0,0,0.3); z-index:2;
}
.gallery-info{padding:18px 20px 22px;}
.gallery-info h3{font-size:18px; margin-bottom:6px; color:var(--charcoal);}
.gallery-info p{font-size:13px; color:#4a463d; margin-bottom:0;}
.gallery-cta-row{text-align:center; margin-top:48px;}

/* ---------- PROCESS ---------- */
.process{background:var(--emerald-950); color:#fff; position:relative;}
.process .section-head h2{color:#fff;}
.process .section-head p{color:rgba(255,255,255,0.7);}
.process .section-eyebrow{color:var(--gold-300);}
.process .section-eyebrow:before{background:var(--gold-500);}
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(232,193,88,0.18); border:1px solid rgba(232,193,88,0.18);}
.step{background:var(--emerald-950); padding:32px 24px;}
.step-num{font-family:'IBM Plex Mono'; color:var(--gold-500); font-size:13px; margin-bottom:20px;}
.step h4{font-size:17px; font-weight:600; margin-bottom:9px; color:#fff;}
.step p{font-size:14px; color:rgba(255,255,255,0.7);}

/* ---------- SERVICES / TICKETS ---------- */
.ticket-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:30px;}
.ticket{
  background:var(--ivory); border:1px solid var(--line); border-radius:10px;
  padding:26px 24px 24px; position:relative;
  transition:transform .25s ease, box-shadow .25s ease;
}
.ticket:hover{transform:translateY(-6px); box-shadow:0 20px 38px rgba(5,42,30,0.14); border-color:rgba(212,162,39,0.4);}
.ticket-num{font-family:'IBM Plex Mono'; font-size:11px; color:#8a8574; letter-spacing:0.1em; margin-bottom:10px;}
.ticket h3{font-size:20px; margin-bottom:14px;}
.ticket-spec{display:flex; justify-content:space-between; font-size:13px; padding:7px 0; border-bottom:1px dashed var(--line);}
.ticket-spec span:first-child{color:#8a8574; text-transform:uppercase; font-size:11px; letter-spacing:0.06em; padding-top:2px;}
.ticket-spec span:last-child{text-align:right; max-width:60%; font-weight:500;}
.ticket-price{margin-top:16px; display:flex; justify-content:space-between; align-items:baseline;}
.ticket-price b{font-family:'Fraunces'; font-size:21px; color:var(--emerald-700);}
.ticket-price small{font-family:'IBM Plex Mono'; font-size:11px; color:#8a8574;}

/* ---------- TESTIMONIALS ---------- */
.test-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.test{border-left:2px solid var(--gold-700); padding-left:22px;}
.test p{font-size:16px; color:#3c3830; font-style:italic; margin-bottom:16px;}
.test b{display:block; font-size:14px; font-weight:600;}
.test span{font-size:12px; color:#8a8574; font-family:'IBM Plex Mono';}

/* ---------- PAGE HEADER BANNER (About/Services/Gallery/Contact/Blog) ---------- */
.page-banner{
  background:var(--vignette); color:#fff; padding:64px 32px; text-align:center; position:relative; overflow:hidden;
}
.page-banner:before{
  content:""; position:absolute; top:-40%; left:50%; transform:translateX(-50%); width:70%; height:180%;
  background:radial-gradient(circle, rgba(232,193,88,0.14) 0%, transparent 65%); pointer-events:none;
}
.page-banner .section-eyebrow{color:var(--gold-300); justify-content:center; display:flex;}
.page-banner .section-eyebrow:before{display:none;}
.page-banner h1{font-size:clamp(30px,4vw,46px); color:#fff; position:relative;}
.page-banner p{margin-top:14px; color:rgba(255,255,255,0.82); max-width:520px; margin-left:auto; margin-right:auto; position:relative;}

/* ---------- ABOUT PAGE ---------- */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;}
.about-grid p{font-size:16px; color:#3c3830; margin-bottom:16px;}
.about-photo{
  aspect-ratio:4/5; border-radius:10px; background:var(--brand-gradient-soft);
  display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative;
  box-shadow:0 20px 40px rgba(5,42,30,0.18);
}
.about-photo img{width:100%; height:100%; object-fit:cover; position:absolute; inset:0;}
.about-photo.placeholder{color:#fff; flex-direction:column; gap:10px; text-align:center; padding:20px;}
.about-photo.placeholder svg{width:32px; height:32px;}
.about-photo.placeholder span{font-size:11px; font-family:'IBM Plex Mono';}
.about-stats{display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:28px;}
.stat{border-top:2px solid var(--gold-700); padding-top:12px;}
.stat b{display:block; font-family:'Fraunces', serif; font-size:28px; font-weight:600; color:var(--emerald-900);}
.stat span{font-size:13px; color:#4a463d;}
.values-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:20px;}
.value-card{padding:22px; border:1px solid var(--line); border-radius:10px; border-top:3px solid var(--gold-700);}
.value-card h4{font-size:16px; margin-bottom:8px; color:var(--emerald-900);}
.value-card p{font-size:14px; color:#4a463d;}

/* ---------- CONTACT PAGE ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
.contact-form{display:flex; flex-direction:column; gap:16px;}
.contact-form label{font-size:13px; font-weight:600; margin-bottom:6px; display:block;}
.contact-form input, .contact-form textarea{
  width:100%; border:1px solid var(--line); border-radius:4px; padding:12px 14px; font-size:14px;
  background:var(--ivory);
}
.contact-form input:focus, .contact-form textarea:focus{outline:2px solid var(--emerald-500); outline-offset:1px;}
.contact-form textarea{min-height:130px; resize:vertical;}
.contact-form button{
  background:var(--brand-gradient); color:#fff; border:none; padding:14px 26px;
  border-radius:3px; font-weight:700; font-size:14px; align-self:flex-start;
  box-shadow:0 10px 22px rgba(11,110,79,0.3);
}
.contact-side h3{font-size:20px; margin-bottom:16px;}
.contact-detail{display:flex; align-items:center; gap:14px; margin-bottom:18px;}
.contact-detail .icon{
  width:42px; height:42px; border-radius:50%; background:var(--sand); display:flex; align-items:center; justify-content:center;
  color:var(--emerald-900); flex-shrink:0;
}
.contact-detail div b{display:block; font-size:14px;}
.contact-detail div span{font-size:13px; color:#4a463d;}
.social-row{display:flex; gap:12px; margin-top:26px;}
.social-btn{
  width:46px; height:46px; border-radius:50%; background:var(--brand-gradient); color:#fff;
  display:flex; align-items:center; justify-content:center; transition:transform .2s ease;
  box-shadow:0 8px 18px rgba(11,110,79,0.28);
}
.social-btn:hover{transform:translateY(-3px);}
.whatsapp-banner{
  margin-top:30px; background:var(--charcoal); color:#fff; border-radius:10px; padding:22px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.whatsapp-banner b{display:block; font-size:15px; margin-bottom:4px;}
.whatsapp-banner span{font-size:13px; color:rgba(255,255,255,0.65);}

/* ---------- BLOG ---------- */
.blog-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:32px;}
.blog-card{border:1px solid var(--line); border-radius:10px; overflow:hidden; transition:transform .2s ease;}
.blog-card:hover{transform:translateY(-4px);}
.blog-thumb{aspect-ratio:16/10; background:var(--sand); overflow:hidden;}
.blog-thumb img{width:100%; height:100%; object-fit:cover;}
.blog-card-body{padding:20px 22px;}
.blog-date{font-family:'IBM Plex Mono'; font-size:11px; color:var(--emerald-700); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:10px;}
.blog-card-body h3{font-size:18px; margin-bottom:10px;}
.blog-card-body p{font-size:14px; color:#4a463d;}
.blog-card-body a.read-more{font-size:13px; font-weight:700; color:var(--emerald-700); margin-top:10px; display:inline-block;}
.single-post{max-width:740px; margin:0 auto; padding:80px 32px;}
.single-post h1{margin-bottom:18px; font-size:clamp(28px,4vw,42px);}
.single-post .blog-date{margin-bottom:24px;}
.single-post .entry-content p{margin-bottom:18px; font-size:16px; color:#302e28;}
.pagination-row{display:flex; justify-content:center; gap:14px; margin-top:50px;}
.pagination-row a, .pagination-row span{
  padding:10px 16px; border:1px solid var(--line); border-radius:4px; font-size:13px;
}

/* ---------- CTA BAND ---------- */
.cta-band{
  background:var(--vignette); color:#fff; padding:76px 32px; text-align:center; position:relative; overflow:hidden;
}
.cta-band:before{
  content:""; position:absolute; top:-30%; left:20%; width:60%; height:160%;
  background:radial-gradient(circle, rgba(232,193,88,0.14) 0%, transparent 65%); pointer-events:none;
}
.cta-band h2{font-size:clamp(26px,3.6vw,38px); margin-bottom:18px; color:#fff; position:relative;}
.cta-band p{color:rgba(255,255,255,0.82); max-width:480px; margin:0 auto 30px; font-size:16px; position:relative;}
.cta-band .hero-ctas{position:relative;}

/* ---------- FOOTER ---------- */
footer.site-footer{background:var(--charcoal); color:#b9b5a8; padding:60px 32px 30px; border-top:3px solid; border-image:var(--gold-foil) 1;}
.foot-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:36px; margin-bottom:44px;}
.foot-brand{color:#fff; font-family:'Fraunces'; font-size:21px; font-weight:700; margin-bottom:14px;}
.foot-grid p{font-size:14px; line-height:1.7; max-width:260px;}
.foot-col h5{color:var(--gold-300); font-size:13px; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:16px;}
.foot-col a{display:block; font-size:14px; margin-bottom:10px; color:#b9b5a8;}
.foot-col a:hover{color:#fff;}
.foot-social{display:flex; gap:10px; margin-top:6px;}
.foot-social a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(232,193,88,0.3);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.foot-social a:hover{background:var(--brand-gradient); border-color:transparent;}
.foot-bottom{border-top:1px solid rgba(255,255,255,0.1); padding-top:22px; font-size:12px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

/* ---------- WHATSAPP FLOAT BUTTON ---------- */
.whatsapp-float{
  position:fixed; bottom:24px; right:24px; z-index:70;
  width:58px; height:58px; border-radius:50%; background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(0,0,0,0.3);
  transition:transform .2s ease;
}
.whatsapp-float:hover{transform:scale(1.08);}

/* ---------- NEWSLETTER POPUP ---------- */
.newsletter-overlay{
  position:fixed; inset:0; background:rgba(5,42,30,0.65); z-index:90;
  display:none; align-items:center; justify-content:center; padding:20px;
}
.newsletter-overlay.open{display:flex;}
.newsletter-modal{
  background:var(--ivory); border-radius:12px; max-width:460px; width:100%;
  padding:38px 34px; position:relative; box-shadow:0 30px 70px rgba(0,0,0,0.4);
  text-align:center; border-top:3px solid; border-image:var(--gold-foil) 1;
}
.newsletter-close{
  position:absolute; top:14px; right:16px; background:none; border:none; font-size:20px; color:#8a8574;
}
.newsletter-modal .badge{
  width:52px; height:52px; border-radius:50%; background:var(--brand-gradient); margin:0 auto 18px;
  display:flex; align-items:center; justify-content:center; color:#fff;
  box-shadow:0 10px 22px rgba(11,110,79,0.3);
}
.newsletter-modal h3{font-size:22px; margin-bottom:10px;}
.newsletter-modal p{font-size:14px; color:#4a463d; margin-bottom:22px;}
.newsletter-form{display:flex; flex-direction:column; gap:10px;}
.newsletter-name-field{
  width:100%; border:1px solid var(--line); border-radius:4px; padding:12px 14px; font-size:14px;
}
.newsletter-form-row{display:flex; flex-direction:column; gap:10px;}
.newsletter-form-row input[type="email"]{
  width:100%; border:1px solid var(--line); border-radius:4px; padding:12px 14px; font-size:14px;
}
.newsletter-form-row button{
  width:100%; background:var(--brand-gradient); color:#fff; border:none; padding:12px 22px; border-radius:4px; font-weight:700; font-size:13px;
}
.newsletter-msg{margin-top:14px; font-size:13px; display:none;}
.newsletter-msg.show{display:block;}
.newsletter-msg.success{color:var(--emerald-700);}
.newsletter-msg.error{color:#a33;}

/* ---------- WP defaults / generic page ---------- */
.entry-content{max-width:760px; margin:0 auto; padding:80px 32px;}
.entry-content h1{margin-bottom:24px;}
.entry-content p{margin-bottom:16px; font-size:16px; color:#3c3830;}

/* ---------- RESPONSIVE ---------- */
/* Nav collapses to the hamburger only below 820px (phones), so tablets keep full links visible.
   The toggle button lives at the end of nav-right in the markup, so it always sits at the
   far right edge of the bar, never in the middle. */
@media (max-width:820px){
  .nav-center{display:none;}
  .nav-toggle{display:flex;}
  .nav-center.open{
    display:flex; position:absolute; top:100%; left:0; right:0; background:var(--ivory);
    flex-direction:column; padding:20px 32px; gap:20px; border-bottom:1px solid var(--line);
  }
  .nav-center.open .nav-links{flex-direction:column; gap:16px;}
}
.nav-center.open .nav-search{margin-top:6px;}
.nav-center.open .nav-search-form{position:static; box-shadow:none; border:none; padding:0; display:flex; margin-top:8px;}
@media (max-width:960px){
  .about-grid, .contact-grid{grid-template-columns:1fr;}
  .quick-grid, .values-grid, .test-grid{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr 1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .hero-media{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:520px){
  .steps{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr;}
  .hero-media{grid-template-columns:1fr 1fr;}
}
@media (prefers-reduced-motion: reduce){
  *{transition:none !important; scroll-behavior:auto !important; animation:none !important;}
}
