/* ============================================================
   FRUMKVÖÐLAR — Aðalstílblað
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  --dark:        #212327;
  --cream:       #FDDEC2;
  --cream-light: #FEF4EB;
  --cream-mid:   #FBE8D2;
  --white:       #FFFFFF;
  --bg-light:    #FAF8F5;
  --border:      #EDE7DD;
  --text:        #212327;
  --muted:       #7D7570;

  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --w: 1160px;
  --px: clamp(1.25rem, 4vw, 2.5rem);

  --r:    6px;
  --r-lg: 14px;

  --ease: 0.22s ease;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.05rem; }

p {
  color: var(--muted);
  max-width: 62ch;
}

/* ============================================================
   Utilities
   ============================================================ */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section { padding: clamp(4rem, 9vw, 8rem) 0; }

.section--dark {
  background: var(--dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p   { color: rgba(255,255,255,.65); }

.section--cream { background: var(--cream-light); }

.label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-block;
  margin-bottom: 1rem;
}
.label--dark { color: rgba(33,35,39,.45); }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header p { font-size: 1.08rem; margin-top: 0.75rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--r);
  border: 2px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--cream);
  color: var(--dark);
  border-color: var(--cream);
}
.btn--primary:hover { background: #F5CEAA; border-color: #F5CEAA; }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover { background: #33373E; }

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--outline:hover { background: var(--dark); color: var(--white); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.nav__logo img { height: 50px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: var(--ease);
  letter-spacing: 0.01em;
}
.nav__links a:hover,
.nav__links a.active { color: var(--cream); }

.nav__cta {
  background: var(--cream) !important;
  color: var(--dark) !important;
  padding: 0.48rem 1.2rem;
  border-radius: var(--r);
  font-weight: 600 !important;
}
.nav__cta:hover { background: #F5CEAA !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}

/* Mobile nav dropdown */
@media (max-width: 680px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav__links.open { display: flex; }
  .nav__links a {
    padding: 0.85rem var(--px);
    width: 100%;
    font-size: 1rem;
  }
  .nav__burger { display: flex; }
  .nav__inner { position: relative; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--dark);
  min-height: 100svh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,222,194,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) var(--px);
  width: 100%;
}

.hero__label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero__label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--cream);
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--cream);
}

.hero__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Right column: photo */
.hero__photo-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}
.hero__photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero__photo-frame::before {
  content: '';
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 2px solid rgba(253,222,194,.2);
  border-radius: var(--r-lg);
  z-index: 0;
}
.hero__photo-frame img {
  width: 100%;
  border-radius: var(--r-lg);
  position: relative;
  z-index: 1;
  display: block;
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__photo-wrap { display: none; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
}

/* ============================================================
   Mission / Intro
   ============================================================ */
.mission {
  background: var(--white);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.mission__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.mission__aside {
  border-left: 3px solid var(--cream);
  padding-left: 1.75rem;
}
.mission__aside blockquote {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.mission__aside cite {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}
.mission__body h2 { margin-bottom: 1.25rem; }
.mission__body p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  max-width: 58ch;
}
.mission__body p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .mission__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   Video Cards
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,.09);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a2e35 0%, var(--dark) 100%);
  overflow: hidden;
}
.video-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
  transition: background var(--ease);
  z-index: 1;
}
.video-card:hover .video-card__thumb::after {
  background: rgba(0,0,0,.15);
}
.video-card__thumb-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg, var(--cream) 0, var(--cream) 1px, transparent 0, transparent 50%
  );
  background-size: 12px 12px;
}
.video-card__play {
  width: 54px; height: 54px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform var(--ease), background var(--ease);
}
.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-card__play svg { margin-left: 3px; }
.video-card:hover .video-card__play {
  background: #F5CEAA;
}
.video-card__duration {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,.65);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  z-index: 1;
}

.video-card__body { padding: 1.25rem; }
.video-card__tag {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--cream);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.65rem;
}
.video-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.video-card__meta {
  font-size: 0.82rem;
  color: var(--muted);
}
.video-card__link {
  display: block;
  text-decoration: none;
}
.video-card__title a {
  color: var(--dark);
  text-decoration: none;
  transition: color var(--ease);
}
.video-card__title a:hover { color: #555; }

@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

/* ============================================================
   About Teaser
   ============================================================ */
.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.about-teaser__img {
  position: relative;
  overflow: hidden;
}
.about-teaser__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) brightness(.92);
}
.about-teaser__content {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-teaser__content h2 { color: var(--white); margin-bottom: 1rem; }
.about-teaser__content p {
  color: rgba(255,255,255,.65);
  max-width: 44ch;
  margin-bottom: 2rem;
}
.about-teaser__stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.stat__number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
}
.stat__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  margin-top: 0.2rem;
}

@media (max-width: 860px) {
  .about-teaser__inner { grid-template-columns: 1fr; }
  .about-teaser__img { height: 340px; }
}

