@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&display=swap');

/* =========================================================
   RAWN BUSINESS SOLUTIONS — GLOBAL STYLE SHEET
   Covers:
   home, about, testimonials, gallery, blogs, contact, login,
   dynamic CMS pages and standard vanilla admin pages.
========================================================= */

:root {
  --rawn-red: #FF2B2B;
  --rawn-red-dark: #C62828;
  --rawn-red-soft: rgba(255, 43, 43, 0.14);

  --rawn-gold: #FFD700;
  --rawn-gold-dark: #D4AF37;
  --rawn-gold-muted: #B8972E;
  --rawn-gold-soft: rgba(212, 175, 55, 0.14);

  --rawn-black: #0A0A0A;
  --rawn-black-2: #111111;
  --rawn-black-3: #171717;

  --rawn-white: #F8FAFC;
  --rawn-text: #F5F5F5;
  --rawn-muted: #D0D0D0;
  --rawn-soft-muted: #A7A7A7;

  --rawn-border: rgba(212, 175, 55, 0.35);
  --rawn-border-soft: rgba(255, 255, 255, 0.10);

  --rawn-shadow-red: 0 0 28px rgba(255, 43, 43, 0.24);
  --rawn-shadow-gold: 0 0 28px rgba(212, 175, 55, 0.20);
  --rawn-card-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);

  --rawn-radius-sm: 10px;
  --rawn-radius-md: 16px;
  --rawn-radius-lg: 24px;
  --rawn-radius-xl: 34px;

  --rawn-max: 1180px;
  --rawn-readable: 820px;

  --font-body: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* =========================================================
   RESET + BASE
========================================================= */

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

html {
  min-height: 100%;
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(255, 43, 43, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.13), transparent 32%),
    linear-gradient(180deg, #080808 0%, #0A0A0A 45%, #111111 100%);
  color: var(--rawn-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--rawn-gold);
  color: #000000;
}

/* =========================================================
   STICKY FOOTER SYSTEM
========================================================= */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  width: 100%;
}

/* =========================================================
   GLOBAL TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--rawn-red);
  text-shadow: 0 0 22px rgba(255, 43, 43, 0.30);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--rawn-gold);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  color: var(--rawn-white);
}

h4 {
  font-size: 1.2rem;
  color: var(--rawn-gold);
}

p,
li {
  color: var(--rawn-muted);
  font-size: 1rem;
  line-height: 1.78;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

p {
  margin-bottom: 1.1rem;
}

ul,
ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

a {
  color: var(--rawn-gold);
  text-decoration: none;
  transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

a:hover {
  color: var(--rawn-red);
}

strong {
  color: var(--rawn-white);
}

/* =========================================================
   SHARED LAYOUT
========================================================= */

.container,
.section-inner {
  width: min(var(--rawn-max), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.container {
  padding: 44px 0;
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
}

.section-inner {
  position: relative;
}

.section .lead,
.hero-section .lead,
.page-content > p,
.section-inner > p {
  max-width: var(--rawn-readable);
  margin-left: auto;
  margin-right: auto;
}

.muted-section {
  background:
    linear-gradient(135deg, rgba(255, 43, 43, 0.08), transparent 35%),
    linear-gradient(225deg, rgba(212, 175, 55, 0.09), transparent 35%),
    rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--rawn-border-soft);
  border-bottom: 1px solid var(--rawn-border-soft);
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 1rem;
  padding: 8px 14px;
  border: 1px solid var(--rawn-border);
  border-radius: 999px;
  color: var(--rawn-gold);
  background: var(--rawn-gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--rawn-shadow-gold);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--rawn-muted);
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar,
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rawn-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

.navbar,
.site-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(var(--rawn-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

.nav-logo,
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rawn-white);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo:hover img,
.site-logo:hover {
  transform: translateY(-1px);
}

.nav-links,
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 4px;
  color: var(--rawn-white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rawn-red), var(--rawn-gold));
  transition: width 0.24s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-link:hover,
.nav-link.active {
  color: var(--rawn-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-admin,
.admin-link {
  padding: 10px 16px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rawn-gold), var(--rawn-gold-dark));
  color: #050505 !important;
  box-shadow: var(--rawn-shadow-gold);
}

.nav-admin:hover,
.admin-link:hover {
  color: #050505 !important;
  transform: translateY(-2px);
}

.nav-admin::after,
.admin-link::after {
  display: none;
}

.menu-toggle,
.nav-toggle {
  display: none;
  border: 1px solid var(--rawn-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--rawn-gold);
  padding: 8px 12px;
  font-size: 1.35rem;
  line-height: 1;
}

/* =========================================================
   DYNAMIC CMS PAGE WRAPPER
========================================================= */

.page-wrapper {
  width: 100%;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--rawn-border);
  border-radius: var(--rawn-radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 43, 43, 0.08), transparent 30%),
    linear-gradient(225deg, rgba(212, 175, 55, 0.10), transparent 30%),
    rgba(20, 20, 20, 0.78);
  box-shadow: var(--rawn-card-shadow);
}

