/*
Theme Name: Trusted Family Hands Nigeria
Theme URI: https://trustedfamilyhands.com
Author: Trusted Family Hands Nigeria
Description: Commercial theme for Trusted Family Hands Nigeria. Helping Nigerians abroad care for parents, loved ones and properties back home. Green, gold and white. WooCommerce ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tfh
Tags: e-commerce, custom-menu, featured-images, translation-ready, green, gold
*/

:root{
  --tfh-green-900:#052e22;
  --tfh-green-800:#073b2c;
  --tfh-green-700:#0b4d38;
  --tfh-green-600:#146b4a;
  --tfh-gold-500:#c9a24b;
  --tfh-gold-400:#d9b862;
  --tfh-gold-600:#a9822f;
  --tfh-cream:#faf6ee;
  --tfh-white:#ffffff;
  --tfh-ink:#10281f;
  --tfh-muted:#5a6b63;
  --tfh-line:#e7dfcc;
  --tfh-radius:14px;
  --tfh-shadow:0 10px 30px rgba(5,46,34,.12);
  --tfh-serif:'Cormorant Garamond','Playfair Display',Georgia,serif;
  --tfh-sans:'Montserrat','Segoe UI',Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--tfh-sans);color:var(--tfh-ink);background:var(--tfh-white);line-height:1.65;font-size:16px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--tfh-green-700);text-decoration:none;transition:color .2s}
