/* RENCON LTD — shared styles (brand palette derived from logo) */

:root {
  --navy: #0e1130;
  --navy-2: #171b42;
  --blue: #2f6fed;
  --blue-deep: #1547b8;
  --purple: #8b5cf6;
  --purple-soft: #b794ff;
  --teal: #2dd4bf;
  --teal-bright: #66f7f4;
  --brand-gradient: linear-gradient(135deg, var(--blue) 0%, var(--purple-soft) 55%, var(--teal-bright) 100%);
  --brand-gradient-deep: linear-gradient(135deg, var(--blue-deep) 0%, var(--purple) 60%, var(--teal) 100%);
  --ink: #23262b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.brand .mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand .mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand .sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--teal-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-pill {
  display: none;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
}

@media (min-width: 860px) {
  .phone-pill { display: flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand-gradient);
  color: #0b1120;
  box-shadow: 0 8px 20px rgba(47, 111, 237, 0.28);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 26px rgba(139, 92, 246, 0.32); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-2); }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--white);
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

@media (max-width: 899px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    width: 100%;
    padding: 14px 24px;
    border-bottom: none;
  }
  header.site-header { position: relative; }
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(14,17,48,0.90), rgba(14,17,48,0.74)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="700" viewBox="0 0 1200 700"><rect width="1200" height="700" fill="%230e1130"/><g fill="%23181c46"><rect x="60" y="380" width="90" height="320"/><rect x="170" y="300" width="70" height="400"/><rect x="260" y="420" width="110" height="280"/><rect x="390" y="250" width="80" height="450"/><rect x="490" y="340" width="100" height="360"/><rect x="610" y="200" width="70" height="500"/><rect x="700" y="360" width="120" height="340"/><rect x="840" y="280" width="85" height="420"/><rect x="950" y="330" width="95" height="370"/><rect x="1060" y="240" width="80" height="460"/></g><g fill="%23232a5c"><rect x="60" y="380" width="90" height="18"/><rect x="170" y="300" width="70" height="18"/><rect x="260" y="420" width="110" height="18"/><rect x="390" y="250" width="80" height="18"/><rect x="490" y="340" width="100" height="18"/><rect x="610" y="200" width="70" height="18"/><rect x="700" y="360" width="120" height="18"/><rect x="840" y="280" width="85" height="18"/><rect x="950" y="330" width="95" height="18"/><rect x="1060" y="240" width="80" height="18"/></g></svg>');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 96px 0 84px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(102,247,244,0.4);
  color: #7fead9;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* Stats */
.stats {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 40px 0;
}

@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
}

.stat .num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--brand-gradient-deep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Sections */
section { padding: 72px 0; }

.section-head {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head .kicker {
  color: var(--purple);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 8px 0 10px;
  color: var(--navy);
}

.section-head p { color: var(--muted); margin: 0; }

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(47,111,237,0.14), rgba(139,92,246,0.14), rgba(45,212,191,0.14));
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Listings */
.listing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.listing-photo {
  height: 170px;
  background: linear-gradient(135deg, #0e1130, #23262b);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.listing-photo .tag {
  background: var(--brand-gradient);
  color: #0b1120;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.listing-body { padding: 20px; }

.listing-body h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.05rem; }
.listing-body .addr { color: var(--muted); font-size: 0.85rem; margin-bottom: 12px; }

.listing-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.listing-price {
  font-weight: 800;
  color: var(--blue-deep);
  font-size: 1.1rem;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 { margin: 0 0 6px; font-size: 1.5rem; }
.cta-band p { margin: 0; color: #94a3b8; }

/* Team / about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-photo {
  border-radius: var(--radius);
  height: 320px;
  background:
    linear-gradient(180deg, rgba(14,17,48,0.55), rgba(14,17,48,0.78)),
    linear-gradient(135deg, #23262b, #0e1130);
  box-shadow: var(--shadow);
}

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.values-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.values-list .check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 12px;
}
@media (min-width: 700px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card { text-align: center; }
.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--brand-gradient);
}
.team-card h4 { margin: 0; color: var(--navy); }
.team-card span { color: var(--muted); font-size: 0.85rem; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr 1fr; }
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-info-card h3 { margin-top: 0; }

.contact-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
  color: #cbd5e1;
}

.contact-line .ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(102,247,244,0.15);
  color: #7fead9;
  display: flex;
  align-items: center;
  justify-content: center;
}

form.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  background: var(--white);
}

textarea { resize: vertical; min-height: 120px; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 260px;
  background: repeating-linear-gradient(45deg, #e2e8f0, #e2e8f0 12px, #eef2f6 12px, #eef2f6 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 24px;
}

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero .kicker {
  color: #7fead9;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.page-hero h1 { margin: 8px 0 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }

.section-alt { background: var(--white); }