.page-title {
  margin-bottom: 28px;
}

.page-content {
  font-size: 1rem;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  margin: 0 auto 1rem;
}

.page-content p,
.page-content li {
  max-width: var(--rawn-readable);
  margin-left: auto;
  margin-right: auto;
}

.page-content section:first-child {
  padding-top: 0;
}

.page-content section:last-child {
  padding-bottom: 0;
}

/* =========================================================
   HOME PAGE
========================================================= */

.hero-section {
  position: relative;
  padding: clamp(70px, 10vw, 130px) 0;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 34px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.hero-inner h1 {
  margin-bottom: 1.2rem;
}

.hero-inner .lead {
  text-align: center;
  max-width: 850px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-card-row,
.feature-grid,
.service-grid,
.value-grid {
  width: min(1100px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.service-card,
.value-card,
.info-card {
  padding: 24px;
  border: 1px solid var(--rawn-border-soft);
  border-radius: var(--rawn-radius-lg);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.feature-card h3,
.service-card h3,
.value-card h3,
.info-card h3 {
  margin-bottom: 10px;
  color: var(--rawn-gold);
}

.feature-card p,
.service-card p,
.value-card p,
.info-card p {
  margin-bottom: 0;
}

/* =========================================================
   BUTTONS / CTA
========================================================= */

.btn,
.cta-button,
.login-button,
.admin-button,
.blog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rawn-red), var(--rawn-red-dark));
  color: var(--rawn-white);
  font-weight: 900;
  text-align: center;
  box-shadow: var(--rawn-shadow-red);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn:hover,
.cta-button:hover,
.login-button:hover,
.admin-button:hover,
.blog-link:hover {
  color: var(--rawn-white);
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn.secondary,
.cta-button.secondary {
  background: linear-gradient(135deg, var(--rawn-gold), var(--rawn-gold-dark));
  color: #050505;
  box-shadow: var(--rawn-shadow-gold);
}

.btn.secondary:hover,
.cta-button.secondary:hover {
  color: #050505;
}

/* =========================================================
   ABOUT PAGE
========================================================= */

.about-section .section-inner,
.identity-section .section-inner,
.methodology-section .section-inner {
  max-width: var(--rawn-max);
}

.method-list,
.process-list {
  width: min(900px, 100%);
  margin: 32px auto 0;
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.method-list li,
.process-list li {
  padding: 18px 20px;
  border-left: 4px solid var(--rawn-gold);
  border-radius: var(--rawn-radius-md);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
}

/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonial-grid {
  width: min(1100px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.testimonial-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--rawn-border-soft);
  border-radius: var(--rawn-radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 43, 43, 0.08), transparent),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--rawn-card-shadow);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: 18px;
  color: rgba(212, 175, 55, 0.36);
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
}

.testimonial-quote {
  position: relative;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card h3 {
  margin-bottom: 4px;
  color: var(--rawn-gold);
}

.testimonial-role {
  margin-bottom: 0;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rawn-soft-muted);
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
  width: min(1120px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--rawn-border-soft);
  border-radius: var(--rawn-radius-lg);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--rawn-card-shadow);
}

.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-placeholder {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(255, 43, 43, 0.16), rgba(255, 255, 255, 0.04));
  color: var(--rawn-gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card h3 {
  padding: 18px 18px 8px;
  color: var(--rawn-gold);
}

.gallery-card p {
  padding: 0 18px 22px;
  margin-bottom: 0;
}

/* =========================================================
   BLOGS
========================================================= */

.blog-grid {
  width: min(1120px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--rawn-border-soft);
  border-radius: var(--rawn-radius-lg);
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--rawn-card-shadow);
}

.blog-category {
  width: fit-content;
  margin: 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--rawn-red-soft);
  color: var(--rawn-red);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.blog-card h3 {
  color: var(--rawn-gold);
}

.blog-card p {
  margin-bottom: 0;
}

.blog-link {
  margin-top: auto;
  width: 100%;
  min-height: 44px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section .section-inner {
  max-width: var(--rawn-max);
}

.contact-card {
  width: min(820px, 100%);
  margin: 34px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--rawn-border);
  border-radius: var(--rawn-radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 43, 43, 0.08), transparent 40%),
    linear-gradient(225deg, rgba(212, 175, 55, 0.10), transparent 42%),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--rawn-card-shadow);
}

