/*
Theme Name: COTEK LAB DIGITAL
Theme URI: https://coteklabdigital.com
Author: COTEK LAB DIGITAL
Description: Custom theme for COTEK LAB DIGITAL. Built to be edited with Elementor and WPForms. Includes the live network background, brand colors and the 4K vector logo.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cotek-lab
*/

  :root{
    --ink:#10142B;
    --paper:#EFEDE6;
    --teal:#14B8A6;
    --amber:#F5A623;
    --graphite:#333A45;
    --line: rgba(16,20,43,0.16);
    --bg: var(--paper);
    --fg: var(--ink);
    --card-bg: #ffffff;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --bg: var(--ink);
      --fg: var(--paper);
      --card-bg: #171b34;
      --line: rgba(239,237,230,0.16);
    }
  }
  :root[data-theme="dark"]{
    --bg: var(--ink);
    --fg: var(--paper);
    --card-bg: #171b34;
    --line: rgba(239,237,230,0.16);
  }
  html{ scroll-padding-top: env(safe-area-inset-top, 0px); background:var(--bg); }
  *{ box-sizing: border-box; }
  body{
    margin:0; background:transparent; color:var(--fg);
    font-family:'Inter',sans-serif; line-height:1.6;
    -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  }
  #netbg{ position:fixed; inset:0; width:100%; height:100%; z-index:-1; pointer-events:none; display:block; }
  h1,h2,h3,.disp{ font-family:'Bricolage Grotesque',sans-serif; letter-spacing:-0.03em; font-optical-sizing:auto; }
  a{ color:inherit; }
  .wrap{ max-width:1120px; margin:0 auto; padding:0 28px; }
  .tag{ font-size:13px; color: var(--teal); font-weight:600; }

  /* NAV */
  header{
    position:sticky; top:0; z-index:20; background:color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom:1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px);
  }
  nav.wrap{ display:flex; align-items:center; justify-content:space-between; height:80px; }
  .brand{ display:flex; align-items:baseline; gap:8px; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:19px; letter-spacing:-0.02em; cursor:pointer; }
  .brand .dot{ width:9px; height:9px; background:var(--teal); border-radius:50%; display:inline-block; box-shadow:0 0 0 4px color-mix(in srgb, var(--teal) 20%, transparent); }
  .brand small{ font-weight:500; font-size:11px; color:var(--teal); letter-spacing:.04em; }
  .navlinks{ display:flex; gap:32px; }
  .navlinks a{
    background:none; border:none; font:inherit; font-size:15px; font-weight:500; color:var(--fg);
    cursor:pointer; padding:6px 0; opacity:.6; border-bottom:2px solid transparent;
    transition: opacity .15s ease, border-color .15s ease;
  }
  .navlinks a:hover{ opacity:.85; }
  .navlinks .current-menu-item>a, .navlinks .current_page_item>a, .navlinks a.active{ opacity:1; border-color:var(--teal); }
  .navlinks a:focus-visible, button:focus-visible, a:focus-visible{ outline:2px solid var(--teal); outline-offset:2px; }

  /* generic */
  section{ padding:88px 0; }
  .kicker{ display:flex; align-items:center; gap:10px; font-size:13px; color:var(--teal); font-weight:600; margin-bottom:16px; text-transform:none; }
  .kicker::before{ content:''; width:22px; height:1px; background:var(--teal); }
  h1{ font-size:clamp(40px,6.4vw,72px); font-weight:700; margin:0 0 20px; max-width:13ch; line-height:1.03; }
  h2{ font-size:clamp(28px,4.4vw,42px); font-weight:600; margin:0 0 18px; max-width:16ch; line-height:1.1; }
  p.lead{ font-size:19px; max-width:54ch; color:var(--fg); opacity:.78; font-weight:400; }
  .btn{
    display:inline-flex; align-items:center; gap:10px; padding:14px 26px; border-radius:8px;
    background:var(--teal); color:#08130f; font-weight:600; text-decoration:none;
    border:none; cursor:pointer; font-size:15px; font-family:inherit;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn:hover{ transform:translateY(-2px); box-shadow:0 10px 24px -10px color-mix(in srgb, var(--teal) 65%, transparent); }
  .btn.ghost{ background:none; border:1px solid var(--line); color:var(--fg); }
  .btn.ghost:hover{ background:color-mix(in srgb, var(--fg) 6%, transparent); box-shadow:none; }
  .btn.amber{ background:var(--amber); color:#241300; }
  .btn.amber:hover{ box-shadow:0 10px 24px -10px color-mix(in srgb, var(--amber) 65%, transparent); }

  /* HERO */
  .hero{ padding:96px 0 72px; border-bottom:1px solid var(--line); position:relative; overflow:hidden; }
  .hero::before{
    content:''; position:absolute; top:-180px; right:-160px; width:520px; height:520px; z-index:0;
    background: radial-gradient(circle, color-mix(in srgb, var(--teal) 22%, transparent) 0%, transparent 70%);
    pointer-events:none;
  }
  .hero-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:48px; align-items:end; position:relative; z-index:1; }
  .hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
  .specimen{
    border:1px solid var(--line); border-radius:10px; padding:24px; position:relative; background:var(--card-bg);
    box-shadow:0 24px 48px -28px rgba(0,0,0,.35);
  }
  .specimen::before, .specimen::after{ content:''; position:absolute; width:10px; height:10px; border:1px solid var(--teal); }
  .specimen::before{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
  .specimen::after{ bottom:-1px; right:-1px; border-left:none; border-top:none; }
  .specimen .id{ font-size:12px; color:var(--teal); margin-bottom:10px; font-weight:500; }
  .specimen .val{ font-family:'Bricolage Grotesque'; font-size:34px; font-weight:700; letter-spacing:-0.02em; }
  .specimen .label{ font-size:13.5px; opacity:.65; margin-top:6px; }

  .stats{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); }
  .stats>.stat{ padding:30px 22px; border-right:1px solid var(--line); }
  .stats>.stat:last-child{ border-right:none; }
  .stats .val{ font-family:'Bricolage Grotesque'; font-size:28px; font-weight:700; color:var(--teal); letter-spacing:-0.02em; }
  .stats .lbl{ font-size:13px; opacity:.65; margin-top:5px; }

  /* SERVICES TEASER / GRID */
  .grid2{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); margin-top:36px; border-radius:12px; overflow:hidden; }
  .grid2 .cell{ background:var(--bg); padding:30px; transition:background .15s ease; }
  .grid2 .cell:hover{ background:color-mix(in srgb, var(--teal) 6%, var(--bg)); }
  .cell h3{ font-size:20px; margin:0 0 8px; font-weight:600; }
  .cell p{ font-size:14.5px; opacity:.72; margin:0; }
  .cell .num{ font-family:'Bricolage Grotesque'; font-size:13px; color:var(--teal); margin-bottom:12px; display:block; font-weight:600; }

  /* TIMELINE (About) */
  .timeline{ margin-top:40px; border-left:2px solid var(--line); padding-left:28px; display:flex; flex-direction:column; gap:34px; }
  .titem{ position:relative; }
  .titem::before{ content:''; position:absolute; left:-33px; top:4px; width:10px; height:10px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent); }
  .titem .yr{ font-family:'Bricolage Grotesque'; font-weight:700; color:var(--teal); font-size:15px; letter-spacing:-0.01em; }
  .titem h3{ margin:4px 0 6px; font-size:20px; font-weight:600; }
  .titem p{ margin:0; opacity:.72; font-size:14.5px; max-width:52ch; }

  .values{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px; }
  .values .card{ border:1px solid var(--line); border-radius:12px; padding:24px; background:var(--card-bg); transition:transform .15s ease, box-shadow .15s ease; }
  .values .card:hover{ transform:translateY(-3px); box-shadow:0 16px 32px -20px rgba(0,0,0,.3); }
  .values h3{ font-size:17px; margin:0 0 8px; font-weight:600; }
  .values p{ font-size:14px; opacity:.7; margin:0; }

  /* SERVICES PAGE */
  .svc{ border:1px solid var(--line); border-radius:14px; padding:34px; margin-top:20px; background:var(--card-bg); display:grid; grid-template-columns:200px 1fr; gap:28px; }
  .svc .tagline{ font-size:12px; color:var(--teal); font-weight:600; letter-spacing:.02em; }
  .svc h3{ font-size:24px; margin:8px 0 10px; font-weight:600; }
  .svc ul{ margin:14px 0 0; padding-left:18px; font-size:14.5px; opacity:.78; }
  .svc li{ margin-bottom:6px; }

  /* PROCESS steps */
  .process{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-top:20px; border-radius:12px; overflow:hidden; }
  .process>.pstep{ background:var(--bg); padding:24px; }
  .process .step-n{ font-family:'Bricolage Grotesque'; color:var(--teal); font-size:13px; margin-bottom:10px; font-weight:600; }
  .process h4{ margin:0 0 6px; font-size:16px; font-weight:600; }
  .process p{ margin:0; font-size:13.5px; opacity:.68; }

  /* CONTACT */
  .contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; margin-top:36px; align-items:start; }
  .field{ margin-bottom:18px; }
  .field label{ display:block; font-size:13px; margin-bottom:6px; opacity:.75; }
  .field input, .field textarea{
    width:100%; padding:13px 15px; background:var(--card-bg); border:1px solid var(--line); border-radius:8px;
    color:var(--fg); font-family:inherit; font-size:15px; transition:border-color .15s ease;
  }
  .field input:focus, .field textarea:focus{ outline:none; border-color:var(--teal); }
  .field textarea{ resize:vertical; min-height:110px; }
  .info-row{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
  .info-row .k{ width:110px; font-size:13px; color:var(--teal); font-weight:600; flex-shrink:0; }
  .info-row .v{ font-size:15px; }
  .form-msg{ margin-top:14px; font-size:14px; color:var(--teal); display:none; }

  footer{ border-top:1px solid var(--line); padding:36px 0; margin-top:20px; }
  .foot-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; font-size:13px; opacity:.65; }

    
  @media (max-width:760px){
    .hero-grid, .grid2, .contact-grid{ grid-template-columns:1fr; }
    .stats{ grid-template-columns:repeat(2,1fr); }
    .stats>.stat:nth-child(2){ border-right:none; }
    .values{ grid-template-columns:1fr; }
    .svc{ grid-template-columns:1fr; }
    .process{ grid-template-columns:1fr 1fr; }
    .navlinks{ gap:16px; }
    .navlinks a{ font-size:13.5px; }
  }
  @media (prefers-reduced-motion: reduce){ *{ scroll-behavior:auto !important; } }


