/* =========================================================
   NAIK INFRA — Stylesheet
   Design tokens grounded in the brand mark: deep navy + gold,
   set against warm stone and white. Corner-bracket "survey pin"
   motif throughout nods to land measurement/boundaries.
   ========================================================= */

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

:root{
  --navy: #0E243C;
  --navy-deep: #081420;
  --navy-soft: #16324F;
  --gold: #B98E3C;
  --gold-light: #D9B876;
  --gold-pale: #F1E6CC;
  --terracotta: #A6552E;
  --white: #FFFFFF;
  --stone: #F4F5F0;
  --stone-deep: #ECEAE1;
  --ink: #1B2A38;
  --muted: #5C6B74;
  --border: #E1DFD5;
  --border-dark: rgba(255,255,255,0.14);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--serif); margin: 0; font-weight: 600; color: var(--navy); }
p{ margin: 0; }
button{ font-family: var(--sans); cursor: pointer; }
input, select, textarea{ font-family: var(--sans); font-size: 1rem; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Visible focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* =============== Section scaffolding =============== */
section{ position: relative; }
.section-pad{ padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-pad-sm{ padding: clamp(2.5rem, 5vw, 4rem) 0; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

.section-head{
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head h2{
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-head p{
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
}
.section-head.on-dark h2{ color: var(--white); }
.section-head.on-dark p{ color: rgba(255,255,255,0.72); }

/* =============== Buttons =============== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover{ background: var(--gold-light); }
.btn-ghost{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover{ background: var(--navy); color: var(--white); }
.btn-block{ width: 100%; justify-content: center; }

/* =============== Corner-bracket "survey" frame motif =============== */
.framed{
  position: relative;
  padding: 14px;
}
.framed::before, .framed::after{
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
  z-index: 2;
}
.framed::before{ top: 0; left: 0; border-right: none; border-bottom: none; }
.framed::after{ bottom: 0; right: 0; border-left: none; border-top: none; }
.framed .framed-inner{ overflow: hidden; }
.framed .framed-inner img{ width: 100%; height: 100%; object-fit: cover; }

.framed.on-dark::before, .framed.on-dark::after{ border-color: var(--gold-light); }

/* =============== Header / Nav =============== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand{ display: flex; align-items: center; gap: 0.7rem; }
.brand img{ height: 40px; width: auto; }
.brand .brand-name{
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.brand .brand-name small{
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-top: 3px;
}

.site-header.solid{
  background: var(--navy-deep);
  box-shadow: 0 6px 24px rgba(8,20,32,0.18);
  padding: 0.7rem 0;
}

.main-nav{ display: flex; align-items: center; gap: 2.1rem; }
.main-nav a{
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 0.2rem 0;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover{ color: var(--white); }
.main-nav a:hover::after{ width: 100%; }

.nav-cta{ display: flex; align-items: center; gap: 1rem; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span{ top: 19px; }
.nav-toggle span::before{ top: -7px; }
.nav-toggle span::after{ top: 7px; }
.nav-toggle.active span{ background: transparent; }
.nav-toggle.active span::before{ transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span::after{ transform: translateY(-7px) rotate(-45deg); }

/* =============== Hero =============== */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,20,32,0.55) 0%, rgba(8,20,32,0.35) 32%, rgba(8,20,32,0.78) 78%, rgba(8,20,32,0.94) 100%);
}
.hero-content{
  position: relative;
  z-index: 1;
  padding-top: 9rem;
  padding-bottom: 3.2rem;
  width: 100%;
}
.hero-tag{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.hero-tag .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero h1{
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.hero-rule{
  width: 92px; height: 3px;
  background: var(--gold);
  margin: 1.6rem 0 1.5rem;
}
.hero p.lede{
  max-width: 46ch;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.86);
}
.hero-actions{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.3rem;
}

.hero-strip{
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 3.2rem;
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.hero-strip .strip-label{
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.hero-strip .strip-places{
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.hero-strip .strip-places span{
  font-size: 0.86rem;
  color: rgba(255,255,255,0.88);
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-strip .strip-places span:not(:last-child)::after{ content: ""; }

/* =============== Legacy band =============== */
.legacy{
  background: var(--navy-deep);
  color: var(--white);
}
.legacy-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2.5rem;
}
.legacy-item{
  border-left: 2px solid var(--gold);
  padding-left: 1.6rem;
}
.legacy-item .num{
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.2rem);
  color: var(--white);
  line-height: 1;
  font-weight: 600;
}
.legacy-item .label{
  margin-top: 0.7rem;
  color: rgba(255,255,255,0.68);
  font-size: 0.98rem;
  max-width: 26ch;
}

/* =============== About =============== */
.about-grid{
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about-copy p{ color: var(--muted); font-size: 1.05rem; margin-top: 1.1rem; }
.about-copy p:first-of-type{ margin-top: 0; }
.about-copy .lead{
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  line-height: 1.4;
  font-weight: 500;
}
.about-media{ aspect-ratio: 4/5; }
.about-media .framed-inner{ height: 100%; }

.pillars-mini{
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.pillars-mini li{
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: var(--ink);
}
.pillars-mini li svg{ flex-shrink: 0; margin-top: 3px; }

/* =============== Presence =============== */
.presence{ background: var(--stone); }
.place-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.place-card{
  background: var(--white);
  padding: 2rem 1.7rem;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.25s ease;
}
.place-card:hover{ background: var(--navy); }
.place-card:hover .place-name, .place-card:hover .place-tag{ color: var(--white); }
.place-card:hover .place-desc{ color: rgba(255,255,255,0.78); }
.place-tag{
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.place-name{
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-top: 0.9rem;
  transition: color 0.25s ease;
}
.place-desc{
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

/* =============== Land types =============== */
.land-types-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.land-card{
  border-top: 3px solid var(--gold);
  background: var(--stone);
  padding: 2.1rem 1.7rem;
}
.land-card .icon-wrap{
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  margin-bottom: 1.4rem;
}
.land-card h3{ font-size: 1.2rem; }
.land-card p{ margin-top: 0.7rem; color: var(--muted); font-size: 0.94rem; }

/* =============== Own lands + aggregators =============== */
.split-panels{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}
.split-panel{
  padding: clamp(2.2rem, 4vw, 3.2rem);
}
.split-panel.dark{
  background: var(--navy);
  color: var(--white);
}
.split-panel.light{ background: var(--white); }
.split-panel .panel-eyebrow{
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.split-panel h3{
  font-size: 1.55rem;
  margin-bottom: 1rem;
}
.split-panel.dark h3{ color: var(--white); }
.split-panel p{ color: var(--muted); font-size: 1rem; }
.split-panel.dark p{ color: rgba(255,255,255,0.75); }
.split-panel .plus{
  display: none;
}

/* =============== Services =============== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.service-card{ position: relative; }
.service-media{
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
}
.service-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-media img{ transform: scale(1.05); }
.service-corner{
  position: absolute;
  top: 0; left: 0;
  width: 26px; height: 26px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 1;
}
.service-body{ padding-top: 1.3rem; }
.service-body .service-index{
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.service-body h3{ font-size: 1.25rem; }
.service-body p{ margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

/* =============== Why us =============== */
.why{ background: var(--navy-deep); color: var(--white); }
.why-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem 3rem;
}
.why-item{
  display: flex;
  gap: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-dark);
}
.why-item .icon-wrap{
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-item h3{ color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-item p{ color: rgba(255,255,255,0.68); font-size: 0.93rem; }

/* =============== Enquiry =============== */
.enquire{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.enquire-intro{
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.enquire-intro h2{
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.18;
}
.enquire-intro p{
  margin-top: 1.2rem;
  color: rgba(255,255,255,0.72);
  max-width: 40ch;
}
.enquire-intro .note{
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 36ch;
}
.enquire-form-wrap{
  background: var(--stone);
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter);
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field{ margin-bottom: 1.1rem; }
.field label{
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
}
.field textarea{ resize: vertical; min-height: 110px; }
.form-note{
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}
.form-success{
  display: none;
  background: var(--white);
  border: 1px solid var(--gold);
  padding: 1.2rem 1.4rem;
  margin-top: 1.2rem;
  font-size: 0.95rem;
}
.form-success.show{ display: block; }

/* =============== Footer =============== */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand img{ height: 60px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p{ max-width: 34ch; font-size: 0.94rem; color: rgba(255,255,255,0.6); }
.footer-col h4{
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer-col ul li{ margin-bottom: 0.7rem; }
.footer-col ul li a{ font-size: 0.92rem; color: rgba(255,255,255,0.62); transition: color 0.2s ease; }
.footer-col ul li a:hover{ color: var(--gold-light); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* =============== Reveal (single orchestrated entrance) =============== */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in{ opacity: 1; transform: translateY(0); }

/* =============== Responsive =============== */
@media (max-width: 980px){
  .main-nav{ display: none; }
  .nav-cta .btn{ display: none; }
  .nav-toggle{ display: block; }

  .legacy-grid{ grid-template-columns: 1fr; gap: 2rem; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-media{ order: -1; aspect-ratio: 16/10; }
  .place-grid{ grid-template-columns: repeat(2, 1fr); }
  .land-types-grid{ grid-template-columns: repeat(2, 1fr); }
  .split-panels{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .why-grid{ grid-template-columns: 1fr; }
  .enquire{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 2.2rem; }
  .pillars-mini{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .place-grid{ grid-template-columns: 1fr; }
  .land-types-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .hero-strip{ gap: 1.2rem; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

/* Mobile nav panel */
.mobile-nav{
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem var(--gutter);
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav a{
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--white);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-nav .btn{ margin-top: 2rem; }

/* =============== FAQ =============== */
.faq-list{
  max-width: 820px;
}
.faq-item{
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child{ border-top: 1px solid var(--border); }
.faq-q{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.35rem 0.1rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--navy);
  font-weight: 600;
}
.faq-icon{
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}
.faq-icon::before, .faq-icon::after{
  content: "";
  position: absolute;
  background: var(--gold);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-icon::before{ width: 14px; height: 2px; }
.faq-icon::after{ width: 2px; height: 14px; }
.faq-item.open .faq-icon::after{ opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p{
  color: var(--muted);
  padding: 0 0.1rem 1.35rem;
  max-width: 62ch;
}
.faq-item.open .faq-a{ max-height: 240px; }
