/* ==========================================================================
   Coimbatore Property Partners — Shared Site Stylesheet
   Used by: index.html, privacy-policy.html, terms-and-conditions.html,
            disclaimer.html, data-deletion.html
   ========================================================================== */
:root{
  --navy-950:#081226;
  --navy-900:#0B1F3F;
  --navy-850:#0E274C;
  --navy-800:#123361;
  --navy-700:#1B4079;
  --gold-600:#A8823A;
  --gold-500:#C9A24B;
  --gold-400:#DCC17A;
  --gold-100:#F4E9D3;
  --cream:#F7F5F0;
  --cream-2:#F0ECE2;
  --white:#FFFFFF;
  --ink:#132038;
  --ink-soft:#54607A;
  --ink-faint:#8A93A8;
  --line:rgba(19,32,56,0.10);
  --line-dark:rgba(220,193,122,0.18);
  --shadow-soft: 0 20px 50px -20px rgba(8,18,38,0.25);
  --ease: cubic-bezier(.22,.85,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit; text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit; cursor:pointer;}
h1,h2,h3,h4{ font-family:'Fraunces', serif; font-weight:560; margin:0; line-height:1.05; letter-spacing:-0.01em; }
p{ margin:0; }
.container{ max-width:1240px; margin:0 auto; padding:0 32px; }
.gold{ color:var(--gold-500); }
.italic{ font-style:italic; font-weight:450; }

.eyebrow{
  font-family:'Inter',sans-serif;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--gold-600);
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.eyebrow.on-dark{ color:var(--gold-400); }
.eyebrow::before{
  content:"";
  width:28px; height:1px;
  background:currentColor;
  display:inline-block;
}

:focus-visible{ outline:2px solid var(--gold-500); outline-offset:3px; }

.reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ============ BUTTONS ============ */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:16px 28px;
  font-size:13.5px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  border-radius:2px;
  border:1px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; transition:transform .35s var(--ease); flex-shrink:0; }
.btn:hover svg{ transform:translateX(4px); }
.btn-primary{ background:var(--navy-900); color:var(--white); box-shadow:0 14px 30px -12px rgba(11,31,63,0.55); }
.btn-primary:hover{ background:var(--navy-800); transform:translateY(-2px); box-shadow:0 18px 34px -12px rgba(11,31,63,0.6); }
.btn-gold{ background:var(--gold-500); color:var(--navy-950); box-shadow:0 14px 30px -12px rgba(201,162,75,0.55); }
.btn-gold:hover{ background:var(--gold-400); transform:translateY(-2px); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,0.35); color:var(--white); }
.btn-outline:hover{ border-color:var(--gold-400); color:var(--gold-400); }
.btn-outline-navy{ background:transparent; border-color:rgba(19,32,56,0.25); color:var(--navy-900); }
.btn-outline-navy:hover{ border-color:var(--navy-900); background:var(--navy-900); color:var(--white); }
.btn-ghost{
  padding:0; color:var(--navy-900); font-weight:700; font-size:12.5px; letter-spacing:0.08em;
  text-transform:uppercase; border-bottom:1px solid var(--gold-500); padding-bottom:3px;
}
.btn-ghost:hover{ color:var(--gold-600); }

.skyline-rule{ width:100%; display:block; }

