/* ==========================================================================
   Güneşten Önce Uyananlar — design system + site styles
   ========================================================================== */

:root {
  --bg: #0a0a0c;
  --bg-soft: #0e0e11;
  --surface: #16151a;
  --surface-2: #1d1c22;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f2ee;
  --text-muted: #a9a7ae;
  --text-faint: #706e77;

  --accent: #ff5a1f;
  --accent-2: #ffb627;
  --accent-soft: rgba(255, 90, 31, 0.16);
  --on-accent: #100a06;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-py: clamp(56px, 6vw, 100px);

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --dur-sm: 260ms;
  --dur-md: 480ms;
  --dur-lg: 900ms;

  --nav-h: 84px;

  --font-sans: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Frosted-glass chrome: reserved for floating controls and overlay panels
     that sit above imagery — never for solid content surfaces (cards, forms). */
  --glass-bg: linear-gradient(155deg, rgba(36, 33, 40, 0.62), rgba(14, 13, 16, 0.42));
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-blur: blur(20px) saturate(180%);
  --glass-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.09);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--dur-sm) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Signature typographic device: one word carries the accent instead of a
   kicker label sitting above the heading. */
.accent { color: var(--accent-2); }

.section { padding-block: var(--section-py); position: relative; }
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 6vw, 64px);
}
.section-head h2 {
  font-size: clamp(2.2rem, 1.6vw + 1.8rem, 3.6rem);
  font-weight: 900;
}
.section-head p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.15rem);
  max-width: 56ch;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform var(--dur-sm) var(--ease), background var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease), border-color var(--dur-sm) var(--ease), box-shadow var(--dur-sm) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--on-accent);
  box-shadow: 0 12px 30px -12px rgba(255, 90, 31, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(255, 90, 31, 0.65); }

.btn-outline {
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent-soft); }

.btn-ghost {
  color: var(--text);
  padding: 15px 8px;
  gap: 8px;
}
.btn-ghost .fa-arrow-right { transition: transform var(--dur-sm) var(--ease); }
.btn-ghost:hover .fa-arrow-right { transform: translateX(5px); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background var(--dur-md) var(--ease), border-color var(--dur-md) var(--ease),
    box-shadow var(--dur-md) var(--ease), backdrop-filter var(--dur-md) var(--ease);
}
/* Guarantees link contrast over any hero image/video, regardless of how
   bright its top edge is — independent of the glass state below. */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 4, 5, 0.6) 0%, rgba(4, 4, 5, 0) 100%);
  opacity: 1;
  transition: opacity var(--dur-md) var(--ease);
}
.navbar.is-scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.navbar.is-scrolled::before { opacity: 0; }
.navbar__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo { flex-shrink: 0; }
.navbar__logo img { height: 36px; width: auto; }
@media (min-width: 981px) { .navbar__logo img { height: 50px; } }
.navbar__logo-text {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.navbar__logo-text span { color: var(--accent); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar__links a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(244, 242, 238, 0.86);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: color var(--dur-sm) var(--ease);
}
.navbar__links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-sm) var(--ease);
}
.navbar__links a:hover,
.navbar__links a.is-active { color: var(--text); }
.navbar__links a:hover::after,
.navbar__links a.is-active::after { transform: scaleX(1); }

.navbar__actions { display: flex; align-items: center; gap: 14px; }

.navbar__admin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(4, 4, 5, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 242, 238, 0.9);
  font-size: 0.95rem;
  transition: background var(--dur-sm) var(--ease), border-color var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease);
}
.navbar__admin:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }

.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
.navbar__burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform var(--dur-sm) var(--ease), opacity var(--dur-sm) var(--ease);
}
.navbar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile panel ---------- */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 12px) var(--gutter) 40px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-md) var(--ease), transform var(--dur-md) var(--ease), visibility var(--dur-md);
}
.mobile-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-panel__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
}
.mobile-panel__links a {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  font-weight: 800;
  padding: 12px 2px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}
