/* ── Taran Property Hub – shared styles ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --teal:       #1A7A78;
  --teal-dark:  #0F5251;
  --teal-light: #E8F4F4;
  --teal-mid:   #2A9A97;
  --gold:       #C8973A;
  --charcoal:   #1C2226;
  --mid:        #4A5560;
  --light:      #F5F8F8;
  --white:      #FFFFFF;
  --border:     #D4E4E4;

  --serif:  'DM Serif Display', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;

  --radius: 10px;
  --shadow: 0 2px 16px rgba(15,82,81,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1rem, 5vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
  box-shadow: 0 1px 8px rgba(15,82,81,0.07);
}

.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo img { height: 30px; }
.nav-logo-text { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--teal-dark); line-height: 1.1; }
.nav-logo-text span { display: block; font-family: var(--sans); font-size: 0.62rem; font-weight: 500; color: var(--mid); letter-spacing: 0.1em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--mid);
  text-decoration: none; padding: 0.4rem 0.75rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-links a.nav-cta {
  background: var(--teal); color: var(--white); margin-left: 0.5rem;
  padding: 0.45rem 1rem;
}
.nav-links a.nav-cta:hover { background: var(--teal-dark); }

/* Language switcher */
.lang-switcher { display: flex; gap: 4px; margin-left: 1rem; }
.lang-switcher button {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600;
  border: 1.5px solid var(--border); background: transparent;
  color: var(--mid); padding: 3px 8px; border-radius: 4px; cursor: pointer;
  transition: all 0.2s;
}
.lang-switcher button.active, .lang-switcher button:hover {
  border-color: var(--teal); color: var(--teal); background: var(--teal-light);
}

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-mid) 100%);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 5vw, 3rem);
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 20px;
  padding: 0.3rem 0.9rem; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.18; margin-bottom: 1.1rem; font-weight: 400;
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.85); }
.hero p { font-size: 1.08rem; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; border-radius: var(--radius);
  font-weight: 600; font-size: 0.925rem; padding: 0.75rem 1.6rem;
  transition: all 0.2s; cursor: pointer; border: none; font-family: var(--sans);
}
.btn-white { background: var(--white); color: var(--teal-dark); }
.btn-white:hover { background: var(--teal-light); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline-teal { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline-teal:hover { background: var(--teal-light); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--teal-dark); color: rgba(255,255,255,0.85);
  display: flex; justify-content: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding: 1.1rem clamp(1rem, 5vw, 3rem); flex-wrap: wrap;
}
.trust-bar-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 500; }
.trust-bar-item svg { opacity: 0.7; }

/* ── SECTIONS ── */
.section { padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 3rem); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400; color: var(--charcoal); margin-bottom: 0.75rem; line-height: 1.25;
}
.section-sub { color: var(--mid); font-size: 1rem; max-width: 560px; line-height: 1.65; }

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

/* ── STAGES ── */
.stages { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.stage-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem 2rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  align-items: start; box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.stage-card:hover { box-shadow: 0 6px 28px rgba(15,82,81,0.14); transform: translateY(-2px); }
.stage-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400; flex-shrink: 0;
}
.stage-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--charcoal); }
.stage-body p { font-size: 0.9rem; color: var(--mid); line-height: 1.6; }
.stage-tag {
  display: inline-block; margin-top: 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: var(--teal);
  background: var(--teal-light); border-radius: 4px; padding: 0.2rem 0.6rem;
}

/* ── WHY CARDS ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.why-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem;
  box-shadow: var(--shadow);
}
.why-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.why-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.why-card p { font-size: 0.875rem; color: var(--mid); line-height: 1.55; }

/* ── ABOUT SPLIT ── */
.about-split { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: start; }
.about-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; background: var(--teal-light); max-width: 320px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about-photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 4rem;
}
.about-text .section-title { margin-bottom: 1rem; }
.about-text p { color: var(--mid); margin-bottom: 1rem; line-height: 1.7; font-size: 0.95rem; }
.about-stats { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.about-stat strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--teal); }
.about-stat span { font-size: 0.8rem; color: var(--mid); font-weight: 500; }

/* ── CALCULATOR ── */
.calc-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow); max-width: 680px; margin: 2rem auto 0;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); }
.form-group input, .form-group select {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.65rem 0.85rem; font-family: var(--sans); font-size: 0.9rem;
  color: var(--charcoal); background: var(--light);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--teal); background: var(--white);
}
.calc-result {
  margin-top: 1.5rem; background: var(--teal-light);
  border-radius: 10px; padding: 1.25rem 1.5rem;
  display: none;
}
.calc-result.show { display: block; }
.calc-result-row { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.calc-result-row:last-child { border-bottom: none; }
.calc-result-row span { font-size: 0.875rem; color: var(--mid); }
.calc-result-row strong { font-size: 0.975rem; color: var(--teal-dark); }
.calc-note { font-size: 0.75rem; color: var(--mid); margin-top: 0.75rem; font-style: italic; }
.calc-btn-wrap { margin-top: 1.25rem; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.contact-info-item { display: flex; gap: 0.9rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; background: var(--teal-light);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--teal); flex-shrink: 0; font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.15rem; }
.contact-info-item a, .contact-info-item p { font-size: 0.875rem; color: var(--mid); text-decoration: none; }
.contact-info-item a:hover { color: var(--teal); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
textarea {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.65rem 0.85rem; font-family: var(--sans); font-size: 0.9rem;
  color: var(--charcoal); background: var(--light); resize: vertical; min-height: 130px;
  transition: border-color 0.2s;
}
textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal); color: rgba(255,255,255,0.7);
  padding: 2.5rem clamp(1rem, 5vw, 3rem);
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; gap: 2rem; justify-content: space-between; flex-wrap: wrap;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.8rem; margin-top: 0.6rem; line-height: 1.5; max-width: 220px; }
.footer-links h4 { font-size: 0.8rem; font-weight: 600; color: var(--white); margin-bottom: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-links a { display: block; font-size: 0.825rem; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 0.4rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1080px; margin: 1.25rem auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* ── DISCLAIMER BANNER ── */
.disclaimer {
  background: #FFF8E7; border-left: 3px solid var(--gold);
  padding: 0.85rem 1.25rem; border-radius: 0 8px 8px 0;
  font-size: 0.8rem; color: #6B5020; line-height: 1.5; margin-top: 2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.25rem; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .lang-switcher { margin-left: 0.5rem; }
  .about-split { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 3/2; }
  .contact-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar { gap: 1rem; }
}
@media (max-width: 480px) {
  .stages { gap: 1rem; }
  .stage-card { grid-template-columns: 1fr; }
  .stage-num { width: 36px; height: 36px; font-size: 0.95rem; }
}
