:root {
  --bg: #eef4ee;
  --surface: #f9fbf7;
  --surface-soft: #e6eee3;
  --text: #243126;
  --muted: #617063;
  --primary: #6d9672;
  --primary-dark: #547759;
  --primary-soft: #789f7c;

  --accent: #eead63;
  --accent-strong: #e8983f;
  --accent-dark: #d9872e;
  --accent-soft: rgba(238, 173, 99, 0.38);

  --line: rgba(216, 135, 46, 0.24);
  --shadow-soft: 0 16px 36px rgba(53, 78, 56, 0.06);
  --shadow-light: 0 10px 24px rgba(53, 78, 56, 0.04);
  --calendar-color: var(--primary);
  --calendar-color-dark: var(--primary-dark);
  --container: 1120px;
  --radius: 24px;
  --radius-large: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f3f7f1 0%, #edf3eb 100%);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

iframe {
  display: block;
  width: 100%;
}

a {
  color: var(--primary-dark);
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 251, 247, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(109, 150, 114, 0.12);
  box-shadow: 0 8px 22px rgba(53, 78, 56, 0.05);
}

.header-inner {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  height: 104px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(109, 150, 114, 0.1);
  box-shadow: var(--shadow-light);
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary-dark);
  background: rgba(238, 173, 99, 0.26);
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 15px;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.menu-toggle span:nth-child(1) {
  top: 18px;
}

.menu-toggle span:nth-child(2) {
  top: 26px;
}

.menu-toggle span:nth-child(3) {
  top: 34px;
}

.hero-slider {
  position: relative;
  width: min(92%, var(--container));
  margin: 24px auto 0;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.slider {
  position: relative;
  height: 520px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(24, 34, 26, 0.6),
    rgba(24, 34, 26, 0.14)
  );
}

.slide-caption {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 42px;
  z-index: 2;
  color: #ffffff;
  max-width: 760px;
}

.slide-caption h2 {
  margin: 0 0 10px;
  font-size: 2.45rem;
  line-height: 1.08;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.slide-caption p {
  margin: 0;
  font-size: 1.04rem;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.dot.active {
  background: #ffffff;
}

.hero {
  padding: 78px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.88rem;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.04;
  margin: 10px 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 760px;
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.detail-card {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(238, 173, 99, 0.42) 0%, rgba(255, 255, 255, 0.56) 100%);
  border: 1px solid rgba(216, 135, 46, 0.4);
  box-shadow: var(--shadow-light);
}

.detail-label {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid rgba(216, 135, 46, 0.64);
  background: rgba(238, 173, 99, 0.24);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(238, 173, 99, 0.36);
}

.hero-organizers {
  display: flex;
}

.organizers-note {
  width: 100%;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(238, 173, 99, 0.42) 0%, rgba(255, 255, 255, 0.56) 100%);
  border: 1px solid rgba(216, 135, 46, 0.4);
  box-shadow: var(--shadow-light);
}

.organizers-note h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.organizers-note p {
  margin: 0 0 10px;
}

.organizers-note p:last-child {
  margin-bottom: 0;
}

.section {
  padding: 82px 0;
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(230, 238, 227, 0.74) 0%,
    rgba(238, 173, 99, 0.1) 100%
  );
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--primary-soft);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.text-block {
  max-width: 880px;
}

.text-block h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.28rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--text);
}

.text-block p {
  margin: 0 0 16px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.elegant-list .timeline-item {
  padding: 22px 4px 18px;
  border-bottom: 1px solid rgba(216, 135, 46, 0.34);
  background: transparent;
}

.elegant-list .timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.soft-panel {
  background: linear-gradient(180deg, rgba(238, 173, 99, 0.42) 0%, rgba(255, 255, 255, 0.58) 100%);
  border: 1px solid rgba(216, 135, 46, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  padding: 34px;
}

.centered-box {
  text-align: center;
}

.download-template-box h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.7rem;
  color: var(--primary-soft);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.download-template-box p {
  margin: 0 0 22px;
}

.template-btn {
  min-width: 220px;
}

.fees-clarity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.refined-card {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(238, 173, 99, 0.5) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid rgba(216, 135, 46, 0.46);
  box-shadow: var(--shadow-light);
  text-align: center;
}

.price-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.22rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.price-emphasis {
  margin: 0 0 10px;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.12;
}

.single-price {
  margin-bottom: 0;
}

.price-standard {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--muted);
}

.payment-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 135, 46, 0.34);
}

.committee-stack {
  display: grid;
  gap: 18px;
}

.committee-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.24rem;
}

.committee-card ul {
  margin: 0;
  padding-left: 20px;
}

.committee-card li + li {
  margin-top: 10px;
}

.form-embed {
  margin-top: 24px;
}

.form-embed iframe {
  min-height: 950px;
  border: none;
  border-radius: 18px;
  background: #ffffff;
}

/* ── Abstract submission page heading ── */
#abstracts .section-heading,
#abstracts .section-heading h2,
#abstracts .text-block,
#abstracts .text-block p {
  text-align: center;
}

