:root {
  --ink: #071a33;
  --ink-2: #0e2a4a;
  --saffron: #f57c00;
  --saffron-dark: #d96500;
  --saffron-soft: #fff3e4;
  --blue-soft: #eef5fb;
  --text: #172033;
  --muted: #657184;
  --line: #dfe6ee;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --success: #16784b;
  --danger: #b42318;
  --shadow-sm: 0 8px 22px rgba(7, 26, 51, 0.08);
  --shadow: 0 18px 48px rgba(7, 26, 51, 0.12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(245, 124, 0, 0.35);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.18;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 230, 238, 0.88);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(7, 26, 51, 0.08);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 172px;
}

.brand img {
  width: 172px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 9px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: var(--saffron-dark);
  background: var(--saffron-soft);
}

.nav-link.nav-cta {
  padding-inline: 18px;
  color: #fff;
  background: var(--saffron);
  box-shadow: 0 10px 24px rgba(245, 124, 0, 0.22);
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  color: #fff;
  background: var(--saffron-dark);
}

.nav-link.nav-admin {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  min-height: 36px;
  padding: 6px 12px;
}

.nav-link.nav-admin:hover {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: grid;
  align-items: center;
  background: linear-gradient(115deg, rgba(7, 26, 51, 0.97) 0%, rgba(7, 26, 51, 0.86) 52%, rgba(7, 26, 51, 0.55) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -150px;
  top: -120px;
  background: rgba(245, 124, 0, 0.2);
}

.hero::after {
  width: 300px;
  height: 300px;
  left: -140px;
  bottom: -160px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 84px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--saffron-dark);
  background: var(--saffron-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(245, 124, 0, 0.85);
}

.hero h1 {
  max-width: 770px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.045em;
}

.hero h1 span,
.section-title span,
.page-hero h1 span {
  color: var(--saffron);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) repeat(2, minmax(135px, 0.8fr)) auto;
  gap: 10px;
  max-width: 900px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #fff;
}

.search-panel .btn {
  min-height: 50px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-chip {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
}

.hero-chip:hover {
  border-color: var(--saffron);
  background: rgba(245, 124, 0, 0.24);
}

.section {
  padding: 82px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-white {
  background: #fff;
}

.section-ink {
  color: #fff;
  background: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-title {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.025em;
}

.section-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.section-link {
  flex: 0 0 auto;
  color: var(--saffron-dark);
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 156px;
  display: grid;
  place-items: center;
  padding: 22px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 124, 0, 0.45);
  box-shadow: var(--shadow);
}

.category-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 15px;
  color: var(--saffron-dark);
  background: var(--saffron-soft);
  font-size: 27px;
}

.category-card strong {
  display: block;
  color: var(--ink);
}

.category-card small {
  color: var(--muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.property-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.property-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--blue-soft);
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.property-card:hover .property-card-image img {
  transform: scale(1.045);
}

.badge-row {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge.featured {
  background: var(--saffron);
}

.badge.rent {
  background: #16784b;
}

.save-button {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(7, 26, 51, 0.15);
  font-size: 20px;
}

.save-button.is-saved {
  color: #c7202f;
}

.property-card-body {
  padding: 20px;
}

.property-card-location {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.property-card-title {
  margin-bottom: 10px;
  font-size: 19px;
}

.property-card-title a:hover {
  color: var(--saffron-dark);
}

.property-price {
  margin-bottom: 14px;
  color: var(--saffron-dark);
  font-size: 22px;
  font-weight: 850;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #485467;
  font-size: 13px;
  font-weight: 650;
}

.property-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 14px;
  color: #fff;
  background: var(--saffron);
  font-size: 24px;
}

.feature-card h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 30px;
  padding: 42px 48px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, var(--saffron), #ff9a22);
  box-shadow: 0 24px 55px rgba(245, 124, 0, 0.25);
}

.cta-band h2 {
  margin-bottom: 7px;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 42px);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--saffron);
}

.btn-primary:hover {
  background: var(--saffron-dark);
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.btn-dark:hover {
  background: #102e52;
}

.btn-light {
  color: var(--ink);
  background: #fff;
}

.btn-light:hover {
  background: #f8fafc;
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--saffron);
  color: var(--saffron-dark);
}

.btn-whatsapp {
  color: #fff;
  background: #25d366;
}

.btn-whatsapp:hover {
  background: #1ebc59;
}

.btn-sm {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 0.85rem;
}

.btn-danger {
  color: #fff;
  background: var(--danger);
}

.btn-danger:hover {
  background: #8f1c11;
}

.btn-lg {
  min-height: 52px;
  padding: 13px 22px;
}

.btn-block {
  width: 100%;
}

.page-hero {
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--ink-2));
}

