/* Alpen Ledger Academy - Creative Academic Design */

:root {
  --color-primary: #1a3a52;
  --color-primary-light: #2d5a7a;
  --color-primary-dark: #0f2538;
  --color-secondary: #c9a961;
  --color-secondary-light: #d4af37;
  --color-secondary-dark: #9d7d3f;
  --color-accent: #4a6b7d;
  --color-bg: #f8f6f2;
  --color-bg-light: #ffffff;
  --color-text: #2c2c2c;
  --color-text-light: #ffffff;
  --color-border: #d4c5b0;
  --color-cream: #f5f1e8;
  --font-primary: 'Georgia', 'Times New Roman', serif;
  --font-secondary: 'Helvetica Neue', 'Arial', sans-serif;
  --spacing: 1.5rem;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 30%, rgba(26, 58, 82, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(201, 169, 97, 0.03) 0%, transparent 50%),
    linear-gradient(135deg, rgba(26, 58, 82, 0.01) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing);
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  display: inline-block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

p {
  margin-bottom: var(--spacing);
  font-size: 1.125rem;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--color-secondary);
}

/* Header - Unique Design */
header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-text-light);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--color-secondary);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.site-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
}

.site-title:hover {
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.site-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-title:hover::after {
  width: 100%;
}

/* Navigation */
nav {
  position: relative;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: var(--color-text-light);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1rem;
  position: relative;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--color-secondary);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.05);
}

nav a:hover::before,
nav a.active::before {
  width: 80%;
  animation: navLineGrow 0.4s ease;
}

@keyframes navLineGrow {
  from { width: 0; }
  to { width: 80%; }
}

nav a.active {
  color: var(--color-secondary);
  background: rgba(201, 169, 97, 0.15);
}

/* Mobile Menu Toggle - Hamburger Icon */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1002;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation - Overlay */
@media (max-width: 768px) {
  header {
    padding: 1rem 0;
  }

  .header-container {
    flex-wrap: nowrap;
  }

  .site-title {
    font-size: 1.2rem;
    flex: 1;
  }

  .menu-toggle {
    display: flex;
  }

  /* Overlay для мобильного меню */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    width: 100%;
    padding: 2rem 1.5rem;
    list-style: none;
  }

  nav ul li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  nav a {
    display: block;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  nav.active a {
    transform: translateY(0);
    opacity: 1;
  }


  nav a::before {
    display: none;
  }

  nav a:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: var(--color-secondary);
    transform: scale(1.02);
  }

  nav a.active {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--color-secondary);
  }
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--spacing) * 3) var(--spacing);
}

/* Hero Section - Creative Design */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-accent) 100%);
  color: var(--color-text-light);
  padding: calc(var(--spacing) * 6) var(--spacing);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: calc(var(--spacing) * 4);
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 58, 82, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(40px, -40px) rotate(180deg); }
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--color-text-light);
  -webkit-text-fill-color: var(--color-text-light);
  margin-bottom: calc(var(--spacing) * 1.5);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 0.8s ease-out, textGlow 3s ease-in-out infinite;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 rgba(201, 169, 97, 0); }
  50% { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(201, 169, 97, 0.3); }
}

.hero p {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Blocks - Creative Design for Google Ads */
.text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--spacing) * 2.5);
  margin: calc(var(--spacing) * 4) 0;
}

.text-block {
  padding: calc(var(--spacing) * 2.5);
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  border-left: 5px solid var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  animation: fadeInUp 0.6s ease-out both;
}

.text-block:nth-child(1) { animation-delay: 0.1s; }
.text-block:nth-child(2) { animation-delay: 0.2s; }
.text-block:nth-child(3) { animation-delay: 0.3s; }
.text-block:nth-child(4) { animation-delay: 0.4s; }

.text-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.text-block::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.text-block:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
  border-left-width: 6px;
}

.text-block:hover::before {
  opacity: 1;
}

.text-block:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out infinite;
}

