/*
Theme Name: Vanteq Final
Theme URI: https://vanteqsolutions.com
Author: Vanteq Solutions
Description: Custom theme for Vanteq Solutions — suppliers of banknote processing machines, cash deposit machines, safe locks, and self-service cash management software for banks, exchange houses, retail and airport services in Qatar.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vanteq
*/

/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root{
  --navy-deep:#0A1B33;
  --navy:#122A4D;
  --steel:#1C3E68;
  --teal:#14A0AF;
  --teal-light:#5FCBD6;
  --gray:#5B6470;
  --gray-light:#8B93A0;
  --ink:#0E1420;
  --paper:#F3F5F7;
  --white:#FFFFFF;
  --line:#D9DEE3;
  --line-dark:rgba(255,255,255,.14);

  --font-head: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  margin:0 0 .4em;
  line-height:1.12;
  letter-spacing:-0.01em;
  font-weight:600;
}
p{ margin:0 0 1em; color:var(--gray); max-width:62ch; }
ul{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter); }
.section{ padding:96px 0; border-bottom:1px solid var(--line); }
.section--dark{ background:var(--navy-deep); border-bottom:none; }
.section--dark p{ color:#AEB9C8; }
.section--dark h2, .section--dark h3{ color:var(--white); }
.section--paper{ background:var(--paper); }

.kicker{
  font-family:var(--font-head);
  font-size:14px;
  color:var(--teal);
  margin:0 0 14px;
  display:flex;
  align-items:center;
  gap:10px;
}
.kicker::before{
  content:"";
  width:22px; height:2px;
  background:var(--teal);
  display:inline-block;
}

h2.h-lg{ font-size:clamp(28px,3.6vw,44px); max-width:16ch; }
.lede{ font-size:19px; max-width:52ch; color:var(--gray); }

.btn{
  display:inline-block;
  font-family:var(--font-head);
  font-weight:600;
  font-size:15px;
  padding:14px 26px;
  border:1px solid var(--navy);
  color:var(--navy);
  background:transparent;
}
.btn:hover{ background:var(--navy); color:var(--white); }
.btn--solid{ background:var(--teal); border-color:var(--teal); color:var(--white); }
.btn--solid:hover{ background:var(--navy-deep); border-color:var(--navy-deep); }
.btn--light{ border-color:var(--white); color:var(--white); }
.btn--light:hover{ background:var(--white); color:var(--navy-deep); }

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header{
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--line);
}
/* The frosted-glass blur lives on a pseudo-element behind the header's
   content, not on .site-header itself — backdrop-filter (like transform)
   makes its element the containing block for fixed-position descendants,
   which would trap the full-screen mobile menu inside the header's own
   height instead of letting it cover the whole viewport. */
.site-header::before{
  content:""; position:absolute; inset:0;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(6px);
  z-index:-1;
}
.site-header .wrap{
  position:relative;
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
}
.site-header img.logo{ height:46px; width:auto; }
.main-nav ul{ display:flex; gap:34px; }
.main-nav a{
  font-family:var(--font-head);
  font-size:15px;
  color:var(--navy);
}
.main-nav a:hover{ color:var(--teal); }
.header-cta{ display:flex; align-items:center; gap:22px; }
.header-phone{ font-family:var(--font-head); font-size:15px; color:var(--navy); white-space:nowrap; }
.nav-toggle{
  display:none; background:none; border:0; cursor:pointer;
  padding:8px; margin:-8px; z-index:70; position:relative;
}
.nav-toggle .icon-close{ display:none; }
.nav-toggle[aria-expanded="true"] .icon-burger{ display:none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display:block; }

