/* ===========================================
   R&R Drywall - Modern Industrial Theme
   =========================================== */

:root {
  /* Core Colors */
  --bg-deep: #0d0d0d;
  --bg-dark: #1a1a1a;
  --bg-mid: #2a2a2a;
  --bg-light: #3a3a3a;

  /* Accent - Warm Amber/Construction */
  --accent: #d4a84b;
  --accent-light: #e8c77a;
  --accent-dark: #b8912f;

  /* Text */
  --text-white: #ffffff;
  --text-light: #e5e5e5;
  --text-muted: #888888;
  --text-dark: #1a1a1a;

  /* Borders & Lines */
  --border: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(212, 168, 75, 0.3);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;

  /* Spacing */
  --container: 1200px;
  --section-pad: clamp(60px, 10vw, 120px);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Pattern */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    linear-gradient(var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===========================================
   Header
   =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, transparent 100%);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  letter-spacing: 2px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-white);
  letter-spacing: 4px;
}

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

.nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-white);
}

.nav-cta {
  padding: 12px 24px !important;
  background: var(--accent) !important;
  color: var(--text-dark) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: all 0.3s ease;
}

.mobile-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================
   Hero Section
   =========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  opacity: 0.05;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 60%;
  height: 80%;
  background-image:
    linear-gradient(var(--border-accent) 2px, transparent 2px),
    linear-gradient(90deg, var(--border-accent) 2px, transparent 2px);
  background-size: 80px 80px;
  opacity: 0.3;
  transform: perspective(500px) rotateY(-15deg);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--border);
  border: 1px solid var(--border-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 12vw, 120px);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  color: var(--text-white);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-line.accent {
  color: var(--accent);
  -webkit-text-stroke: 2px var(--accent);
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease 0.5s forwards;
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 168, 75, 0.3);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.6s ease 0.6s forwards;
  opacity: 0;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  letter-spacing: 2px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===========================================
   Image Break Section (After Hero)
   =========================================== */
.image-break {
  padding: 0 0 var(--section-pad);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.image-break.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-break__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.image-break__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.image-break__frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 4px solid var(--accent);
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.image-break__frame:hover::before {
  opacity: 1;
  transform: scale(1);
}

.image-break__frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.image-break__frame:hover img {
  transform: scale(1.03);
}

.image-break__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.image-break__tag {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-white);
  letter-spacing: 2px;
}

.image-break__accent {
  position: absolute;
  bottom: -20px;
  right: 40px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--border-accent);
  z-index: -1;
}

/* ===========================================
   Section Styles
   =========================================== */
.section-header {
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  color: var(--text-white);
  letter-spacing: 2px;
}

/* ===========================================
   Services Section
   =========================================== */
.services {
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Services Layout - New 2x2 with image break */
.services-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover .service-line {
  width: 100%;
  background: var(--accent);
}

.service-number {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--bg-light);
  position: absolute;
  top: 20px;
  right: 20px;
  line-height: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-white);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--bg-light);
  transition: all 0.4s ease;
}

/* Services Mid-Section Image */
.services-image {
  padding: 20px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease 0.2s;
}

.services-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-image__frame {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
}

.services-image__frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.services-image__frame:hover img {
  transform: scale(1.05);
}

.services-image__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.services-image__label {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 1px;
}

.services-image__divider {
  width: 40px;
  height: 1px;
  background: var(--border);
}

.services-image__text {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* Services Plus More Strip */
.services-more {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
  padding: 32px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.4s;
}

.services-more.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-more__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), var(--border-accent));
}

.services-more__line:last-child {
  background: linear-gradient(90deg, var(--border-accent), var(--border-accent), transparent);
}

.services-more__content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  background: var(--bg-mid);
  border: 1px solid var(--border-accent);
  white-space: nowrap;
}

.services-more__icon {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}

.services-more__text {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.services-more__text strong {
  color: var(--text-light);
  font-weight: 500;
}

/* ===========================================
   Full-Width Image Divider
   =========================================== */
.image-divider {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-divider__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.image-divider__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
}

.image-divider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.85) 0%,
    rgba(13, 13, 13, 0.6) 50%,
    rgba(13, 13, 13, 0.85) 100%
  );
  z-index: 1;
}

.image-divider__content {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.image-divider__content.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-divider__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 8px 20px;
  border: 1px solid var(--border-accent);
  background: rgba(212, 168, 75, 0.1);
}

