:root {
  --primary: #2196f3;
  --dark-primary: #1976d2;
  --secondary: #1759a8;
  --dark-secondary: #113d7e;
  --light-primary: #bbdefb;
  --accent: #536dfe;
  --background: #f8fbff;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --border: #dbe6f2;
  --shadow: rgba(17, 24, 39, 0.12);

  --header-height: 88px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 76, 137, 0.08);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--dark-secondary);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.brand span {
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--dark-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 12px 24px rgba(33, 150, 243, 0.2);
}

.button-secondary {
  background: white;
  color: var(--dark-primary);
  border-color: rgba(33, 150, 243, 0.4);
}

.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at top right, rgba(83, 109, 254, 0.14), transparent 35%),
    linear-gradient(160deg, rgba(33, 150, 243, 0.12), rgba(23, 89, 168, 0.06));
}

.hero-grid,
.split-layout,
.prose-layout,
.form-layout,
.order-layout {
  display: grid;
  align-items: center;
  gap: 40px;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.hero-copy h1,
.page-banner h1,
.centered-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  line-height: 1;
  margin: 0 0 18px;
  color: var(--dark-secondary);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.lead,
.text-panel p,
.feature-card p,
.step-card p,
.order-card p,
.footer-grid p,
.footer-grid li,
.check-list li,
.form-feedback {
  color: var(--muted);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.trust-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  margin-right: 10px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-frame {
  background: linear-gradient(160deg, rgba(33, 150, 243, 0.14), rgba(83, 109, 254, 0.12));
  border-radius: 36px;
  border: 1px solid rgba(17, 61, 126, 0.08);
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.08);
  width: min(100%, 560px);
  padding: 18px;
}

.slider-frame img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 24px;
}

.highlights,
.process,
.values-section {
  padding: 48px 0;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.step-card,
.order-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.04);
}

.feature-card .icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--light-primary), rgba(83, 109, 254, 0.2));
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.story-section,
.content-page {
  padding: 56px 0;
}

.split-layout,
.prose-layout,
.form-layout {
  grid-template-columns: 1fr 1fr;
}

.image-panel img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(17, 24, 39, 0.08);
  min-height: 420px;
  object-fit: cover;
}

.tall-image img {
  min-height: 540px;
}

.text-panel h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 18px;
  color: var(--dark-secondary);
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.check-list {
  margin: 24px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.step-number {
  display: inline-block;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.center {
  text-align: center;
}

.cta-band {
  padding: 34px 0 64px;
}

.band-wrap {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.12), rgba(83, 109, 254, 0.12));
  border: 1px solid rgba(23, 89, 168, 0.12);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer {
  background: linear-gradient(180deg, #0f233e 0%, #081a2f 100%);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-brand {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 24px;
  padding: 18px 0 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.page-banner {
  padding: 54px 0 22px;
}

.custom-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
}

.field-row {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.field-row label {
  font-weight: 600;
  color: var(--dark-secondary);
}

.field-row input,
.field-row textarea,
.field-row select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: white;
  color: var(--text);
}

.field-row input:focus,
.field-row textarea:focus,
.field-row select:focus {
  outline: 2px solid rgba(33, 150, 243, 0.2);
  border-color: rgba(33, 150, 243, 0.6);
}

.form-actions {
  margin-top: 8px;
}

.form-feedback {
  min-height: 24px;
  margin-top: 16px;
  font-weight: 600;
}

.form-feedback.success {
  color: #0e7a4a;
}

.form-feedback.error {
  color: #b42318;
}

.order-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.accent-card {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(83, 109, 254, 0.08));
}

.construction-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(33, 150, 243, 0.12), rgba(17, 24, 39, 0.05) 40%, #f8fbff 100%);
}

.construction-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.construction-box {
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.08);
  text-align: center;
}

.typing-area {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark-secondary);
  margin-bottom: 18px;
}

.cursor {
  animation: blink 0.9s steps(1) infinite;
}

.loading-bars {
  display: inline-flex;
  gap: 10px;
  align-items: end;
  justify-content: center;
  height: 50px;
  margin: 6px 0 20px;
}

.loading-bars span {
  display: block;
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  animation: pulse 1.2s infinite ease-in-out;
}

.loading-bars span:nth-child(1) { height: 26px; animation-delay: 0s; }
.loading-bars span:nth-child(2) { height: 42px; animation-delay: 0.15s; }
.loading-bars span:nth-child(3) { height: 34px; animation-delay: 0.3s; }

.hidden {
  display: none !important;
}

@keyframes pulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-layout,
  .prose-layout,
  .form-layout,
  .order-layout,
  .three-up,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
  }

  .main-nav {
    justify-content: center;
  }

  .band-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 48px;
  }

  .button {
    width: 100%;
  }

  .cta-row {
    display: grid;
  }
}
