/*
Theme Name: LandRecords.in
Theme URI: https://www.landrecords.in/
Author: LandRecords.in
Description: Custom WordPress theme based on the LandRecords.in homepage design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: landrecords
*/
:root{
    --navy-950:#0a1a3a;
    --navy-900:#0d2151;
    --navy-800:#132b64;
    --navy-700:#1c3a7d;
    --green-600:#1a8f4c;
    --green-700:#137a3f;
    --green-50:#eafaf1;
    --amber-500:#e8912a;
    --amber-50:#fdf3e5;
    --ink-900:#111827;
    --ink-700:#374151;
    --ink-500:#6b7280;
    --ink-300:#d1d5db;
    --paper:#f7f8fb;
    --paper-line:#e6e9f0;
    --white:#ffffff;
    --radius-md:10px;
    --radius-lg:16px;
    --shadow-sm: 0 1px 2px rgba(13,33,81,0.06), 0 1px 1px rgba(13,33,81,0.04);
    --shadow-md: 0 8px 24px rgba(13,33,81,0.08);
    --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  @import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:var(--font-body);
    color:var(--ink-900);
    background:var(--paper);
    -webkit-font-smoothing:antialiased;
  }
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  button{font-family:inherit; cursor:pointer; border:none;}
  .wrap{max-width:1240px; margin:0 auto; padding:0 24px;}
  .eyebrow{
    font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
    color:var(--green-700);
  }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 20px; border-radius:8px; font-weight:600; font-size:14.5px;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-primary{ background:var(--green-600); color:#fff; }
  .btn-primary:hover{ background:var(--green-700); transform:translateY(-1px); box-shadow:0 6px 16px rgba(19,122,63,.28);}
  .btn-navy{ background:var(--navy-900); color:#fff; }
  .btn-navy:hover{ background:var(--navy-950); transform:translateY(-1px); }
  .btn-outline{ background:transparent; color:var(--navy-900); border:1.5px solid var(--paper-line); }
  .btn-outline:hover{ border-color:var(--navy-700); }
  .link-arrow{ font-weight:600; color:var(--green-700); font-size:14px; display:inline-flex; align-items:center; gap:5px;}
  .link-arrow svg{ transition:transform .15s ease; }
  .link-arrow:hover svg{ transform:translateX(3px); }

  /* ===== Top utility bar ===== */
  .topbar{ background:var(--navy-950); color:#cdd7ee; font-size:12.5px; }
  .topbar .wrap{ display:flex; align-items:center; justify-content:space-between; height:34px; }
  .topbar-left{ display:flex; align-items:center; gap:8px; font-weight:500; }
  .flag-dot{ display:inline-flex; gap:2px;}
  .flag-dot span{ width:6px; height:6px; border-radius:50%; }
  .topbar-right{ display:flex; align-items:center; gap:22px; }
  .topbar-right a{ color:#b9c5e3; }
  .topbar-right a:hover{ color:#fff; }
  .lang-pill{ border:1px solid #2a3f72; border-radius:6px; padding:3px 10px; font-size:12px; }

  /* ===== Header ===== */
  header.main{ background:#fff; border-bottom:1px solid var(--paper-line); position:sticky; top:0; z-index:50;}
  header.main .wrap{ display:flex; align-items:center; justify-content:space-between; height:76px; gap:24px; }
  .brand{ display:flex; align-items:center; gap:11px; }
  .brand-mark{ width:42px; height:42px; border-radius:10px; background:linear-gradient(150deg,var(--navy-800),var(--navy-950)); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
  .brand-name{ font-family:var(--font-head); font-weight:700; font-size:19px; color:var(--navy-950); line-height:1.1;}
  .brand-tag{ font-size:11px; color:var(--ink-500); font-weight:500; letter-spacing:.01em;}
  nav.primary{ display:flex; align-items:center; gap:30px; }
  nav.primary a{ font-size:14.5px; font-weight:600; color:var(--ink-700); display:flex; align-items:center; gap:4px; white-space:nowrap;}
  nav.primary a:hover{ color:var(--navy-950); }
  .header-actions{ display:flex; align-items:center; gap:14px; }
  .icon-btn{ width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--paper); color:var(--navy-900);}
  .icon-btn:hover{ background:var(--paper-line); }

  /* ===== Hero ===== */
  .hero{ position:relative; background:linear-gradient(120deg,var(--navy-950) 0%, var(--navy-800) 55%, #204a8f 100%); overflow:hidden; }
  .hero::before{
    content:""; position:absolute; inset:0;
    background-image:
      radial-gradient(600px 300px at 85% 15%, rgba(60,120,90,0.35), transparent 60%),
      repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 46px);
    pointer-events:none;
  }
  .hero-grid{ position:relative; display:grid; grid-template-columns:1.15fr 0.85fr; gap:40px; padding:64px 24px 56px; align-items:start;}
  .hero h1{ font-family:var(--font-head); font-size:47px; line-height:1.08; color:#fff; font-weight:600; max-width:520px;}
  .hero h1 em{ font-style:normal; color:#8fd6ac; }
  .hero p.lead{ margin-top:18px; color:#c3cfe8; font-size:16.5px; line-height:1.6; max-width:460px;}
  .search-box{ margin-top:28px; display:flex; gap:10px; background:#fff; padding:6px; border-radius:12px; box-shadow:var(--shadow-md); max-width:560px;}
  .search-box input{ flex:1; border:none; outline:none; padding:12px 14px; font-size:14.5px; font-family:inherit; color:var(--ink-900); background:transparent;}
  .search-box input::placeholder{ color:var(--ink-500);}
  .search-box button{ display:flex; align-items:center; gap:7px; background:var(--green-600); color:#fff; padding:0 22px; border-radius:8px; font-weight:600; font-size:14.5px;}
  .search-box button:hover{ background:var(--green-700);}
  .popular{ margin-top:20px; display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
  .popular span.label{ color:#93a3c9; font-size:13px; font-weight:600;}
  .chip{ background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.16); color:#e3e9f8; font-size:12.5px; padding:5px 12px; border-radius:999px; font-weight:500;}
  .chip:hover{ background:rgba(255,255,255,0.16); }

  /* hero check card */
  .check-card{ background:#fff; border-radius:var(--radius-lg); padding:20px; box-shadow:0 20px 50px rgba(4,12,35,0.35); }
  .check-card h3{ font-size:16px; font-weight:700; color:var(--navy-950); margin-bottom:14px;}
  .check-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
  .check-tile{ border:1px solid var(--paper-line); border-radius:10px; padding:14px 8px; text-align:center; transition:border-color .15s, background .15s;}
  .check-tile:hover{ border-color:var(--green-600); background:var(--green-50); }
  .check-tile .ic{ width:30px; height:30px; margin:0 auto 8px; color:var(--navy-800); }
  .check-tile span{ font-size:12px; font-weight:600; color:var(--ink-700); line-height:1.25; display:block;}
  .check-note{ margin-top:14px; display:flex; gap:8px; align-items:flex-start; background:var(--green-50); border-radius:8px; padding:10px 12px; font-size:12px; color:var(--green-700); font-weight:500; line-height:1.4;}
  .check-note svg{ flex-shrink:0; margin-top:1px;}

  /* ===== Section shell ===== */
  section{ padding:56px 0; }
  .section-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:26px; gap:20px;}
  .section-head h2{ font-family:var(--font-head); font-size:28px; font-weight:600; color:var(--navy-950);}
  .section-head p{ color:var(--ink-500); font-size:14.5px; margin-top:6px; max-width:520px;}

  /* ===== State carousel ===== */
  .state-panel{ background:#fff; border:1px solid var(--paper-line); border-radius:var(--radius-lg); padding:26px 26px 22px; box-shadow:var(--shadow-sm); margin-top:-64px; position:relative; z-index:5;}
  .state-panel .section-head{ margin-bottom:18px;}
  .state-track-wrap{ position:relative;}
  .state-track{ display:grid; grid-auto-flow:column; grid-auto-columns:190px; gap:14px; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x mandatory;}
  .state-track::-webkit-scrollbar{ height:6px;}
  .state-track::-webkit-scrollbar-thumb{ background:var(--paper-line); border-radius:6px;}
  .state-card{ border:1px solid var(--paper-line); border-radius:12px; padding:16px; scroll-snap-align:start; transition:box-shadow .15s, border-color .15s;}
  .state-card:hover{ box-shadow:var(--shadow-md); border-color:#c7d3ee;}
  .state-emblem{ width:54px; height:54px; border-radius:10px; margin-bottom:12px; display:flex; align-items:center; justify-content:center; font-size:22px;}
  .state-card h4{ font-size:15px; font-weight:700; color:var(--navy-950); margin-bottom:6px;}
  .state-card p{ font-size:12px; color:var(--ink-500); line-height:1.5; margin-bottom:8px; min-height:32px;}
  .scroll-btn{ position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%; background:#fff; border:1px solid var(--paper-line); box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center; color:var(--navy-900); z-index:2;}
  .scroll-btn:hover{ background:var(--paper);}
  .scroll-btn.left{ left:-4px;}
  .scroll-btn.right{ right:-4px;}

  /* ===== Service grid ===== */
  .service-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px;}
  .service-card{ background:#fff; border:1px solid var(--paper-line); border-radius:12px; padding:20px 16px; transition:transform .15s, box-shadow .15s, border-color .15s;}
  .service-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:#c7d3ee;}
  .service-card .ic-wrap{ width:38px; height:38px; border-radius:9px; background:var(--green-50); display:flex; align-items:center; justify-content:center; color:var(--green-700); margin-bottom:12px;}
  .service-card h4{ font-size:14.5px; font-weight:700; color:var(--navy-950); margin-bottom:5px;}
  .service-card p{ font-size:12.5px; color:var(--ink-500); line-height:1.45;}
  .view-all-wrap{ text-align:center; margin-top:24px;}

  /* ===== Feature strip (3 col) ===== */
  .feature-strip{ display:grid; grid-template-columns:1.1fr 1fr 1fr; gap:18px; align-items:stretch;}
  .feature-card{ border-radius:var(--radius-lg); padding:26px; display:flex; flex-direction:column;}
  .feature-card.map{ background:linear-gradient(160deg,#e9f8ef,#dcf4e5); border:1px solid #cdeed8;}
  .feature-card.verify{ background:#eef3ff; border:1px solid #d7e2fb;}
  .feature-card.risk{ background:var(--amber-50); border:1px solid #f6dfb9;}
  .feature-card h3{ font-family:var(--font-head); font-size:20px; font-weight:600; color:var(--navy-950); margin-bottom:8px;}
  .feature-card > p{ font-size:13.5px; color:var(--ink-700); line-height:1.55; margin-bottom:18px;}
  .device-mock{ background:#fff; border-radius:12px; padding:14px; margin:auto 0 18px; box-shadow:var(--shadow-sm); position:relative;}
  .device-mock .screen{ aspect-ratio:16/10; border-radius:8px; background:
      linear-gradient(135deg,#dff3e6,#c9ecd8),
      repeating-linear-gradient(0deg, rgba(19,122,63,0.15) 0 1px, transparent 1px 20px),
      repeating-linear-gradient(90deg, rgba(19,122,63,0.15) 0 1px, transparent 1px 20px);
      position:relative; overflow:hidden;}
  .device-mock .pin{ position:absolute; width:14px; height:14px; background:var(--green-600); border-radius:50% 50% 50% 0; transform:rotate(-45deg); box-shadow:0 2px 6px rgba(0,0,0,.25);}
  .check-list{ display:grid; grid-template-columns:1fr 1fr; gap:9px 14px; margin-bottom:18px; flex:1;}
  .check-list li{ font-size:12.8px; color:var(--ink-700); display:flex; align-items:flex-start; gap:7px; line-height:1.35;}
  .check-list li svg{ color:var(--green-600); flex-shrink:0; margin-top:2px;}
  .risk-list{ display:grid; grid-template-columns:1fr 1fr; gap:9px 14px; margin-bottom:18px; flex:1;}
  .risk-list li{ font-size:12.8px; color:var(--ink-700); display:flex; align-items:flex-start; gap:7px; line-height:1.35;}
  .risk-list li svg{ color:var(--amber-500); flex-shrink:0; margin-top:2px;}
  .feature-card .btn{ align-self:flex-start;}

  /* ===== Guides carousel ===== */
  .guide-track{ display:grid; grid-auto-flow:column; grid-auto-columns:220px; gap:14px; overflow-x:auto; padding-bottom:8px;}
  .guide-track::-webkit-scrollbar{ height:6px;}
  .guide-track::-webkit-scrollbar-thumb{ background:var(--paper-line); border-radius:6px;}
  .guide-card{ background:#fff; border:1px solid var(--paper-line); border-radius:12px; padding:18px; transition:box-shadow .15s, border-color .15s;}
  .guide-card:hover{ box-shadow:var(--shadow-md); border-color:#c7d3ee;}
  .guide-card .ic-wrap{ width:34px; height:34px; border-radius:8px; background:var(--navy-950); display:flex; align-items:center; justify-content:center; color:#fff; margin-bottom:12px;}
  .guide-card h4{ font-size:13.8px; font-weight:700; color:var(--navy-950); line-height:1.35; margin-bottom:6px;}
  .guide-card p{ font-size:12px; color:var(--ink-500); line-height:1.45;}
  .dots{ display:flex; gap:6px; justify-content:center; margin-top:16px;}
  .dots span{ width:6px; height:6px; border-radius:50%; background:var(--paper-line);}
  .dots span.active{ background:var(--green-600); width:16px; border-radius:3px;}

  /* ===== Tools grid ===== */
  .tool-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px;}
  .tool-card{ background:#fff; border:1px solid var(--paper-line); border-radius:12px; padding:18px 15px; transition:transform .15s, box-shadow .15s;}
  .tool-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md);}
  .tool-card .ic-wrap{ width:32px; height:32px; color:var(--green-700); margin-bottom:10px;}
  .tool-card h4{ font-size:13px; font-weight:700; color:var(--navy-950); margin-bottom:4px; line-height:1.3;}
  .tool-card p{ font-size:11.5px; color:var(--ink-500); line-height:1.4;}

  /* ===== Trust bar ===== */
  .trust-bar{ background:var(--navy-950); padding:0;}
  .trust-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; padding:34px 0;}
  .trust-item{ display:flex; gap:12px; padding:0 22px; border-left:1px solid rgba(255,255,255,0.08);}
  .trust-item:first-child{ border-left:none;}
  .trust-item .ic-wrap{ width:36px; height:36px; border-radius:9px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:#8fd6ac; flex-shrink:0;}
  .trust-item h5{ font-size:13.5px; font-weight:700; color:#fff; margin-bottom:4px;}
  .trust-item p{ font-size:11.8px; color:#a9b6d9; line-height:1.4;}

  /* ===== Footer ===== */
  footer{ background:#081633; color:#a9b6d9; padding:52px 0 0;}
  .footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1fr 1.3fr; gap:28px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.08);}
  .footer-brand .brand-name{ color:#fff;}
  .footer-brand p{ font-size:12.5px; margin:12px 0 18px; line-height:1.6; color:#8b98bd;}
  .social-row{ display:flex; gap:10px;}
  .social-row a{ width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,0.07); display:flex; align-items:center; justify-content:center;}
  .social-row a:hover{ background:rgba(255,255,255,0.14);}
  footer h5{ color:#fff; font-size:13.5px; font-weight:700; margin-bottom:16px;}
  footer ul li{ margin-bottom:10px;}
  footer ul li a{ font-size:12.8px; color:#a9b6d9;}
  footer ul li a:hover{ color:#fff;}
  .newsletter-row{ display:flex; gap:8px; margin-top:12px;}
  .newsletter-row input{ flex:1; min-width:0; padding:10px 12px; border-radius:7px; border:1px solid rgba(255,255,255,0.14); background:rgba(255,255,255,0.05); color:#fff; font-size:12.5px; outline:none;}
  .newsletter-row input::placeholder{ color:#7484aa;}
  .newsletter-row button{ background:var(--green-600); color:#fff; padding:0 16px; border-radius:7px; font-size:12.8px; font-weight:600;}
  .newsletter-row button:hover{ background:var(--green-700);}
  .footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding:20px 0; font-size:12px; color:#7484aa; gap:20px; flex-wrap:wrap;}
  .footer-bottom .legal-links{ display:flex; gap:18px;}
  .footer-bottom .legal-links a:hover{ color:#fff;}

  /* ===== Disclaimer note under everything relevant ===== */
  .mini-disclaimer{ text-align:center; font-size:11.5px; color:var(--ink-500); padding:14px 0 6px;}

  @media (max-width:1080px){
    .hero-grid{ grid-template-columns:1fr;}
    .service-grid{ grid-template-columns:repeat(3,1fr);}
    .tool-grid{ grid-template-columns:repeat(3,1fr);}
    .feature-strip{ grid-template-columns:1fr;}
    .trust-grid{ grid-template-columns:repeat(2,1fr); row-gap:24px;}
    .trust-item:nth-child(3){ border-left:none;}
    .footer-grid{ grid-template-columns:1fr 1fr 1fr;}
    nav.primary{ display:none;}
  }
  @media (max-width:640px){
    .hero h1{ font-size:34px;}
    .service-grid{ grid-template-columns:repeat(2,1fr);}
    .tool-grid{ grid-template-columns:repeat(2,1fr);}
    .trust-grid{ grid-template-columns:1fr;}
    .trust-item{ border-left:none; border-top:1px solid rgba(255,255,255,0.08); padding-top:20px;}
    .trust-item:first-child{ border-top:none; padding-top:0;}
    .footer-grid{ grid-template-columns:1fr 1fr;}
    .topbar-right{ gap:12px;}
    .topbar .wrap{ flex-wrap:wrap; height:auto; padding:6px 24px;}
  }
