/* Mercer and Valley - Animated Stylesheet */

:root {
  --primary: #2c5f7c;
  --primary-dark: #1e4a5f;
  --primary-light: #3a7a9d;
  --accent: #e8a54b;
  --accent-light: #f0bc6d;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-warm: #faf8f5;
  --bg-soft: #f5f7f9;
  --border: #e0e0e0;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 400;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 14px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 28px;
  height: 20px;
  fill: currentColor;
  vertical-align: -2px;
  margin-right: 6px;
}

.logo-icon-after {
  margin-right: 0;
  margin-left: 6px;
}

.logo span {
  color: var(--accent);
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo:hover span {
  transform: rotate(12deg) scale(1.1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

nav li {
  position: relative;
}

nav a {
  color: var(--text);
  font-weight: 500;
  padding: 10px 16px;
  display: block;
  position: relative;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav a:hover {
  color: var(--primary);
  background: var(--bg-soft);
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav a.active {
  color: var(--primary);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 95, 124, 0.3);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ========== HERO SECTION ========== */
.hero {
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    #f5f7f9 0%,
    #f5f7f9 45%,
    rgba(245, 247, 249, 0.85) 60%,
    rgba(245, 247, 249, 0.3) 80%,
    rgba(245, 247, 249, 0.1) 100%
  );
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 165, 75, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero .container {
  position: relative;
  z-index: 1;
}


.hero h1 {
  font-size: 2.75rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.hero h1 strong {
  color: var(--accent);
  font-weight: 400;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease 0.2s forwards;
  text-shadow: 0 0 16px rgba(245, 247, 249, 0.9), 0 0 32px rgba(245, 247, 249, 0.7);
}

.hero .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease 0.4s forwards;
}

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

/* ========== PHOTO BANNER ========== */
.photo-banner {
  background-size: cover;
  background-position: center 40%;
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.photo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 74, 95, 0.7) 0%, rgba(44, 95, 124, 0.5) 100%);
}

.photo-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.photo-banner p {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease 0.2s forwards;
}

/* ========== SECTIONS ========== */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

section h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 48px;
  max-width: 700px;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========== CARD GRID ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--primary-dark);
}

.card p {
  color: var(--text-light);
}

/* ========== ICON BOXES ========== */
.icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
}

.icon-box svg {
  width: 28px;
  height: 28px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}

.card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(44, 95, 124, 0.3);
}

/* ========== FEATURES SECTION ========== */
.features {
  background: var(--bg-warm);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.feature-item {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  transition: all 0.4s ease;
  background: transparent;
}

.feature-item:hover {
  background: white;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--accent);
  opacity: 0;
  transition: all 0.4s ease;
  animation: spin 20s linear infinite paused;
}

.feature-item:hover .feature-icon {
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(44, 95, 124, 0.3);
}

.feature-item:hover .feature-icon::after {
  opacity: 1;
  animation-play-state: running;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}

/* Number icons for process steps */
.feature-icon.numbered {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ========== ABOUT PAGE ========== */
.about-text {
  max-width: 720px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* ========== SERVICES LIST ========== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.service-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: transparent;
}

.service-item:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.service-item:hover .service-icon {
  background: var(--primary);
}

.service-item:hover .service-icon svg {
  stroke: white;
}

.service-item h3 {
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-item:hover h3 {
  color: var(--primary-dark);
}

.service-item p {
  color: var(--text-light);
}

.service-meta {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-detail:hover {
  background: var(--bg-soft);
  transform: translateX(8px);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-detail:hover .contact-detail-icon {
  background: var(--primary);
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.contact-detail:hover .contact-detail-icon svg {
  stroke: white;
}

.expect-box {
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-warm);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.expect-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.expect-box h3 {
  margin-bottom: 12px;
}

.expect-box p {
  color: var(--text-light);
  margin: 0;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  position: relative;
}

label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  transition: color 0.3s ease;
}

.label-optional {
  font-weight: normal;
  color: var(--text-light);
}

input, textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

input:hover, textarea:hover {
  border-color: #ccc;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(44, 95, 124, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* ========== CTA SECTION ========== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: white;
}

.cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta .btn {
  background: white;
  color: var(--primary);
}

.cta .btn:hover {
  background: var(--bg-warm);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========== PAGE HEADER ========== */
.page-header {
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    #f5f7f9 0%,
    #f5f7f9 25%,
    rgba(245, 247, 249, 0.85) 45%,
    rgba(245, 247, 249, 0.3) 75%,
    rgba(245, 247, 249, 0.1) 100%
  );
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease forwards;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease 0.15s forwards;
  text-shadow: 0 0 16px rgba(245, 247, 249, 0.9), 0 0 32px rgba(245, 247, 249, 0.7);
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary-dark);
  color: white;
  padding: 56px 0 28px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 40px;
}

footer .logo {
  color: white;
}

footer .logo span {
  color: var(--accent);
}

.footer-tagline {
  margin-top: 8px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 60px 0;
  }

  .hero::before,
  .page-header::before {
    background: linear-gradient(to bottom,
      #f5f7f9 0%,
      #f5f7f9 30%,
      rgba(245, 247, 249, 0.85) 50%,
      rgba(245, 247, 249, 0.4) 80%,
      rgba(245, 247, 249, 0.2) 100%
    );
  }
  
  section {
    padding: 60px 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .card-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .service-item {
    grid-template-columns: 1fr;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    padding: 80px 24px 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
  }
  
  nav.open {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 8px;
  }
  
  nav a {
    padding: 16px;
    border-radius: 8px;
  }
  
  nav a::after {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ========== FLOATING CONTACT BUTTON ========== */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(44, 95, 124, 0.35);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.floating-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.floating-contact:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 95, 124, 0.45);
}

.floating-contact:hover::before {
  left: 100%;
}

.floating-contact svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .floating-contact {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}

/* ========== FONT PREVIEW WIDGET (Staging Only) ========== */
.font-preview-widget {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9999;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 16px;
  min-width: 240px;
  font-family: system-ui, -apple-system, sans-serif;
  transition: box-shadow 0.3s ease;
}

.font-preview-widget:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.font-preview-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.font-preview-widget-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.font-preview-widget-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
}

.font-preview-widget select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.font-preview-widget select:focus {
  outline: none;
  border-color: var(--primary);
}

.font-preview-widget-active {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.font-preview-widget-active strong {
  color: var(--text);
}

@media (max-width: 480px) {
  .font-preview-widget {
    bottom: 12px;
    right: 12px;
    left: 12px;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .card, .service-item {
    padding: 24px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