.contact-card h3 {
  margin: 22px 0 8px;
  color: var(--rawn-gold);
  text-align: left;
}

.contact-card h3:first-child {
  margin-top: 0;
}

.contact-card p {
  max-width: 100%;
  margin-bottom: 12px;
}

.contact-card a {
  font-weight: 900;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 16px;
  border-radius: var(--rawn-radius-md);
  background: rgba(255, 255, 255, 0.045);
}

/* =========================================================
   LOGIN PAGE
========================================================= */

.login-section {
  min-height: calc(100vh - 156px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
}

.login-card {
  width: min(460px, 100%);
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--rawn-border);
  border-radius: var(--rawn-radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 43, 43, 0.10), transparent 35%),
    linear-gradient(225deg, rgba(212, 175, 55, 0.12), transparent 36%),
    rgba(15, 15, 15, 0.94);
  box-shadow: var(--rawn-card-shadow), var(--rawn-shadow-gold);
}

.login-title {
  margin-bottom: 10px;
  color: var(--rawn-gold);
}

.login-subtitle {
  max-width: 360px;
  margin: 0 auto 26px;
  text-align: center;
  color: var(--rawn-muted);
}

.login-error,
.form-error,
.alert-error {
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 43, 43, 0.45);
  border-radius: var(--rawn-radius-md);
  background: rgba(255, 43, 43, 0.13);
  color: #FFD3D3;
  font-weight: 800;
  text-align: center;
}

.login-success,
.form-success,
.alert-success {
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--rawn-radius-md);
  background: rgba(212, 175, 55, 0.13);
  color: var(--rawn-gold);
  font-weight: 800;
  text-align: center;
}

.login-form,
.admin-form,
.form {
  display: grid;
  gap: 18px;
}

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

.form-group label,
.admin-form label,
.form label {
  color: var(--rawn-white);
  font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select,
.admin-form input,
.admin-form textarea,
.admin-form select,
.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--rawn-border-soft);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--rawn-white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group textarea,
.admin-form textarea,
.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--rawn-gold);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  padding-right: 82px;
}

.password-toggle {
  position: absolute;
  right: 7px;
  min-height: 36px;
  padding: 7px 11px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rawn-gold), var(--rawn-gold-dark));
  color: #050505;
  font-weight: 900;
}

/* =========================================================
   ADMIN VANILLA PAGES
========================================================= */

