:root {
  --terracotta: #B56576;
  --terracotta-dark: #9E2A2B;
  --sapphire: #355070;
  --gold: #E56B6F;
  --cream: #F7F4EA;
  --anthracite: #3A3A3A;
  --bg-paper: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><rect width="200" height="200" fill="%23F7F4EA"/><g fill="%23EAE7D8" opacity="0.08"><rect x="0" y="0" width="100" height="100"/><rect x="100" y="100" width="100" height="100"/></g></svg>');
  --radius: 14px;
  --shadow: 0 12px 35px rgba(53, 80, 112, 0.1);
  scroll-behavior: smooth;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* base */
*{box-sizing:border-box} html,body{height:100%} body{margin:0;background:var(--bg-paper);color:var(--anthracite);-webkit-font-smoothing:antialiased;line-height:1.6}

/* header */
.header {
  background: rgba(247, 244, 234, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(53, 80, 112, 0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}
.logo {
  height: 70px;
  object-fit: contain;
}

/* hero */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background-image: url('images/heroimageazen.webp');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(53, 80, 112, 0.65) 0%, rgba(181, 101, 118, 0.7) 100%);
  mix-blend-mode: multiply;
}
.hero-pattern {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  opacity: 0.6;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 40px;
  text-align: center;
}
.hero-icon img {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: block;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(247, 244, 234, 0.95);
  margin-bottom: 28px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* banner section */
.banner-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--cream);
  overflow: hidden;
}
.banner-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}
.banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  margin-bottom: 0;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 20px rgba(229, 107, 111, 0.25);
}
.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(229, 107, 111, 0.3);
}
.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 20px;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
}
.btn-outline:hover {
  background: var(--terracotta);
  color: #fff;
}

/* container */
.container {
  max-width: 1140px;
  margin: -100px auto 50px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  position: relative;
  z-index: 10;
}

/* cards */
.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  color: var(--anthracite);
}
.card h2 {
  color: var(--sapphire);
  margin-top: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
  text-align: center;
}
.reservation-subtitle {
  color: #d32f2f;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 16px;
  font-style: italic;
}
.program {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}
.program li {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  margin-bottom: 14px;
  background: rgba(247, 244, 234, 0.6);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.program li:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(53, 80, 112, 0.08);
}
.program h3 {
  margin: 0 0 4px;
  color: var(--sapphire);
}
.program p {
  margin: 0;
  font-size: 0.95rem;
}

/* form */
.res-form .form-field {
  margin-bottom: 16px;
}
.res-form input,
.res-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(53, 80, 112, 0.15);
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.res-form input:focus,
.res-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181, 101, 118, 0.2);
}
.res-form input:invalid:not(:focus):not(:placeholder-shown),
.res-form textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: var(--gold);
}
.res-form input.error,
.res-form textarea.error {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}
.res-form input.error:focus,
.res-form textarea.error:focus {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}
.res-form input.success,
.res-form textarea.success {
  border-color: #388e3c;
}
.error-message {
  display: block;
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: 6px;
  min-height: 20px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.error-message.show {
  opacity: 1;
  transform: translateY(0);
}
.required {
  color: var(--gold);
  font-weight: 600;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.form-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.form-actions .btn:disabled:hover {
  transform: none;
  box-shadow: inherit;
}

/* partners */
.partner-list {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.partner img {
  height: 90px;
  border-radius: 8px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.partner img:hover {
  opacity: 1;
}

/* azen section */
#azen {
  max-width: 1140px;
  margin: 40px auto 32px;
  position: relative;
  z-index: 20;
}
.azen-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: var(--sapphire);
}
.azen-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.azen-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.azen-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.azen-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}
.azen-photo-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--sapphire) 0%, var(--terracotta) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.azen-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>') center/60px no-repeat;
  opacity: 0.4;
}
.placeholder-text {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
}
.azen-content {
  padding: 24px;
}
.azen-content h3 {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-family: 'Playfair Display', serif;
}
.azen-content p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.quote {
  font-style: italic;
  color: var(--sapphire);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin-top: 16px;
}
.azen-footer {
  text-align: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(53, 80, 112, 0.1);
  font-size: 1rem;
  color: var(--sapphire);
}

/* toast */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--sapphire);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 100;
  max-width: 350px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.toast-success {
  background: #388e3c;
}
.toast-error {
  background: #d32f2f;
}
.toast-info {
  background: var(--sapphire);
}
@media (max-width: 480px) {
  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

/* footer */
.site-footer {
  margin-top: 50px;
  background: var(--sapphire);
  color: var(--cream);
  padding: 40px 24px;
  position: relative;
  text-align: center;
}
.footer-pattern {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(
    45deg,
    var(--terracotta) 0,
    var(--terracotta) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.6;
}
.footer-inner p {
  margin: 4px 0;
}
.footer-link {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-link:hover {
  opacity: 0.9;
  color: rgba(247, 244, 234, 0.95);
  text-decoration-thickness: 2px;
}
.footer-link:focus {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
  border-radius: 2px;
}

/* fade-in */
.fade-in{opacity:0;transform:translateY(10px);transition:opacity .6s ease, transform .6s ease}
.fade-in.visible{opacity:1;transform:none}

/* responsive */
@media (max-width: 980px) {
  #azen {
    margin: 40px 20px 32px;
  }
  .azen-trio {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .container {
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 28px;
  }
  .header-inner {
    gap: 16px;
    padding: 8px 20px;
  }
  .hero {
    min-height: 65vh;
  }
  .banner-image {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hero-sub {
    font-size: 1rem;
  }
  .container {
    padding: 0 20px;
  }
  .card {
    padding: 24px;
  }
  .card h2 {
    font-size: 1.4rem;
  }
  .banner-section {
    margin: 0;
  }
  .banner-image {
    width: 100%;
    height: auto;
  }
  .azen-duo,
  .azen-trio {
    grid-template-columns: 1fr;
  }
  .azen-person {
    text-align: center;
  }
  .azen-banner {
    grid-template-columns: 1fr;
  }
  .azen-photo,
  .azen-photo-placeholder {
    height: 250px;
  }
  .form-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 8px 16px;
  }
  .logo {
    height: 60px;
  }
  .hero {
    min-height: 80vh;
  }
  .hero-content {
    padding: 24px;
  }
  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .banner-section {
    margin: 0;
  }
  .banner-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
  }
  .container {
    margin-top: -40px;
    gap: 20px;
  }
  .card {
    padding: 20px;
  }
  .program li {
    padding: 14px 16px;
  }
  .partner-list {
    flex-direction: column;
    gap: 24px;
  }
}

/* accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.section-text { color: var(--anthracite); }
