.policies-container {
  min-height: 100vh;
  padding-top: 100px;
  background: var(--bg-gradient);
}

.policies-hero {
  padding: clamp(50px, 8vw, 80px) var(--container-padding);
  background: linear-gradient(135deg, rgba(131, 21, 0, 0.05) 0%, rgba(2, 17, 32, 0.05) 100%);
  border-bottom: 1px solid rgba(233, 181, 64, 0.15);
  margin-bottom: clamp(40px, 6vw, 60px);
  position: relative;
  overflow: hidden;
}

.policies-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" patternUnits="userSpaceOnUse" width="30" height="30"><circle cx="15" cy="15" r="2" fill="%23E9B540" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
  opacity: 0.3;
  animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: clamp(16px, 3vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(14px, 2.5vw, 20px);
  color: var(--light-cream);
  line-height: 1.6;
  opacity: 0.95;
  max-width: 750px;
  margin: 0 auto;
}

.policies-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding) clamp(60px, 8vw, 100px);
}

.policies-content {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 32px);
}

.policy-section {
  background: transparent;
  border: 1px solid #5a3a2f;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.policy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.policy-section:hover {
  border-color: rgba(233, 181, 64, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.policy-section:hover::before {
  opacity: 1;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(24px, 4vw, 32px);
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(233, 181, 64, 0.15);
}

.section-header i {
  padding-left: 15px;
  padding-top: 15px;
  align-items: center;
}

.section-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--button-primary), var(--button-secondary));
  color: var(--primary-gold);
  font-size: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(233, 181, 64, 0.2);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.policy-section:hover .section-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(233, 181, 64, 0.3);
}

.section-title {
  font-family: var(--font-secondary);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--warm-gold);
  font-style: italic;
  padding: 10px 18px;
  background: rgba(233, 181, 64, 0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-gold);
  width: fit-content;
  margin-bottom: 8px;
}

.last-updated i {
  color: var(--primary-gold);
  font-size: 14px;
  flex-shrink: 0;
}

.content-block {
  margin-bottom: clamp(16px, 3vw, 24px);
}

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

.content-block h3 {
  font-family: var(--font-secondary);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  color: var(--primary-gold);
  margin-bottom: 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-block h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--primary-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.content-block p {
  font-family: var(--font-primary);
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--light-cream);
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 12px;
}

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

.content-block ul {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-block ul li {
  font-family: var(--font-primary);
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--light-cream);
  line-height: 1.7;
  padding-left: 32px;
  position: relative;
  opacity: 0.95;
}

.content-block ul li::before {
  content: '\2022';
  position: absolute;
  left: 12px;
  color: var(--primary-gold);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.7;
}

.content-block strong {
  color: var(--primary-gold);
  font-weight: 600;
}

.contact-section {
  margin-top: clamp(32px, 5vw, 48px);
}

.contact-card {
  background: linear-gradient(135deg, rgba(131, 21, 0, 0.25) 0%, rgba(131, 21, 0, 0.15) 100%);
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233, 181, 64, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.contact-card:hover {
  border-color: var(--secondary-gold);
  box-shadow: 0 12px 48px rgba(233, 181, 64, 0.2);
  transform: translateY(-4px);
}

.contact-card h3 {
  font-family: var(--font-secondary);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.contact-card h3 i {
  font-size: clamp(24px, 4vw, 30px);
  color: var(--primary-gold);
  flex-shrink: 0;
}

.contact-card p {
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--light-cream);
  margin-bottom: 28px;
  opacity: 0.95;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(233, 181, 64, 0.1);
  border: 1px solid rgba(233, 181, 64, 0.3);
  border-radius: var(--radius-md);
  color: var(--light-cream);
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 280px;
  justify-content: center;
  line-height: 1.2;
}

.contact-item i {
  font-size: 20px;
  color: var(--primary-gold);
  transition: var(--transition-fast);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item:hover {
  background: var(--primary-gold);
  color: var(--button-primary);
  border-color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 181, 64, 0.3);
}

.contact-item:hover i {
  color: var(--button-primary);
  transform: scale(1.2) rotate(10deg);
}

@media (max-width: 768px) {
  .policies-container {
    padding-top: 80px;
  }

  .policies-hero {
    padding: clamp(40px, 6vw, 60px) clamp(20px, 5vw, 30px);
  }

  .policies-wrapper {
    padding: 0 clamp(20px, 5vw, 30px) clamp(40px, 6vw, 60px);
  }

  .section-header i {
    padding-left: 12px;
    padding-top: 12px;
  }

  .section-header {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .section-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 22px;
  }

  .contact-details {
    width: 100%;
  }

  .contact-item {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .policies-hero {
    padding: 32px 20px;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .policies-wrapper {
    padding: 0 20px 40px;
  }

  .policy-section {
    padding: 24px 20px;
  }

  .section-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    gap: 12px;
  }

  .section-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 20px;
  }

  .section-title {
    font-size: 22px;
  }

  .content-block h3 {
    font-size: 18px;
  }

  .content-block p,
  .content-block ul li {
    font-size: 15px;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .contact-card h3 {
    font-size: 20px;
    flex-direction: row;
    gap: 10px;
  }

  .contact-item {
    padding: 12px 20px;
    font-size: 14px;
    gap: 10px;
  }

  .contact-item i {
    font-size: 18px;
    width: 18px;
    height: 18px;
  }
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.policy-section {
  animation: fadeInUp 0.6s ease-out forwards;
}

.policy-section:nth-child(1) {
  animation-delay: 0.1s;
}

.policy-section:nth-child(2) {
  animation-delay: 0.2s;
}

.policy-section:nth-child(3) {
  animation-delay: 0.3s;
}

.policy-section:nth-child(4) {
  animation-delay: 0.4s;
}

.policy-section:nth-child(5) {
  animation-delay: 0.5s;
}

.policy-section {
  scroll-margin-top: 120px;
}

@media print {

  .navbar,
  .contact-section,
  .footer {
    display: none;
  }

  .policies-container {
    padding-top: 0;
  }

  .policies-wrapper {
    padding: 20px;
  }

  .policy-section {
    page-break-inside: avoid;
    border: 1px solid #ddd;
    box-shadow: none;
  }

  .section-title {
    color: #000;
  }

  body {
    background: white;
  }
}

.contact-item:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .policy-section {
    border: 2px solid var(--primary-gold);
  }
}