/*
Theme Name: TechnoPress Light
Theme URI: https://www.tipsnsolution.in/
Author: Tips N Solution
Author URI: https://www.tipsnsolution.in/
Description: TechnoPress is a clean, professional, LIGHT and responsive business/marketing WordPress theme inspired by chieftechno.com. Restricted black and dark-blue palette, top contact bar, sticky header with a call-to-action button, hero section, six service cards, stats band, text-first post cards (posts render without images) and a light widgetised footer. Ships with a one-click demo importer (10 pages + 20 unique high-CTR posts with Rank Math meta) so everything is managed inside the theme. All colours, contact details, social links, hero, services, stats, CTA and footer content are editable from the Customizer. No page builder required.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: technopress
Tags: blog, business, custom-logo, custom-menu, custom-colors, translation-ready, responsive-layout, two-columns, right-sidebar
*/

/* ==========================================================================
   1. Variables
   ========================================================================== */
:root {
  --primary: #0a2540;
  --primary-dark: #061829;
  --primary-light: #143f6b;
  --accent: #0b3d75;
  --accent-dark: #071f3d;
  --ink: #0b0f14;
  --dark: #0b0f14;
  --body: #3d4753;
  --muted: #6b7684;
  --light: #f5f7f9;
  --border: #e2e6eb;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11,15,20,.04), 0 8px 24px rgba(11,15,20,.05);
  --shadow-hover: 0 10px 30px rgba(10,37,64,.14);
  --container: 1180px;
  --font-heading: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--accent); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.3;
  margin: 0 0 16px;
  font-weight: 700;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--accent);
  background: var(--light);
  font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }
code, pre, kbd { font-family: Consolas, Monaco, monospace; font-size: .9em; }
pre {
  background: #0f172a; color: #e2e8f0;
  padding: 16px 18px; border-radius: var(--radius);
  overflow-x: auto; margin: 22px 0;
}
code { background: var(--light); padding: 2px 6px; border-radius: 4px; }
pre code { background: none; padding: 0; color: inherit; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: var(--light); color: var(--dark); }
hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: 1rem; background: var(--white);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); }
button, input[type="submit"], .btn {
  display: inline-block; padding: 13px 28px; border: 0; border-radius: 50px;
  background: var(--primary); color: var(--white); font-family: var(--font-heading);
  font-size: .95rem; font-weight: 600; cursor: pointer; transition: all .25s ease;
}
button:hover, input[type="submit"]:hover, .btn:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
.btn-accent { background: var(--primary); }
.btn-accent:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: static; width: auto; height: auto; clip: auto;
  display: block; padding: 12px 20px; background: var(--primary); color: #fff; z-index: 9999;
}
.alignleft { float: left; margin: 6px 24px 18px 0; }
.alignright { float: right; margin: 6px 0 18px 24px; }
.aligncenter { display: block; margin: 20px auto; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.wp-caption-text, .wp-block-image figcaption {
  text-align: center; font-size: .85rem; color: var(--muted); margin-top: 8px;
}
.sticky { position: relative; }
.bypostauthor { display: block; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; flex: 1 1 0; min-width: 0; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.section { padding: 76px 0; }
.section-light { background: var(--light); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle {
  text-align: center; max-width: 680px; margin: 0 auto 46px; color: var(--muted);
}
.section-title::after {
  content: ""; display: block; width: 60px; height: 4px; border-radius: 4px;
  background: var(--primary); margin: 16px auto 0;
}

/* ==========================================================================
   4. Top bar
   ========================================================================== */
.topbar { background: var(--primary-dark); color: #d6e6f5; font-size: .875rem; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; min-height: 44px;
}
.topbar a { color: #d6e6f5; }
.topbar a:hover { color: var(--white); }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar-contact span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a {
  width: 26px; height: 26px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12);
}
.topbar-social a:hover { background: var(--accent); }
.topbar-social svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 900;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 82px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { max-height: 54px; width: auto; }
.site-title {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800;
  margin: 0; line-height: 1.1; color: var(--dark);
}
.site-title a { color: var(--dark); }
.site-title a:hover { color: var(--primary); }
.site-tagline { margin: 0; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

.main-navigation ul {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px;
}
.main-navigation li { position: relative; }
.main-navigation a {
  font-family: var(--font-heading); font-size: .95rem; font-weight: 500;
  color: var(--dark); padding: 8px 0; display: block; position: relative;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--primary); }
.main-navigation .current-menu-item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
}
.main-navigation .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius);
  padding: 8px 0; z-index: 950;
}
.main-navigation li:hover > .sub-menu { display: block; }
.main-navigation .sub-menu li { display: block; }
.main-navigation .sub-menu a { padding: 9px 18px; font-weight: 400; }
.main-navigation .sub-menu a:hover { background: var(--light); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.btn-header {
  background: var(--accent); color: var(--white); padding: 12px 26px;
  border-radius: 50px; font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  white-space: nowrap;
}
.btn-header:hover { background: var(--primary-dark); color: var(--white); }

.menu-toggle {
  display: none; background: var(--primary); color: #fff; border: 0; padding: 10px 14px;
  border-radius: var(--radius); font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.menu-toggle:hover { background: var(--primary-dark); }

/* mobile panel */
.mobile-panel {
  display: none; background: var(--white); border-top: 1px solid var(--border);
  padding: 10px 0 20px;
}
.mobile-panel.open { display: block; }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel li { border-bottom: 1px solid var(--light); }
.mobile-panel a {
  display: block; padding: 12px 4px; color: var(--dark);
  font-family: var(--font-heading); font-weight: 500;
}
.mobile-panel .sub-menu { padding-left: 16px; }
.mobile-panel .sub-menu a { font-weight: 400; font-size: .92rem; }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative; color: #fff; padding: 110px 0; text-align: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  overflow: hidden;
}
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6, 24, 41, .93) 0%, rgba(10, 37, 64, .88) 60%, rgba(20, 63, 107, .86) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 3rem; font-weight: 800; margin-bottom: 20px; max-width: 900px; margin-left: auto; margin-right: auto; }
.hero p.lead { font-size: 1.15rem; color: #e4eff9; max-width: 720px; margin: 0 auto 34px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 34px; justify-content: center; flex-wrap: wrap;
  margin-top: 54px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.22);
}
.hero-badge strong { display: block; font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-badge span { font-size: .85rem; color: #cfe2f3; letter-spacing: .04em; text-transform: uppercase; }

/* ==========================================================================
   7. Service / feature cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; transition: all .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 37, 64, .08); color: var(--primary);
}
.card-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: .94rem; color: var(--muted); margin: 0; }
.card:hover .card-icon { background: var(--primary); color: #fff; }

/* ==========================================================================
   8. Stats band
   ========================================================================== */
.stats { background: var(--primary); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; line-height: 1.1;
}
.stat span { display: block; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; color: #cfe2f3; }

/* ==========================================================================
   9. CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, #0a2540 0%, #143f6b 100%);
  color: #fff; text-align: center; padding: 68px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #fff; opacity: .95; max-width: 640px; margin: 0 auto 26px; }
.cta-band .btn { background: var(--white); color: var(--accent-dark); }
.cta-band .btn:hover { background: var(--dark); color: #fff; }

/* ==========================================================================
   10. Blog / posts  (text-first — looks complete WITHOUT images)
   ========================================================================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--primary);
  padding: 30px 28px; display: flex; flex-direction: column; transition: all .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cfd8e3; border-top-color: var(--primary); }
.post-cat {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); background: rgba(10,37,64,.07);
  padding: 4px 10px; border-radius: 3px; margin-bottom: 14px; align-self: flex-start;
}
.post-meta {
  font-size: .78rem; color: var(--muted); margin-bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 14px; text-transform: uppercase; letter-spacing: .05em;
}
.post-meta a { color: var(--muted); }
.post-meta a:hover { color: var(--primary); }
.post-card-title { font-size: 1.2rem; line-height: 1.4; margin-bottom: 12px; letter-spacing: -.01em; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--primary); }
.post-card-excerpt { font-size: .94rem; color: var(--body); margin-bottom: 20px; }
.read-more {
  margin-top: auto; font-family: var(--font-heading); font-weight: 600; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 8px; color: var(--primary);
}
.read-more svg { transition: transform .2s ease; }
.post-card:hover .read-more svg { transform: translateX(4px); }

/* optional featured image (only shown when a post has one) */
.post-card-thumb { display: block; overflow: hidden; border-radius: 4px; margin-bottom: 20px; }
.post-card-thumb img { width: 100%; height: 190px; object-fit: cover; }

/* ==========================================================================
   11. Sidebar & widgets
   ========================================================================== */
.content-area { display: flex; gap: 40px; align-items: flex-start; }
.content-area main { flex: 1 1 auto; min-width: 0; }
.sidebar { flex: 0 0 320px; max-width: 320px; }
.widget {
  background: var(--light); padding: 26px; border-radius: var(--radius); margin-bottom: 28px;
  border: 1px solid var(--border);
}
.widget:last-child { margin-bottom: 0; }
.widget-title {
  font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--primary); display: inline-block;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .93rem; }
.widget ul li:last-child { border-bottom: 0; }
.widget select, .widget input[type="search"] { width: 100%; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-submit { padding: 12px 20px; border-radius: var(--radius); }

/* ==========================================================================
   12. Footer (light)
   ========================================================================== */
.site-footer { background: #f4f7fa; color: var(--body); font-size: .94rem; border-top: 1px solid var(--border); }
.footer-widgets { padding: 62px 0 44px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.site-footer h3, .site-footer .widget-title {
  color: var(--dark); font-size: 1.05rem; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 6px 0; }
.site-footer .widget { background: none; border: 0; padding: 0; margin: 0; }
.site-footer .widget ul li { border-bottom: 0; }
.footer-about img { max-height: 48px; margin-bottom: 16px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item svg { width: 15px; height: 15px; fill: none; stroke: var(--primary); stroke-width: 2; margin-top: 5px; flex: 0 0 15px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--primary);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-social svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0; font-size: .87rem; background: var(--white);
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--primary); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--body); }
.footer-links a:hover { color: var(--accent); }

/* ---- optional dark footer (Customizer: Footer style = Dark) ---- */
.footer-dark .site-footer { background: #1f2937; color: #b9c4d0; border-top: 0; }
.footer-dark .site-footer h3, .footer-dark .site-footer .widget-title { color: #fff; }
.footer-dark .site-footer a { color: #b9c4d0; }
.footer-dark .site-footer a:hover { color: var(--accent); }
.footer-dark .footer-contact-item svg { fill: none; stroke: #9dc4e8; }
.footer-dark .footer-social a { background: rgba(255,255,255,.09); border-color: transparent; color: #fff; }
.footer-dark .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); background: #1a232f; }
.footer-dark .footer-bottom a, .footer-dark .footer-links a { color: #cfd8e3; }

/* ==========================================================================
   13. Pages, 404, search
   ========================================================================== */
.page-header { background: var(--light); padding: 44px 0; border-bottom: 1px solid var(--border); text-align: center; }
.page-header h1 { margin: 0; font-size: 2rem; }
.page-header .archive-description { color: var(--muted); margin-top: 10px; }
.error-404 { text-align: center; padding: 60px 0; }
.error-404 .code { font-size: 6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.no-results { text-align: center; padding: 40px 0; }

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cards, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .sidebar { flex: 0 0 280px; max-width: 280px; }
}
@media (max-width: 860px) {
  .main-navigation, .header-cta .btn-header { display: none; }
  .menu-toggle { display: inline-block; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 76px 0; }
  .hero h1 { font-size: 2.1rem; }
  .content-area { flex-direction: column; }
  .sidebar { flex: 1 1 auto; max-width: 100%; }
  .section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .cards, .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-contact { justify-content: center; gap: 14px; font-size: .8rem; }
  .hero-badges { gap: 22px; }
  .site-title { font-size: 1.3rem; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .post-navigation { flex-direction: column; }
}

/* ==========================================================================
   15. Light style (default) — soft backgrounds, dark text
   ========================================================================== */
.technopress-light .hero {
  background: #eef4fa;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.technopress-light .hero::before { display: none; }
.technopress-light .hero h1 { color: var(--dark); }
.technopress-light .hero p.lead { color: var(--body); }
.technopress-light .hero-badges { border-top: 1px solid var(--border); }
.technopress-light .hero-badge strong { color: var(--primary); }
.technopress-light .hero-badge span { color: var(--muted); }
.technopress-light .hero .btn-outline {
  border-color: var(--primary); color: var(--primary); background: transparent;
}
.technopress-light .hero .btn-outline:hover { background: var(--primary); color: #fff; }

.technopress-light .stats {
  background: var(--white); color: var(--dark);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.technopress-light .stat strong { color: var(--primary); }
.technopress-light .stat span { color: var(--muted); }

.technopress-light .cta-band {
  background: #eef2f7; color: var(--dark);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.technopress-light .cta-band h2 { color: var(--dark); }
.technopress-light .cta-band p { color: var(--body); opacity: 1; }
.technopress-light .cta-band .btn { background: var(--accent); color: #fff; }
.technopress-light .cta-band .btn:hover { background: var(--accent-dark); color: #fff; }

.technopress-light .topbar { background: var(--white); color: var(--body); border-bottom: 1px solid var(--border); }
.technopress-light .topbar a { color: var(--body); }
.technopress-light .topbar a:hover { color: var(--primary); }
.technopress-light .topbar-contact svg { fill: none; stroke: var(--primary); }
.technopress-light .topbar-social a { background: var(--light); color: var(--primary); }
.technopress-light .topbar-social a:hover { background: var(--accent); color: #fff; }

/* ==========================================================================
   16. Professional refinements & homepage sections
   --------------------------------------------------------------------------
   Appended last so these rules win. Anything here can still be overridden
   from the Customizer (Additional CSS) without touching the theme files.
   ========================================================================== */

/* --- base typography scale ------------------------------------------------ */
body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: -.018em;
  line-height: 1.22;
  margin-bottom: .6em;
}
h1 { font-size: 3.25rem; font-weight: 800; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.2rem;  font-weight: 600; }
p  { margin-bottom: 1.15em; }

/* previously-unstyled classes found in the templates */
.site-main { display: block; }
.site-title-wrap { display: block; }
.footer-copy { font-size: .88rem; }
.footer-copy .sep { opacity: .5; margin: 0 4px; }
.no-posts { color: var(--muted); text-align: center; grid-column: 1 / -1; }

/* --- eyebrow labels ------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-heading);
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px; justify-content: center;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--primary); opacity: .35;
}
.eyebrow-light { color: #9dc4e8; justify-content: center; }
.eyebrow-light::before, .eyebrow-light::after { background: #9dc4e8; opacity: .5; }

/* --- hero ----------------------------------------------------------------- */
.hero { padding: 132px 0 108px; }
.hero h1 { font-size: 3.5rem; line-height: 1.12; margin-bottom: 22px; max-width: 940px; }
.hero p.lead { font-size: 1.18rem; line-height: 1.75; color: #d3e3f2; max-width: 720px; margin-bottom: 38px; }
.hero-buttons { margin-bottom: 0; }
.hero-badges { margin-top: 62px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.18); }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  padding: 15px 32px; border-radius: 50px; border: 2px solid transparent;
  transition: all .22s ease; text-decoration: none;
}
.btn svg { width: 17px; height: 17px; transition: transform .22s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-accent { background: var(--white); color: var(--primary-dark); }
.btn-accent:hover { background: var(--ink); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary-dark); border-color: var(--white); }
.btn-outline-dark {
  border-color: var(--primary); color: var(--primary); background: transparent;
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

.lead-muted { font-size: 1.05rem; color: var(--body); margin-bottom: 28px; }

/* --- service cards: icon in a soft navy square ---------------------------- */
.cards { gap: 24px; }
.card {
  text-align: left; padding: 38px 32px 32px; border-radius: 8px;
  border: 1px solid var(--border); border-top: 3px solid transparent;
}
.card:hover { border-top-color: var(--primary); border-color: #d5dde6; }
.card-icon {
  width: 58px; height: 58px; margin: 0 0 22px; border-radius: 12px;
  background: rgba(10, 37, 64, .07); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.card:hover .card-icon { background: var(--primary); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; margin-bottom: 20px; }
.card .read-more { margin-top: auto; }

/* --- stats band ----------------------------------------------------------- */
.stats { padding: 66px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 20px; border-left: 1px solid rgba(255,255,255,.16); }
.stat:first-child { border-left: 0; }
.stat strong { font-size: 2.8rem; }

/* --- why choose us -------------------------------------------------------- */
.section { padding: 96px 0; }
.why-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start;
}
.why-text h2 { font-size: 2rem; }
.why-text .eyebrow { justify-content: flex-start; }
.check-list { list-style: none; margin: 0 0 30px; padding: 0; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; font-size: .97rem;
}
.check-list li svg {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px;
  stroke: var(--primary); fill: none; stroke-width: 2.4;
}
.check-list li strong { color: var(--ink); }
.why-panel {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 30px; box-shadow: var(--shadow);
}
.why-stat { padding: 24px 0; border-bottom: 1px solid var(--border); }
.why-stat:last-child { border-bottom: 0; }
.why-stat strong {
  display: block; font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800;
  color: var(--primary); line-height: 1.1; margin-bottom: 4px;
}
.why-stat span { font-size: .92rem; color: var(--muted); }

/* --- process steps -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 10px; }
.step-item { position: relative; padding-top: 26px; }
.step-item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 22px; height: 3px;
  background: var(--border); border-radius: 3px;
}
.step-item::after {
  content: ""; position: absolute; top: 0; left: 0; width: 52px; height: 3px;
  background: var(--primary); border-radius: 3px;
}
.step-number {
  display: block; font-family: var(--font-heading); font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; color: var(--primary); margin-bottom: 10px;
}
.step-item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-item p { font-size: .93rem; color: var(--muted); margin: 0; }

/* --- pricing -------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 38px 32px; display: flex; flex-direction: column; position: relative;
  transition: all .25s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.plan-featured {
  border: 2px solid var(--primary); box-shadow: 0 16px 40px rgba(10,37,64,.12);
}
.plan-badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--primary); color: #fff; font-family: var(--font-heading);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
}
.plan h3 { font-size: 1.15rem; margin-bottom: 6px; }
.plan-tagline { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.plan-price { margin-bottom: 24px; display: flex; align-items: baseline; gap: 3px; flex-wrap: wrap; }
.plan-price .currency { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--primary); }
.plan-price .amount { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.plan-price .period { font-size: .92rem; color: var(--muted); margin-left: 4px; }
.plan-features { list-style: none; margin: 0 0 30px; padding: 0; }
.plan-features li {
  display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; margin-bottom: 13px;
}
.plan-features li svg {
  flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px;
  stroke: var(--primary); fill: none; stroke-width: 2.4;
}
.plan .btn { margin-top: auto; justify-content: center; }

/* --- testimonials --------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  margin: 0; background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 34px 30px; position: relative;
}
.quote-mark {
  font-family: Georgia, "Times New Roman", serif; font-size: 3.6rem; line-height: 1;
  color: var(--primary); opacity: .18; position: absolute; top: 16px; left: 26px;
}
.quote blockquote {
  margin: 22px 0 22px; font-size: .98rem; line-height: 1.75; color: var(--body);
  position: relative; z-index: 2;
}
.quote figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--border); padding-top: 16px; }
.quote figcaption strong { font-family: var(--font-heading); color: var(--ink); font-size: .95rem; }
.quote figcaption span { font-size: .85rem; color: var(--muted); }

.section-cta { text-align: center; margin: 46px 0 0; }

/* --- section headings ----------------------------------------------------- */
.section-title { font-size: 2.1rem; margin-bottom: 16px; }
.section-title::after { width: 56px; height: 3px; background: var(--primary); }
.section-subtitle { font-size: 1.02rem; margin-bottom: 54px; }
.section-light { background: var(--light); }

/* --- post cards ----------------------------------------------------------- */
.posts-grid { gap: 24px; }
.post-card { border-radius: 8px; padding: 32px 28px; }
.post-card-title { font-size: 1.22rem; line-height: 1.42; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps, .pricing, .quotes { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .hero { padding: 84px 0 70px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 64px 0; }
  .cards, .steps, .pricing, .quotes, .posts-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat { border-left: 0; }
  .plan-featured { order: -1; }
}

/* ==========================================================================
   17. Enquiry popup
   ========================================================================== */
.tp-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.tp-popup.is-open { display: flex; }
.tp-popup-overlay {
  position: absolute; inset: 0; background: rgba(6, 24, 41, .72);
  backdrop-filter: blur(3px); animation: tpFade .22s ease;
}
.tp-popup-box {
  position: relative; z-index: 2; width: 100%; max-width: 480px;
  max-height: 92vh; overflow-y: auto; background: var(--white);
  border-radius: 12px; box-shadow: 0 30px 80px rgba(6, 24, 41, .45);
  animation: tpRise .26s cubic-bezier(.2, .8, .3, 1);
}
@keyframes tpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tpRise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .tp-popup-overlay, .tp-popup-box { animation: none; }
}

.tp-popup-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.tp-popup-close:hover { background: rgba(255,255,255,.34); }

.tp-popup-head {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff; padding: 30px 34px 26px; border-radius: 12px 12px 0 0;
}
.tp-popup-head h2 { color: #fff; font-size: 1.45rem; margin: 0 0 8px; padding-right: 30px; }
.tp-popup-head p { margin: 0; font-size: .93rem; color: #c9dcee; line-height: 1.6; }

.tp-popup-body { padding: 26px 34px 30px; }
.tp-popup-ok {
  background: #ecf4ee; border-left: 3px solid #1e7a45; color: #1e5c36;
  padding: 13px 16px; border-radius: 0 5px 5px 0; font-size: .92rem;
}
.tp-popup-err {
  background: #fdf2f1; border-left: 3px solid #c0392b; color: #8e2b21;
  padding: 13px 16px; border-radius: 0 5px 5px 0; font-size: .92rem;
}

/* built-in form (used when no form plugin shortcode is set) */
.tp-form { margin: 0; }
.tp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tp-field { margin: 0 0 15px; }
.tp-field label {
  display: block; font-family: var(--font-heading); font-size: .82rem; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.tp-field label span { color: #c0392b; }
.tp-field input,
.tp-field select,
.tp-field textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .94rem;
  border: 1px solid var(--border); border-radius: 6px; background: #fbfcfd; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.tp-field textarea { resize: vertical; }
.tp-field input:focus,
.tp-field select:focus,
.tp-field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, .1); background: #fff;
}
.tp-submit { width: 100%; justify-content: center; margin-top: 4px; }
.tp-privacy { margin: 14px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

/* shortcode-based form (Contact Form 7 and friends) */
.tp-popup-body .wpcf7 form p { margin-bottom: 14px; }
.tp-popup-body .wpcf7 input[type="text"],
.tp-popup-body .wpcf7 input[type="email"],
.tp-popup-body .wpcf7 input[type="tel"],
.tp-popup-body .wpcf7 select,
.tp-popup-body .wpcf7 textarea { width: 100%; }
.tp-popup-body .wpcf7 input[type="submit"] {
  width: 100%; background: var(--primary); color: #fff; border: 0;
  padding: 14px 26px; border-radius: 50px; font-family: var(--font-heading);
  font-weight: 600; font-size: .95rem; cursor: pointer;
}
.tp-popup-body .wpcf7 input[type="submit"]:hover { background: var(--primary-dark); }

@media (max-width: 600px) {
  .tp-popup-head { padding: 26px 22px 22px; }
  .tp-popup-body { padding: 22px 22px 26px; }
  .tp-popup-head h2 { font-size: 1.25rem; }
}

/* reCAPTCHA inside the popup form */
.tp-recaptcha { margin: 0 0 16px; transform-origin: left center; }
.tp-recaptcha > div { max-width: 100%; }
.tp-recaptcha iframe { max-width: 100%; }
.tp-recaptcha-note {
  margin: 0 0 14px; font-size: .72rem; color: var(--muted); line-height: 1.5;
}
@media (max-width: 420px) {
  .tp-recaptcha { transform: scale(.88); }
}
