/*
Theme Name: Екипът на Русе
Theme URI: https://ekipruse.com
Author: Людмил Радулов
Description: Custom тема за "Екипът на Русе" - лендинг на инициативата за развитие на Русе и региона.
Version: 1.0
Text Domain: ekip-ruse
*/

:root {
  --navy:       #0D2540;
  --navy-soft:  #1F3349;
  --teal:       #1FA888;
  --green:      #2E7D5A;
  --ink:        #E8EEF2;
  --ink-muted:  #A8BAC6;
  --hairline:   rgba(31, 168, 136, 0.28);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--navy);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Subtle ambient depth, no movement */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(31, 168, 136, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(46, 125, 90, 0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 6rem) clamp(1.5rem, 5vw, 3rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Masthead */
header { margin-bottom: clamp(2.5rem, 6vh, 4rem); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
}

.tagline {
  margin-top: 0.9rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.005em;
}

/* Rule that ties to the palette */
.rule {
  width: 56px;
  height: 3px;
  margin-top: 1.8rem;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 2px;
}

/* Body copy */
.lede {
  font-size: clamp(1.12rem, 2.6vw, 1.35rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.6rem;
}

.lede strong { font-weight: 600; }

p.body {
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

p.body:last-of-type { margin-bottom: 0; }

.accent { color: var(--ink); }

/* Contact */
.contact {
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  padding-top: clamp(1.8rem, 4vh, 2.4rem);
  border-top: 1px solid var(--hairline);
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}

.contact a {
  display: inline-block;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: -0.01em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact a:hover,
.contact a:focus-visible {
  color: #fff;
  border-bottom-color: var(--teal);
}

.contact a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.8rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(168, 186, 198, 0.55);
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
