/* ============================================================
   RIVANA — stylesheet (matches approved UI reference)
   Warm cream / deep navy, Anton wordmark, Apple-style body type
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

:root{
  --cream: #F1ECE2;
  --cream-panel: #E9E2D3;
  --navy: #16293B;
  --navy-soft: #2A3E4F;
  --gray: #8C887E;
  --line: #DCD4C4;
  --white: #ffffff;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
           "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --wordmark: 'Anton', var(--sans);

  --nav-h: 64px;
  --container: 1180px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

html{ -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }

h1,h2,h3{
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--navy);
}

p{ margin: 0; }

::selection{ background: var(--navy); color: var(--cream); }

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 3px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---------- Buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, transform .08s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }

.btn-navy{
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover{ background: #1e3549; }

.btn-navy svg{ width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- Nav ---------- */

header.site-nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241,236,226,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wordmark{
  font-family: var(--wordmark);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 34px);
}

.nav-links a{
  font-size: 14px;
  color: var(--gray);
  white-space: nowrap;
  padding-bottom: 6px;
  border-bottom: 1.5px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover{ color: var(--navy); }
.nav-links a.active{
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.nav-right{ display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-right .btn{ padding: 9px 20px; font-size: 13.5px; }

.menu-toggle{
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--navy);
}
.menu-toggle svg{ width: 20px; height: 20px; display:block; }

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(241,236,226,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.mobile-menu.open{
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}
.mobile-menu a{ font-size: 26px; font-weight: 500; letter-spacing: -0.01em; color: var(--navy); }
.mobile-menu .btn{ margin-top: 10px; padding: 14px 32px; font-size: 17px; }
.mobile-close{
  position: absolute; top: 16px; right: clamp(16px, 5vw, 40px);
  background: none; border: none; padding: 10px; cursor: pointer; color: var(--navy);
}
.mobile-close svg{ width: 20px; height: 20px; }

/* ---------- Hero ---------- */

.hero{
  padding: clamp(40px, 7vw, 72px) 0 0;
  text-align: center;
}

.hero h1{
  font-family: var(--wordmark);
  font-weight: 400;
  font-size: clamp(52px, 11vw, 128px);
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero .lead{
  margin: clamp(16px, 2.6vw, 24px) auto 0;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--navy-soft);
  font-weight: 400;
  max-width: 28ch;
}
.hero .lead span{ display: block; }

.hero-photo{
  margin-top: clamp(28px, 5vw, 48px);
  position: relative;
}

.hero-photo .frame{
  max-width: 560px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 70px -35px rgba(22,41,59,0.35);
  background: #d8d4c8;
}

.hero-photo img{
  width: 100%;
  height: clamp(280px, 46vw, 520px);
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
}

.hero-cta{
  margin-top: clamp(22px, 4vw, 34px);
  padding-bottom: clamp(40px, 7vw, 68px);
}

/* ---------- Process ---------- */

.process{
  padding: clamp(64px, 10vw, 116px) 0 clamp(48px, 8vw, 80px);
}

.process-eyebrow{
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray);
  text-transform: uppercase;
}

.process h2{
  margin-top: 14px;
  font-size: clamp(26px, 3.6vw, 38px);
  max-width: 18ch;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.process-track{
  margin-top: clamp(44px, 7vw, 68px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 32px);
}

.process-step{ border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 24px); }
.process-step:first-child{ border-left: none; padding-left: 0; }

.process-num{
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

.process-icon{
  width: 56px; height: 56px;
  margin: 16px 0 22px;
  border-radius: 50%;
  background: var(--cream-panel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-icon svg{ width: 22px; height: 22px; color: var(--navy); }

.process-step h3{
  font-size: 17px;
  font-weight: 600;
}

.process-step p{
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
}

/* ---------- Areas we serve ---------- */

.areas{ padding: 0 0 clamp(28px, 4vw, 40px); }

.areas-panel{
  background: var(--cream-panel);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 28px) clamp(24px, 3.4vw, 34px);
}

.areas-head{
  display: flex;
  align-items: center;
  gap: 8px;
}
.areas-head span{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
}
.areas-head a{
  color: var(--navy);
  font-size: 14px;
  display: inline-flex;
  transition: transform .15s ease;
}
.areas-head a:hover{ transform: translateX(3px); }

.city-list{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.city-list li{
  font-size: 15px;
  color: var(--navy-soft);
}
.city-list li.sep{ color: var(--gray); }

/* ---------- CTA band ---------- */

.cta-band{ padding: 0 0 clamp(56px, 8vw, 90px); }

.cta-inner{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: clamp(56px, 10vw, 96px) 24px;
  text-align: center;
}

.cta-inner svg.landscape{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content{ position: relative; z-index: 1; }

.cta-inner h2{
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 500;
}
.cta-inner p{
  margin-top: 10px;
  font-size: clamp(14.5px, 1.6vw, 16px);
  color: var(--navy-soft);
}
.cta-inner .btn{ margin-top: clamp(20px, 3vw, 28px); }

/* ---------- Footer ---------- */

footer.site-footer{
  padding: clamp(20px, 3vw, 30px) 0 clamp(32px, 5vw, 48px);
}

.footer-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
}

.footer-row p, .footer-row a{
  font-size: 12px;
  color: var(--gray);
}

.footer-row .footer-links{
  display: flex;
  gap: 18px;
}

.footer-row a:hover{ color: var(--navy); }

/* ---------- Legal / privacy page ---------- */

.legal{ padding: clamp(48px, 8vw, 80px) 0 clamp(60px, 9vw, 100px); }
.legal .container{ max-width: 760px; }

.legal h1{
  font-family: var(--wordmark);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: 0.01em;
}
.legal .updated{ margin-top: 10px; font-size: 13.5px; color: var(--gray); }

.legal h2{
  font-size: clamp(19px, 2.4vw, 23px);
  margin-top: clamp(34px, 5vw, 48px);
  margin-bottom: 12px;
  font-weight: 600;
}

.legal p, .legal li{
  font-size: 15.5px;
  color: var(--navy-soft);
  line-height: 1.7;
  max-width: 68ch;
}

.legal ul{ margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.legal ul li{ padding-left: 18px; position: relative; }
.legal ul li::before{
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--navy);
}
.legal p + p{ margin-top: 14px; }
.legal a.inline-link{ color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.back-link{
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: clamp(30px, 5vw, 48px); font-size: 14px; color: var(--gray);
}
.back-link:hover{ color: var(--navy); }

/* ---------- Responsive ---------- */

@media (max-width: 860px){
  .process-track{ grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process-step{ border-left: none; padding-left: 0; }
}

@media (max-width: 720px){
  .nav-links{ display: none; }
  .menu-toggle{ display: inline-flex; align-items:center; justify-content:center; }
}
@media (min-width: 721px){ .mobile-menu{ display: none !important; } }

@media (max-width: 480px){
  body{ font-size: 16px; }
  .process-track{ grid-template-columns: 1fr; }
  .areas-panel{ text-align: left; }
  .footer-row{ flex-direction: column; align-items: flex-start; }
}
