:root {
  --bg: #31565d;
  --bg-soft: #edf2ee;
  --surface: rgba(247, 245, 240, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.68);
  --text: #153238;
  --text-soft: #5c6f71;
  --line: rgba(21, 50, 56, 0.12);
  --accent: #d8c7a6;
  --accent-strong: #c1ab84;
  --max: 1180px;
  --shadow: 0 20px 50px rgba(10, 30, 34, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 26%),
    radial-gradient(circle at bottom left, rgba(216, 199, 166, 0.22), transparent 22%),
    linear-gradient(180deg, #eef4f2 0%, #dde9e6 48%, #eef3ef 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.brand-shell {
  min-height: 100vh;
}

.brand-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(247, 245, 240, 0.62);
  border-bottom: 1px solid var(--line);
}

.brand-topbar {
  background: rgba(21, 50, 56, 0.88);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-topbar__inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.65rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-header__inner,
.brand-footer__inner,
.hero,
.section,
.page-hero {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.brand-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(49, 86, 93, 0.18);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
}

.brand-mark__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark__subtitle {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand-nav a {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.brand-nav a:hover,
.brand-nav a[aria-current="page"] {
  color: var(--text);
}

.brand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.brand-button:hover {
  transform: translateY(-1px);
}

.brand-button--primary {
  background: var(--text);
  color: #fff;
}

.brand-button--secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.brand-button--light {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--line);
}

.hero-wrap {
  background:
    radial-gradient(circle at top left, rgba(216, 199, 166, 0.22), transparent 32%),
    linear-gradient(135deg, #2f5961 0%, #24444b 100%);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4.25rem 0 5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero p,
.page-hero p,
.section-copy p {
  font-size: 1.03rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  padding: 1.2rem;
  box-shadow: 0 20px 60px rgba(6, 24, 27, 0.2);
  backdrop-filter: blur(18px);
}

.hero-card img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.hero-card__note {
  padding: 1rem 0.4rem 0.3rem;
  display: grid;
  gap: 0.35rem;
}

.hero-card__note strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card__note span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.section {
  padding: 5rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.section-title {
  margin: 0 0 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.section-copy p {
  color: var(--text-soft);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid-card,
.story-panel,
.contact-card,
.space-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.grid-card h3,
.space-card h3,
.contact-card h3,
.story-panel h3 {
  margin: 0 0 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.grid-card p,
.space-card p,
.contact-card p,
.story-panel p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.quote-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band blockquote {
  margin: 0;
  padding: 4rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.4;
  color: var(--text);
}

.quote-band span {
  display: block;
  margin-top: 1rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.space-grid,
.story-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.space-card__kicker,
.story-panel__kicker {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.cta-panel {
  background: linear-gradient(135deg, #355f66 0%, #27454a 100%);
  color: #fff;
  border-radius: 34px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-hero-wrap {
  background: linear-gradient(135deg, rgba(243, 239, 230, 0.72) 0%, rgba(238, 244, 239, 0.78) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.page-hero {
  padding: 3.5rem 0;
}

.page-hero p {
  color: var(--text-soft);
  max-width: 760px;
}

.brand-footer {
  background: #233f45;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4rem;
}

.brand-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

.brand-footer h4 {
  margin: 0 0 0.8rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.62);
}

.brand-footer p,
.brand-footer a {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.brand-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.small-note {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.account-form {
  display: grid;
  gap: 0.85rem;
}

.account-form input,
.account-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 50, 56, 0.14);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--text);
  font: inherit;
  backdrop-filter: blur(12px);
}

.account-message {
  margin-top: 1rem;
  color: var(--text-soft);
}

.account-message.is-error {
  color: #a14141;
}

.adieva-fab-wrap {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.adieva-wa-fab,
.adieva-chat-fab {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.adieva-wa-fab {
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.adieva-chat-fab {
  background: rgba(21, 50, 56, 0.92);
  color: #fff;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
}

.adieva-chat-panel {
  width: min(380px, calc(100vw - 2rem));
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(21, 50, 56, 0.12);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(10, 30, 34, 0.22);
  overflow: hidden;
  display: none;
  backdrop-filter: blur(18px);
}

.adieva-chat-panel.is-open {
  display: block;
}

.adieva-chat-panel__head {
  padding: 1rem 1rem 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  border-bottom: 1px solid rgba(21, 50, 56, 0.08);
}

.adieva-chat-panel__head strong {
  display: block;
}

.adieva-chat-panel__head small {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-soft);
}

.adieva-chat-panel__head button {
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-soft);
}

.adieva-chat-messages {
  max-height: 360px;
  overflow: auto;
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.adieva-chat-message {
  display: flex;
}

.adieva-chat-message--user {
  justify-content: flex-end;
}

.adieva-chat-bubble {
  max-width: 88%;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 50, 56, 0.08);
}

.adieva-chat-message--user .adieva-chat-bubble {
  background: rgba(21, 50, 56, 0.92);
  color: #fff;
}

.adieva-chat-bubble p {
  margin: 0;
  line-height: 1.6;
}

.adieva-chat-sources {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.adieva-chat-sources a {
  font-size: 0.78rem;
  text-decoration: underline;
}

.adieva-chat-form {
  padding: 1rem;
  border-top: 1px solid rgba(21, 50, 56, 0.08);
  display: grid;
  gap: 0.75rem;
}

.adieva-chat-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(21, 50, 56, 0.12);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.9rem 1rem;
  font: inherit;
  resize: vertical;
}

@media (max-width: 960px) {
  .hero,
  .section-grid,
  .brand-footer__inner,
  .space-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .brand-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-topbar__inner {
    display: grid;
    gap: 0.35rem;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .brand-mark img {
    width: 56px;
    height: 56px;
  }
}