.mobile-panel__cta { margin-top: 32px; }
.mobile-panel__social {
  margin-top: auto;
  display: flex;
  gap: 14px;
  padding-top: 32px;
}

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  max-height: 980px;
  overflow: hidden;
  background: #050506;
}
.hero__track { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1100ms var(--ease), visibility 1100ms;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero__scrim-base {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4,4,5,0.88) 0%, rgba(4,4,5,0.28) 46%, rgba(4,4,5,0.16) 100%),
    linear-gradient(100deg, rgba(4,4,5,0.7) 0%, rgba(4,4,5,0.08) 55%);
}
.hero__scrim-tune {
  position: absolute;
  inset: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(56px, 9vw, 108px);
}
.hero__title,
.hero__title-static {
  font-size: clamp(2.8rem, 4vw + 1.6rem, 6.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__subtitle {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(1.02rem, 0.4vw + 0.95rem, 1.25rem);
  color: var(--text-muted);
}
.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__nav {
  position: absolute;
  z-index: 3;
  bottom: clamp(32px, 5vw, 56px);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: background var(--dur-sm) var(--ease), border-color var(--dur-sm) var(--ease), transform var(--dur-sm) var(--ease);
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.hero__dots { display: flex; gap: 9px; }
.hero__dot {
  position: relative;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.hero__dot-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: transform var(--dur-md) var(--ease), opacity var(--dur-sm) var(--ease);
  opacity: 0;
}
.hero__dot.is-active .hero__dot-fill { transform: scaleX(1); opacity: 1; }

.hero__scrollcue {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__scrollcue-line {
  width: 1px;
  height: 34px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.hero__scrollcue-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 100%;
  background: var(--accent);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { to { top: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero__scrollcue-line::after { animation: none; top: 0; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about__media-badge i { color: var(--accent); font-size: 1.3rem; }
.about__media-badge strong { display: block; font-size: 0.95rem; }
.about__media-badge span { color: var(--text-muted); font-size: 0.8rem; }

.about__body p { color: var(--text-muted); margin-top: 18px; max-width: 58ch; }
.about__list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}
.about__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
}
.about__list i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.about__list strong { display: block; }
.about__list span { color: var(--text-muted); font-size: 0.9rem; }

/* ==========================================================================
   Film (Vimeo embed under the hero)
   ========================================================================== */
.film {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}
.film__text { max-width: 520px; }
.film__text h2 { font-size: clamp(2.2rem, 1.6vw + 1.8rem, 3.6rem); font-weight: 900; }
.film__text p { margin: 18px 0 32px; color: var(--text-muted); font-size: clamp(1rem, 0.3vw + 0.95rem, 1.15rem); max-width: 44ch; }
/* The source video is vertical (9:16): match it exactly so the player never letterboxes. */
.film__player {
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #050506;
  box-shadow: 0 44px 90px -40px rgba(0, 0, 0, 0.7);
}
.film__player iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) {
  .film { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .film__text p { margin-inline: auto; }
}

/* ==========================================================================
   Gallery preview mosaic
   ========================================================================== */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(120px, 1fr);
  gap: 10px;
}
.gallery-preview a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
}
.gallery-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.gallery-preview a:hover img { transform: scale(1.06); }
.gallery-preview a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.35), transparent 45%);
  opacity: 0;
  transition: opacity var(--dur-sm) var(--ease);
}
.gallery-preview a:hover::after { opacity: 1; }
.gallery-preview a i {
  position: absolute;
  right: 14px; bottom: 14px;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-sm) var(--ease), transform var(--dur-sm) var(--ease);
}
.gallery-preview a:hover i { opacity: 1; transform: translateY(0); }

.gallery-preview a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-preview a:nth-child(4) { grid-column: span 2; }

.gallery-preview-empty {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}
.gallery-preview-empty i { font-size: 1.6rem; color: var(--accent); margin-bottom: 14px; }

.section-foot {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto {
  position: relative;
  padding-block: var(--section-py);
  overflow: hidden;
  isolation: isolate;
}
.manifesto__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.manifesto__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .manifesto__media img { animation: none; } }
.manifesto__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,6,7,0.88) 0%, rgba(6,6,7,0.65) 40%, rgba(6,6,7,0.9) 100%);
}
.manifesto__inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  padding-inline: var(--gutter);
}
.manifesto__quote {
  font-size: clamp(1.7rem, 2.6vw + 1rem, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.manifesto__quote em {
  font-style: normal;
  color: var(--accent-2);
}
.manifesto__sub {
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-inline: auto;
}

/* ==========================================================================
   Join CTA
   ========================================================================== */
.cta {
  text-align: center;
}
.cta__title {
  font-size: clamp(2.2rem, 3vw + 1.2rem, 4.6rem);
}
.cta__sub {
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 56ch;
  margin-inline: auto;
  font-size: 1.05rem;
}
.cta__actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-block: clamp(56px, 8vw, 96px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: clamp(32px, 5vw, 60px);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
@media (min-width: 981px) { .footer-brand img { height: 48px; } }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
}
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; transition: color var(--dur-sm) var(--ease); }
.footer-links a:hover { color: var(--accent-2); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a, .footer-contact address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-style: normal;
  transition: color var(--dur-sm) var(--ease);
}
.footer-contact a:hover { color: var(--accent-2); }
.footer-contact i { color: var(--accent); margin-top: 3px; flex-shrink: 0; width: 16px; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-sm) var(--ease), border-color var(--dur-sm) var(--ease), transform var(--dur-sm) var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

.footer-bottom {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.84rem;
}
.footer-bottom-copy { display: flex; flex-direction: column; gap: 6px; }
.footer-credit a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; transition: color var(--dur-sm) var(--ease); }
.footer-credit a:hover { color: var(--accent-2); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-faint); transition: color var(--dur-sm) var(--ease); }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ==========================================================================
   Inner-page hero (about / contact / gallery / manager)
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2.6rem, 3.8vw + 1.2rem, 4.8rem);
  font-weight: 900;
  max-width: 18ch;
}
.page-hero p {
  margin-top: 18px;
  color: var(--text-muted);
  max-width: 60ch;
  font-size: 1.05rem;
}