.text-block:hover h3 {
  color: var(--color-secondary);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

@keyframes shimmer {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.text-block h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.text-block p {
  flex-grow: 1;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Image Blocks */
.image-block {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: calc(var(--spacing) * 2) 0;
  box-shadow: var(--shadow);
  animation: fadeInScale 0.8s ease-out;
}

.image-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 58, 82, 0.1) 0%, rgba(201, 169, 97, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.image-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.image-block:hover::before {
  opacity: 1;
}

.image-block:hover::after {
  left: 100%;
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
  filter: brightness(1) contrast(1);
}

.image-block:hover img {
  transform: scale(1.08) rotate(0.5deg);
  filter: brightness(1.1) contrast(1.05);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.quote-block {
  padding: calc(var(--spacing) * 4);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-text-light);
  border-left: 6px solid var(--color-secondary);
  border-radius: var(--radius);
  margin: calc(var(--spacing) * 4) 0;
  font-style: italic;
  font-size: 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.4s ease;
}

.quote-block::before {
  content: '"';
  font-size: 10rem;
  position: absolute;
  top: -30px;
  left: 30px;
  color: var(--color-secondary);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
  animation: quoteFloat 6s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.quote-block::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.quote-block:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-left-width: 8px;
}

.quote-block:hover::before {
  opacity: 0.3;
  animation: quoteFloat 3s ease-in-out infinite;
}

@keyframes quoteFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.quote-author {
  margin-top: var(--spacing);
  font-style: normal;
  font-size: 1.1rem;
  text-align: right;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Images */
.content-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: calc(var(--spacing) * 3) 0;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing);
  margin: calc(var(--spacing) * 3) 0;
}

/* Forms */
form {
  max-width: 700px;
  margin: calc(var(--spacing) * 3) auto;
  background: var(--color-bg-light);
  padding: calc(var(--spacing) * 3.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--color-border);
}

.form-group {
  margin-bottom: calc(var(--spacing) * 1.5);
}

label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 1.125rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
  transform: translateY(-2px);
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

input:invalid:not(:placeholder-shown) ~ .error-message,
textarea:invalid:not(:placeholder-shown) ~ .error-message {
  display: block;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

button[type="submit"] {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
  color: var(--color-primary);
  padding: 1.375rem 3rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-secondary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
  animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5); }
  50% { box-shadow: 0 8px 30px rgba(201, 169, 97, 0.7); }
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-text-light);
  padding: var(--spacing);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  display: none;
  border-top: 4px solid var(--color-secondary);
}

.cookie-banner.active {
  display: block;
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--color-secondary-light);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.875rem 2rem;
  border: 2px solid var(--color-secondary);
  background-color: transparent;
  color: var(--color-text-light);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--radius);
  font-weight: 600;
}

.cookie-btn:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.cookie-btn.primary {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.cookie-btn.primary:hover {
  background-color: var(--color-secondary-light);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Footer - Redesigned & Compact */
footer {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-text-light);
  padding: calc(var(--spacing) * 1.5) var(--spacing) 0 var(--spacing);
  margin-top: 0;
  border-top: 3px solid var(--color-secondary);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  opacity: 0.5;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: calc(var(--spacing) * 1.5);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-bottom: 0.5rem;
}

footer .footer-section {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  animation: fadeInUp 0.6s ease-out;
}

footer .footer-section h3 {
  color: var(--color-secondary);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

footer .footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}

footer .footer-section:hover h3::after {
  width: 100%;
}

footer .footer-section p {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  line-height: 1.6;
  transition: opacity 0.3s ease;
}

footer .footer-section:hover p {
  opacity: 1;
}

footer a {
  color: var(--color-text-light);
  transition: all 0.3s ease;
  opacity: 0.9;
  font-size: 1.05rem;
  position: relative;
  display: inline-block;
}

footer a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}

footer a:hover {
  color: var(--color-secondary-light);
  opacity: 1;
  transform: translateX(3px);
}

footer a:hover::before {
  width: 100%;
}

footer .footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: calc(var(--spacing) * 0.75);
  padding-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: calc(var(--spacing) * 1);
  margin-bottom: 0;
}

footer .footer-bottom p {
  font-size: 1rem;
  opacity: 0.85;
  margin: 0;
  padding-bottom: 0.5rem;
  line-height: 1.5;
}


@media (max-width: 768px) {
  footer {
    padding: calc(var(--spacing) * 1.25) var(--spacing) 0 var(--spacing);
  }

  footer .container {
    flex-direction: column;
    gap: calc(var(--spacing) * 1.25);
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-bottom: 0.5rem;
  }

  footer .footer-section {
    max-width: 100%;
    text-align: center;
  }

  footer .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  footer .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  footer .footer-section:hover h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  footer .footer-section p {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    text-align: center;
  }

  footer .footer-bottom {
    text-align: center;
  }

  footer .footer-bottom p {
    font-size: 0.95rem;
    text-align: center;
  }
}

/* Section Styling */
section {
  margin: calc(var(--spacing) * 4) 0;
}

.section-title {
  text-align: center;
  margin: 0 auto calc(var(--spacing) * 3) auto;
  position: relative;
  padding-bottom: calc(var(--spacing) * 1.5);
  display: block;
  width: 100%;
  max-width: 100%;
  animation: fadeInDown 0.8s ease-out;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--color-secondary) 50%, transparent 100%);
  border-radius: 2px;
  animation: expandLine 0.8s ease-out 0.3s both;
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 120px;
    opacity: 1;
  }
}

/* Price Highlight */
.price,
.price-alt {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.3rem;
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(26, 58, 82, 0.08);
  border-radius: var(--radius);
  border: 2px solid var(--color-primary);
}

/* Contact Info Styles */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing) * 2);
  margin: calc(var(--spacing) * 3) 0;
}

.contact-item {
  padding: calc(var(--spacing) * 2);
  background: var(--color-bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-secondary);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-left-width: 6px;
}

.contact-item h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-item p {
  margin: 0.75rem 0;
  font-size: 1rem;
}

.contact-item a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--color-secondary-light);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing); }
.mt-2 { margin-top: calc(var(--spacing) * 2); }
.mt-3 { margin-top: calc(var(--spacing) * 3); }
.mb-1 { margin-bottom: var(--spacing); }
.mb-2 { margin-bottom: calc(var(--spacing) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing) * 3); }