.page-hero h1 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(36px, 5vw, 54px);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--saffron);
}

.listings-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.filter-panel h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.filter-grid {
  display: grid;
  gap: 15px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group label,
.field-label {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 9px;
  color: var(--text);
  background: #fff;
}

.form-group textarea {
  min-height: 125px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(245, 124, 0, 0.12);
  outline: none;
}

.form-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 650;
}

.filter-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 5px;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.results-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.results-toolbar select {
  min-width: 190px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.empty-state,
.not-found-state {
  grid-column: 1 / -1;
  padding: 54px 26px;
  border: 1px dashed #bcc8d6;
  border-radius: var(--radius);
  text-align: center;
  background: #fff;
}

.empty-state .state-icon,
.not-found-state .state-icon {
  margin-bottom: 14px;
  font-size: 48px;
}

.details-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.details-main,
.details-sidebar-card,
.content-card,
.form-card,
.summary-card,
.location-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.details-main {
  overflow: hidden;
}

.details-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  padding: 8px;
  background: #e8edf3;
}

.details-main-image {
  min-height: 460px;
}

.details-thumbs {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
}

.details-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.details-content {
  padding: 30px;
}

.details-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.details-heading h1 {
  margin-bottom: 7px;
  font-size: clamp(28px, 3.8vw, 42px);
}

.details-price {
  flex: 0 0 auto;
  color: var(--saffron-dark);
  font-size: 26px;
  font-weight: 850;
}

.details-location {
  color: var(--muted);
}

.details-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 30px;
}

.stat-box {
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  background: #f9fbfd;
}

.stat-box strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.stat-box small {
  color: var(--muted);
}

.details-section {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.details-section + .details-section {
  margin-top: 25px;
}

.details-section h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.amenity {
  padding: 11px 12px;
  border-radius: 9px;
  color: #344054;
  background: var(--blue-soft);
  font-size: 14px;
  font-weight: 700;
}

.details-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.details-sidebar-card {
  padding: 25px;
}

.details-sidebar-card h2 {
  font-size: 21px;
}

.details-sidebar-card p {
  color: var(--muted);
}

.action-stack {
  display: grid;
  gap: 10px;
}

.location-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(145deg, #eef5fb, #fff7ed);
}

.location-card::after {
  content: "⌖";
  position: absolute;
  right: 18px;
  bottom: -18px;
  color: rgba(245, 124, 0, 0.13);
  font-size: 120px;
  font-weight: 900;
}

.location-card h3,
.location-card p {
  position: relative;
  z-index: 2;
}

.location-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-shell {
  max-width: 920px;
  margin-inline: auto;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.stepper-item {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.stepper-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #cfd8e3;
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
}

.stepper-item.active,
.stepper-item.complete {
  color: var(--saffron-dark);
}

.stepper-item.active .stepper-dot,
.stepper-item.complete .stepper-dot {
  border-color: var(--saffron);
  color: #fff;
  background: var(--saffron);
}

.form-card {
  padding: 32px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  margin-bottom: 6px;
  font-size: 26px;
}

.form-step-intro {
  margin-bottom: 25px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.span-2 {
  grid-column: 1 / -1;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.check-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--saffron);
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.image-preview-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--blue-soft);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--saffron);
  border-radius: 8px;
  color: #633b00;
  background: var(--saffron-soft);
  font-size: 14px;
}

.summary-card {
  padding: 26px;
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.summary-item {
  padding: 12px;
  border-radius: 9px;
  background: var(--surface-2);
}

.summary-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

.summary-item span {
  color: var(--muted);
}

.contact-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--saffron-dark);
  background: var(--saffron-soft);
  font-size: 22px;
}

.contact-card h3 {
  margin-bottom: 2px;
  font-size: 16px;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-card a:hover {
  color: var(--saffron-dark);
}

.contact-image,
.about-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-image img,
.about-image img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
}

.about-copy h2 {
  font-size: clamp(30px, 4vw, 45px);
}

.about-copy p {
  color: #485467;
}

.value-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card,
.team-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.value-card .value-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 13px;
  color: var(--saffron-dark);
  background: var(--saffron-soft);
  font-size: 23px;
}

.value-card h3,
.team-card h3 {
  font-size: 18px;
}

.value-card p,
.team-card p {
  color: var(--muted);
  font-size: 14px;
}

.team-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--saffron));
  font-size: 22px;
  font-weight: 850;
}

