/*
Theme Name: Han Patent
Theme URI: https://hanpatent.tr/
Author: Han Patent
Description: Han Patent mevcut HTML sitesinin WordPress tema uyarlaması.
Version: 1.0.0
Text Domain: han-patent
*/

  :root{
    --navy-deep:#0c1524;
    --navy:#132340;
    --navy-light:#1c3157;
    --paper:#f1ecdd;
    --paper-dim:#e6ded0;
    --burgundy:#7a2331;
    --burgundy-light:#9c3244;
    --brass:#bd9a5f;
    --brass-light:#d7bd8b;
    --ink:#221d16;
    --ink-soft:#4a4239;
    --cream-text:#f1ecdd;
    --line:rgba(241,236,221,0.16);
    --line-dark:rgba(34,29,22,0.14);
    --radius:2px;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }
  body{
    font-family:'IBM Plex Sans',sans-serif;
    color:var(--ink);
    background:var(--paper);
    line-height:1.55;
    font-size:16px;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{font-family:'Fraunces',serif; font-weight:600; line-height:1.12; letter-spacing:-0.01em;}
  a{color:inherit; text-decoration:none;}
  img,svg{display:block; max-width:100%;}
  .mono{font-family:'IBM Plex Mono',monospace;}
  .container{width:100%; max-width:1180px; margin:0 auto; padding:0 32px;}
  section{position:relative;}
  .eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    display:inline-flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{content:""; width:26px; height:1px; background:currentColor; opacity:0.5;}

  /* ---------- reveal ---------- */
  .reveal{opacity:0; transform:translateY(22px); transition:opacity 0.7s ease, transform 0.7s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}

  /* ---------- header ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(12,21,36,0.0);
    transition:background 0.35s ease, box-shadow 0.35s ease, backdrop-filter .35s ease;
  }
  header.scrolled{
    background:rgba(12,21,36,0.92);
    backdrop-filter:blur(10px);
    box-shadow:0 1px 0 rgba(241,236,221,0.08);
  }
  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 32px; max-width:1180px; margin:0 auto;
  }
  .logo{display:flex; align-items:baseline; gap:9px; color:var(--cream-text);}
  .logo-mark{font-family:'Fraunces',serif; font-weight:700; font-size:21px; letter-spacing:0.01em;}
  .logo-sub{font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--brass-light); opacity:0.9;}
  nav ul{list-style:none; display:flex; gap:34px; align-items:center;}
  nav a{
    color:var(--cream-text); font-size:14.5px; font-weight:500; opacity:0.82;
    position:relative; padding:4px 0;
  }
  nav a:hover{opacity:1;}
  nav a.cta-link{
    background:var(--burgundy); color:var(--cream-text); opacity:1;
    padding:9px 18px; border-radius:var(--radius); font-size:13.5px;
    border:1px solid var(--burgundy-light);
  }
  nav a.cta-link:hover{background:var(--burgundy-light);}
  .burger{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;}
  .burger span{width:24px; height:2px; background:var(--cream-text); display:block;}

  /* ---------- hero ---------- */
  .hero{
    background:
      radial-gradient(ellipse at 78% 18%, rgba(189,154,95,0.14), transparent 55%),
      linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 78%);
    color:var(--cream-text);
    padding:168px 0 96px;
    position:relative;
    overflow:hidden;
  }
  .hero::after{
    content:"";
    position:absolute; inset:0;
    background-image:
      repeating-linear-gradient(0deg, rgba(241,236,221,0.025) 0px, rgba(241,236,221,0.025) 1px, transparent 1px, transparent 42px);
    pointer-events:none;
  }
  .hero-grid{
    display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center;
    position:relative; z-index:2;
  }
  .hero .eyebrow{color:var(--brass-light);}
  .hero h1{
    font-size:clamp(2.3rem, 4.1vw, 3.5rem);
    margin:22px 0 22px;
    max-width:14ch;
  }
  .hero h1 em{
    font-style:italic; font-weight:500; color:var(--brass-light);
  }
  .hero p.lead{
    font-size:17.5px; max-width:46ch; color:rgba(241,236,221,0.82); margin-bottom:34px;
  }
  .btn-row{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px;}
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:13px 24px; font-size:14.5px; font-weight:600;
    border-radius:var(--radius); border:1px solid transparent; cursor:pointer;
    transition:transform 0.2s ease, background 0.2s ease, border-color .2s ease;
    font-family:'IBM Plex Sans',sans-serif;
  }
  .btn:hover{transform:translateY(-2px);}
  .btn-primary{background:var(--burgundy); color:var(--cream-text); border-color:var(--burgundy-light);}
  .btn-primary:hover{background:var(--burgundy-light);}
  .btn-ghost{background:transparent; color:var(--cream-text); border-color:rgba(241,236,221,0.35);}
  .btn-ghost:hover{border-color:var(--brass-light); color:var(--brass-light);}
  .btn-dark{background:var(--navy); color:var(--cream-text); border-color:var(--navy-light);}
  .btn-dark:hover{background:var(--navy-light);}

  .trust-strip{
    display:flex; gap:26px; flex-wrap:wrap; font-size:13px; color:rgba(241,236,221,0.65);
    border-top:1px solid var(--line); padding-top:20px;
  }
  .trust-strip span{display:flex; align-items:center; gap:8px;}
  .trust-strip span::before{content:""; width:5px; height:5px; background:var(--brass); border-radius:50%; flex-shrink:0;}

  /* seal */
  .seal-wrap{display:flex; justify-content:center; align-items:center; position:relative;}
  .seal{
    width:min(320px, 82%);
    animation:seal-drop 1.1s cubic-bezier(.2,.9,.25,1.1) both;
    animation-delay:0.15s;
    filter:drop-shadow(0 18px 30px rgba(0,0,0,0.35));
  }
  @keyframes seal-drop{
    0%{opacity:0; transform:scale(2.2) rotate(-16deg);}
    62%{opacity:1;}
    100%{opacity:1; transform:scale(1) rotate(-6deg);}
  }
  .seal-ring-outer{fill:none; stroke:var(--brass); stroke-width:1.4; stroke-dasharray:2.5 5;}
  .seal-ring-inner{fill:none; stroke:var(--brass); stroke-width:1.2;}
  .seal-text{fill:var(--brass-light); font-family:'IBM Plex Mono',monospace; font-size:9.4px; letter-spacing:2.6px;}
  .seal-center-bg{fill:var(--burgundy); opacity:0.9;}
  .seal-emblem{fill:none; stroke:var(--brass-light); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round;}

  /* ---------- stats ---------- */
  .stats{background:var(--paper); border-bottom:1px solid var(--line-dark);}
  .stats-inner{
    display:grid; grid-template-columns:repeat(4,1fr);
    padding:52px 0;
  }
  .stat{padding:0 26px; border-left:1px solid var(--line-dark);}
  .stat:first-child{border-left:none; padding-left:0;}
  .stat-num{font-family:'IBM Plex Mono',monospace; font-size:1.55rem; font-weight:600; color:var(--burgundy); white-space:nowrap;}
  .stat-label{font-size:13.5px; color:var(--ink-soft); margin-top:6px; max-width:22ch;}

  /* ---------- section headers ---------- */
  .sec-head{max-width:640px; margin-bottom:52px;}
  .sec-head .eyebrow{color:var(--burgundy);}
  .sec-head h2{font-size:clamp(1.7rem,3vw,2.35rem); margin:16px 0 14px;}
  .sec-head p{color:var(--ink-soft); font-size:15.5px; max-width:56ch;}
  section.on-navy .sec-head .eyebrow{color:var(--brass-light);}
  section.on-navy .sec-head p{color:rgba(241,236,221,0.7);}

  /* ---------- services ---------- */
  .services{padding:104px 0;}
  .service-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-dark); border:1px solid var(--line-dark);}
  .service-card{
    background:var(--paper); padding:32px 28px; display:flex; flex-direction:column; gap:14px;
    transition:background 0.25s ease;
  }
  .service-card:hover{background:#fbf9f2;}
  .service-top{display:flex; justify-content:space-between; align-items:flex-start;}
  .service-icon{
    width:42px; height:42px; border:1px solid var(--burgundy); border-radius:50%;
    display:flex; align-items:center; justify-content:center; color:var(--burgundy); flex-shrink:0;
  }
  .service-icon svg{width:20px; height:20px;}
  .service-ref{font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--ink-soft); opacity:0.6; letter-spacing:0.04em;}
  .service-card h3{font-size:1.2rem; font-weight:600;}
  .service-card p{font-size:14px; color:var(--ink-soft);}

  /* ---------- process ---------- */
  .process{
    background:linear-gradient(180deg, var(--navy-deep), var(--navy) 60%, var(--navy-deep));
    color:var(--cream-text); padding:104px 0 116px;
  }
  .timeline{position:relative; margin-top:20px;}
  .timeline::before{
    content:""; position:absolute; left:23px; top:8px; bottom:8px; width:1px;
    background:linear-gradient(180deg, var(--brass), rgba(189,154,95,0.15));
  }
  .t-step{display:grid; grid-template-columns:48px 1fr; gap:26px; padding:26px 0;}
  .t-num{
    width:48px; height:48px; border-radius:50%; border:1.4px solid var(--brass);
    display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace;
    font-size:14px; color:var(--brass-light); background:var(--navy-deep); position:relative; z-index:2;
    flex-shrink:0;
  }
  .t-step.final .t-num{background:var(--burgundy); border-color:var(--burgundy-light); color:var(--cream-text);}
  .t-body{padding-top:4px;}
  .t-body h3{font-size:1.15rem; color:var(--cream-text); margin-bottom:6px; font-weight:600;}
  .t-body p{font-size:14.5px; color:rgba(241,236,221,0.68); max-width:60ch;}
  .t-tag{
    font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--brass-light);
    letter-spacing:0.08em; text-transform:uppercase; margin-bottom:4px; display:block; opacity:0.85;
  }

  /* ---------- why us ---------- */
  .whyus{padding:104px 0;}
  .whyus-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;}
  .why-visual{
    aspect-ratio:4/5; background:var(--navy); position:relative; overflow:hidden;
    border:1px solid var(--line-dark);
  }
  .why-visual .doc{
    position:absolute; background:var(--paper); box-shadow:0 20px 40px rgba(0,0,0,0.35);
  }
  .doc-1{width:70%; height:78%; top:8%; left:6%; padding:22px; z-index:1;}
  .doc-2{width:66%; height:70%; bottom:6%; right:4%; padding:20px; z-index:2; transform:rotate(-3deg);}
  .doc-line{height:6px; background:var(--line-dark); margin-bottom:9px; border-radius:1px;}
  .doc-line.short{width:55%;}
  .doc-stamp{
    position:absolute; bottom:14px; right:16px; width:56px; height:56px; border-radius:50%;
    border:2px solid var(--burgundy); color:var(--burgundy); display:flex; align-items:center; justify-content:center;
    font-family:'IBM Plex Mono',monospace; font-size:8px; letter-spacing:1px; text-align:center;
    transform:rotate(-14deg); opacity:0.85;
  }
  .why-list{display:flex; flex-direction:column; gap:26px;}
  .why-item{display:grid; grid-template-columns:30px 1fr; gap:16px;}
  .why-item .num{font-family:'IBM Plex Mono',monospace; color:var(--burgundy); font-weight:600; font-size:14px; padding-top:2px;}
  .why-item h4{font-size:1.05rem; margin-bottom:5px; font-weight:600;}
  .why-item p{font-size:14.5px; color:var(--ink-soft);}

  /* ---------- testimonials ---------- */
  .testimonials{background:var(--paper-dim); padding:100px 0;}
  .test-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
  .test-card{background:var(--paper); border:1px solid var(--line-dark); padding:30px 26px; display:flex; flex-direction:column; gap:20px;}
  .test-quote{font-family:'Fraunces',serif; font-style:italic; font-size:16.5px; color:var(--ink); line-height:1.5;}
  .test-who{display:flex; align-items:center; gap:12px; margin-top:auto;}
  .avatar{
    width:38px; height:38px; border-radius:50%; background:var(--navy); color:var(--brass-light);
    display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:600;
    flex-shrink:0;
  }
  .test-who .name{font-size:14px; font-weight:600;}
  .test-who .role{font-size:12.5px; color:var(--ink-soft);}

  /* ---------- contact ---------- */
  .contact{
    background:linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 85%);
    color:var(--cream-text); padding:104px 0;
  }
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px;}
  .contact-info h3{font-size:1.5rem; margin-bottom:16px; color:var(--cream-text);}
  .contact-info p{color:rgba(241,236,221,0.72); font-size:15px; margin-bottom:28px; max-width:42ch;}
  .info-row{display:flex; gap:14px; padding:14px 0; border-top:1px solid var(--line);}
  .info-row:first-of-type{border-top:1px solid var(--line);}
  .info-row .ico{color:var(--brass-light); flex-shrink:0; margin-top:2px;}
  .info-row .label{font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--brass-light); opacity:0.85; margin-bottom:3px;}
  .info-row .val{font-size:14.5px; color:rgba(241,236,221,0.9);}

  form{display:flex; flex-direction:column; gap:16px;}
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
  label{font-size:12.5px; font-family:'IBM Plex Mono',monospace; letter-spacing:0.05em; text-transform:uppercase; color:var(--brass-light); opacity:0.85; margin-bottom:7px; display:block;}
  input, select, textarea{
    width:100%; background:rgba(241,236,221,0.06); border:1px solid var(--line);
    color:var(--cream-text); padding:12px 13px; font-size:14.5px; font-family:'IBM Plex Sans',sans-serif;
    border-radius:var(--radius); transition:border-color 0.2s ease, background 0.2s ease;
  }
  input:focus, select:focus, textarea:focus{
    outline:none; border-color:var(--brass); background:rgba(241,236,221,0.1);
  }
  textarea{resize:vertical; min-height:96px;}
  select option{color:var(--ink);}
  .form-msg{font-size:13.5px; color:var(--brass-light); display:none;}
  .form-msg.show{display:block;}

  /* ---------- footer ---------- */
  footer{background:var(--navy-deep); color:rgba(241,236,221,0.6); padding:56px 0 28px;}
  .footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:40px; padding-bottom:36px; border-bottom:1px solid var(--line);}
  .footer-brand .logo-mark{color:var(--cream-text);}
  .footer-brand p{font-size:13.5px; margin-top:14px; max-width:32ch; color:rgba(241,236,221,0.5);}
  .footer-col h5{font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--brass-light); font-family:'IBM Plex Mono',monospace; margin-bottom:14px; font-weight:500;}
  .footer-col ul{list-style:none; display:flex; flex-direction:column; gap:10px;}
  .footer-col a{font-size:13.5px; color:rgba(241,236,221,0.6);}
  .footer-col a:hover{color:var(--brass-light);}
  .footer-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top:22px; font-size:12px;}

  /* ---------- responsive ---------- */
  @media (max-width: 900px){
    nav ul{display:none;}
    .burger{display:flex;}
    .hero-grid{grid-template-columns:1fr; text-align:left;}
    .seal-wrap{order:-1; margin-bottom:12px;}
    .seal{width:180px;}
    .stats-inner{grid-template-columns:repeat(2,1fr); row-gap:32px;}
    .stat{border-left:none; padding-left:0; border-top:1px solid var(--line-dark); padding-top:20px;}
    .stat:nth-child(1), .stat:nth-child(2){border-top:none; padding-top:0;}
    .service-grid{grid-template-columns:1fr;}
    .whyus-grid{grid-template-columns:1fr;}
    .why-visual{max-width:340px;}
    .test-grid{grid-template-columns:1fr;}
    .contact-grid{grid-template-columns:1fr; gap:44px;}
    .form-row{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width: 480px){
    .footer-grid{grid-template-columns:1fr;}
  }
