/* ===========================================================
   RITI Hotels — boutique travel-concierge aesthetic
   Palette: sand / ink navy / terracotta / brass hairlines
   =========================================================== */

:root {
  --ink: #1A1A1A;
  --ink-soft: #5B6470;
  --sand: #F7F7F8;
  --sand-deep: #ECEDF0;
  --paper: #FFFFFF;
  --terracotta: #E4032E;
  --terracotta-deep: #B8021F;
  --brass: #8B8F94;
  --green: #2E7D4F;
  --line: rgba(20, 20, 20, 0.1);
  --shadow: 0 18px 40px -20px rgba(20, 20, 20, 0.25);
  --radius: 4px;
  --font-display: 'Fraunces', serif;
  --font-body: 'Sora', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.12; }
p { line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius); font-family: var(--font-body);
  font-weight: 600; font-size: 14.5px; letter-spacing: .02em; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(193,82,42,.55); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--sand); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,242,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.logo-text em { font-style: normal; font-weight: 400; color: var(--terracotta); margin-left: 3px; }
.logo-text.light { color: var(--sand); font-size: 22px; }
.logo-text.light em { color: var(--brass); }
.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.footer-logo-row .logo-img { width: 40px; height: 40px; }
.main-nav { display: flex; gap: 32px; margin-left: auto; margin-right: 24px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--terracotta); transition: width .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after, .main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 64px; background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%); color: #FFFFFF; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .15;
  background-image: radial-gradient(circle at 15% 25%, #ffffff 0, transparent 45%), radial-gradient(circle at 85% 75%, #ffffff 0, transparent 50%);
}
.hero-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.hero .eyebrow { display: inline-block; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 18px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 5.5vw, 58px); font-style: italic; font-weight: 500; }
.hero h1 strong { display: block; font-style: normal; font-weight: 600; }
.hero p.lead { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.85); }

/* ---------- Search card ---------- */
.search-card {
  position: relative; z-index: 2; background: var(--paper); border-radius: 10px; box-shadow: var(--shadow);
  padding: 26px; margin: 44px auto -78px; max-width: 980px; display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 18px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.field label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.field select, .field input {
  font-family: var(--font-body); font-size: 14.5px; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field select:focus, .field input:focus { outline: none; border-color: var(--terracotta); }
.search-card .btn { height: 44px; white-space: nowrap; }

/* ---------- Section shells ---------- */
.section { padding: 130px 0 76px; }
.section.tight { padding-top: 76px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.section-head .eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 8px; }
.section-head p { max-width: 440px; }

/* ---------- Hotel cards ---------- */
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hotel-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease; }
.hotel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hotel-card .thumb { position: relative; height: 190px; overflow: hidden; }
.hotel-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hotel-card:hover .thumb img { transform: scale(1.06); }
.hotel-card .badge { position: absolute; top: 12px; left: 12px; background: var(--terracotta); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 3px; }
.hotel-card .rating { position: absolute; top: 12px; right: 12px; background: rgba(27,36,48,.85); color: var(--sand); font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 3px; display: flex; align-items: center; gap: 4px; }
.hotel-card .body { padding: 20px; }
.hotel-card .loc { font-size: 12.5px; color: var(--brass); font-weight: 600; letter-spacing: .03em; margin-bottom: 6px; }
.hotel-card h3 { font-size: 19px; margin-bottom: 4px; }
.hotel-card .reviews { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 14px; display: block; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tag { font-size: 11.5px; background: var(--sand); color: var(--ink-soft); padding: 5px 10px; border-radius: 20px; font-weight: 500; }
.hotel-card .footer-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--line); }
.price-from { font-size: 11.5px; color: var(--ink-soft); }
.price-from strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); display: block; }

/* ---------- Room cards ---------- */
.room-card { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
.room-card .thumb { position: relative; min-height: 230px; }
.room-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.room-card .thumb .save { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 3px; }
.room-card .content { padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.room-card h3 { font-size: 21px; }
.room-card .meta { font-size: 12.5px; color: var(--brass); font-weight: 600; }
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; margin: 6px 0 4px; }
.amenity-grid span { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.amenity-grid span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); flex-shrink: 0; }
.room-card .price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--line); flex-wrap: wrap; gap: 14px; }
.price-block .mrp { text-decoration: line-through; color: #A19A8C; font-size: 13px; }
.price-block .now { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.price-block .now span { font-size: 13px; font-weight: 400; color: var(--ink-soft); font-family: var(--font-body); }
.price-block .save-note { font-size: 12px; color: var(--green); font-weight: 600; }

/* ---------- Hotel header on room page ---------- */
.hotel-banner { background: var(--ink); color: var(--sand); padding: 48px 0 36px; }
.hotel-banner .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.hotel-banner .left { display: flex; gap: 18px; align-items: center; }
.hotel-banner .thumb-sm { width: 74px; height: 74px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.hotel-banner .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.hotel-banner h1 { font-size: 26px; }
.hotel-banner .sub { color: rgba(244,238,227,.7); font-size: 13.5px; margin-top: 4px; }
.stars { color: var(--brass); font-weight: 700; }

/* ---------- Info / trust strip ---------- */
.trust-strip { background: var(--sand-deep); padding: 46px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.trust-grid .num { font-family: var(--font-display); font-size: 32px; color: var(--terracotta); }
.trust-grid .lbl { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--terracotta); color: #fff; padding: 30px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-inner h3 { font-size: 20px; font-weight: 500; font-style: italic; }
.cta-inner .btn-outline { border-color: #fff; color: #fff; }
.cta-inner .btn-outline:hover { background: #fff; color: var(--terracotta); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(244,238,227,.72); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 44px; border-bottom: 1px solid rgba(244,238,227,.12); }
.footer-brand p { color: rgba(244,238,227,.6); font-size: 13.5px; margin-top: 14px; max-width: 300px; }
.footer-col h4 { color: var(--sand); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-col a:hover { color: var(--brass); }
.footer-bottom { padding: 20px 28px; font-size: 12.5px; text-align: center; color: rgba(244,238,227,.45); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); z-index: 60; animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 12px 28px -8px rgba(37,211,102,.6);} 50% { box-shadow: 0 12px 28px -4px rgba(37,211,102,.9);} }

/* ---------- Forms (contact / booking) ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brass); display: block; margin-bottom: 7px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-body); font-size: 14.5px; background: var(--paper); }
.form-grid textarea { resize: vertical; min-height: 100px; }

/* ---------- Page banner (about/contact) ---------- */
.page-banner { background: var(--ink); color: var(--sand); padding: 64px 0 46px; text-align: center; }
.page-banner .eyebrow { color: var(--brass); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.page-banner h1 { font-size: clamp(30px,4.4vw,44px); margin-top: 10px; font-style: italic; }

/* ---------- Misc ---------- */
.divider-orn { display: flex; align-items: center; gap: 12px; margin: 8px 0 36px; color: var(--brass); }
.divider-orn::before, .divider-orn::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .search-card { grid-template-columns: 1fr 1fr; margin-bottom: -40px; }
  .hotel-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .room-card { grid-template-columns: 1fr; }
  .room-card .thumb { min-height: 190px; }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; top: 70px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 20px 28px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .25s ease; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hotel-grid { grid-template-columns: 1fr; }
  .search-card { grid-template-columns: 1fr; margin-top: 24px; margin-bottom: 30px; padding: 20px; }
  .section { padding-top: 60px; }
  .hero { padding-bottom: 40px; }
}