.policy-card {
  max-width: 900px;
  margin-inline: auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.policy-card h2 {
  margin-top: 28px;
  font-size: 23px;
}

.policy-card ul {
  padding-left: 20px;
}

.policy-card p,
.policy-card li {
  color: #485467;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #041326;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 36px;
  padding: 62px 0 38px;
}

.footer-brand img {
  width: 190px;
  height: 54px;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 355px;
  font-size: 14px;
}

.footer-column h3 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--saffron);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: min(360px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 11px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

.text-muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

@media print {
  .site-header,
  .site-footer,
  .form-navigation,
  .print-hidden,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section {
    padding: 0;
  }

  .form-card,
  .summary-card {
    border: 0;
    box-shadow: none;
  }
}

.badge-row-details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

/* Firebase-backed media, authentication and upload states */
.hero {
  background-image: linear-gradient(115deg, rgba(7, 26, 51, 0.97) 0%, rgba(7, 26, 51, 0.86) 52%, rgba(7, 26, 51, 0.55) 100%), var(--site-image, linear-gradient(135deg, #071a33, #0e2a4a));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.brand-fallback {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.05;
}

.brand.has-image .brand-fallback,
.footer-brand.has-image .brand-fallback,
.footer-brand a.has-image .brand-fallback {
  display: none;
}

.footer-brand .brand-fallback {
  margin-bottom: 16px;
  color: #fff;
  font-size: 18px;
}

.nav-button {
  border: 0;
  background: transparent;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--saffron-dark);
  background: linear-gradient(135deg, var(--blue-soft), var(--saffron-soft));
  font-size: 54px;
}

.contact-image,
.about-image {
  min-height: 330px;
  background: linear-gradient(135deg, var(--blue-soft), var(--saffron-soft)) center / cover no-repeat;
}

.contact-image.has-image,
.about-image.has-image {
  background-image: var(--site-image);
}

.auth-section {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 70px 0;
  background: linear-gradient(135deg, rgba(7, 26, 51, .98), rgba(14, 42, 74, .94));
}

.auth-shell {
  width: min(100%, 980px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.auth-aside {
  padding: 54px 42px;
  color: #fff;
  background: linear-gradient(145deg, var(--saffron), #ff9a22);
}

.auth-aside h1,
.auth-aside h2 { color: #fff; }
.auth-aside p { color: rgba(255,255,255,.88); }
.auth-aside ul { padding-left: 20px; }

.auth-card {
  padding: 44px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 26px;
  padding: 5px;
  border-radius: 12px;
  background: var(--surface-2);
}

.auth-tab {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}
.auth-tab.active { color: #fff; background: var(--ink); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-form { display: grid; gap: 16px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-button { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 800; }
.google-button:hover { border-color: var(--saffron); }
.auth-status { min-height: 24px; margin-top: 16px; padding: 10px 12px; border-radius: 8px; color: var(--muted); background: var(--surface-2); }
.auth-status:empty { display: none; }
.auth-status.success { color: var(--success); background: #eaf8f1; }
.auth-status.error { color: var(--danger); background: #fff0ef; }
.auth-tools { display: flex; justify-content: flex-end; margin-top: -6px; }
.link-button { border: 0; padding: 0; color: var(--saffron-dark); background: transparent; font-weight: 800; }

.upload-status {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin-top: 18px;
  border-radius: 9px;
  color: var(--muted);
}
.upload-status.active,
.upload-status.success,
.upload-status.error { min-height: 46px; padding: 12px 14px; background: var(--surface-2); }
.upload-status.active::after { content: ""; position: absolute; left: 0; bottom: 0; width: var(--progress, 0%); height: 4px; background: var(--saffron); transition: width .2s ease; }
.upload-status.success { color: var(--success); background: #eaf8f1; }
.upload-status.error { color: var(--danger); background: #fff0ef; }
.notice-success { border-left-color: var(--success); color: #0b5c39; background: #eaf8f1; }

.setup-card {
  max-width: 780px;
  margin-inline: auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.setup-list { padding-left: 22px; color: #485467; }
.setup-progress { min-height: 30px; margin-top: 18px; color: var(--muted); font-weight: 700; }

@media (max-width: 800px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside, .auth-card { padding: 34px 26px; }
}

/* Firebase phone OTP authentication */
.auth-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-tab {
  padding-inline: 10px;
  font-size: 13px;
}

.phone-input-row {
  display: grid;
  grid-template-columns: minmax(145px, .7fr) minmax(0, 1.3fr);
  gap: 10px;
}

.form-help {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.recaptcha-container {
  min-height: 1px;
}

.phone-otp-form[hidden],
#phone-number-form[hidden] {
  display: none;
}

.phone-verification-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.phone-verification-heading strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
}

.phone-step-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.otp-input {
  letter-spacing: .55em;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
}

.phone-otp-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 24px;
  font-size: 13px;
}

.phone-consent-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--saffron);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  background: var(--saffron-soft);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .phone-input-row {
    grid-template-columns: 1fr;
  }

  .phone-otp-actions,
  .phone-verification-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .otp-input {
    letter-spacing: .35em;
  }
}