.admin-layout {
  width: min(var(--rawn-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-title {
  margin: 0;
  color: var(--rawn-gold);
  text-align: left;
}

.admin-subtitle {
  max-width: 760px;
  margin: 8px 0 0;
  text-align: left;
}

.admin-panel,
.admin-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--rawn-border);
  border-radius: var(--rawn-radius-xl);
  background: rgba(255, 255, 255, 0.052);
  box-shadow: var(--rawn-card-shadow);
}

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

.admin-stat {
  padding: 22px;
  border: 1px solid var(--rawn-border-soft);
  border-radius: var(--rawn-radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.admin-stat strong {
  display: block;
  color: var(--rawn-gold);
  font-size: 1.8rem;
  line-height: 1.2;
}

.admin-stat span {
  color: var(--rawn-muted);
  font-weight: 700;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rawn-border-soft);
  border-radius: var(--rawn-radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rawn-border-soft);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--rawn-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.08);
}

.admin-table td {
  color: var(--rawn-muted);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions a,
.admin-actions button,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--rawn-border-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--rawn-white);
  font-weight: 800;
}

.admin-actions a:hover,
.admin-actions button:hover,
.action-link:hover {
  color: var(--rawn-gold);
  border-color: var(--rawn-gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badge.active,
.badge-success {
  background: rgba(212, 175, 55, 0.16);
  color: var(--rawn-gold);
  border: 1px solid rgba(212, 175, 55, 0.38);
}

.badge.inactive,
.badge-danger {
  background: rgba(255, 43, 43, 0.13);
  color: #ffb6b6;
  border: 1px solid rgba(255, 43, 43, 0.38);
}

/* =========================================================
   SIMPLE UTILITY CLASSES
========================================================= */

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

.text-left {
  text-align: left !important;
}

.mt-1 {
  margin-top: 8px !important;
}

.mt-2 {
  margin-top: 16px !important;
}

.mt-3 {
  margin-top: 24px !important;
}

.mt-4 {
  margin-top: 32px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.max-readable {
  max-width: var(--rawn-readable);
  margin-left: auto;
  margin-right: auto;
}

.glass {
  border: 1px solid var(--rawn-border-soft);
  border-radius: var(--rawn-radius-lg);
  background: rgba(255, 255, 255, 0.052);
  box-shadow: var(--rawn-card-shadow);
}

/* =========================================================
   FOOTER
========================================================= */

footer,
.site-footer {
  margin-top: auto;
  padding: 28px 16px;
  border-top: 1px solid var(--rawn-border);
  background: rgba(8, 8, 8, 0.96);
  text-align: center;
}

footer p,
.site-footer p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--rawn-soft-muted);
  font-size: 0.88rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .hero-card-row,
  .feature-grid,
  .service-grid,
  .value-grid,
  .testimonial-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  html {
    font-size: 17px;
  }

  .navbar,
  .site-nav {
    position: relative;
    min-height: 70px;
  }

  .menu-toggle,
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links,
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--rawn-border);
    border-radius: 0 0 22px 22px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--rawn-card-shadow);
  }

  .nav-links.open,
  .nav-menu.open,
  .nav-menu.nav-menu-open {
    display: flex;
  }

  .nav-links a,
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
  }

  .nav-links a::after,
  .nav-link::after {
    display: none;
  }

  .nav-admin,
  .admin-link {
    justify-content: center !important;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  .container {
    padding: 28px 0;
  }

  .page-wrapper {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .section {
    padding: 46px 0;
  }

  .hero-section {
    padding: 58px 0;
  }

  .hero-section::before {
    inset: 10px;
    border-radius: 22px;
  }

  .hero-card-row,
  .feature-grid,
  .service-grid,
  .value-grid,
  .testimonial-grid,
  .gallery-grid,
  .blog-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .login-section {
    padding: 34px 16px;
  }

  .login-card {
    border-radius: 22px;
  }

  .admin-layout {
    padding: 28px 0;
  }

  p,
  li {
    text-align: justify;
  }
}

/* =========================================================
   PRINT
========================================================= */

@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  .navbar,
  .site-header,
  .nav-links,
  .nav-menu,
  .menu-toggle,
  .nav-toggle,
  footer,
  .site-footer,
  .admin-actions {
    display: none !important;
  }

  .page-wrapper,
  .admin-panel,
  .admin-card {
    box-shadow: none;
    border: 1px solid #cccccc;
    background: #ffffff;
  }

  h1,
  h2,
  h3,
  p,
  li,
  td,
  th {
    color: #000000 !important;
  }
}

