/*
Theme Name: Conzfresh Theme
Theme URI: https://conzfresh.com
Description: Complete multi-page corporate WordPress theme for CONZFRESH Agri-Tech, a Unit of MGMK Logistics India Pvt Ltd. Ten ready pages (Home cinematic landing, About, Services, Gold Standard, Case Studies, Free Land Scorecard, Blog, Contact, Privacy, Terms) auto-created on activation — plus Charter of Commitments sections, floating WhatsApp, social links, Google Map, founder desk, zero-plugin lead capture with CSV export, Customizer color/socials/copyright and a dedicated responsive-enhancement CSS layer.
Author: MGMK Logistics India Pvt Ltd
Author URI: https://conzfresh.com
Version: 3.2.5
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: conzfresh-theme
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks, threaded-comments, blog
*/

  html{scroll-padding-top:96px}
  ::selection{background:#10b981;color:#fff}
  #navbar{transition:background .3s ease,box-shadow .3s ease}
  #navbar.scrolled{background:rgba(2,6,23,.94);box-shadow:0 14px 44px -14px rgba(0,0,0,.75)}
  .js .reveal{opacity:0;transform:translateY(30px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1)}
  .js .reveal.revealed{opacity:1;transform:translateY(0)}
  @keyframes floatUp{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:translateY(0)}}
  .hero-anim{opacity:0;animation:floatUp .9s cubic-bezier(.22,1,.36,1) forwards}
  .faq-answer{max-height:0;overflow:hidden;transition:max-height .45s ease}
  select option{color:#0f172a;background:#fff}
  :root{--conzfresh-logo:url("assets/images/logo-conzfresh.webp")}
  .brand-logo{display:inline-block;background:var(--conzfresh-logo) center/contain no-repeat}
  .ta{font-family:"Noto Sans Tamil","Inter",sans-serif}
/* ------------------------------------------------ WordPress compat layer */
.wp-block-group, .wp-block-columns { max-width: 100%; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #020617; clip: auto !important; clip-path: none; color: #34d399; display: block; font-size: 1em; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
.alignleft { float: left; margin: 1.5rem 1.5rem 1.5rem 0; }
.alignright { float: right; margin: 1.5rem 0 1.5rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.alignwide { margin-left: -4rem; margin-right: -4rem; max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: #64748b; padding-top: 0.5rem; text-align: center; }
.sticky { position: relative; }
.bypostauthor { display: block; }
body.page .entry-content a, body.single .entry-content a { color: #059669; text-decoration: underline; }
body.page .entry-content a:hover, body.single .entry-content a:hover { color: #047857; }
.custom-logo{height:2.75rem;width:auto}
.custom-logo-link{display:inline-flex;align-items:center}

/* ------------------------------------------------ Accessibility */
:focus-visible{outline:2px solid var(--cf-primary,#059669);outline-offset:3px;border-radius:4px}

/* ------------------------------------------------ Breadcrumbs (schema.org microdata) */
.cf-breadcrumbs{margin-bottom:1rem}
.cf-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;list-style:none;margin:0;padding:0;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#94a3b8}
.cf-breadcrumbs__item{display:flex;align-items:center;gap:.4rem}
.cf-breadcrumbs__item+.cf-breadcrumbs__item::before{content:"/";color:#475569;font-weight:400}
.cf-breadcrumbs__item a{color:var(--cf-primary,#059669);text-decoration:none;transition:color .2s ease}
.cf-breadcrumbs__item a:hover{color:#34d399}
.cf-breadcrumbs__item [aria-current="page"]{color:#e2e8f0}

/* ------------------------------------------------ Widgets (sidebar + footer) */
.cf-sidebar{color:#cbd5e1}
.widget{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);border-radius:1.5rem;padding:1.75rem;backdrop-filter:blur(12px)}
.widget-title{font-size:.8rem;font-weight:900;text-transform:uppercase;letter-spacing:.14em;color:#fff;margin:0 0 1.1rem}
.widget a{color:#cbd5e1;text-decoration:none;transition:color .2s ease}
.widget a:hover{color:#34d399}
.cf-widget-list{list-style:none;margin:0;padding:0;display:grid;gap:.8rem;font-size:.9rem}
.cf-widget-list__date{display:block;font-size:.72rem;color:#64748b;margin-top:.15rem}
.cf-widget-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.cf-widget-chips li{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:.35rem .85rem;font-size:.78rem}
.cf-widget-chips li a{color:#e2e8f0}
.widget_search .search-form input[type="search"]{color:#fff}
.widget select{color:#0f172a}
.widget .tagcloud a{display:inline-block;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);border-radius:999px;padding:.3rem .8rem;font-size:.78rem !important;margin:0 .3rem .5rem 0;color:#cbd5e1;text-decoration:none}
.widget .tagcloud a:hover{color:#34d399;border-color:rgba(52,211,153,.5)}
.widget_rss ul,.widget_meta ul,.widget_pages ul,.widget_archive ul,.widget_recent_comments ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;font-size:.9rem}
.widget_calendar table{width:100%;font-size:.8rem;color:#cbd5e1}
.widget_calendar caption{margin-bottom:.5rem;font-weight:800;color:#fff}
.cf-footer-widgets .widget{border-color:rgba(255,255,255,.08)}
.cf-footer-widgets .widget-title{color:#fff}

/* ------------------------------------------------ Pagination */
.cf-pagination .nav-links{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;justify-content:center}
.cf-pagination .page-numbers{display:inline-flex;min-width:2.75rem;justify-content:center;align-items:center;height:2.75rem;padding:0 .9rem;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#e2e8f0;font-size:.9rem;font-weight:700;text-decoration:none;transition:all .2s ease}
.cf-pagination .page-numbers:hover{border-color:var(--cf-primary,#059669);color:#34d399}
.cf-pagination .page-numbers.current{background:var(--cf-primary,#059669);border-color:var(--cf-primary,#059669);color:#fff}
.cf-pagination .page-numbers.dots{border:none;background:none}
.comments-area .navigation.pagination .nav-links{display:flex;gap:.4rem;justify-content:center;margin-top:1.5rem}

/* ------------------------------------------------ Archive filter chips */
.cf-chips{margin-bottom:.25rem}
.cf-chip{border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.05);color:#e2e8f0;border-radius:999px;padding:.5rem 1.15rem;font-size:.82rem;font-weight:700;cursor:pointer;transition:all .2s ease}
.cf-chip:hover{border-color:var(--cf-primary,#059669);color:#34d399}
.cf-chip.is-active{background:var(--cf-primary,#059669);border-color:var(--cf-primary,#059669);color:#fff}
.cf-filterable.is-hidden{display:none}

/* ------------------------------------------------ Author box */
.cf-author-box{display:flex;gap:1.25rem;align-items:flex-start;margin-top:2.5rem;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);border-radius:1.5rem;padding:1.75rem;backdrop-filter:blur(12px)}
.cf-author-box__avatar img{border-radius:999px}
.cf-author-box__label{margin:0;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.14em;color:var(--cf-primary,#059669)}
.cf-author-box__name{margin:.25rem 0 0;font-size:1.15rem;font-weight:800}
.cf-author-box__name a{color:#fff;text-decoration:none}
.cf-author-box__name a:hover{color:#34d399}
.cf-author-box__bio{margin:.5rem 0 0;font-size:.9rem;line-height:1.65;color:#94a3b8}

/* ------------------------------------------------ Tags */
.cf-tags__label{font-weight:900;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:#64748b;margin-right:.35rem}
.cf-tags a{display:inline-block;margin:0 .3rem .5rem 0;border:1px solid #e2e8f0;border-radius:999px;padding:.3rem .9rem;font-size:.8rem;font-weight:700;color:#334155;text-decoration:none;background:#f8fafc}
.cf-tags a:hover{border-color:var(--cf-primary,#059669);color:var(--cf-primary,#059669)}

/* ------------------------------------------------ Related posts */
.cf-related{margin-top:3rem}
.cf-related__title{font-size:1.25rem;font-weight:900;color:#fff;margin:0 0 1.25rem}
.cf-related__grid{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.cf-related__card{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);border-radius:1.5rem;overflow:hidden;transition:transform .3s ease,border-color .3s ease}
.cf-related__card:hover{transform:translateY(-4px);border-color:rgba(52,211,153,.4)}
.cf-related__thumb{display:block;aspect-ratio:16/9;overflow:hidden}
.cf-related__thumb img{width:100%;height:100%;object-fit:cover}
.cf-related__heading{margin:1rem 1.25rem 0;font-size:1rem;font-weight:800;line-height:1.4}
.cf-related__heading a{color:#fff;text-decoration:none}
.cf-related__heading a:hover{color:#34d399}
.cf-related__date{margin:.5rem 1.25rem 1.25rem;font-size:.75rem;color:#64748b}

/* ------------------------------------------------ Testimonials (CPT shortcode) */
.cf-testimonials__head{text-align:center;margin-bottom:2.5rem}
.cf-testimonials__kicker{font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.25em;color:var(--cf-primary,#059669)}
.cf-testimonials__heading{margin:.6rem 0 0;font-size:1.75rem;font-weight:900;color:#fff}
.cf-testimonials__grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.cf-testimonial{position:relative;margin:0;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);border-radius:1.5rem;padding:2rem;backdrop-filter:blur(12px)}
.cf-testimonial__icon{font-size:1.4rem;color:var(--cf-primary,#059669);opacity:.8}
.cf-testimonial__quote{margin:1rem 0 1.5rem}
.cf-testimonial__quote p{margin:0;font-size:.95rem;line-height:1.7;color:#cbd5e1}
.cf-testimonial__meta{display:flex;align-items:center;gap:.9rem}
.cf-testimonial__badge{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:999px;background:linear-gradient(135deg,#059669,#047857);color:#fff;font-weight:900;font-size:.9rem;flex-shrink:0}
.cf-testimonial__avatar{width:2.75rem;height:2.75rem;border-radius:999px;object-fit:cover}
.cf-testimonial__name{margin:0;font-size:.95rem;font-weight:800;color:#fff}
.cf-testimonial__role{margin:.15rem 0 0;font-size:.78rem;color:#94a3b8}

/* ------------------------------------------------ Pricing table */
.cf-pricing{align-items:stretch}
.cf-price-card__price{line-height:1.1}
.cf-price-card__list{list-style:none;margin:0;padding:0}
.cf-price-card__list li{display:flex;gap:.65rem;align-items:flex-start}
.cf-price-card__list .fa-check{margin-top:.2rem}

/* ------------------------------------------------ No results / 404 extras */
.cf-none{text-align:center;padding:4rem 1rem;border:1px dashed rgba(255,255,255,.15);border-radius:1.5rem}
.cf-none__icon{display:inline-flex;width:4.5rem;height:4.5rem;align-items:center;justify-content:center;border-radius:999px;background:var(--cf-primary-soft,#d1fae5);color:var(--cf-primary,#059669);font-size:1.8rem}
.cf-none__title{margin:1.25rem 0 0;font-size:1.5rem;font-weight:900;color:#fff}
.cf-none__text{margin:.75rem auto 0;max-width:28rem;color:#94a3b8;font-size:.95rem;line-height:1.65}
.cf-none__search{max-width:26rem;margin:1.75rem auto 0}
.cf-none__admin{margin-top:1.25rem;font-size:.85rem}
.cf-none__admin a{color:var(--cf-primary,#059669)}
.cf-404-links .cf-404-links ul{list-style:none}

/* ------------------------------------------------ Team avatars (About page) */
.cf-team-avatar{box-shadow:0 10px 30px -10px rgba(16,185,129,.5)}

/* ------------------------------------------------ Small screens */
@media (max-width:640px){
  .cf-author-box{flex-direction:column}
  .cf-related__grid{grid-template-columns:1fr}
}


/* ================================================================
   RESPONSIVE ENHANCEMENTS (v3.0) — phones, tablets, desktops, TVs
   Additive layer: fluid type, touch targets, overflow guards,
   safe areas, motion & data preferences. Nothing above is modified.
   ================================================================ */

/* ---- Design tokens for the responsive layer ---------------------- */
:root{
  --cf-shell-max:80rem;
  --cf-gutter:1rem;
  --cf-radius-safe:1.25rem;
  --cf-tap-min:2.75rem;             /* 44px minimum touch target */
}
@media (min-width:640px){:root{--cf-gutter:1.5rem}}
@media (min-width:1024px){:root{--cf-gutter:2rem}}

/* ---- Fluid typography (clamp everywhere) -------------------------- */
html{font-size:clamp(15px,.55vw + 13.4px,17px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
h1,.cf-h1{font-size:clamp(1.9rem,1.2rem + 3.4vw,3.75rem);line-height:1.08;letter-spacing:-.02em;text-wrap:balance}
h2,.cf-h2{font-size:clamp(1.5rem,1.1rem + 1.9vw,2.5rem);line-height:1.15;text-wrap:balance}
h3,.cf-h3{font-size:clamp(1.15rem,1rem + .8vw,1.5rem);line-height:1.3;text-wrap:pretty}
.entry-content p, .entry-content li{text-wrap:pretty}
.entry-content{overflow-wrap:break-word}

/* ---- Shell & gutter harmony -------------------------------------- */
#navbar > div, footer > div{max-width:var(--cf-shell-max);padding-left:var(--cf-gutter);padding-right:var(--cf-gutter)}
main img, .entry-content img{max-width:100%;height:auto}

/* ---- Overflow guards (no horizontal scroll, ever) ----------------- */
html,body{overflow-x:clip}
img,iframe,video,canvas,svg{max-width:100%}
.entry-content table, .cf-table-wrap table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.entry-content pre{overflow-x:auto}

/* ---- Touch targets & tap UX -------------------------------------- */
a,button,select,label,.cf-chip{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#menu-btn,.cf-pagination .page-numbers,.faq-toggle{min-height:var(--cf-tap-min);min-width:var(--cf-tap-min)}
@media (hover:none){
  .group:hover img{transform:none}             /* no sticky hover-zoom on touch */
  [class*="hover:-translate-y"]{transition-duration:.001s}
}

/* ---- Navbar: compact on phones, airy on desktop ------------------- */
#navbar .h-16{height:3.5rem}
@media (min-width:768px){#navbar .md\:h-20{height:4.5rem}}
#mobile-menu{max-height:calc(100dvh - 4rem);overflow-y:auto;overscroll-behavior:contain}
@media (max-width:360px){
  #navbar .text-xl{font-size:1rem}             /* keep wordmark on tiny phones */
  #navbar .brand-logo{height:2.25rem;width:2.25rem}
}

/* ---- Hero sections: fluid vertical rhythm ------------------------ */
header[id],section[id],#lead-capture{scroll-margin-top:6rem}
[class*="pt-32"],[class*="pt-36"]{padding-top:clamp(7rem,18vw,9rem)}
[class*="min-h-screen"]{min-height:100svh}

/* ---- Floating WhatsApp: safe-area + size scaling ------------------ */
a[aria-label*="WhatsApp"][class*="fixed"]{
  bottom:calc(1.25rem + env(safe-area-inset-bottom,0px));
  right:calc(1.25rem + env(safe-area-inset-right,0px));
}
@media (max-width:640px){
  a[aria-label*="WhatsApp"][class*="fixed"]{height:3.25rem;width:3.25rem}
  a[aria-label*="WhatsApp"][class*="fixed"] i{font-size:1.35rem}
  #navbar ~ main a[aria-label*="WhatsApp"][class*="fixed"]{z-index:40}
}

/* ---- Grids: graceful collapse ------------------------------------- */
@media (max-width:480px){
  .cf-testimonials__grid,.cf-related__grid{grid-template-columns:1fr}
  .cf-footer-widgets{grid-template-columns:1fr}
  .cf-pricing{grid-template-columns:1fr}
}
@media (min-width:481px) and (max-width:767px){
  .cf-testimonials__grid{grid-template-columns:repeat(2,1fr)}
  .cf-pricing{grid-template-columns:1fr}
}
@media (min-width:1536px){
  .cf-pricing,.mt-14.grid{gap:2rem}
}

/* ---- Tables & spec sheets on phones ------------------------------- */
@media (max-width:640px){
  table{font-size:.85rem}
  table th,table td{padding:.75rem .9rem}
}

/* ---- Forms: iOS zoom-proof inputs --------------------------------- */
input,select,textarea{font-size:max(1rem,.9em)}  /* ≥16px prevents iOS focus-zoom */
input:focus,select:focus,textarea:focus{outline:none}
@media (max-width:400px){
  form .grid{grid-template-columns:1fr}          /* never squeeze two inputs */
}

/* ---- Footer: stacked rhythm on small screens ---------------------- */
@media (max-width:767px){
  footer .grid{gap:2.5rem}
  footer .text-xl{font-size:1.05rem}
}

/* ---- Breadcrumbs: wrap cleanly on narrow screens ------------------- */
.cf-breadcrumbs__list{row-gap:.25rem}

/* ---- Large screens: cap line length, scale hero glow --------------- */
@media (min-width:1920px){
  .entry-content{max-width:72ch;margin-left:auto;margin-right:auto}
}

/* ---- Short landscape phones (game-changer for hero pages) ---------- */
@media (max-height:480px) and (orientation:landscape){
  [class*="min-h-screen"]{min-height:auto}
  [class*="pt-32"],[class*="pt-36"]{padding-top:6rem}
}

/* ---- Reduced motion & data saver ----------------------------------- */
@media (prefers-reduced-motion:reduce){
  .js .reveal,.hero-anim{opacity:1 !important;transform:none !important;animation:none !important;transition:none !important}
  *{scroll-behavior:auto !important}
}
@media (prefers-contrast:more){
  .text-slate-400,.text-slate-500{color:#cbd5e1}
  .border-white\/10{border-color:rgba(255,255,255,.28)}
}

/* ---- Print ---------------------------------------------------------- */
@media print{
  #navbar,#mobile-menu,a[aria-label*="WhatsApp"][class*="fixed"],.cf-pagination{display:none !important}
  body{background:#fff;color:#0f172a}
  .js .reveal{opacity:1;transform:none}
}