a:hover{color:var(--tfh-gold-600)}
h1,h2,h3,h4{font-family:var(--tfh-serif);color:var(--tfh-green-800);line-height:1.15;margin:0 0 .5em;font-weight:700}
h1{font-size:clamp(2.4rem,5vw,3.8rem)}
h2{font-size:clamp(1.9rem,3.5vw,2.7rem)}
h3{font-size:1.5rem}
p{margin:0 0 1.1em}
.tfh-container{width:min(1180px,92%);margin-inline:auto}
.screen-reader-text{position:absolute;left:-9999px}
.tfh-skip{position:absolute;left:-9999px}.tfh-skip:focus{left:10px;top:10px;background:#fff;padding:8px 14px;z-index:99999}

/* Buttons */
.tfh-btn,.button,button.button,input[type=submit],.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit{
  display:inline-flex;align-items:center;gap:.5rem;justify-content:center;
  font-family:var(--tfh-sans);font-weight:700;font-size:.92rem;letter-spacing:.04em;text-transform:uppercase;
  padding:.85rem 1.6rem;border-radius:999px;border:2px solid var(--tfh-gold-500);cursor:pointer;
  background:linear-gradient(135deg,var(--tfh-gold-400),var(--tfh-gold-500));color:var(--tfh-green-900);transition:all .2s}
.tfh-btn:hover,.button:hover,input[type=submit]:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--tfh-green-800);color:var(--tfh-gold-400);border-color:var(--tfh-green-800)}
.tfh-btn--outline{background:transparent;color:var(--tfh-gold-400);border-color:var(--tfh-gold-500)}
.tfh-btn--outline:hover{background:var(--tfh-gold-500);color:var(--tfh-green-900)}
.tfh-btn--green{background:var(--tfh-green-800);color:var(--tfh-gold-400);border-color:var(--tfh-green-800)}
.tfh-btn--green:hover{background:var(--tfh-gold-500);color:var(--tfh-green-900);border-color:var(--tfh-gold-500)}
.tfh-btn--wa{background:#1fa855;border-color:#1fa855;color:#fff}
.tfh-btn--wa:hover{background:var(--tfh-green-800);border-color:var(--tfh-green-800);color:#fff}

/* Top bar */
.tfh-topbar{background:var(--tfh-green-900);color:var(--tfh-gold-400);font-size:.82rem}
.tfh-topbar .tfh-container{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;flex-wrap:wrap}
.tfh-topbar a{color:var(--tfh-gold-400)}
.tfh-topbar a:hover{color:#fff}
.tfh-topbar span+span,.tfh-topbar a+a{margin-left:1.2rem}

/* Header */
.tfh-header{background:var(--tfh-white);border-bottom:3px solid var(--tfh-gold-500);position:sticky;top:0;z-index:900;box-shadow:0 4px 18px rgba(5,46,34,.08)}
.tfh-header .tfh-container{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;padding:.55rem 0}
.tfh-brand{display:flex;align-items:center;gap:.7rem;color:var(--tfh-green-800)}
.tfh-brand img{width:72px;height:72px;border-radius:50%}
.tfh-brand strong{font-family:var(--tfh-serif);font-size:1.5rem;line-height:1;display:block;color:var(--tfh-green-800)}
.tfh-brand small{display:block;font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--tfh-gold-600);font-weight:700;margin-top:3px}
.tfh-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:.4rem}
.tfh-nav a{display:block;padding:.6rem 1rem;font-weight:600;font-size:.92rem;letter-spacing:.04em;color:var(--tfh-green-800);border-radius:999px;text-transform:uppercase}
.tfh-nav a:hover,.tfh-nav .current-menu-item>a,.tfh-nav .current_page_item>a{color:var(--tfh-gold-600);background:var(--tfh-cream)}
.tfh-header__cta{display:flex;align-items:center;gap:.8rem}
.tfh-nav-toggle{display:none;background:none;border:2px solid var(--tfh-green-800);border-radius:8px;width:44px;height:44px;cursor:pointer;padding:0;position:relative}
.tfh-nav-toggle span,.tfh-nav-toggle span::before,.tfh-nav-toggle span::after{position:absolute;left:10px;right:10px;height:2px;background:var(--tfh-green-800);content:'';transition:.2s}
.tfh-nav-toggle span{top:19px}.tfh-nav-toggle span::before{left:0;right:0;top:-7px}.tfh-nav-toggle span::after{left:0;right:0;top:7px}

/* Hero */
.tfh-hero{background:radial-gradient(circle at 80% 20%,var(--tfh-green-600),var(--tfh-green-900) 70%);color:#fff;padding:4.5rem 0 5rem;position:relative;overflow:hidden}
.tfh-hero::after{content:'';position:absolute;inset:auto 0 0 0;height:8px;background:linear-gradient(90deg,var(--tfh-gold-600),var(--tfh-gold-400),var(--tfh-gold-600))}
.tfh-hero .tfh-container{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center}
.tfh-hero h1{color:#fff}
.tfh-hero h1 em{color:var(--tfh-gold-400);font-style:normal}
.tfh-eyebrow{display:inline-block;color:var(--tfh-gold-400);letter-spacing:.2em;text-transform:uppercase;font-size:.78rem;font-weight:700;margin-bottom:1rem}
.tfh-hero p.lead{font-size:1.15rem;color:#e8efe9;max-width:56ch}
.tfh-hero__actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.6rem}
.tfh-hero__pic{border:3px solid var(--tfh-gold-500);border-radius:22px;overflow:hidden;box-shadow:0 25px 60px rgba(0,0,0,.35);transform:rotate(1.5deg)}
.tfh-hero__badges{display:flex;gap:1.4rem;flex-wrap:wrap;margin-top:2rem;color:var(--tfh-gold-400);font-weight:600;font-size:.88rem}
.tfh-hero__badges span::before{content:'✔ ';color:var(--tfh-gold-400)}

/* Sections */
.tfh-section{padding:5rem 0}
.tfh-section--cream{background:var(--tfh-cream)}
.tfh-section--green{background:var(--tfh-green-900);color:#e8efe9}
.tfh-section--green h2,.tfh-section--green h3{color:#fff}
.tfh-section__head{text-align:center;max-width:720px;margin:0 auto 3rem}
.tfh-section__head p{color:var(--tfh-muted)}
.tfh-section--green .tfh-section__head p{color:#cfdcd3}
.tfh-rule{display:block;width:70px;height:4px;background:var(--tfh-gold-500);border-radius:4px;margin:1rem auto 0}

/* Services */
.tfh-grid{display:grid;gap:1.6rem}
.tfh-grid--3{grid-template-columns:repeat(3,1fr)}
.tfh-grid--2{grid-template-columns:repeat(2,1fr)}
.tfh-grid--4{grid-template-columns:repeat(4,1fr)}
.tfh-card{background:#fff;border:1px solid var(--tfh-line);border-radius:var(--tfh-radius);padding:2rem 1.7rem;box-shadow:var(--tfh-shadow);transition:transform .2s,border-color .2s;position:relative}
.tfh-card:hover{transform:translateY(-5px);border-color:var(--tfh-gold-500)}
.tfh-icon{width:68px;height:68px;border-radius:50%;background:var(--tfh-green-800);border:3px solid var(--tfh-gold-500);display:grid;place-items:center;margin-bottom:1.1rem}
.tfh-icon svg{width:32px;height:32px;stroke:var(--tfh-gold-400);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tfh-card h3{margin-bottom:.4rem}
.tfh-card p{color:var(--tfh-muted);margin:0 0 1rem;font-size:.95rem}
.tfh-card .price{font-weight:700;color:var(--tfh-green-700);font-size:1rem}

/* Trust strip */
.tfh-trust{background:var(--tfh-green-900);border-top:4px solid var(--tfh-gold-500)}
.tfh-trust .tfh-container{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;padding:1.7rem 0}
.tfh-trust div{display:flex;gap:1rem;align-items:center;color:var(--tfh-gold-400);font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.88rem}
.tfh-trust svg{width:38px;height:38px;stroke:var(--tfh-gold-400);fill:none;stroke-width:1.6;flex:none}

/* Split feature */
.tfh-split{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center}
.tfh-split--rev .tfh-split__pic{order:2}
.tfh-frame{border:3px solid var(--tfh-gold-500);border-radius:22px;overflow:hidden;box-shadow:var(--tfh-shadow)}
.tfh-checks{list-style:none;padding:0;margin:0 0 1.5rem}
.tfh-checks li{padding-left:2rem;position:relative;margin-bottom:.7rem}
.tfh-checks li::before{content:'✔';position:absolute;left:0;color:#fff;background:var(--tfh-green-700);width:22px;height:22px;border-radius:50%;font-size:.7rem;display:grid;place-items:center;top:3px}

/* Steps */
.tfh-step{text-align:center;padding:1rem}
.tfh-step b{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;margin:0 auto 1rem;font-family:var(--tfh-serif);font-size:1.8rem;background:var(--tfh-gold-500);color:var(--tfh-green-900)}

/* CTA */
.tfh-cta{background:linear-gradient(135deg,var(--tfh-green-800),var(--tfh-green-900));color:#fff;border-radius:26px;padding:3.2rem;display:grid;grid-template-columns:auto 1fr auto;gap:2rem;align-items:center;border:2px solid var(--tfh-gold-500)}
.tfh-cta h2{color:#fff;margin:0 0 .3rem}.tfh-cta p{margin:0;color:#d7e3db}
.tfh-cta img{width:130px;height:140px;object-fit:cover;border-radius:16px;border:3px solid var(--tfh-gold-500)}

/* Page */
.tfh-pagehead{background:linear-gradient(135deg,var(--tfh-green-800),var(--tfh-green-900));color:#fff;text-align:center;padding:3.2rem 0;border-bottom:5px solid var(--tfh-gold-500)}
.tfh-pagehead h1{color:#fff;margin:0;font-size:clamp(2rem,4vw,3rem)}
.tfh-pagehead p{color:var(--tfh-gold-400);margin:.5rem 0 0}
.tfh-content{padding:3.5rem 0 5rem}
.tfh-content .entry{max-width:900px;margin-inline:auto}
.tfh-content .entry.wide{max-width:1180px}
.entry h2{margin-top:1.6em;font-size:1.9rem}

/* Forms */
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=date],select,textarea{
  width:100%;padding:.8rem 1rem;border:1px solid #cfc6ae;border-radius:10px;font:inherit;background:#fff;color:var(--tfh-ink)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--tfh-gold-500);border-color:var(--tfh-gold-500)}
label{font-weight:600;font-size:.9rem;display:block;margin-bottom:.3rem}
.tfh-form p{margin-bottom:1.1rem}
.tfh-form .row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.tfh-notice{padding:1rem 1.2rem;border-radius:10px;margin-bottom:1.4rem;border-left:5px solid var(--tfh-gold-500);background:var(--tfh-cream)}
.tfh-notice--ok{border-color:#1fa855;background:#eaf8ef}
.tfh-notice--err{border-color:#b3261e;background:#fdecea}
.tfh-hp{position:absolute!important;left:-9999px!important}

/* Contact */
.tfh-contact{display:grid;grid-template-columns:1fr 1.2fr;gap:2.5rem}
.tfh-contact__info .tfh-card{margin-bottom:1.2rem;padding:1.4rem}
.tfh-contact__info h3{font-size:1.2rem;margin-bottom:.2rem}

/* Footer */
.tfh-footer{background:var(--tfh-green-900);color:#cfdcd3;border-top:6px solid var(--tfh-gold-500);padding-top:4rem;font-size:.95rem}
.tfh-footer .tfh-container.cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2.5rem}
.tfh-footer h4{color:var(--tfh-gold-400);font-family:var(--tfh-sans);font-size:.9rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:1.1rem}
.tfh-footer a{color:#cfdcd3}.tfh-footer a:hover{color:var(--tfh-gold-400)}
.tfh-footer ul{list-style:none;margin:0;padding:0}.tfh-footer li{margin-bottom:.55rem}
.tfh-footer .logo{display:flex;gap:.9rem;align-items:center;margin-bottom:1rem}
.tfh-footer .logo img{width:78px;height:78px;border-radius:50%;border:2px solid var(--tfh-gold-500)}
.tfh-footer .logo strong{font-family:var(--tfh-serif);font-size:1.4rem;color:var(--tfh-gold-400);line-height:1.1}
.tfh-social{display:flex;gap:.7rem}
.tfh-social a{width:42px;height:42px;border-radius:50%;border:2px solid var(--tfh-gold-500);display:grid;place-items:center;color:var(--tfh-gold-400)}
.tfh-social a:hover{background:var(--tfh-gold-500);color:var(--tfh-green-900)}
.tfh-social svg{width:19px;height:19px;fill:currentColor}
.tfh-copy{border-top:1px solid rgba(201,162,75,.3);margin-top:3rem;padding:1.3rem 0;text-align:center;font-size:.85rem;color:#9db2a5}

/* Floating WhatsApp */
.tfh-wa-float{position:fixed;right:20px;bottom:20px;z-index:950;width:62px;height:62px;border-radius:50%;background:#1fa855;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.3);border:3px solid #fff}
.tfh-wa-float:hover{background:var(--tfh-green-800)}
.tfh-wa-float svg{width:32px;height:32px;fill:#fff}

/* WooCommerce + My Account */
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0 0 2rem;display:flex;flex-wrap:wrap;gap:.5rem}
.woocommerce-MyAccount-navigation a{display:block;padding:.6rem 1.1rem;border:2px solid var(--tfh-line);border-radius:999px;font-weight:600;font-size:.88rem;color:var(--tfh-green-800)}
.woocommerce-MyAccount-navigation .is-active a,.woocommerce-MyAccount-navigation a:hover{background:var(--tfh-green-800);color:var(--tfh-gold-400);border-color:var(--tfh-green-800)}
.woocommerce .woocommerce-MyAccount-content,.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}
.woocommerce-account .woocommerce-MyAccount-navigation{width:100%;float:none}
.woocommerce-account .u-columns .u-column1,.woocommerce-account .u-columns .u-column2{width:48%}
.woocommerce form.login,.woocommerce form.register{border:1px solid var(--tfh-line);border-radius:var(--tfh-radius);padding:2rem;background:#fff;box-shadow:var(--tfh-shadow)}
.woocommerce table.shop_table{border-radius:12px;border-color:var(--tfh-line)}
.woocommerce span.onsale{background:var(--tfh-gold-500);color:var(--tfh-green-900)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--tfh-green-700);font-weight:700}
.woocommerce-message,.woocommerce-info{border-top-color:var(--tfh-gold-500)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--tfh-gold-600)}
.tfh-acc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.2rem;margin:1.5rem 0}
.tfh-acc-card{border:1px solid var(--tfh-line);border-left:5px solid var(--tfh-gold-500);border-radius:12px;padding:1.2rem;background:#fff}
.tfh-acc-card h4{margin:0 0 .3rem;font-size:1.25rem}
.tfh-acc-card small{color:var(--tfh-muted);display:block}
.tfh-badge{display:inline-block;padding:.15rem .7rem;border-radius:999px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:var(--tfh-cream);border:1px solid var(--tfh-gold-500);color:var(--tfh-green-800)}
.tfh-badge--completed{background:var(--tfh-green-700);color:#fff;border-color:var(--tfh-green-700)}
.tfh-badge--cancelled{background:#f4d6d3;border-color:#b3261e;color:#7a1a14}
.tfh-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem;margin-top:.8rem}
.tfh-gallery img,.tfh-gallery video{width:100%;height:130px;object-fit:cover;border-radius:10px;border:2px solid var(--tfh-gold-500)}
.tfh-details summary{cursor:pointer;font-weight:700;color:var(--tfh-green-800);padding:.6rem 0}

/* Responsive */
@media(max-width:980px){
  .tfh-hero .tfh-container,.tfh-split,.tfh-contact{grid-template-columns:1fr}
  .tfh-split--rev .tfh-split__pic{order:0}
  .tfh-grid--3,.tfh-grid--4{grid-template-columns:repeat(2,1fr)}
  .tfh-footer .tfh-container.cols{grid-template-columns:1fr 1fr}
  .tfh-trust .tfh-container{grid-template-columns:1fr}
  .tfh-cta{grid-template-columns:1fr;text-align:center}.tfh-cta img{margin:auto}
  .tfh-nav-toggle{display:block}
  .tfh-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:3px solid var(--tfh-gold-500);padding:1rem 4%}
  .tfh-nav.is-open{display:block}
  .tfh-nav ul{flex-direction:column;align-items:stretch}
  .tfh-header__cta .tfh-btn--wa span{display:none}
}
@media(max-width:620px){
  .tfh-grid--3,.tfh-grid--2,.tfh-grid--4,.tfh-footer .tfh-container.cols,.tfh-form .row{grid-template-columns:1fr}
  .tfh-brand strong{font-size:1.15rem}.tfh-brand img{width:56px;height:56px}
  .tfh-section{padding:3.5rem 0}.tfh-topbar .tfh-container{justify-content:center;text-align:center}
  .woocommerce-account .u-columns .u-column1,.woocommerce-account .u-columns .u-column2{width:100%}
}
