/* Dias Lifestyle — Phase 1 brand site
   Palette: brand purple #B319AC, deep plum ink, soft lavender surfaces.
   One shared stylesheet for the US (/) and India (/in/) sites. */

:root {
  --purple: #B319AC;
  --purple-dark: #8A127F;
  --purple-soft: #F7EAF6;
  --ink: #211423;
  --muted: #6B5E6E;
  --line: #EADCE9;
  --bg: #FFFFFF;
  --radius: 14px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 44px; height: 44px; }
.brand .lockup { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav a:hover, .nav a.active { color: var(--purple); text-decoration: none; }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--purple-soft) 0%, #FFFFFF 65%);
  padding: 72px 0 56px;
  text-align: center;
}
.hero .mark-lg { width: 108px; height: 108px; margin-bottom: 10px; }
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 10px 0 6px;
  letter-spacing: -0.5px;
}
.hero .tagline {
  font-size: 1.35rem;
  color: var(--purple);
  font-weight: 700;
  margin: 4px 0 14px;
}
.hero p {
  max-width: 640px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 1.08rem;
}
.btn {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  margin: 4px 6px;
}
.btn:hover { background: var(--purple-dark); text-decoration: none; }
.btn.ghost {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn.ghost:hover { background: var(--purple-soft); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--purple-soft); }
.section h2 {
  font-size: 1.9rem;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}
.section .lede { color: var(--muted); max-width: 680px; margin: 0 0 30px; }

.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: 2.2rem; margin: 0 0 8px; letter-spacing: -0.4px; }
.page-head p { color: var(--muted); max-width: 680px; margin: 0; }

/* ---------- Family cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
}
.card h3 { margin: 0 0 4px; font-size: 1.3rem; color: var(--purple); }
.card .arc-word {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.card p { margin: 0 0 14px; color: var(--muted); }
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-dark);
  border: 1px solid var(--purple);
  border-radius: 999px;
  padding: 3px 12px;
}

/* ---------- Teaser ---------- */
.teaser {
  display: flex;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
}
.teaser .mark { width: 84px; height: 84px; flex: none; }
.teaser h3 { margin: 0 0 6px; font-size: 1.4rem; }
.teaser p { margin: 0 0 12px; color: var(--muted); }

/* ---------- Arc story pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.pillar h3 { margin: 0 0 8px; color: var(--purple); font-size: 1.15rem; }
.pillar p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 640px;
  background: #fff;
}
.contact-card p { margin: 0 0 14px; }
.contact-card .label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #FBF6FB;
  padding: 34px 0 40px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer .lockup { height: 28px; width: auto; margin-bottom: 8px; }
.country-switch a { font-weight: 600; }
.country-switch .sep { margin: 0 6px; color: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid, .pillars { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 640px) {
  .grid, .pillars { grid-template-columns: 1fr; }
  .teaser { flex-direction: column; text-align: center; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px 18px;
    gap: 14px;
  }
  .nav.open { display: flex; }
  .site-header .wrap { position: relative; }
  .brand .lockup { height: 28px; }
}