/* ==========================================================================
   About page extras
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease), border-color var(--dur-md) var(--ease);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.55);
}
.value-card i { color: var(--accent); font-size: 1.5rem; margin-bottom: 18px; }
.value-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; }

.quote-block {
  position: relative;
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  max-width: 58ch;
}
.quote-block::before {
  content: "\201C";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: -0.3rem;
}
.quote-block cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: stretch;
}
.contact-layout > * { min-width: 0; overflow-wrap: anywhere; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-panel {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-sm) var(--ease);
}
.contact-panel > *:last-child { border-bottom: none; }
a.contact-row:hover { background: rgba(255, 255, 255, 0.03); }
.contact-row__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-row__text { display: flex; flex-direction: column; gap: 3px; }
.contact-row__text strong {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-row__text > span { color: var(--text); font-size: 0.98rem; transition: color var(--dur-sm) var(--ease); }
a.contact-row .contact-row__text > span:first-of-type { color: var(--text-muted); }
a.contact-row:hover .contact-row__text > span:first-of-type { color: var(--accent-2); }

.contact-panel__social {
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-panel__social-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-panel__social .footer-social { margin-top: 0; }

.contact-map {
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; min-height: inherit; border: 0; display: block; }
.contact-layout--single { grid-template-columns: minmax(0, 560px); justify-content: center; }

.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
a.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color var(--dur-sm) var(--ease), background var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease);
}
.map-btn i { color: var(--accent); font-size: 0.9rem; }
a.map-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--gutter);
}
.error-page span { color: var(--accent); font-weight: 800; letter-spacing: 0.1em; }
.error-page h1 { margin-top: 12px; font-size: clamp(2.2rem, 3vw + 1rem, 4rem); }
.error-page p { margin-top: 16px; color: var(--text-muted); max-width: 50ch; }
.error-page .btn { margin-top: 30px; }

/* ==========================================================================
   Floating contact actions (call / WhatsApp)
   Note: never name these "fab*" — Font Awesome's brands.min.css defines a
   bare ".fab{--fa-family:...}" rule (the "fa-brands" shorthand) that would
   collide and hijack the icon font on any element carrying that class.
   ========================================================================== */
.quickcall-group {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 150;
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.92);
  pointer-events: none;
  transition: opacity var(--dur-md) var(--ease), transform var(--dur-md) var(--ease), visibility var(--dur-md);
}
.quickcall-group.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.quickcall-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.55);
  transition: transform var(--dur-sm) var(--ease), box-shadow var(--dur-sm) var(--ease);
}
.quickcall-btn:hover { transform: translateY(-3px) scale(1.06); }
.quickcall-btn i { position: relative; z-index: 1; }
.quickcall-btn--call { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.quickcall-btn--whatsapp { background: #22c35e; }

.quickcall-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.55;
  animation: quickcall-ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.quickcall-btn--call .quickcall-ping { background: var(--accent); }
.quickcall-btn--whatsapp .quickcall-ping { background: #22c35e; animation-delay: 1.1s; }

@keyframes quickcall-ping {
  0% { transform: scale(1); opacity: 0.55; }
  75%, 100% { transform: scale(1.85); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .quickcall-ping { animation: none; display: none; }
}
@media (max-width: 640px) {
  .quickcall-group { left: 14px; bottom: 14px; gap: 10px; }
  .quickcall-btn { width: 48px; height: 48px; font-size: 1.15rem; }
}

/* ==========================================================================
   Popup modal
   ========================================================================== */
.popup {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 4, 5, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-md) var(--ease), visibility var(--dur-md);
}
.popup.is-open { opacity: 1; visibility: visible; }
.popup__box {
  position: relative;
  max-width: 460px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 44px 90px -24px rgba(0, 0, 0, 0.7);
  transform: scale(0.94) translateY(14px);
  transition: transform var(--dur-md) var(--ease);
}
.popup.is-open .popup__box { transform: none; }
.popup__media { aspect-ratio: 16 / 9; }
.popup__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popup__body { padding: clamp(26px, 4vw, 36px); }
.popup__title { font-size: clamp(1.3rem, 1.4vw + 1rem, 1.8rem); font-weight: 900; letter-spacing: -0.02em; }
.popup__desc { margin-top: 12px; color: var(--text-muted); font-size: 0.96rem; line-height: 1.65; }
.popup__cta { margin-top: 22px; width: 100%; }
.popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--dur-sm) var(--ease);
}
.popup__close:hover { background: var(--accent); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .navbar__links, .navbar__actions .btn, .navbar__admin { display: none; }
  .navbar__burger { display: flex; }
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16/10; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map { min-height: 300px; aspect-ratio: 16 / 10; }
  .gallery-preview { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview a:nth-child(1) { grid-column: span 2; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .value-grid { grid-template-columns: 1fr; }
  .hero__nav { right: var(--gutter); }
  .hero__scrollcue { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .gallery-preview { grid-template-columns: 1fr 1fr; }
}
