/* ==========================================================
   Uninest — Landing Page Stylesheet
   Palette: turquoise #21AFA0 · coral #FF8C6B · petrol #12414C · gold #F5B942
   Fonts: Poppins (headings) · Inter (body)
   ========================================================== */

:root {
  --turquoise: #21AFA0;
  --turquoise-light: #E6F6F3;
  --coral: #FF8C6B;
  --coral-light: #FFF0EA;
  --petrol: #12414C;
  --petrol-dark: #0E3540;
  --gold: #F5B942;
  --bg: #FDFBF8;
  --white: #FFFFFF;
  --text: #17323A;
  --text-muted: #3E5A60;
  --text-faint: #94A5A8;
  --border: #ECE6DD;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --container-max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  margin: 0;
  color: var(--petrol);
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section { padding-top: 56px; padding-bottom: 56px; }
.section--tint-teal { background: var(--turquoise-light); }
.section--tint-coral { background: var(--coral-light); }

.section__head { max-width: 56ch; margin-bottom: 40px; }
.section__title { font-size: 26px; margin-top: 10px; }
.section__head--split { display: flex; flex-direction: column; gap: 16px; }
.section__aside { font-size: 15px; color: var(--text-muted); max-width: 36ch; }

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow--teal { color: var(--turquoise); }
.eyebrow--coral { color: var(--coral); }
.eyebrow--gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: var(--petrol); }
.btn--primary:hover { background: #f0aa24; box-shadow: 0 10px 24px rgba(245,185,66,.35); }
.btn--secondary { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn--secondary:hover { background: var(--petrol); color: var(--white); }

/* ---------- Header / nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253,251,248,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; }
.logo__word { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 20px; color: var(--petrol); }
.logo__word--light { color: var(--white); }

.header__cta { display: none; padding: 11px 20px; font-size: 14px; }

.nav-toggle-input {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.nav-toggle-label {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-label svg { width: 22px; height: 22px; }

.nav-links {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}
.nav-toggle-input:checked ~ .nav-links { display: flex; }

.nav-link {
  color: var(--petrol);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 4px;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--turquoise); }
.nav-links__cta { margin-top: 8px; align-self: flex-start; padding: 11px 20px; font-size: 14px; }

@media (min-width: 900px) {
  .header__inner { flex-wrap: nowrap; }
  .nav-toggle-label { display: none; }
  .header__cta { display: inline-flex; }
  .nav-links {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    width: auto;
    padding: 0;
    border-top: none;
    margin-top: 0;
  }
  .nav-link { padding: 0; }
  .nav-links__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 40px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-size: 34px; line-height: 1.1; }
.hero__subtitle { font-size: 17px; line-height: 1.65; color: var(--text-muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 20px; margin-top: 8px;
}
.hero__trust li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-muted);
  min-width: 0;
}
.hero__trust svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero__art svg { width: 100%; height: auto; }

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero__title { font-size: 54px; }
  .hero__subtitle { font-size: 18px; }
}

/* ---------- How it works ---------- */
.steps-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--turquoise-light);
  display: flex; align-items: center; justify-content: center;
}
.step__icon svg { width: 24px; height: 24px; }
.step__label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: var(--coral); }
.step__title { font-size: 18px; }
.step__text { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

@media (min-width: 620px) { .steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) { .steps-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ---------- Why Uninest cards ---------- */
.why-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(18,65,76,.10); }
.card__icon { width: 26px; height: 26px; }
.card__title { font-size: 16.5px; }
.card__text { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

@media (min-width: 620px) { .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ---------- Properties ---------- */
.prop-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.prop-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  transition: transform .18s ease, box-shadow .18s ease;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(18,65,76,.10); }
.prop-card__photo { height: 170px; display: flex; align-items: center; justify-content: center; }
.prop-card__photo--teal { background: var(--turquoise-light); }
.prop-card__photo--coral { background: var(--coral-light); }
.prop-card__photo svg { width: 40px; height: 40px; }
.prop-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.prop-card__body h3 { font-size: 16px; }
.prop-card__body p { font-size: 14px; color: var(--text-muted); }
.prop-note { font-size: 13px; color: var(--text-faint); margin-top: 18px; }

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

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.testi-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.testi-card__quote { width: 28px; height: 20px; }
.testi-card p { font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.testi-card footer { display: flex; flex-direction: column; gap: 2px; }
.testi-card cite { font-style: normal; font-size: 14.5px; font-weight: 600; color: var(--petrol); }
.testi-card footer span { font-size: 13px; color: var(--text-faint); }

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

/* ---------- Contact / final CTA ---------- */
.contact { background: var(--petrol); }
.contact__grid { display: grid; gap: 40px; }
.contact__copy { display: flex; flex-direction: column; gap: 18px; }
.contact__title { font-size: 26px; color: var(--white); }
.contact__text { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.75); max-width: 44ch; }
.contact__details { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.contact__details li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--white); min-width: 0; }
.contact__details li a,
.contact__details li span { flex: 1; min-width: 0; }
.contact__details a:hover { text-decoration: underline; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18,65,76,.28);
  z-index: 50;
  transition: transform .15s ease, background .15s ease;
}
.whatsapp-float svg { width: 27px; height: 27px; }
.whatsapp-float:hover { transform: translateY(-2px); background: #1c9a8b; }
.contact__details svg { width: 20px; height: 20px; flex-shrink: 0; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field label {
  font-size: 13px; font-weight: 600; color: var(--petrol);
  display: block; margin-bottom: 6px;
}
.field input, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--white); border: 1.5px solid #DCE7E5;
  border-radius: 12px; padding: 12px 15px; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--turquoise); }
.contact-form__submit { width: 100%; margin-top: 2px; }

@media (min-width: 980px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .contact__title { font-size: 38px; }
  .contact-form__row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: var(--petrol-dark); padding: 52px 0 28px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__tagline { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.65); max-width: 32ch; }
.footer__socials { display: flex; gap: 10px; margin-top: 4px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__heading { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: var(--white); }
.footer__col a { color: rgba(255,255,255,.75); font-size: 14px; transition: color .15s ease; }
.footer__col a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
}
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.5); }

@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
