
:root{
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-strong: #eef5fb;
  --text: #0e2238;
  --muted: #59708a;
  --line: rgba(14, 34, 56, 0.12);
  --accent: #0079a8;
  --accent-strong: #0a4f7b;
  --accent-soft: #def6f5;
  --shadow: 0 24px 60px rgba(17, 52, 86, 0.10);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Manrope",sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0,121,168,0.08), transparent 32%),
    radial-gradient(circle at top right, rgba(38,194,176,0.14), transparent 24%),
    var(--bg);
  color:var(--text);
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
}

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

.hero{
  position:relative;
  overflow:hidden;
  padding:48px 0 36px;
}

.hero-backdrop{
  position:absolute;
  inset:24px 24px auto;
  height:540px;
  border:1px solid rgba(0,121,168,0.10);
  border-radius:36px;
  background:
    linear-gradient(90deg, rgba(245,248,251,0.96) 0%, rgba(245,248,251,0.90) 38%, rgba(245,248,251,0.24) 68%, rgba(245,248,251,0.08) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.46), rgba(255,255,255,0.28)),
    linear-gradient(120deg, rgba(0,121,168,0.14), rgba(38,194,176,0.08)),
    url("assets/tandil-hero.jpg") center 38% / cover no-repeat;
  box-shadow:var(--shadow);
}

.hero-backdrop::before,
.hero-backdrop::after{
  content:"";
  position:absolute;
  border-radius:999px;
}

.hero-backdrop::before{
  width:320px;
  height:320px;
  top:-90px;
  right:-70px;
  background:radial-gradient(circle, rgba(0,121,168,0.18), transparent 70%);
}

.hero-backdrop::after{
  width:260px;
  height:260px;
  left:-50px;
  bottom:-60px;
  background:radial-gradient(circle, rgba(38,194,176,0.20), transparent 70%);
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap:36px;
  align-items:center;
  min-height:540px;
}

.hero-copy,
.event-panel{
  position:relative;
  z-index:1;
}

.eyebrow,
.section-kicker,
.panel-kicker{
  margin:0 0 18px;
  font-size:0.82rem;
  font-weight:800;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent);
}

.community-mark{
  width:84px;
  height:84px;
  border-radius:24px;
  margin-bottom:24px;
  box-shadow:0 18px 36px rgba(16, 52, 86, 0.14);
}

h1,
h2,
h3{
  margin:0;
  font-family:"Space Grotesk",sans-serif;
  letter-spacing:-0.03em;
}

h1{
  max-width:11ch;
  font-size:clamp(2.8rem, 6vw, 5.4rem);
  line-height:0.96;
}

.lead{
  max-width:58ch;
  margin:24px 0 0;
  display:inline-block;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,0.55);
  border-radius:20px;
  background:rgba(245,248,251,0.78);
  backdrop-filter:blur(8px);
  font-size:1.12rem;
  line-height:1.75;
  color:var(--muted);
  box-shadow:0 12px 30px rgba(17, 52, 86, 0.08);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px 22px;
  margin-top:34px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 24px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent-strong), var(--accent));
  color:#ffffff;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 18px 34px rgba(0,121,168,0.24);
  transition:transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 22px 38px rgba(0,121,168,0.28);
}

.hero-note,
.panel-copy,
footer p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.event-panel{
  padding:28px;
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,0.84);
  backdrop-filter:blur(10px);
  box-shadow:0 20px 48px rgba(17, 52, 86, 0.10);
}

.event-card{
  padding:10px 0;
}

.event-row{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}

.event-row:last-child{
  border-bottom:0;
}

.event-label{
  color:var(--muted);
  font-size:0.95rem;
}

.event-row strong{
  text-align:right;
  font-size:1rem;
}

.section{
  padding:52px 0;
}

.section-alt{
  padding-top:22px;
  padding-bottom:72px;
}

.section-heading{
  display:grid;
  gap:10px;
  margin-bottom:28px;
}

.section-heading h2{
  max-width:16ch;
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.05;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
}

.feature-card,
.logo-card{
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:24px;
  box-shadow:0 12px 28px rgba(17, 52, 86, 0.06);
}

.feature-card{
  min-height:220px;
  padding:26px;
}

.feature-card h3{
  margin-bottom:14px;
  font-size:1.22rem;
}

.feature-card p{
  margin:0;
  color:var(--muted);
  line-height:1.72;
}

.logo-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:16px;
}

.logo-group + .logo-group{
  margin-top:28px;
}

.logo-group-title{
  margin:0 0 14px;
  font-size:0.88rem;
  font-weight:800;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent-strong);
}

.logo-grid-organizers{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.logo-grid-support{
  grid-template-columns:minmax(220px, 280px);
}

.logo-card{
  min-height:196px;
  padding:0;
}

.logo-link{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:18px;
  min-height:196px;
  padding:22px 18px;
  text-align:center;
  text-decoration:none;
  border-radius:24px;
  transition:transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.logo-link:hover{
  transform:translateY(-2px);
  background:rgba(222,246,245,0.38);
}

.logo-link img{
  max-height:64px;
  width:auto;
  object-fit:contain;
}

.logo-card:first-child .logo-link img,
.logo-card:last-child .logo-link img{
  max-height:72px;
}

.logo-link span{
  font-size:0.94rem;
  font-weight:700;
  line-height:1.45;
  color:var(--text);
}

footer{
  padding:0 0 40px;
}

footer .container{
  padding-top:24px;
  border-top:1px solid var(--line);
}

@media (max-width: 1080px){
  .hero-grid,
  .feature-grid,
  .logo-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .logo-grid-support{
    grid-template-columns:minmax(0, 1fr);
  }

  .hero-grid{
    align-items:start;
  }

  .hero-backdrop{
    height:auto;
    bottom:0;
  }
}

@media (max-width: 720px){
  .hero{
    padding-top:20px;
  }

  .hero-backdrop{
    inset:12px 12px auto;
    border-radius:28px;
  }

  .hero-grid,
  .feature-grid,
  .logo-grid{
    grid-template-columns:1fr;
  }

  .hero-grid{
    min-height:auto;
    gap:24px;
    padding-top:34px;
    padding-bottom:24px;
  }

  .community-mark{
    width:72px;
    height:72px;
    margin-bottom:18px;
  }

  h1{
    max-width:none;
  }

  .event-panel{
    padding:22px;
  }

  .lead{
    padding:12px 14px;
    border-radius:16px;
  }

  .event-row{
    flex-direction:column;
    gap:6px;
  }

  .event-row strong{
    text-align:left;
  }

  .section{
    padding:38px 0;
  }

  .feature-card,
  .logo-card{
    border-radius:20px;
  }

  .feature-card{
    min-height:auto;
  }
}