.image-divider__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 100px);
  color: var(--text-white);
  letter-spacing: 4px;
  line-height: 1;
}

.image-divider__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.image-divider__scroll-hint svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===========================================
   Service Areas Section
   =========================================== */
.areas {
  padding: var(--section-pad) 0;
  position: relative;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.area-card {
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.area-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.area-card:nth-child(2) {
  transition-delay: 0.15s;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.area-card:hover::before {
  transform: scaleY(1);
}

.area-marker {
  width: 48px;
  height: 48px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.area-marker svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.area-name {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-white);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.area-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.area-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-regions span {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.area-card:hover .area-regions span {
  border-color: var(--border-accent);
  color: var(--text-light);
}

.areas-note {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 32px;
  background: var(--bg-dark);
  border-left: 3px solid var(--accent);
}

.note-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.note-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note-content strong {
  color: var(--text-white);
  font-weight: 600;
}

.note-content span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===========================================
   Contact Section
   =========================================== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  color: var(--text-white);
  letter-spacing: 2px;
  line-height: 1;
  margin: 16px 0 24px;
}

.contact-title .accent {
  color: var(--accent);
}

.contact-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 400px;
}

.contact-email {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  text-decoration: none;
  position: relative;
  transition: all 0.4s ease;
}

.contact-email:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-email svg {
  position: absolute;
  top: 40px;
  right: 40px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.contact-email:hover svg {
  transform: translateX(4px);
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-white);
  letter-spacing: 1px;
}

/* ===========================================
   Footer
   =========================================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.footer-brand .logo-mark {
  font-size: 24px;
}

.footer-brand .logo-text {
  font-size: 14px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===========================================
   Animations
   =========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 1024px) {
  .services-row {
    grid-template-columns: 1fr;
  }

  .services-image__frame {
    max-width: 100%;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: var(--bg-deep);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    font-size: 24px;
  }

  .nav-cta {
    margin-top: 20px;
  }

  .mobile-menu {
    display: flex;
    z-index: 101;
  }

  .hero-title {
    font-size: clamp(40px, 14vw, 80px);
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .image-break__frame img {
    height: 280px;
  }

  .services-more {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .services-more__line {
    width: 1px;
    height: 30px;
    background: var(--border-accent);
  }

  .services-more__content {
    flex-direction: column;
    text-align: center;
    white-space: normal;
    padding: 20px 24px;
  }

  .image-divider {
    height: 50vh;
    min-height: 400px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding-top: 100px;
  }

  .image-break__frame img {
    height: 220px;
  }

  .image-break__accent {
    display: none;
  }

  .service-card {
    padding: 32px 24px;
  }

  .services-image__frame img {
    height: 200px;
  }

  .area-card {
    padding: 32px 24px;
  }

  .contact-email {
    padding: 24px;
  }

  .email-address {
    font-size: 18px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ===========================================
   Policy Pages
   =========================================== */

.policy-section {
  padding: calc(100px + 32px) 0 var(--section-pad);
  min-height: 100vh;
  background: var(--bg-deep);
}

.policy-section .section-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.policy-section .section-title {
  margin-top: 12px;
}

.policy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 0;
}

.policy-updated {
  display: inline-block;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 56px;
  padding: 12px 20px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
}

.policy-block {
  margin-bottom: 56px;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(42, 42, 42, 0.5) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  position: relative;
}

.policy-block:last-child {
  margin-bottom: 0;
}

.policy-block h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.policy-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

.policy-block p:last-child {
  margin-bottom: 0;
}

.policy-block ul {
  list-style: none;
  margin: 24px 0;
  padding: 20px 24px;
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid var(--border);
}

.policy-block li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

.policy-block li:last-child {
  margin-bottom: 0;
}

.policy-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.policy-block a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.policy-block a:hover {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
}

.policy-block strong {
  color: var(--text-white);
  font-weight: 600;
}

.policy-back {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.policy-back .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
}

.policy-back .btn svg {
  transition: transform 0.3s ease;
}

.policy-back .btn:hover svg {
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .policy-section {
    padding-top: calc(80px + 24px);
  }

  .policy-content {
    padding-top: 16px;
  }

  .policy-block {
    margin-bottom: 40px;
    padding: 24px 20px;
  }

  .policy-block h2 {
    font-size: 24px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .policy-block ul {
    padding: 16px 18px;
    margin: 20px 0;
  }

  .policy-updated {
    margin-bottom: 40px;
  }
}
