:root {
  --green: #6f9005;
  --green-dark: #415700;
  --brown: #6e2514;
  --brown-dark: #4d190d;
  --cream: #f7f3e8;
  --paper: #ffffff;
  --text: #23251f;
  --muted: #6f726b;
  --line: #e4e1d8;
  --shadow: 0 18px 45px rgba(31, 42, 18, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 144, 5, 0.10), transparent 30%),
    linear-gradient(180deg, #faf9f4 0%, #f2efe4 100%);
  line-height: 1.65;
}

a {
  color: var(--green-dark);
}

.cetate-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.section-card,
.visit-box {
  margin-bottom: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section-card {
  padding: 38px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(111, 144, 5, 0.10);
}

.intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.intro::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -120px;
  border-radius: 50%;
  background: rgba(111, 144, 5, 0.08);
}

.intro-logo {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--line);
}

.intro-logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
}

h3 {
  color: var(--brown-dark);
  font-size: 1.35rem;
}

.btnn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btnn:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 10px 25px rgba(65, 87, 0, 0.22);
}

.section-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.section-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown);
  font-weight: 900;
  border: 1px solid #e4d9c5;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.media-card {
  margin: 0;
}

.image-placeholder {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  border-radius: 18px;
  border: 2px dashed rgba(111, 144, 5, 0.35);
  background:
    linear-gradient(135deg, rgba(111, 144, 5, .07), rgba(110, 37, 20, .06)),
    #fafafa;
  text-align: center;
  color: var(--green-dark);
}

.image-placeholder small {
  color: var(--muted);
}

.image-placeholder code {
  background: rgba(255,255,255,.7);
  padding: 3px 6px;
  border-radius: 6px;
}

figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: .92rem;
}

.announcement {
  border-left: 6px solid var(--brown);
}

.announcement-grid {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1.2fr;
  gap: 28px;
  align-items: center;
}

.poster {
  min-height: 360px;
}

.notice {
  display: inline-block;
  margin-bottom: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--brown-dark);
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery .image-placeholder {
  min-height: 210px;
}

.visit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 38px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
}

.visit-box h2,
.visit-box .eyebrow {
  color: #fff;
}

.visit-box p:last-child {
  margin-bottom: 0;
}

.btn-light {
  flex: 0 0 auto;
  background: #fff;
  color: var(--green-dark);
}

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

@media (max-width: 860px) {
  .intro,
  .announcement-grid,
  .text-grid {
    grid-template-columns: 1fr;
  }

  .intro-logo {
    width: min(340px, 100%);
    margin: 0 auto;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .visit-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .cetate-page {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .section-card,
  .visit-box {
    border-radius: 18px;
  }

  .section-card,
  .visit-box {
    padding: 24px 20px;
  }

  .section-heading > span {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