@media (max-width: 860px){
  /* Mobile header shows just the logo and the toggle, so the toggle
     (and its X icon when open) sits flush top-right. */
  .header-cta{ display:none; }
  .nav-toggle{ display:block; }

  /* Hidden by default; JS adds .is-open to show it as a full-screen panel. */
  .main-nav{ display:none; }
  .main-nav.is-open{
    display:flex; align-items:center;
    position:fixed; inset:0; z-index:60;
    background:var(--white);
    padding:100px var(--gutter) 40px;
    overflow-y:auto;
  }
  .main-nav ul{ flex-direction:column; gap:8px; width:100%; }
  .main-nav a{
    display:block; padding:14px 0; font-size:22px;
    border-bottom:1px solid var(--line);
  }
  body.nav-open{ overflow:hidden; }
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero{
  background:var(--navy-deep);
  color:var(--white);
  position:relative;
  overflow:hidden;
  border-bottom:none;
}
.hero .wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
  padding-top:90px; padding-bottom:90px;
}
.hero h1{ color:var(--white); font-size:clamp(34px,5vw,58px); max-width:14ch; }
.hero .lede{ color:#B9C3D2; }
.hero-figures{
  margin-top:44px;
  display:flex;
  gap:40px;
  border-top:1px solid var(--line-dark);
  padding-top:26px;
}
.hero-figures div strong{
  display:block; font-family:var(--font-head); font-size:26px; color:var(--teal-light);
}
.hero-figures div span{ font-size:13px; color:#8FA0B7; }
.hero-actions{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }
.hero-art{
  border:1px solid var(--line-dark);
  padding:26px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}
.hero-art img{ width:100%; height:auto; }
.hero-art .cap{ margin-top:14px; font-size:13px; color:#8FA0B7; border-top:1px solid var(--line-dark); padding-top:12px; }

@media (max-width:860px){
  .hero .wrap{ grid-template-columns:1fr; }
}

/* ---------------------------------------------
   Inner page hero (About / Services / Products / Clients / Contact)
--------------------------------------------- */
.page-hero{
  background:var(--navy-deep);
  color:var(--white);
  padding:74px 0 60px;
  border-bottom:none;
}
.page-hero .kicker{ color:var(--teal-light); }
.page-hero h1{ color:var(--white); font-size:clamp(30px,4.4vw,46px); max-width:20ch; }
.page-hero p{ color:#B9C3D2; font-size:18px; max-width:56ch; }
.breadcrumb{ font-size:13px; color:#8FA0B7; margin-bottom:18px; }
.breadcrumb a{ color:#8FA0B7; }
.breadcrumb a:hover{ color:var(--teal-light); }

/* ---------------------------------------------
   Trust strip / brands
--------------------------------------------- */
.brand-strip{ padding:40px 0; border-bottom:1px solid var(--line); }
.brand-strip .wrap{ display:flex; align-items:center; gap:48px; flex-wrap:wrap; justify-content:space-between; }
.brand-strip .label{ font-family:var(--font-head); font-size:13px; color:var(--gray-light); white-space:nowrap; }
.brand-strip .names{ display:flex; gap:44px; flex-wrap:wrap; }
.brand-strip .names span{ font-family:var(--font-head); font-size:20px; color:var(--navy); }

/* ---------------------------------------------
   About / services split
--------------------------------------------- */
.split{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:64px;
  align-items:start;
}
@media (max-width:860px){ .split{ grid-template-columns:1fr; } }

.service-list{ margin-top:8px; }
.service-list li{
  padding:26px 0;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:70px 1fr;
  gap:22px;
}
.service-list li:last-child{ border-bottom:1px solid var(--line); }
.service-list .num{
  font-family:var(--font-head);
  font-size:14px;
  color:var(--teal);
}
.service-list h3{ font-size:19px; margin-bottom:6px; }
.service-list p{ margin:0; font-size:15px; }

/* ---------------------------------------------
   Products
--------------------------------------------- */
.product-card{
  border:1px solid var(--line);
  padding:34px;
  margin-bottom:24px;
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:40px;
}
.product-card .pc-figure{ background:var(--paper); display:flex; align-items:center; justify-content:center; padding:20px; }
.product-card .pc-figure img{ max-height:320px; width:auto; margin:0 auto; }
.product-card .pc-name{ font-family:var(--font-head); font-size:13px; color:var(--teal); margin-bottom:4px; }
.product-card h3{ font-size:26px; }
.spec-table{ width:100%; border-collapse:collapse; margin-top:18px; }
.spec-table tr{ border-top:1px solid var(--line); }
.spec-table tr:last-child{ border-bottom:1px solid var(--line); }
.spec-table td{ padding:10px 0; font-size:14.5px; color:var(--gray); }
.spec-table td:first-child{ color:var(--ink); width:44%; }
.spec-table td:last-child{ font-family:var(--font-head); font-weight:500; color:var(--navy); }

@media (max-width:760px){
  .product-card{ grid-template-columns:1fr; }
}

.counter-card{
  border:1px solid var(--line);
  padding:34px;
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:40px;
  align-items:start;
}
.counter-card .pc-figure{ background:var(--paper); padding:20px; }
.feature-line{ display:flex; gap:12px; padding:12px 0; border-top:1px solid var(--line); font-size:14.5px; color:var(--gray); }
.feature-line:last-of-type{ border-bottom:1px solid var(--line); }
.feature-line .fl-tag{ font-family:var(--font-head); color:var(--teal); flex:0 0 22px; }
@media (max-width:760px){ .counter-card{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   Clients
--------------------------------------------- */
.client-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  margin-top:20px;
}
.client-grid div{
  background:var(--white);
  padding:30px 22px;
  font-family:var(--font-head);
  font-size:15px;
  color:var(--navy);
}
.client-grid div span{
  display:block; font-size:12.5px; font-family:var(--font-body); color:var(--gray-light); margin-top:6px;
}
@media (max-width:760px){ .client-grid{ grid-template-columns:1fr 1fr; } }

/* ---------------------------------------------
   Contact / CTA
--------------------------------------------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
}
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-detail{ padding:22px 0; border-top:1px solid var(--line-dark); }
.contact-detail:last-child{ border-bottom:1px solid var(--line-dark); }
.contact-detail .cd-label{ font-family:var(--font-head); font-size:13px; color:var(--teal-light); }
.contact-detail .cd-value{ font-size:18px; color:var(--white); margin-top:4px; }

.cform label{ display:block; font-family:var(--font-head); font-size:13px; color:var(--white); margin-bottom:8px; }
.cform input, .cform textarea{
  width:100%; padding:13px 14px; margin-bottom:20px;
  background:transparent; border:1px solid var(--line-dark); color:var(--white);
  font-family:var(--font-body); font-size:15px;
}
.cform input::placeholder, .cform textarea::placeholder{ color:#7C8AA0; }
.cform textarea{ min-height:120px; resize:vertical; }
.cform .btn--solid{ border:0; cursor:pointer; }
.form-note{ font-size:13px; color:#8FA0B7; margin-top:14px; }

/* Contact Form 7 — matched to the .cform look above.
   !important guards against Contact Form 7's own default styles (it ships
   its own stylesheet with a grid layout and bordered/unfilled submit button
   that otherwise wins on load order). */
.cform .wpcf7-form{ --wpcf7-form-control-spacing: 0; }
.cform .wpcf7-form p{ margin:0 0 20px !important; }
.cform .wpcf7-form label{
  display:block !important; font-family:var(--font-head) !important;
  font-size:13px !important; font-weight:600 !important; color:var(--white) !important;
  margin-bottom:8px !important;
}
.cform .wpcf7-form .wpcf7-form-control-wrap{ display:block !important; }
.cform .wpcf7-form input[type="text"],
.cform .wpcf7-form input[type="email"],
.cform .wpcf7-form input[type="tel"],
.cform .wpcf7-form textarea{
  width:100% !important; padding:13px 14px !important;
  background:transparent !important; border:1px solid var(--line-dark) !important;
  border-radius:0 !important; color:var(--white) !important;
  font-family:var(--font-body) !important; font-size:15px !important;
  box-shadow:none !important;
}
.cform .wpcf7-form input:focus,
.cform .wpcf7-form textarea:focus{ border-color:var(--teal) !important; outline:none; }
.cform .wpcf7-form input::placeholder,
.cform .wpcf7-form textarea::placeholder{ color:#7C8AA0 !important; opacity:1; }
.cform .wpcf7-form textarea{ min-height:120px !important; resize:vertical; }
.cform .wpcf7-form input[type="submit"],
.cform .wpcf7-form .wpcf7-submit{
  display:inline-block !important;
  font-family:var(--font-head) !important; font-weight:600 !important; font-size:15px !important;
  padding:14px 26px !important; background:var(--teal) !important;
  border:0 !important; border-radius:0 !important; color:var(--white) !important;
  cursor:pointer; width:auto !important; box-shadow:none !important;
}
.cform .wpcf7-form input[type="submit"]:hover,
.cform .wpcf7-form .wpcf7-submit:hover{ background:var(--navy-deep) !important; }
.cform .wpcf7-form input[type="submit"]:disabled,
.cform .wpcf7-form .wpcf7-submit:disabled{ opacity:.6; cursor:default; }
.cform .wpcf7-not-valid-tip{ color:#FF9B9B !important; font-size:13px !important; margin-top:8px; display:block; }
.cform .wpcf7-response-output{
  border:1px solid var(--line-dark) !important; color:var(--white) !important;
  padding:12px 14px !important; margin:16px 0 0 !important; font-size:14px !important;
  border-radius:0 !important;
}
.cform form.sent .wpcf7-response-output{ border-color:var(--teal-light) !important; color:var(--teal-light) !important; }
.cform form.failed .wpcf7-response-output,
.cform form.invalid .wpcf7-response-output,
.cform form.spam .wpcf7-response-output{ border-color:#FF9B9B !important; color:#FF9B9B !important; }
.cform .wpcf7-spinner{ display:none !important; }
.cform .screen-reader-response{ position:absolute; width:1px; height:1px; overflow:hidden; }

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer{ background:var(--navy-deep); color:#8FA0B7; padding:56px 0 28px; }
.footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; border-bottom:1px solid var(--line-dark); padding-bottom:36px; margin-bottom:26px; }
.footer-top img.logo{ height:38px; filter:brightness(0) invert(1); margin-bottom:14px; }
.footer-col h4{ color:var(--white); font-size:14px; margin-bottom:14px; }
.footer-col a, .footer-col li{ font-size:14.5px; color:#8FA0B7; margin-bottom:10px; display:block; }
.footer-col a:hover{ color:var(--teal-light); }
.footer-bottom{ display:flex; justify-content:space-between; font-size:13px; flex-wrap:wrap; gap:10px; }

/* utility */
.mt-0{ margin-top:0; }
.text-white{ color:var(--white); }

/* ---------------------------------------------
   Product photography
   Photos have white backgrounds; multiply lets them sit on the
   light-grey panels without a visible white box.
--------------------------------------------- */
.pc-figure{
  background:var(--paper);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:14px; padding:24px;
}
.pc-figure img{
  width:100%; height:auto; max-height:360px; object-fit:contain;
  mix-blend-mode:multiply;
}
.pc-cap{ font-family:var(--font-head); font-size:13px; color:var(--gray); align-self:flex-start; border-top:1px solid var(--line); padding-top:10px; width:100%; }
.counter-card + .counter-card{ margin-top:24px; }
.product-card{ margin-bottom:24px; }

.spec-table--wide td:first-child{ width:38%; }

/* Hero photo */
.hero-photo{
  background:var(--paper);
  margin:-26px -26px 22px;
  padding:22px;
  display:flex; justify-content:center;
}
.hero-photo img{ height:280px; width:auto; max-width:100%; object-fit:contain; mix-blend-mode:multiply; }

/* Home product tiles */
.product-tiles{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:20px; margin-top:40px;
}
.tile{ display:block; background:var(--white); border:1px solid var(--line); }
.tile:hover{ border-color:var(--teal); }
.tile-img{
  display:flex; align-items:center; justify-content:center;
  aspect-ratio:1/1; background:var(--paper); padding:18px; overflow:hidden;
}
.tile-img img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; mix-blend-mode:multiply; }
.tile-img.is-photo{ padding:0; }
.tile-img.is-photo img{ width:100%; height:100%; object-fit:cover; mix-blend-mode:normal; }
.tile-body{ display:block; padding:16px 18px 20px; border-top:1px solid var(--line); }
.tile-body strong{ display:block; font-family:var(--font-head); font-size:17px; color:var(--navy); margin-bottom:4px; }
.tile-body span{ font-size:14px; color:var(--gray); }
@media (max-width:960px){ .product-tiles{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .product-tiles{ grid-template-columns:1fr; } }

/* Safe locks feature (Products page) */
.lock-figure{ border:1px solid var(--line); background:var(--white); }
.lock-figure img{ width:100%; height:auto; display:block; }
.lock-figure .pc-cap{ padding:12px 16px; border-top:1px solid var(--line); }