/* =========================================================
   ADMIN NAV EXTENSIONS
========================================================= */

.admin-site-header {
    border-bottom-color: var(--rawn-border);
}

.admin-site-nav {
    min-height: 82px;
}

.admin-logo-link {
    gap: 12px;
}

.admin-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.24));
}

.admin-logo-text {
    color: var(--rawn-gold);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.admin-nav-links {
    gap: 14px;
}

.admin-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border: 1px solid var(--rawn-border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
}

.admin-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rawn-gold), var(--rawn-gold-dark));
    color: #050505;
    font-weight: 900;
}

.admin-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.admin-user-meta strong {
    color: var(--rawn-white);
    font-size: 0.82rem;
}

.admin-user-meta small {
    color: var(--rawn-gold);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .admin-user-pill {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
        padding: 12px 14px;
    }

    .admin-logo-img {
        width: 46px;
        height: 46px;
    }

    .admin-logo-text {
        font-size: 0.9rem;
    }
}

/* =========================================================
   ADMIN CHECKBOX ROW
========================================================= */

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--rawn-border-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
}

.checkbox-row input {
    width: 20px;
    height: 20px;
    min-height: auto;
}

.checkbox-row span {
    color: var(--rawn-muted);
    font-weight: 800;
}

/* =========================================================
   ADMIN CHECKBOX + CODE TEXTAREA
========================================================= */

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--rawn-border-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
}

.checkbox-row input {
    width: 20px;
    height: 20px;
    min-height: auto;
}

.checkbox-row span {
    color: var(--rawn-muted);
    font-weight: 800;
}

.textarea-code {
    width: 100%;
    min-height: 260px;
    padding: 18px;
    border: 1px solid var(--rawn-border-soft);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--rawn-gold);
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
}

/* =========================================================
   ADMIN MEDIA MANAGER
========================================================= */

.media-upload-form {
    padding: 18px;
    border: 1px solid var(--rawn-border-soft);
    border-radius: var(--rawn-radius-lg);
    background: rgba(255, 255, 255, 0.04);
}

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

.media-card {
    overflow: hidden;
    border: 1px solid var(--rawn-border-soft);
    border-radius: var(--rawn-radius-lg);
    background: rgba(255, 255, 255, 0.052);
    box-shadow: var(--rawn-card-shadow);
}

.media-preview {
    width: 100%;
    min-height: 220px;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-preview img,
.media-preview video {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.media-file-icon {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rawn-gold), var(--rawn-gold-dark));
    color: #050505;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.media-card-body {
    padding: 18px;
}

.media-card-body h3 {
    margin-bottom: 8px;
    color: var(--rawn-gold);
    font-size: 1rem;
    text-align: left;
    word-break: break-word;
}

.media-card-body p {
    margin-bottom: 14px;
    font-size: 0.86rem;
}

.inline-delete-form {
    display: inline-flex;
}

.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 43, 43, 0.45);
    border-radius: 10px;
    background: rgba(255, 43, 43, 0.13);
    color: #ffb6b6;
    font-weight: 900;
    cursor: pointer;
}

.danger-button:hover {
    background: rgba(255, 43, 43, 0.22);
}

@media (max-width: 1100px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .media-preview,
    .media-preview img,
    .media-preview video {
        height: 190px;
        min-height: 190px;
    }
}