/* ============ HEADER ============ */
header{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:22px 0;
  transition:background .5s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
header.scrolled{
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  padding:14px 0;
  box-shadow:0 8px 30px -16px rgba(8,18,38,0.18);
  border-bottom:1px solid var(--line);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand-mark{ width:46px; height:46px; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text .b1{ font-family:'Fraunces',serif; font-weight:650; font-size:17px; letter-spacing:0.04em; color:var(--navy-900); transition:color .4s; }
header:not(.scrolled) .brand-text .b1{ color:var(--white); }
.brand-text .b2{ font-family:'Inter'; font-weight:600; font-size:10px; letter-spacing:0.22em; text-transform:uppercase; color:var(--gold-500); margin-top:2px; }
nav.primary-nav{ display:flex; align-items:center; gap:38px; }
nav.primary-nav a{ font-size:13.5px; font-weight:600; letter-spacing:0.01em; color:var(--white); position:relative; padding:6px 0; transition:color .4s; }
header.scrolled nav.primary-nav a{ color:var(--ink); }
nav.primary-nav a::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--gold-500); transform:scaleX(0); transform-origin:right; transition:transform .35s var(--ease); }
nav.primary-nav a:hover::after{ transform:scaleX(1); transform-origin:left; }
nav.primary-nav a.active::after{ transform:scaleX(1); }
header.scrolled nav.primary-nav a:hover{ color:var(--navy-900); }
.nav-actions{ display:flex; align-items:center; gap:18px; }
.nav-actions .btn{ padding:13px 24px; font-size:12px; }
.hamburger{ display:none; width:26px; height:20px; position:relative; flex-shrink:0; background:none; border:none; }
.hamburger span{ position:absolute; left:0; right:0; height:2px; background:var(--white); transition:all .35s var(--ease); }
header.scrolled .hamburger span{ background:var(--navy-900); }
.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:9px; }
.hamburger span:nth-child(3){ top:18px; }
.hamburger.open span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

.mobile-nav{ display:none; }
@media (max-width: 840px){
  nav.primary-nav, .nav-actions .btn{ display:none; }
  .hamburger{ display:block; }
  .brand-text{ max-width:150px; }
  .brand-text .b1{ font-size:14px; }
  .brand-mark{ width:38px; height:38px; }
  .mobile-nav{
    position:fixed; top:0; right:0; height:100vh; width:78%; max-width:340px; background:var(--navy-950);
    z-index:250; padding:110px 36px 40px; transform:translateX(100%); transition:transform .5s var(--ease);
    display:flex; flex-direction:column; gap:2px;
  }
  .mobile-nav.open{ transform:translateX(0); }
  .mobile-nav a{ color:var(--white); font-size:19px; font-family:'Fraunces'; padding:14px 0; border-bottom:1px solid var(--line-dark); }
  .mobile-nav .btn{ margin-top:26px; justify-content:center; }
}

/* ============ MINI PAGE HERO (breadcrumb band for inner pages) ============ */
.page-hero{
  position:relative;
  min-height:340px;
  display:flex; align-items:flex-end;
  background:
    radial-gradient(ellipse 900px 500px at 82% 10%, rgba(201,162,75,0.14), transparent 60%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-850) 100%);
  overflow:hidden;
  padding:150px 0 56px;
}
.page-hero-skyline{ position:absolute; left:0; right:0; bottom:0; width:100%; height:42%; opacity:.9; pointer-events:none; }
.page-hero-inner{ position:relative; z-index:2; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:rgba(255,255,255,0.55); font-weight:600; margin-bottom:20px; flex-wrap:wrap; }
.breadcrumb a{ color:rgba(255,255,255,0.75); transition:color .3s; }
.breadcrumb a:hover{ color:var(--gold-400); }
.breadcrumb span.sep{ opacity:.5; }
.breadcrumb span.current{ color:var(--gold-400); }
.page-hero h1{ font-size:clamp(34px,4.6vw,54px); color:var(--white); font-weight:650; letter-spacing:-0.01em; }
.page-hero .meta-line{ margin-top:16px; font-size:13.5px; color:rgba(255,255,255,0.55); }