/* ============================================================
   Blog Cards
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2rem;
  transition: border-color var(--ease);
}
.blog-card:hover { border-bottom-color: var(--cream); }

.blog-card__cat {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.blog-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
  transition: color var(--ease);
}
.blog-card:hover .blog-card__title { color: #444; }
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: none;
}
.blog-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.blog-card__read {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  transition: gap var(--ease);
}
.blog-card:hover .blog-card__read { gap: 0.6rem; }

@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Article card grid (shared between greinar.html and index.html) ── */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-list-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}
.blog-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.blog-list-item__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-light);
  flex-shrink: 0;
}
.blog-list-item__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.blog-list-item:hover .blog-list-item__img img { transform: scale(1.04); }
.blog-list-item__body {
  flex: 1; display: flex; flex-direction: column;
  padding: 1.25rem;
}
.blog-list-item__title {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  line-height: 1.35; margin-bottom: 0.5rem;
}
.blog-list-item__title a {
  color: var(--dark); text-decoration: none;
  transition: color var(--ease);
}
.blog-list-item__title a:hover { color: #555; }
.blog-list-item__excerpt {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.6; margin-bottom: 0.75rem; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-list-item__foot {
  font-size: 0.75rem; color: var(--muted); margin-top: auto;
}
.blog-list-item__sep { margin: 0 0.35rem; }
.blog-list-item__img-link { display: block; }
@media (max-width: 900px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-list { grid-template-columns: 1fr; } }

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter {
  background: var(--cream-light);
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}
.newsletter__inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 var(--px);
}
.newsletter h2 { margin-bottom: 0.75rem; }
.newsletter p { margin: 0 auto 2.5rem; font-size: 1rem; }

.newsletter__form {
  display: flex;
  gap: 0.75rem;
}
.newsletter__input {
  flex: 1;
  padding: 0.88rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--ease);
}
.newsletter__input:focus { outline: none; border-color: var(--dark); }
.newsletter__input::placeholder { color: var(--muted); }

.newsletter__note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.85rem;
  max-width: none;
}

@media (max-width: 540px) {
  .newsletter__form { flex-direction: column; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand img { height: 52px; margin-bottom: 1.25rem; }
.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 34ch;
}

.footer__col h5 {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.45);
  transition: color var(--ease);
}
.footer__col a:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
}
.footer__bottom a {
  color: rgba(255,255,255,.3);
  transition: color var(--ease);
}
.footer__bottom a:hover { color: var(--cream); }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background: var(--dark);
  padding: calc(70px + clamp(3rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p {
  font-size: 1.12rem;
  color: rgba(255,255,255,.6);
  max-width: 52ch;
  margin: 0 auto;
}

/* ============================================================
   View all link
   ============================================================ */
.view-all {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.view-all a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px solid var(--cream);
  padding-bottom: 0.15rem;
  transition: gap var(--ease), border-color var(--ease);
}
.view-all a:hover { gap: 0.7rem; border-color: var(--dark); }
.section--cream .view-all a { color: var(--dark); }
.section--dark .view-all a { color: var(--white); border-color: rgba(255,255,255,.3); }
.section--dark .view-all a:hover { border-color: var(--cream); color: var(--cream); }

/* ============================================================
   About Page — Extended
   ============================================================ */
.about-story {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.about-story__photo img {
  border-radius: var(--r-lg);
  width: 100%;
}
.about-story__photo figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  font-style: italic;
}
.about-story__text h2 { margin-bottom: 1.25rem; }
.about-story__text h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--dark);
}
.about-story__text p {
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
  max-width: 58ch;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .about-story__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-story__photo { max-width: 380px; }
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-light);
}
.contact-form__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form__info h2 { margin-bottom: 1rem; }
.contact-form__info p {
  font-size: 1.02rem;
  margin-bottom: 2rem;
  max-width: 44ch;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}
.contact-detail__item {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.form__group label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.03em;
}
.form__group input,
.form__group textarea,
.form__group select {
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--ease);
  resize: vertical;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--dark);
}
.form__group textarea { min-height: 140px; }

@media (max-width: 860px) {
  .contact-form__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   Filters (videos/blog)
   ============================================================ */
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 2px solid var(--border);
  color: var(--muted);
  background: var(--white);
  transition: var(--ease);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* ============================================================
   Hero community badge (social proof)
   ============================================================ */
.hero__community {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  color: rgba(255,255,255,.45);
  font-size: 0.85rem;
  line-height: 1.4;
  transition: color var(--ease);
  text-decoration: none;
}
.hero__community:hover { color: rgba(255,255,255,.75); }
.hero__community strong { color: rgba(255,255,255,.7); font-weight: 600; }
.hero__community__icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease);
}
.hero__community:hover .hero__community__icon { background: rgba(253,222,194,.15); }
.hero__community__arrow {
  opacity: 0.4;
  transition: opacity var(--ease), transform var(--ease);
}
.hero__community:hover .hero__community__arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

/* ============================================================
   Community section
   ============================================================ */
.community { padding: clamp(4rem, 8vw, 7rem) 0; }

.community__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: center;
}

.community__content h2 { color: var(--white); margin-bottom: 1rem; }
.community__content p {
  color: rgba(255,255,255,.6);
  max-width: 48ch;
  margin-bottom: 1.1rem;
}
.community__content p:last-of-type { margin-bottom: 2rem; }

.community__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.community__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 3rem 2rem;
}
.community__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: rgba(253,222,194,.04);
  border: 1px solid rgba(253,222,194,.1);
  pointer-events: none;
}
.community__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,222,194,.1) 0%, transparent 70%);
  pointer-events: none;
}
.community__number {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.35rem;
  position: relative;
}
.community__unit {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  position: relative;
}
.community__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.1);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  position: relative;
}

/* Nav community link */
.nav__community-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}
.nav__community-link svg {
  opacity: 0.55;
  transition: opacity var(--ease);
}
.nav__community-link:hover svg { opacity: 1; }

/* ============================================================
   Scroll animations
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
