/* ============================================================
   InfraMap AI — Auxiliary Pages Stylesheet
   Covers: About Us, Privacy Policy, Terms of Service, Cookie Policy
   ============================================================ */

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

:root {
  --navy:       #0B1A2E;
  --navy-mid:   #132440;
  --navy-deep:  #070F1C;
  --blue:       #0057B8;
  --blue-light: #0078D4;
  --cyan:       #00AEEF;
  --cyan-dim:   #E4F5FD;
  --bg:         #F4F7FB;
  --surface:    #FFFFFF;
  --text:       #1C2B3A;
  --text-mid:   #4A5C6E;
  --border:     #D8E2EC;
  --n200:       #E8EEF5;
  --n300:       #D8E2EC;
  --n400:       #B0BEC9;

  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --sh-sm: 0 1px 3px rgba(11,26,46,.06),0 1px 2px rgba(11,26,46,.04);
  --max: 1160px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{cursor:pointer;font-family:inherit}
h1{font-size:clamp(1.75rem,3.5vw,2.75rem);font-weight:800;line-height:1.18;letter-spacing:-.022em}
h2{font-size:clamp(1.25rem,2.5vw,1.875rem);font-weight:700;line-height:1.25;letter-spacing:-.015em}
h3{font-size:1.125rem;font-weight:600;line-height:1.35}
p{line-height:1.72}

.container{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:24px}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border-radius:var(--r-md);font-size:.9375rem;font-weight:600;border:2px solid transparent;white-space:nowrap;line-height:1}
.btn-primary{background:var(--blue);color:#fff;border-color:var(--blue)}
.btn-primary:hover{background:var(--blue-light);border-color:var(--blue-light)}
.btn-sm{padding:8px 16px;font-size:.875rem}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{position:sticky;top:0;z-index:100;background:var(--navy);border-bottom:1px solid rgba(255,255,255,.07)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:68px;max-width:var(--max);margin-inline:auto;padding-inline:24px}
.brand{display:flex;align-items:center;gap:12px}
.brand-name{font-size:1.125rem;font-weight:700;color:#fff;letter-spacing:-.01em}
.brand-name span{color:var(--cyan)}
.header-right{display:flex;align-items:center;gap:20px}
.header-phone{color:rgba(255,255,255,.45);font-size:.875rem;font-weight:500}

/* ============================================================
   PAGE HERO (smaller than homepage hero)
   ============================================================ */
.page-hero{background:var(--navy);padding:56px 0 60px}
.page-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-size:.8125rem;color:rgba(255,255,255,.4)}
.page-breadcrumb a{color:rgba(255,255,255,.4)}
.page-breadcrumb a:hover{color:var(--cyan)}
.page-breadcrumb span{color:rgba(255,255,255,.25)}
.page-hero h1{color:#fff;margin-bottom:14px}
.page-hero .lead{color:rgba(255,255,255,.55);font-size:1.0625rem;max-width:600px}

/* ============================================================
   ABOUT — CONTENT BLOCKS
   ============================================================ */
.about-block{padding:72px 0;background:var(--surface)}
.about-block:nth-child(even){background:var(--bg)}
.about-block + .about-block{border-top:1px solid var(--border)}

.about-block .block-tag{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--blue);margin-bottom:12px}
.about-block h2{color:var(--navy);margin-bottom:16px}
.about-block p{color:var(--text-mid);font-size:1.0625rem;max-width:680px;margin-bottom:16px}
.about-block p:last-child{margin-bottom:0}

.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.about-img{width:100%;aspect-ratio:4/3;background:var(--n200);border-radius:var(--r-xl);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--n400);font-size:.8125rem;box-shadow:var(--sh-sm)}

.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
.value-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;box-shadow:var(--sh-sm)}
.value-icon{width:40px;height:40px;background:var(--cyan-dim);border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;margin-bottom:14px;color:var(--blue)}
.value-card h3{color:var(--navy);margin-bottom:8px;font-size:1rem}
.value-card p{color:var(--text-mid);font-size:.9rem}

