:root {
  --text-dark: #122025;
  --surface: #ffffff;
  --muted: #5d6e73;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, #f8fafc 0%, var(--accent) 100%);
  scroll-behavior: smooth;
}

body.intro-pending {
  overflow: hidden;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(145deg, var(--primary) 0%, #1f5675 58%, #2e3946 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-mark {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: #f2f7fb;
}

.intro-four {
  display: inline-block;
  width: 0;
  overflow: hidden;
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  font-weight: 800;
  line-height: 1;
  animation: introDrawFour 0.8s ease forwards;
}

.intro-name {
  display: inline-block;
  opacity: 0;
  transform: translateX(16px);
  font-size: clamp(1.4rem, 2.8vw, 2.6rem);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.02em;
  animation: introRevealName 1s ease 0.75s forwards;
}

.site-shell {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.site-shell.is-ready {
  opacity: 1;
  transform: translateY(0);
}

@keyframes introDrawFour {
  from {
    width: 0;
  }

  to {
    width: 1ch;
  }
}

@keyframes introRevealName {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 84vh;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 44%),
    radial-gradient(circle at 85% 15%, rgba(194, 209, 222, 0.25) 0%, transparent 38%),
    linear-gradient(145deg, var(--primary) 0%, #1f5675 58%, #2e3946 100%);
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 25%, rgba(0, 0, 0, 0.3) 100%);
}

.top-nav {
  position: relative;
  z-index: 2;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}

.brand img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: rgb(255, 255, 255);
}

.brand-logo-shell {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 8px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.92), rgba(204, 216, 226, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 28px rgba(8, 26, 38, 0.35);
}

.brand-text {
  display: flex;
  align-items: center;
}

.brand-title {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ecf3f8;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.94;
}

.nav-links a:hover {
  opacity: 1;
}

.admin-link {
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0 5rem;
  max-width: 760px;
}

.hero h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-sub {
  max-width: 650px;
  margin: 1rem 0 2rem;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: #dbe6ed;
}

.hero-kicker {
  margin: 0 0 0.4rem;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d2dde6;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-link {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero-metrics {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 220px));
  gap: 0.7rem;
}

.hero-metrics article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  backdrop-filter: blur(4px);
}

.hero-metrics span {
  display: block;
  font-size: 0.78rem;
  color: #d2dbe3;
}

.hero-metrics strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.section {
  margin: 3.2rem auto;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(28, 53, 72, 0.08);
  box-shadow: 0 12px 34px rgba(25, 44, 60, 0.08);
}

.section h2 {
  margin-top: 0;
  font-family: 'Cormorant Garamond', serif;
  color: var(--primary);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
}

.gallery-grid,
.review-grid,
.stats-grid {
  display: grid;
  gap: 1rem;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-card figcaption {
  padding: 0.8rem 1rem;
  color: var(--muted);
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card {
  border-radius: 14px;
  background: linear-gradient(150deg, var(--primary) 0%, #2c6a8b 58%, #4a5969 100%);
  color: #fff;
  padding: 1.2rem;
}

.stat-card h3 {
  margin: 0;
  color: #d4e3e8;
  font-size: 1rem;
}

.stat-card p {
  margin: 0.5rem 0 0;
  font-size: 2.2rem;
  font-weight: 800;
}

.review-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-card {
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  border-left: 4px solid var(--secondary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.review-card h3 {
  margin: 0 0 0.55rem;
}

.review-form {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.7rem;
  background: #f7fafc;
  border: 1px solid rgba(28, 53, 72, 0.12);
  border-radius: 14px;
  padding: 1rem;
}

.review-form h3 {
  margin: 0;
}

.review-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.review-form input,
.review-form textarea {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font: inherit;
}

.alert {
  border-radius: 10px;
  padding: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.alert.success {
  background: #e4f7e8;
  color: #1c6d2f;
}

.alert.error {
  background: #fbe9e9;
  color: #8b2724;
}

.contact-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cta-btn,
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  border: none;
}

.cta-btn {
  padding: 0.8rem 1.2rem;
  background: linear-gradient(130deg, var(--secondary), #9da9b6);
  color: #ffffff;
}

.link-btn {
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(11, 51, 59, 0.2);
  color: #17343c;
  background: #fff;
}

.footer {
  padding: 1.7rem 0 2.2rem;
  text-align: center;
  color: #5b6a6f;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 780px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo-shell {
    width: 78px;
    height: 78px;
  }

  .hero-content {
    padding-top: 4.4rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 260px;
  }

  .section {
    padding: 1.2rem;
  }
}