/* =====================================================================
   WORDPRESS + ELEMENTOR ADAPTERS
   Make Elementor's containers/widgets render exactly like the original design.
   ===================================================================== */
body.cl-site{
  background:transparent !important;
  --e-global-color-primary:var(--fg); --e-global-color-secondary:var(--fg);
  --e-global-color-text:var(--fg); --e-global-color-accent:var(--teal);
  --e-global-typography-primary-font-family:'Bricolage Grotesque';
  --e-global-typography-secondary-font-family:'Bricolage Grotesque';
  --e-global-typography-text-font-family:'Inter';
  --e-global-typography-accent-font-family:'Inter';
}
.admin-bar .site-header{ top:32px; }
@media (max-width:782px){ .admin-bar .site-header{ top:46px; } }
.site-header .navlinks{ list-style:none; margin:0; padding:0; }
.navlinks li{ margin:0; padding:0; }
.navlinks a{ text-decoration:none; display:inline-block; }
.brand{ display:flex; align-items:center; gap:0; background:#0A0C18; border-radius:10px; padding:6px 16px; text-decoration:none; }
.brand svg{ height:54px; width:auto; display:block; }
main#content{ display:block; }
.entry-plain{ padding:56px 28px 88px; }

/* neutralise Elementor defaults */
.cl-site .elementor-widget:not(:last-child){ margin-block-end:0 !important; }
.cl-site .elementor-widget-container{ margin:0; padding:0; }
.cl-site .e-con{ gap:0 !important; row-gap:0 !important; column-gap:0 !important; padding:0 !important; min-width:0; }
.cl-site .elementor-widget-heading .elementor-heading-title{ font-family:'Bricolage Grotesque',sans-serif !important; letter-spacing:-0.03em; color:inherit !important; padding:0; margin:0; }
.cl-site .elementor-widget-text-editor{ color:inherit !important; font-family:'Inter',sans-serif !important; font-size:inherit; line-height:inherit; }
.cl-site .elementor-widget-text-editor p{ margin:0; }

/* headings */
.cl-site h1.elementor-heading-title{ font-size:clamp(40px,6.4vw,72px); font-weight:700; margin:0 0 20px; max-width:13ch; line-height:1.03; }
.cl-site h2.elementor-heading-title{ font-size:clamp(28px,4.4vw,42px); font-weight:600; margin:0 0 18px; max-width:16ch; line-height:1.1; }
.cl-site .h1-14 h1.elementor-heading-title{ max-width:14ch; }
.cl-site .h1-16 h1.elementor-heading-title{ max-width:16ch; }
.cl-site .h1-18 h1.elementor-heading-title{ max-width:18ch; }
.cl-site h1 .c1{ color:var(--fg); }
.cl-site h1 .c2{ color:var(--teal); }
.cl-site h1 .c3{ color:#FF8C00; }
.cl-site .cell h3.elementor-heading-title{ font-size:20px; font-weight:600; margin:0 0 8px; line-height:1.6; }
.cl-site .titem h3.elementor-heading-title{ font-size:20px; font-weight:600; margin:4px 0 6px; line-height:1.6; }
.cl-site .values h3.elementor-heading-title{ font-size:17px; font-weight:600; margin:0 0 8px; line-height:1.6; }
.cl-site .svc h3.elementor-heading-title{ font-size:24px; font-weight:600; margin:8px 0 10px; line-height:1.6; }
.cl-site .process h4.elementor-heading-title{ font-family:'Inter',sans-serif !important; letter-spacing:0; font-size:16px; font-weight:600; margin:0 0 6px; line-height:1.6; }
.cl-site p.lead{ margin:0; }
.cl-site .svc p{ margin:6px 0 0; }
.cl-site .svc ul{ margin:16px 0 0; }

/* section spacing */
.cl-site .e-con.sec{ padding:88px 0 !important; }
.cl-site .e-con.sec-top{ padding:56px 0 88px !important; }
.cl-site .e-con.hero{ padding:96px 0 72px !important; position:relative; overflow:hidden !important; }
.cl-site .e-con.wrap{ width:100% !important; max-width:1120px !important; margin-left:auto !important; margin-right:auto !important; padding:0 28px !important; }
.cl-site .e-con.mt56{ margin-top:56px; }

/* hero */
.cl-site .e-con.hero-grid{ display:grid !important; grid-template-columns:1.3fr 1fr !important; gap:48px !important; align-items:end; position:relative; z-index:1; }
.cl-site .e-con.hero-actions{ flex-direction:row !important; flex-wrap:wrap !important; gap:14px !important; margin-top:32px; }
.cl-site .hero-actions>.elementor-widget{ width:auto !important; flex:0 0 auto; }
.cl-site .e-con.specimen{ padding:24px !important; }

/* buttons (Elementor button widget) */
.cl-site .elementor-widget-button .elementor-button{ display:inline-flex; align-items:center; gap:10px; padding:14px 26px; border-radius:8px; background:var(--teal); color:#08130f; font-family:'Inter',sans-serif; font-weight:600; font-size:15px; line-height:1.6; border:1px solid transparent; fill:#08130f; transition:transform .15s ease, box-shadow .15s ease, background .15s ease; }
.cl-site .elementor-widget-button .elementor-button:hover{ transform:translateY(-2px); background:var(--teal); color:#08130f; box-shadow:0 10px 24px -10px color-mix(in srgb, var(--teal) 65%, transparent); }
.cl-site .btn-ghost .elementor-button{ background:none; border-color:var(--line); color:var(--fg); fill:var(--fg); }
.cl-site .btn-ghost .elementor-button:hover{ background:color-mix(in srgb, var(--fg) 6%, transparent); color:var(--fg); box-shadow:none; }

/* stats / grids / cards */
.cl-site .e-con.stats{ display:grid !important; grid-template-columns:repeat(4,1fr) !important; }
.cl-site .e-con.stat{ padding:30px 22px !important; }
.cl-site .e-con.grid2{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:1px !important; }
.cl-site .e-con.cell{ padding:30px !important; }
.cl-site .e-con.timeline{ padding-left:28px !important; gap:34px !important; }
.cl-site .e-con.values{ display:grid !important; grid-template-columns:repeat(3,1fr) !important; gap:20px !important; }
.cl-site .e-con.card{ padding:24px !important; }
.cl-site .e-con.svc{ display:grid !important; grid-template-columns:200px 1fr !important; gap:28px !important; padding:34px !important; }
.cl-site .e-con.process{ display:grid !important; grid-template-columns:repeat(4,1fr) !important; gap:1px !important; }
.cl-site .e-con.pstep{ padding:24px !important; }
.cl-site .e-con.contact-grid{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:48px !important; align-items:start; }
.cl-site .e-con.info-row{ flex-direction:row !important; gap:14px !important; padding:16px 0 !important; }
.cl-site .info-row .k{ width:110px !important; flex:none; }
.cl-site .info-row .v{ flex:1; }

/* WPForms (contact form) */
.cl-site .wpforms-container{ margin:0; }
.cl-site .wpforms-container .wpforms-field{ padding:0 0 18px; }
.cl-site .wpforms-container .wpforms-field-label{ display:block; font-family:'Inter',sans-serif; font-size:13px; font-weight:400; margin:0 0 6px; opacity:.75; color:var(--fg); }
.cl-site .wpforms-container .wpforms-required-label{ color:var(--amber); }
.cl-site .wpforms-container input[type=text],
.cl-site .wpforms-container input[type=email],
.cl-site .wpforms-container textarea{ width:100%; max-width:100% !important; height:auto; padding:13px 15px; background:var(--card-bg); border:1px solid var(--line); border-radius:8px; color:var(--fg); font-family:'Inter',sans-serif; font-size:15px; box-shadow:none; transition:border-color .15s ease; }
.cl-site .wpforms-container textarea{ min-height:110px; resize:vertical; }
.cl-site .wpforms-container input:focus,
.cl-site .wpforms-container textarea:focus{ outline:none; border-color:var(--teal); box-shadow:none; }
.cl-site .wpforms-container .wpforms-submit-container{ padding:0; }
.cl-site .wpforms-container button.wpforms-submit{ display:inline-flex; align-items:center; padding:14px 26px; height:auto; border:0; border-radius:8px; background:var(--amber) !important; color:#241300 !important; font-family:'Inter',sans-serif; font-weight:600; font-size:15px; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease; }
.cl-site .wpforms-container button.wpforms-submit:hover{ transform:translateY(-2px); box-shadow:0 10px 24px -10px color-mix(in srgb, var(--amber) 65%, transparent); }
.cl-site .wpforms-confirmation-container-full, .cl-site .wpforms-confirmation-container{ background:transparent; border:1px solid var(--teal); color:var(--teal); border-radius:8px; }
.cl-site .wpforms-error, .cl-site label.wpforms-error{ color:var(--amber); font-size:13px; }

/* responsive (mirrors the original breakpoints) */
@media (max-width:760px){
  .cl-site .e-con.hero-grid, .cl-site .e-con.grid2, .cl-site .e-con.contact-grid,
  .cl-site .e-con.values, .cl-site .e-con.svc{ grid-template-columns:1fr !important; }
  .cl-site .e-con.stats{ grid-template-columns:repeat(2,1fr) !important; }
  .cl-site .e-con.process{ grid-template-columns:1fr 1fr !important; }
  nav.wrap{ padding:0 16px; }
  .brand{ padding:5px 10px; }
  .brand svg{ height:38px; }
  .navlinks{ gap:12px; }
}
.cl-site .info-row>.elementor-widget{ width:auto !important; }
.cl-site .info-row>.elementor-widget:last-child{ flex:1; }