.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px}
.team-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh-sm)}
.team-photo{width:100%;aspect-ratio:1;background:var(--n200);display:flex;align-items:center;justify-content:center;color:var(--n400);font-size:.75rem;border-bottom:1px solid var(--border)}
.team-info{padding:16px}
.team-info h3{color:var(--navy);font-size:.9875rem;margin-bottom:4px}
.team-info p{color:var(--text-mid);font-size:.8125rem}

/* ============================================================
   LEGAL PAGES — empty main with placeholder
   ============================================================ */
.legal-main{padding:72px 0;min-height:40vh;background:var(--surface)}
.legal-content{max-width:800px;color:var(--text-mid);font-size:.9375rem;line-height:1.7}
.legal-section{margin-bottom:48px}
.legal-section h2{color:var(--navy);margin-bottom:16px;font-size:1.5rem;font-weight:700}
.legal-section h3{color:var(--navy);margin-bottom:12px;font-size:1.125rem;font-weight:600;margin-top:24px}
.legal-section p{margin-bottom:16px}
.legal-section ul{margin-bottom:16px;padding-left:20px}
.legal-section ul li{margin-bottom:8px;list-style-type:disc}
.contact-info{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;margin-top:20px}
.contact-info p{margin-bottom:8px;font-size:.9rem}
.contact-info p:last-child{margin-bottom:0}

/* About page specific styles */
.about-visual{width:100%;aspect-ratio:4/3;background:var(--surface);border-radius:var(--r-xl);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;padding:20px;box-shadow:var(--sh-sm)}
.about-visual .image-placeholder{width:100%;height:100%;object-fit:cover;border-radius:var(--r-xl)}
.culture-list{list-style:none;padding:0;margin:20px 0}
.culture-list li{margin-bottom:12px;padding-left:0}
.investors-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
.investor-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;text-align:center;box-shadow:var(--sh-sm)}
.investor-logo{margin:0 auto 16px;width:48px;height:48px}
.investor-card h3{color:var(--navy);margin-bottom:8px;font-size:1rem}
.investor-card p{color:var(--text-mid);font-size:.875rem}
.team-bio{color:var(--text-light);font-size:.8125rem;margin-top:6px}

/* ============================================================
   FOOTER (mirrors main site footer)
   ============================================================ */
.site-footer{background:var(--navy-deep);padding:40px 0 28px;border-top:1px solid rgba(255,255,255,.06)}
.footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;margin-bottom:32px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.06)}
.footer-brand{max-width:280px}
.footer-brand .brand{margin-bottom:12px}
.footer-tagline{font-size:.875rem;color:rgba(255,255,255,.35);line-height:1.6}
.footer-links{display:flex;gap:48px}
.footer-col h4{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.4);margin-bottom:14px}
.footer-col ul{display:flex;flex-direction:column;gap:10px}
.footer-col ul li a{font-size:.875rem;color:rgba(255,255,255,.45)}
.footer-col ul li a:hover{color:rgba(255,255,255,.8)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.footer-copy{font-size:.8125rem;color:rgba(255,255,255,.28)}
.footer-legal{display:flex;gap:24px}
.footer-legal a{font-size:.8125rem;color:rgba(255,255,255,.28)}
.footer-legal a:hover{color:rgba(255,255,255,.6)}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1024px){
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .values-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .about-grid{grid-template-columns:1fr}
  .about-img,.about-visual{display:none}
  .values-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .investors-grid{grid-template-columns:1fr}
  .footer-top{flex-direction:column}
  .footer-links{flex-direction:column;gap:28px}
  .header-phone{display:none}
}
@media(max-width:480px){
  .team-grid{grid-template-columns:1fr}
  .values-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .footer-legal{flex-wrap:wrap;gap:16px}
}
