/* DaySunNoor Styles — pure CSS, mobile-first */
/* TODO: Replace images in assets/images with real brand assets */

:root {
  --c-yellow: #fbe042;
  --c-amber: #cb7d08;
  --c-deep: #0A0F49;
  --c-blue: #0f7cc4;
  --c-bg: #05091f;
  --glass: rgba(255,255,255,0.06);
  --glass-strong: rgba(255,255,255,0.12);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Vazir', 'Vazirmatn', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -20%, #0f7cc433, transparent), var(--c-bg);
  color: #e8eef7;
  line-height: 1.75;
  overflow-x: hidden; /* prevent accidental horizontal scroll from effects */
}

img { max-width: 100%; display: block; }
.container { width: min(1200px, 92vw); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-blue); color: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 1rem; top: 1rem; }

h1, h2, h3, .brand-letters { font-family: 'Vazir', sans-serif; letter-spacing: .5px; }
.section { padding: 64px 0; position: relative; }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: #fff; margin: 0 0 24px; letter-spacing: .6px; text-shadow: 0 2px 30px #0f7cc42b; }
.muted { color: #a9b1c7; font-size: .95rem; }
.btn {
  background: linear-gradient(135deg, #fbe042, #cb7d08 60%);
  color: #0A0F20; padding: 1rem 1.5rem; border-radius: 999px; font-weight: 800; text-decoration: none; display: inline-block; box-shadow: 0 14px 40px rgba(251,224,66,0.25), inset 0 1px 0 #fff2; transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,224,66,0.4); }
.btn:focus { outline: 2px solid var(--c-yellow); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(5,9,31,0.25); backdrop-filter: blur(10px); border-bottom: 1px solid #ffffff0f; }
.site-header.scrolled { background: rgba(5,9,31,0.6); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.brand-logo-wrap { position: relative; display: inline-block; border-radius: 50%; overflow: hidden; isolation: isolate; }
.brand-logo-wrap {
  position: relative; display: inline-block; border-radius: 50%; overflow: hidden; isolation: isolate;
  transition: box-shadow .35s ease, background-color .35s ease, border-color .35s ease, filter .35s ease;
  animation: glowPulse 4s ease-in-out infinite;
  /* Base outer glow so it's always visible */
  filter: drop-shadow(0 0 10px rgba(251,224,66,0.35)) drop-shadow(0 0 20px rgba(15,124,196,0.18));
  will-change: filter, box-shadow;
}
.brand-logo-wrap::after{
  /* Shining sweep overlay */
  content: ""; position: absolute; inset: -40% -120%; border-radius: inherit;
  background: linear-gradient(75deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 45%, rgba(255,255,255,0) 80%);
  transform: translateX(-130%) rotate(12deg);
  animation: logo-shine 3s cubic-bezier(.4,.0,.2,1) infinite;
  mix-blend-mode: screen; opacity: .85; filter: blur(.6px); pointer-events: none; z-index: 2;
}
.brand-logo-wrap::before{
  content: ""; position: absolute; inset: -3px; border-radius: inherit; padding: 3px;
  background: conic-gradient(from 0deg, var(--c-blue), var(--c-yellow), var(--c-amber), var(--c-blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 8s linear infinite;
  z-index: 0;
}
.brand-logo { position: relative; z-index: 1; }
.brand-logo { position: relative; z-index: 1; }
.brand-logo {
  display: block;
  width: 60px;
  height: 50px;
  padding: 6px 8px;
  /* Brand yellow, lighter look */
  background: linear-gradient(180deg, #fff7c2, #ffea6b);
  border: 1px solid rgba(251,224,66,0.85);
  border-radius: 50%;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.25),
    0 0 18px rgba(251,224,66,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.18);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease, background-color .35s ease;
  will-change: transform;
}
/* Hover animation removed by request */
/* .brand:hover .brand-logo { } */
.site-header.scrolled .brand-logo {
  background: linear-gradient(180deg, #fff3a8, #ffe066);
  border-color: rgba(251,224,66,0.9);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.32),
    0 0 18px rgba(251,224,66,0.5);
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo-wrap::before { animation: none; }
  .brand-logo-wrap::after { animation: none; }
  .brand-logo-wrap { animation: none; }
}
.brand:focus-visible { outline: 3px solid rgba(251,224,66,0.8); outline-offset: 3px; }

@media (max-width: 420px){
  .brand-logo { width: 64px; padding: 5px 7px; border-radius: 50%; }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(251,224,66,0.25),
      0 0 22px rgba(15,124,196,0.12);
    filter: drop-shadow(0 0 10px rgba(251,224,66,0.32)) drop-shadow(0 0 20px rgba(15,124,196,0.16));
  }
  45% {
    box-shadow:
      0 0 28px rgba(251,224,66,0.55),
      0 0 52px rgba(15,124,196,0.28);
    filter: drop-shadow(0 0 22px rgba(251,224,66,0.55)) drop-shadow(0 0 42px rgba(15,124,196,0.25));
  }
  60% {
    box-shadow:
      0 0 34px rgba(251,224,66,0.65),
      0 0 64px rgba(15,124,196,0.32);
    filter: drop-shadow(0 0 28px rgba(251,224,66,0.65)) drop-shadow(0 0 52px rgba(15,124,196,0.28));
  }
}

@keyframes logo-shine {
  0% { transform: translateX(-120%) rotate(12deg); }
  50% { transform: translateX(120%) rotate(12deg); }
  100% { transform: translateX(120%) rotate(12deg); }
}
.brand-letters span { display: inline-block; filter: drop-shadow(0 0 6px #0f7cc4); }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 1rem; padding: 0; margin: 0; }
.nav a {
  color: #e8eef7;
  text-decoration: none;
  border-bottom: 2px solid transparent; /* keep transparent to avoid line */
  padding: .25rem .5rem;
  transition: none !important;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--c-yellow);
  text-decoration: none;
  border-color: transparent;
}
.nav-toggle { background: #0f7cc41a; color: #fff; border: 1px solid #2b3a76; border-radius: 8px; padding: .35rem .6rem; }

@media (min-width: 768px) { .nav { display: block; } .nav-toggle{ display:none; } }

/* Hero */
.hero { min-height: 95vh; display: grid; align-items: center; overflow: hidden; position: relative; }
.hero-canvas-wrap { position: absolute; inset: 0; }
#hero3d, #beamsCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-title { font-size: clamp(1.9rem, 1.4rem + 2.5vw, 3.4rem); margin: 0 0 .5rem; text-shadow: 0 0 30px #0f7cc4aa; }
.hero-kicker { color: var(--c-yellow); margin: 0 0 1rem; font-weight: 700; }
.hero-brand { 
  font-family: 'Orbitron', sans-serif; font-weight: 900; letter-spacing: 1px; 
  font-size: clamp(1.8rem, 1.4rem + 3vw, 4rem); line-height: 1; 
  color: #fff9e2; position: relative; display: inline-block; margin: .25rem 0 1rem;
  text-shadow:
    0 0 1px #fff3a4,
    0 0 6px #fbe042,
    0 0 14px #e5b326,
    0 0 28px #cb7d08,
    0 0 60px rgba(203,125,8,0.6);
}
.hero-brand::before{ /* 3D extrusion */
  content: attr(data-text);
  position: absolute; inset: 0; color: #281603; z-index: -1; transform: translate(8px, 10px) skewY(-2deg); filter: blur(0.2px);
  text-shadow: 0 1px 0 #3a2408, 0 2px 0 #2a1b06, 0 3px 0 #1f1304, 0 6px 12px #0008;
}
.hero-brand::after{ /* glossy inner edge */
  content: attr(data-text);
  position: absolute; inset: 0; background: linear-gradient(180deg, #ffffffcc 0%, transparent 50%); -webkit-background-clip: text; background-clip: text; color: transparent;
  mix-blend-mode: screen; opacity: .25; 
}

/* Scroll indicator (roll down) */
.scroll-indicator { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(251,224,66,0.55); display: grid; place-items: center; color: #fbe042; text-decoration: none; box-shadow: 0 0 30px rgba(203,125,8,0.25), inset 0 0 10px rgba(251,224,66,0.2); z-index: 2; 
  animation: float 3.2s ease-in-out infinite, glow 2.8s ease-in-out infinite;
  will-change: transform, box-shadow; }
.scroll-indicator::before{ content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid transparent; border-top-color: #fbe042; border-right-color: #cb7d08; filter: drop-shadow(0 0 8px #fbe042); animation: spin 5s linear infinite; }
.scroll-indicator::after{ content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(251,224,66,0.18); opacity: 0; animation: ripple 2.4s ease-out infinite; }
.scroll-indicator .chev{ width: 10px; height: 10px; border-right: 3px solid #fbe042; border-bottom: 3px solid #fbe042; transform: rotate(45deg); opacity: .9; animation: drop 1.8s ease-in-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop { 0%, 20% { transform: translateY(-6px) rotate(45deg); opacity: 0.6; } 50% { transform: translateY(2px) rotate(45deg); opacity: 1; } 100% { transform: translateY(10px) rotate(45deg); opacity: 0.2; } }

@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(203,125,8,0.18), inset 0 0 8px rgba(251,224,66,0.16); } 50% { box-shadow: 0 0 36px rgba(203,125,8,0.35), inset 0 0 12px rgba(251,224,66,0.28); } }
@keyframes ripple { 0% { transform: scale(0.85); opacity: 0.0; } 40% { opacity: 0.35; } 100% { transform: scale(1.25); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator, .scroll-indicator::before, .scroll-indicator::after, .scroll-indicator .chev { animation: none; }
}
.cta { font-size: 1rem; }

/* Services */
.services .services-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.row-2 { grid-template-columns: 1fr; }
.row-3 { grid-template-columns: 1fr; }
.card { background: linear-gradient(180deg, #ffffff12, #ffffff06); border: 1px solid #ffffff20; border-radius: var(--radius); box-shadow: 0 14px 40px #00000055; padding: 16px; position: relative; overflow: hidden; isolation: isolate; backdrop-filter: blur(6px); }
.card .card-icon { width: 64px; height: 64px; }
.card h3 { margin: 8px 0; color: #fff; font-size: 1.2rem; }
.card-list { 
  margin: 12px 0 0; 
  padding-inline-start: 0; 
  padding-inline-end: 1.2rem; /* space for RTL bullets on the right */
  list-style: none; 
  position: relative;
  direction: ltr;
    text-align: right;
}
.card-list::before{ /* subtle vertical guide line (RTL-aware) */
  content: ""; position: absolute; inset-block: 6px 6px; inset-inline-end: 6px; width: 2px;
  background: linear-gradient(180deg, rgba(251,224,66,0.0), rgba(251,224,66,0.22), rgba(251,224,66,0.0));
  opacity: .4; filter: blur(.2px);
}
.card-list li { 
  margin: .35rem 0; padding: .15rem .4rem; padding-inline-end: 1.2rem; position: relative; border-radius: 8px;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.card-list li::before{ /* diamond bullet on the right (RTL) */
  --b: 8px; content: ""; position: absolute; inset-inline-end: 0; inset-block-start: .6em; width: var(--b); height: var(--b);
  transform: translateY(-50%) rotate(45deg); border-radius: 2px;
  background: linear-gradient(135deg, var(--c-yellow), var(--c-amber));
  box-shadow: 0 0 6px rgba(251,224,66,0.45), 0 0 16px rgba(203,125,8,0.25);
}
.card-list li::after{ /* pulsing ring */
  content: ""; position: absolute; inset-inline-end: -4px; inset-block-start: .6em; width: 16px; height: 16px;
  transform: translateY(-50%); border: 2px solid rgba(251,224,66,0.18); border-radius: 50%; opacity: 0; pointer-events: none;
  animation: bulletPulse 2.4s ease-out infinite;
}
.card-list li:hover{ 
  transform: translateX(-4px); /* nudge inward */
  background-color: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.card-list li:hover::before{ box-shadow: 0 0 8px rgba(251,224,66,0.75), 0 0 22px rgba(203,125,8,0.45); }
.card-list li:hover::after{ opacity: 1; animation-duration: 1.8s; }

@keyframes bulletPulse{ 
  0%{ transform: translateY(-50%) scale(0.6); opacity: 0; }
  40%{ opacity: 0.38; }
  100%{ transform: translateY(-50%) scale(1.2); opacity: 0; }
}
.card .holo-overlay { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 120px at 120% 0%, #0f7cc455, transparent), linear-gradient(120deg, #ffffff11, transparent 60%); mix-blend-mode: screen; pointer-events: none; animation: holoShift 6s linear infinite; }

.card:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.card.featured { border-color: rgba(251,224,66,0.6); box-shadow: 0 0 0 1px rgba(251,224,66,0.3), 0 26px 80px rgba(251,224,66,0.22), inset 0 0 40px rgba(251,224,66,0.08); }
.card.featured::after { content: "پرچم‌دار"; position: absolute; top: 10px; left: 10px; background: linear-gradient(90deg, var(--c-yellow), var(--c-amber)); color: #111; font-weight: 900; padding: 2px 8px; border-radius: 999px; font-size: .75rem; }

.card-wide { display: grid; grid-template-columns: 1fr; padding: 16px; text-align: center; align-items: center; justify-items: center; gap: 10px; }
.card-media { position: relative; }
.card-media img { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-media svg { display: block; width: 100%; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
.media-holo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.card-body { padding: 16px; }

@keyframes holoShift { from { transform: translateX(-10%); } to { transform: translateX(10%); } }

@media (min-width: 768px) {
  .row-2 { grid-template-columns: 2fr 1.2fr; }
  .row-3 { grid-template-columns: repeat(3, 1fr); }
  .card-wide { grid-template-columns: 1fr; }
}

/* Projects (Gallery) */
.projects { overflow: hidden; }
.projects-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 16px; 
}
.project-card { 
  background: #ffffff0a; 
  border: 1px solid #ffffff22; 
  border-radius: var(--radius); 
  overflow: hidden; 
  box-shadow: 0 14px 40px #00000055; 
  transition: transform .3s ease, box-shadow .3s ease; 
}
.project-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 50px #00000066; }
.project-card figure { margin: 0; }
.project-card img, .project-card svg { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.project-card .tags { color: #b7c0da; font-size: .85rem; }
.project-card.is-hidden { display: none; }
.projects-actions { display: grid; place-items: center; margin-top: 2rem; }
.btn-showmore { display: inline-flex; align-items: center; gap: 10px; padding-inline: 1.1rem; }
.btn-showmore .btn-icon { display: inline-grid; place-items: center; transition: transform .2s ease; }
.btn-showmore:hover .btn-icon { transform: translateY(1px); }
.btn-showmore .btn-label { font-weight: 800; }
.btn-showmore:focus-visible { outline: 3px solid #fbe042; outline-offset: 2px; }

@media (min-width: 600px){
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px){
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Contact */
.contact { background: #060b24; overflow: hidden; }
.contact-inner { position: relative; z-index: 2; display: grid; gap: 20px; grid-template-columns: 1fr; }
.contact-left .contact-info { list-style: none; padding: 0; margin: 12px 0; }
.map-placeholder { height: 200px; border-radius: var(--radius); background: radial-gradient(600px 200px at 50% 30%, #0f7cc43d, transparent), linear-gradient(180deg, #0A0F49, #0b1436); border: 1px solid #ffffff18; }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; display: block; }

.contact-right { background: #ffffff08; border: 1px solid #ffffff18; border-radius: var(--radius); padding: 16px; }
.form-field { display: grid; gap: 6px; margin-bottom: 12px; }
label { font-weight: 600; }
input, textarea { background: #0b1436; color: #fff; border: 1px solid #31407a; border-radius: 10px; padding: .7rem .9rem; }
input:focus, textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px #0f7cc422; }
.error { color: #ff7a7a; min-height: 1.25em; font-size: .85rem; }
.submit { font-weight: 800; }
/* Neon, no-background, animated border for submit */
.btn-submit {
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; isolation: isolate;
  background: transparent !important; color: #fff9e2;
  border-radius: 999px; border: 2px solid rgba(251,224,66,0.65); /* fallback border */
  box-shadow: 0 0 22px rgba(251,224,66,0.25), inset 0 0 10px rgba(251,224,66,0.08);
}
.btn-submit::before{
  content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: inherit;
  background: conic-gradient(from 0deg, var(--c-blue), var(--c-yellow), var(--c-amber), var(--c-blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
  z-index: 0;
}
.btn-submit .btn-label, .btn-submit .btn-icon { position: relative; z-index: 1; }
[dir="rtl"] .btn-submit { flex-direction: row-reverse; }
.btn-submit .btn-icon { display: inline-grid; place-items: center; transition: transform .18s ease; line-height: 0; }
[dir="rtl"] .btn-submit:hover .btn-icon { transform: translateX(-2px); }
[dir="ltr"] .btn-submit:hover .btn-icon { transform: translateX(2px); }
.btn-submit:hover{ box-shadow: 0 0 28px rgba(251,224,66,0.35), inset 0 0 12px rgba(251,224,66,0.12); }
.btn-submit:focus-visible{ outline: 3px solid rgba(251,224,66,0.8); outline-offset: 3px; }
.btn-submit .btn-icon svg { stroke: currentColor; }
.form-success { margin-top: 10px; color: var(--c-yellow); font-weight: 700; }

@media (min-width: 900px) {
  .contact-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .map-placeholder { height: 260px; }
}

/* Footer */
.site-footer { background: linear-gradient(180deg, #060b24, #0A0F49); color: #eef3ff; position: relative; overflow: hidden; }
.footer-inner { padding: 48px 0 18px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.footer-col { min-width: 0; }
.footer-about .footer-logo{
  font-family: 'Orbitron', sans-serif; font-weight: 900; letter-spacing: .6px;
  font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  color: #fff;
  text-shadow: 0 0 1px #fff3a4, 0 0 10px rgba(15,124,196,0.4);
}
.footer-tagline { color: #cbd6f7; margin: 6px 0 0; font-size: .95rem; }

.footer-title{
  margin: 0 0 8px; color: #fff; letter-spacing: .5px;
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: .95rem; line-height: 1.2;
}

.footer-col ul{ list-style: none; padding: 0; margin: 8px 0 0; }
.footer-col li{ margin: 6px 0; }
.footer-links a, .footer-services a, .footer-contact a{
  color: #dbe6ff; text-decoration: none; border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.footer-links a:hover, .footer-services a:hover, .footer-contact a:hover{
  color: #fff; border-color: rgba(251,224,66,0.5);
}

.footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social .social-icon{
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  color: #fff; text-decoration: none; background: #ffffff14; border: 1px solid #ffffff24;
  transition: transform .18s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.footer-social .social-icon:hover{
  background: #ffffff22; border-color: #ffffff3a; color: var(--c-yellow);
  box-shadow: 0 0 18px rgba(251,224,66,0.22);
  transform: translateY(-2px);
}
.footer-social .social-icon:focus-visible{ outline: 3px solid rgba(251,224,66,0.8); outline-offset: 3px; }

.footer-bottom{
  margin-top: 20px; padding-top: 12px; border-top: 1px solid #ffffff18;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: #cbd6f7; font-size: .95rem;
}
.to-top{
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: #fff; text-decoration: none; border: 1px solid #ffffff26; background: #ffffff10;
  box-shadow: 0 0 18px rgba(0,0,0,0.35); transition: transform .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.to-top:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,124,196,0.35); color: var(--c-yellow); border-color: rgba(251,224,66,0.5); }
.to-top:focus-visible{ outline: 3px solid rgba(251,224,66,0.8); outline-offset: 3px; }

/* RTL niceties */
[dir="rtl"] .footer-col, [dir="rtl"] .footer-bottom { text-align: right; }

@media (min-width: 800px){
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* Force-enable scroll indicator animation even when reduce motion is on (scoped) */
@media (prefers-reduced-motion: reduce) {
  .force-anim .scroll-indicator {
    animation: float 3.2s ease-in-out infinite, glow 2.8s ease-in-out infinite !important;
    animation-duration: 3.2s, 2.8s !important;
    animation-iteration-count: infinite, infinite !important;
  }
  .force-anim .scroll-indicator::before { animation: spin 5s linear infinite !important; }
  .force-anim .scroll-indicator::after { animation: ripple 2.4s ease-out infinite !important; }
  .force-anim .scroll-indicator .chev { animation: drop 1.8s ease-in-out infinite !important; }
}
article.card.card-wide {
    margin-bottom: 1rem;
}
ul.contact-info {
    display: flex
;
    justify-content: space-around;
}