:root {
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --text: #0b2430;
  --muted: #5b6b75;
  --primary: #1e88e5;
  --accent: #f9a825;
  --card: #ffffff;
  --border: #dce5ea;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  gap: 12px;
}
.brand-logo {
  width: 160px;
  height: 160px;
  border-radius: 20px;
  border: none;
  background: transparent;
  object-fit: contain;
  padding: 0;
}
.brand-title { font-weight: 700; letter-spacing: 0.2px; }
.brand-subtitle { font-size: 12px; color: var(--muted); }

.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.site-nav a:hover {
  border-color: var(--border);
  background: rgba(30,136,229,0.08);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
}
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 200ms ease;
  position: relative;
  overflow: hidden;
}
.btn-small { padding: 8px 12px; font-size: 14px; }
.btn-primary { background: var(--primary); border-color: #1a6fb8; color: white; }
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 20px rgba(30,136,229,0.35);
  transform: translateY(-1px);
}
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-secondary:hover {
  background: #eef5fb;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(30,136,229,0.18);
  transform: translateY(-1px);
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  opacity: 0;
  filter: blur(.6px);
  z-index: -1;
  background-size: 200% 100%;
}
.btn:hover::after {
  opacity: 1;
  animation: sweep 1200ms linear infinite;
}
@keyframes sweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(30,136,229,0.25);
  border-color: var(--primary);
}
.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  animation: ripple 600ms ease-out;
  background: rgba(30,136,229,0.25);
}
@keyframes ripple {
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 400px at 15% 20%, rgba(30,136,229,0.10), transparent 60%),
    radial-gradient(800px 300px at 80% 10%, rgba(249,168,37,0.10), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.8));
  pointer-events: none;
}
.hero .hero-content {
  position: relative;
  z-index: 1;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background:
    url('assets/hero_custom.jpg') center/cover no-repeat,
    url('assets/hero.jpg') center/cover no-repeat;
  opacity: 0.35;
  transform: scale(1.06);
  will-change: transform;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 64px 0 48px;
}
.hero-content h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.hero-content p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 20px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-figure {
  position: relative;
  min-height: 240px;
}
.hero-figure .sun {
  position: absolute;
  right: 0; top: 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle at 50% 50%, #fdd835, #fbc02d 40%, rgba(253,216,53,0.2) 70%, transparent 72%);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(253,216,53,0.35), 0 0 120px rgba(253,216,53,0.25);
  filter: saturate(1.2);
  animation: pulse 5s ease-in-out infinite;
}
.hero-figure .grid {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  height: 180px;
  background:
    linear-gradient(#eff6fb, #e9f2f9),
    repeating-linear-gradient(90deg, transparent, transparent 36px, rgba(0,0,0,0.06) 37px, transparent 38px),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(0,0,0,0.05) 19px, transparent 20px);
  transform: perspective(600px) rotateX(50deg);
  border-top: 1px solid var(--border);
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.95; }
}

/* Sections */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section.alt {
  background: var(--bg-alt);
}
.section.bg {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 420px;
}
.section.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.65));
}
.section .container { position: relative; z-index: 1; }
.section-header { margin-bottom: 18px; }
.section-header.compact { margin-bottom: 8px; }
.section-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: 0.3px;
}
.section-header::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.section-header.in-view::after {
  transform: scaleX(1);
}

.icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -2px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef5fb;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.6));
}
.lead { color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  will-change: transform, opacity;
}
.info-list { padding-left: 18px; margin: 8px 0; }
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  will-change: transform, opacity;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  background: #eef5fb;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  will-change: transform, opacity;
}
.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.partner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  will-change: transform, opacity;
}
.partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.checklist { padding-left: 18px; }
.checklist li { margin-bottom: 6px; }
.checklist li.highlight {
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.form-row { display: grid; gap: 6px; margin-bottom: 12px; }
.form-row input, .form-row textarea {
  background: #0f2e3a;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.18);
}
.form-actions { display: flex; justify-content: flex-end; }
.details-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.form-hint { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Footer */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  background: #f7fafc;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-links { display: flex; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), opacity 700ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.scale {
  transform: scale(.98);
}
.reveal.scale.in-view {
  transform: scale(1);
}

/* Slideshow */
.slideshow {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 16/9;
}
.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1);
}
.slideshow img.active { opacity: 1; }
.slideshow .controls {
  position: absolute;
  inset: auto 12px 12px auto;
  display: flex;
  gap: 10px;
}
.slideshow button {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; gap: 18px; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 18px; }
  .slideshow { aspect-ratio: 16/9; }
  .section.bg { min-height: 360px; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .columns { grid-template-columns: 1fr; }
  .info-grid, .cards, .partner-grid, .gallery { grid-template-columns: 1fr; gap: 16px; }
  .slideshow { aspect-ratio: 16/9; }
  .section.bg { min-height: 300px; }
}