#abstracts .text-block {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Abstract form ── */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.abstract-form {
  margin-top: 8px;
}

.abstract-form fieldset,
.abstract-form .abstract-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.abstract-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.abstract-form .form-row-2 .form-group {
  margin-bottom: 0;
}

.abstract-form .form-group {
  margin-bottom: 18px;
}

.abstract-form .form-group > label,
.abstract-form .form-group > .group-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.abstract-form .form-hint {
  display: inline-block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: 8px;
  letter-spacing: 0;
}

.abstract-form .form-group input[type="text"],
.abstract-form .form-group input[type="email"],
.abstract-form .form-group input[type="tel"],
.abstract-form .form-group input:not([type]),
.abstract-form .form-group select,
.abstract-form .form-group textarea {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1c5b0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.abstract-form .form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%23617063' stroke-width='1.5' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 7px;
  padding-right: 36px;
  cursor: pointer;
}

.abstract-form .form-group input:focus,
.abstract-form .form-group select:focus,
.abstract-form .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(216, 135, 46, 0.22);
}

.abstract-form .form-group input[type="file"] {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1.5px dashed #c8b893;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.abstract-form .form-group input[type="file"]:hover {
  border-color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.85);
}

.abstract-form .form-radios {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.abstract-form .radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #d1c5b0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.abstract-form .radio-label:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--accent-dark);
}

.abstract-form .radio-label input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--accent-dark);
}

.abstract-form .req { color: var(--accent-dark); font-weight: 700; }

.abstract-form .form-required-note {
  margin: 4px 0 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

.abstract-form .form-footer {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.abstract-form #form-status:empty { display: none; }

.abstract-form .form-status-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
}

.abstract-form .form-status-ok {
  margin: 12px 0 0;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 8px;
}

.abstract-form altcha-widget {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.venue-map iframe {
  border-radius: 18px;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.travel-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.travel-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(216, 135, 46, 0.48);
}

.travel-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
  color: var(--text);
}

.travel-content {
  width: 100%;
}

.travel-content h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.travel-content p {
  margin-top: 0;
}

.travel-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 135, 46, 0.34);
}

.travel-links p {
  margin: 0 0 10px;
}

.travel-links p:last-child {
  margin-bottom: 0;
}

.events-block {
  display: grid;
  gap: 24px;
}

.event-item {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(216, 135, 46, 0.34);
}

.event-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.event-with-icon {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: start;
}

.event-content h3 {
  margin-top: 0;
}

.event-calendar {
  width: 74px;
  flex-shrink: 0;
}

.calendar-top {
  position: relative;
  height: 19px;
  background: var(--calendar-color);
  border-radius: 8px 8px 0 0;
}

.calendar-ring {
  position: absolute;
  top: -8px;
  width: 10px;
  height: 18px;
  background: #f3f7f1;
  border: 4px solid var(--calendar-color);
  border-radius: 999px;
}

.calendar-ring:first-child {
  left: 12px;
}

.calendar-ring:last-child {
  right: 12px;
}

.calendar-body {
  height: 58px;
  border: 6px solid var(--calendar-color);
  border-top: none;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--calendar-color-dark);
  line-height: 1;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: center;
  justify-items: center;
  padding-top: 8px;
}

.partner-logo {
  width: 100%;
  max-width: 220px;
  height: 90px;
  object-fit: contain;
  background: transparent;
}

.site-footer {
  padding: 42px 0;
  background: #5e7c63;
  color: #f7fbf6;
}

.site-footer a {
  color: #f7fbf6;
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h3,
.footer-col h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.footer-col p {
  margin: 0 0 8px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .hero-details,
  .fees-clarity,
  .venue-grid,
  .travel-grid,
  .footer-grid,
  .logos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 130px;
    left: 4%;
    right: 4%;
    background: rgba(249, 251, 247, 0.98);
    border: 1px solid rgba(109, 150, 114, 0.16);
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    box-shadow: 0 18px 28px rgba(53, 78, 56, 0.12);
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    font-size: 1rem;
    padding: 12px 14px;
  }
}

@media (max-width: 760px) {
  .site-logo {
    height: 78px;
  }

  .header-inner {
    min-height: 108px;
  }

  .hero-slider {
    margin-top: 14px;
    border-radius: 22px;
  }

  .slider {
    height: 300px;
  }

  .slide-caption {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }

  .slide-caption h2 {
    font-size: 1.65rem;
  }

  .slide-caption p {
    font-size: 0.96rem;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .section-heading h2,
  .download-template-box h2 {
    font-size: 1.45rem;
  }

  .form-embed iframe {
    min-height: 1100px;
  }

  .travel-card {
    flex-direction: column;
    gap: 14px;
  }

  .event-with-icon {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-calendar {
    width: 66px;
  }

  .calendar-body {
    height: 52px;
  }

  .calendar-number {
    font-size: 1.75rem;
  }

  .soft-panel,
  .detail-card,
  .organizers-note,
  .refined-card {
    padding: 26px;
  }

  .abstract-form .form-row-2 {
    grid-template-columns: 1fr;
  }
}