/* ============ LEGAL CONTENT LAYOUT ============ */
.section-pad{ padding:96px 0; }
.legal-wrap{ display:grid; grid-template-columns:1fr 300px; gap:64px; align-items:start; background:var(--cream); }
.legal-article{
  background:var(--white); border:1px solid var(--line); padding:48px 52px;
  box-shadow:var(--shadow-soft);
}
.legal-article .modal-meta{ font-size:12.5px; color:var(--ink-faint); margin-bottom:26px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.legal-article h4{ color:var(--navy-900); font-size:18px; margin-top:34px; margin-bottom:12px; font-weight:650; }
.legal-article h4:first-of-type{ margin-top:0; }
.legal-article p{ font-size:15px; line-height:1.85; color:var(--ink-soft); margin-bottom:14px; }
.legal-article ul{ margin-bottom:14px; }
.legal-article li{ font-size:15px; line-height:1.85; color:var(--ink-soft); padding-left:20px; position:relative; margin-bottom:8px; }
.legal-article li::before{ content:""; position:absolute; left:0; top:12px; width:5px; height:5px; background:var(--gold-500); border-radius:50%; }
.legal-article strong{ color:var(--navy-900); }
.legal-article a.inline-link{ color:var(--gold-600); font-weight:600; border-bottom:1px solid var(--gold-500); }
.legal-article a.inline-link:hover{ color:var(--navy-900); }

.legal-aside{ position:sticky; top:110px; display:flex; flex-direction:column; gap:20px; }
.aside-card{ background:var(--navy-900); color:var(--white); padding:30px 28px; }
.aside-card h5{ font-family:'Fraunces'; font-size:16px; font-weight:600; color:var(--white); margin-bottom:16px; }
.aside-card ul li{ margin-bottom:2px; }
.aside-card a{ display:block; font-size:13.5px; color:rgba(255,255,255,0.68); padding:10px 0; border-top:1px solid var(--line-dark); transition:color .3s; }
.aside-card li:first-child a{ border-top:none; padding-top:0; }
.aside-card a:hover, .aside-card a.active{ color:var(--gold-400); }
.aside-card.contact-mini .k{ font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold-400); font-weight:700; margin-bottom:5px; }
.aside-card.contact-mini .v{ font-size:14px; color:rgba(255,255,255,0.86); margin-bottom:16px; }
.aside-card.contact-mini .v:last-child{ margin-bottom:0; }

@media (max-width: 1080px){
  .legal-wrap{ grid-template-columns:1fr; }
  .legal-aside{ position:static; flex-direction:row; flex-wrap:wrap; }
  .legal-aside .aside-card{ flex:1 1 260px; }
}
@media (max-width: 640px){
  .legal-article{ padding:32px 24px; }
  .section-pad{ padding:64px 0; }
  .page-hero{ padding-top:130px; min-height:280px; }
}

/* ============ FOOTER ============ */
footer{ background:var(--navy-950); color:rgba(255,255,255,0.62); position:relative; }
.footer-skyline{ display:block; width:100%; }
.footer-top{ padding:20px 0 64px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 0.85fr 0.85fr 1fr; gap:50px; }
.footer-brand .brand{ margin-bottom:20px; }
.footer-brand .brand-text .b1{ color:var(--white) !important; }
.footer-brand p{ font-size:13.5px; line-height:1.8; color:rgba(255,255,255,0.5); max-width:300px; }
.footer-social{ display:flex; gap:10px; margin-top:24px; }
.footer-social a{ width:36px; height:36px; border:1px solid var(--line-dark); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:border-color .3s, background .3s; }
.footer-social a:hover{ border-color:var(--gold-400); background:rgba(201,162,75,0.1); }
.footer-social svg{ width:15px; height:15px; stroke:var(--gold-400); }
.footer-col h5{ font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--white); font-weight:700; margin-bottom:22px; }
.footer-col li{ margin-bottom:13px; }
.footer-col a{ font-size:14px; color:rgba(255,255,255,0.55); transition:color .3s; }
.footer-col a:hover{ color:var(--gold-400); }
.footer-col .contact-line{ display:flex; gap:10px; font-size:14px; color:rgba(255,255,255,0.55); margin-bottom:14px; align-items:flex-start; }
.footer-col .contact-line svg{ width:15px; height:15px; stroke:var(--gold-400); flex-shrink:0; margin-top:2px; }
.footer-bottom{ border-top:1px solid var(--line-dark); padding:26px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.footer-bottom .legal-links{ display:flex; gap:26px; flex-wrap:wrap; }
.footer-bottom .legal-links a{ font-size:12.5px; color:rgba(255,255,255,0.55); transition:color .3s; }
.footer-bottom .legal-links a:hover, .footer-bottom .legal-links a.active{ color:var(--gold-400); }
.footer-bottom .copy{ font-size:12.5px; color:rgba(255,255,255,0.4); }

@media (max-width: 1080px){ .footer-grid{ grid-template-columns:1fr 1fr; gap:40px; } }
@media (max-width: 840px){ .footer-grid{ grid-template-columns:1fr; gap:36px; } }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
}
