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

  :root {
    --navy: #1A5C96;
    --navy-mid: #236aad;
    --navy-light: #4a90c4;
    --gold: #2563EB;
    --gold-light: #3B82F6;
    --gold-pale: #EFF6FF;
    --white: #FFFFFF;
    --off-white: #F3F4F6;
    --text: #0D1F3C;
    --text-muted: #4A6080;
    --border: rgba(26, 92, 150, 0.18);
    --ff-display: 'Cormorant Garamond', Georgia, serif;
    --ff-body: 'DM Sans', sans-serif;
    --radius: 4px;
    --radius-lg: 12px;
    --shadow: 0 4px 32px rgba(11,42,82,0.08);
    --shadow-lg: 0 8px 56px rgba(11,42,82,0.14);
  }

  html { scroll-behavior: smooth; }
  body { font-family: var(--ff-body); color: var(--text); background: var(--off-white); font-size: 16px; line-height: 1.7; min-height: 100vh; }

  /* ─── NAVBAR ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
  }
  .nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .nav-logo { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: var(--text); flex-shrink: 0; }
  .nav-title { font-family: var(--ff-display); font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; line-height: 1.1; }
  .nav-title span { color: var(--white); }
  .nav-med { display: block; font-size: 9px; font-family: var(--ff-body); font-weight: 600; letter-spacing: 2px; color: rgba(255,255,255,0.5); text-transform: uppercase; }
  .nav-links { display: flex; align-items: center; gap: 24px; }
  .nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; white-space: nowrap; }
  .nav-links a:hover { color: var(--gold); }
  .nav-dropdown { position: relative; }
  .nav-dropdown > a { display: flex; align-items: center; gap: 5px; cursor: pointer; }
  .nav-dropdown > a::after { content: '▾'; font-size: 11px; opacity: 0.7; transition: transform 0.2s; }
  .nav-dropdown.open > a::after { transform: rotate(180deg); }
  .dropdown-menu { display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); background: #fff; border-radius: 10px; min-width: 210px; box-shadow: 0 8px 32px rgba(10,22,40,0.18); border: 1px solid rgba(10,22,40,0.08); overflow: hidden; z-index: 9999; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 13px 18px; color: var(--text) !important; font-size: 13.5px; font-weight: 500; text-decoration: none; transition: background 0.15s; border-bottom: 1px solid rgba(10,22,40,0.06); }
  .dropdown-menu a:last-child { border-bottom: none; }
  .dropdown-menu a:hover { background: var(--gold-pale); }
  .dropdown-menu .dm-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
  .dropdown-menu .dm-label { line-height: 1.3; }
  .dropdown-menu .dm-label small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; margin-top: 1px; }
  .nav-right { display: flex; align-items: center; gap: 12px; }
  .nav-emergency { display: flex; align-items: center; gap: 6px; color: #FF6B6B; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
  .emergency-dot { width: 7px; height: 7px; background: #FF6B6B; border-radius: 50%; animation: pulse 1.4s infinite; flex-shrink: 0; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
  .nav-cta { background: var(--gold); color: #fff; padding: 9px 20px; border-radius: var(--radius); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
  .nav-cta:hover { background: var(--gold-light); }
  .nav-admin-btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.2); padding: 8px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 500; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
  .nav-admin-btn:hover { background: rgba(255,255,255,0.14); color: var(--white); }
  .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
  .hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.75); border-radius: 2px; }
  .mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy); padding: 20px 5%; z-index: 999; border-bottom: 1px solid var(--border); flex-direction: column; gap: 16px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 16px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* ─── PAGE HERO ─── */
  .page-hero {
    padding: 110px 5% 60px;
    background: linear-gradient(135deg, #1A5C96 0%, #236aad 60%, #1A5C96 100%);
    position: relative; overflow: hidden; text-align: center;
  }
  .page-hero::before { content: ''; position: absolute; top: -80px; right: -60px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); }
  .page-hero::after { content: ''; position: absolute; bottom: -80px; left: -60px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 175, 125,0.07) 0%, transparent 70%); }
  .page-hero-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
  .page-hero-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: rgba(255,255,255,0.85); text-transform: uppercase; margin-bottom: 14px; }
  .page-hero h1 { font-family: var(--ff-display); font-size: clamp(36px, 5vw, 58px); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 16px; }
  .page-hero h1 em { color: #ffffff; font-style: normal; }
  .page-hero p { color: rgba(255,255,255,0.65); font-size: 16px; line-height: 1.8; }

  /* ─── TRUST STRIP ─── */
  .trust-strip { background: var(--gold); padding: 14px 5%; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
  .trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }

  /* ─── MAIN LAYOUT ─── */
  .review-page { max-width: 1060px; margin: 0 auto; padding: 60px 5% 80px; display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }

  /* ─── FORM CARD ─── */
  .form-card { background: #fff; border-radius: 16px; padding: 44px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
  .form-card h2 { font-family: var(--ff-display); font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
  .form-card .form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
  .form-divider { height: 1px; background: var(--border); margin: 28px 0; }

  .form-group { margin-bottom: 22px; }
  .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
  .form-group label .req { color: #C0392B; margin-left: 2px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid #D0DDF0; border-radius: var(--radius-lg);
    font-family: var(--ff-body); font-size: 14.5px; color: var(--text);
    background: #F8FAFF; transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--text); background: #fff; box-shadow: 0 0 0 3px rgba(11,42,82,0.07); }
  .form-group textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Star rating */
  .star-row { display: flex; align-items: center; gap: 4px; }
  .star-row span {
    font-size: 36px; cursor: pointer; color: #D0DDF0;
    transition: color 0.15s, transform 0.1s;
    line-height: 1; user-select: none;
  }
  .star-row span.active { color: var(--gold); }
  .star-row span:hover { transform: scale(1.15); }
  .rating-label { margin-left: 12px; font-size: 13px; font-weight: 600; color: var(--text-muted); min-width: 80px; }

  /* Character counter */
  .char-counter { text-align: right; font-size: 12px; color: var(--text-muted); margin-top: 5px; }

  /* Submit btn */
  .btn-submit {
    width: 100%; padding: 15px; background: var(--navy); color: #fff;
    border: none; border-radius: var(--radius-lg); font-family: var(--ff-body);
    font-size: 16px; font-weight: 600; cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 8px;
  }
  .btn-submit:hover { background: var(--navy-mid); transform: translateY(-1px); }
  .btn-submit:active { transform: translateY(0); }

  /* Success state */
  .success-state { display: none; text-align: center; padding: 32px 0; }
  .success-icon { font-size: 64px; margin-bottom: 18px; animation: popIn 0.4s ease; }
  @keyframes popIn { 0%{transform:scale(0.5);opacity:0} 80%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }
  .success-state h3 { font-family: var(--ff-display); font-size: 30px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
  .success-state p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
  .btn-back { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #fff; padding: 12px 28px; border-radius: var(--radius-lg); font-weight: 700; font-size: 14px; text-decoration: none; transition: background 0.2s; }
  .btn-back:hover { background: var(--gold-light); }

  /* ─── SIDEBAR ─── */
  .sidebar { display: flex; flex-direction: column; gap: 24px; }

  .info-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); }
  .info-card h4 { font-family: var(--ff-display); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 16px; }

  .rating-breakdown { display: flex; flex-direction: column; gap: 10px; }
  .rating-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
  .rating-row .stars-label { width: 20px; font-weight: 600; color: var(--text); text-align: right; flex-shrink: 0; }
  .rating-bar-wrap { flex: 1; height: 8px; background: #EEF2FB; border-radius: 100px; overflow: hidden; }
  .rating-bar-fill { height: 100%; background: var(--gold); border-radius: 100px; }
  .rating-row .pct { width: 32px; font-size: 12px; color: var(--text-muted); text-align: right; flex-shrink: 0; }

  .overall-score { text-align: center; padding: 20px 0 10px; }
  .big-score { font-family: var(--ff-display); font-size: 64px; font-weight: 700; color: var(--text); line-height: 1; }
  .big-stars { color: var(--gold); font-size: 22px; letter-spacing: 2px; margin: 6px 0; }
  .big-label { font-size: 12px; color: var(--text-muted); }

  .tip-list { display: flex; flex-direction: column; gap: 12px; }
  .tip-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
  .tip-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

  .privacy-note { background: var(--gold-pale); border-radius: var(--radius-lg); padding: 18px 20px; border: 1px solid rgba(37, 99, 235, 0.25); font-size: 13px; color: #6B4E14; line-height: 1.6; }
  .privacy-note strong { display: block; margin-bottom: 4px; color: #5A3E0D; }

  /* ─── FOOTER ─── */
  footer { background: var(--navy); padding: 36px 5%; }
  .footer-inner { max-width: 1060px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .footer-logo-row { display: flex; align-items: center; gap: 12px; }
  .footer-logo-circle { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 14px; font-weight: 700; color: var(--text); }
  .footer-brand-name { font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: #fff; }
  .footer-brand-name span { color: var(--gold); }
  .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
  .footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
  .footer-links a:hover { color: var(--gold); }
  .footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 860px) {
    .review-page { grid-template-columns: 1fr; }
    .sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 640px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .form-card { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .trust-strip { gap: 20px; }
    .form-group input, .form-group select, .form-group textarea { font-size: 16px; } /* prevent iOS zoom */
  }
