/* Auto-Layout pages — no Divi Builder needed */
.ww-auto {
  --ww-ink: #132033;
  --ww-ink-soft: #3d4f63;
  --ww-muted: #6b7c8f;
  --ww-line: #d7e0ea;
  --ww-surface: #fff;
  --ww-bg: #f5f8fb;
  --ww-brand: #0b3d5c;
  --ww-brand-deep: #072a40;
  --ww-accent: #0f8a7a;
  --ww-shadow: 0 18px 50px rgba(11, 61, 92, 0.08);
  --ww-radius: 18px;
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--ww-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #dceef8 0%, transparent 55%),
    radial-gradient(900px 420px at 95% 0%, #d9f2ee 0%, transparent 50%),
    var(--ww-bg);
}

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

.ww-auto a { color: var(--ww-brand); text-decoration: none; }
.ww-auto a:hover { color: var(--ww-accent); }

.ww-auto h1,
.ww-auto h2,
.ww-auto h3 {
  font-family: "Sora", system-ui, sans-serif;
  letter-spacing: -0.03em;
  color: var(--ww-brand-deep);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

.ww-wrap {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.ww-top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(245, 248, 251, 0.9);
  border-bottom: 1px solid var(--ww-line);
}

.ww-top-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ww-logo {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ww-brand-deep) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.ww-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ww-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

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

.ww-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.ww-nav a {
  color: var(--ww-ink-soft) !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.ww-nav .current-menu-item > a,
.ww-nav a:hover { color: var(--ww-brand-deep) !important; }

.ww-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
}

.ww-btn-primary { background: var(--ww-accent) !important; color: #fff !important; }
.ww-btn-secondary { background: rgba(255,255,255,0.92) !important; color: var(--ww-brand-deep) !important; }
.ww-btn-dark { background: var(--ww-brand) !important; color: #fff !important; }
.ww-btn-ghost { background: transparent !important; color: var(--ww-brand) !important; border-color: var(--ww-line) !important; }
.ww-btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.ww-hero {
  position: relative;
  min-height: min(86vh, 720px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.ww-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.ww-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,42,64,0.28) 0%, rgba(7,42,64,0.75) 70%, rgba(7,42,64,0.92) 100%),
    linear-gradient(90deg, rgba(7,42,64,0.55) 0%, rgba(7,42,64,0.15) 60%, transparent 100%);
}

.ww-hero-content {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 4rem;
  max-width: 720px;
}

.ww-brand-signal {
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  margin: 0 0 0.85rem;
  color: #fff;
}

.ww-hero h1 {
  color: #fff;
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  font-weight: 600;
  max-width: 18ch;
}

.ww-hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 42ch; }

.ww-section { padding: 4.5rem 0; }
.ww-eyebrow {
  color: var(--ww-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.ww-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ww-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ww-card {
  background: var(--ww-surface);
  border: 1px solid var(--ww-line);
  border-radius: var(--ww-radius);
  padding: 1.35rem;
}

.ww-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 1rem;
}

.ww-card.popular {
  border-color: var(--ww-accent);
  background: linear-gradient(180deg, #fff 0%, #f0faf8 100%);
  box-shadow: var(--ww-shadow);
}

.ww-price {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ww-brand-deep);
}

.ww-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ww-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ww-ink-soft);
}

.ww-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ww-accent);
  font-weight: 700;
}

.ww-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.ww-media {
  border-radius: var(--ww-radius);
  overflow: hidden;
  box-shadow: var(--ww-shadow);
}

.ww-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.ww-cta {
  border-radius: calc(var(--ww-radius) + 8px);
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(11,61,92,0.95), rgba(15,138,122,0.88));
  color: #fff;
  margin: 1rem 0 4rem;
}

.ww-cta h2,
.ww-cta p { color: #fff; }

.ww-page-hero { padding: 4rem 0 1.5rem; }
.ww-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.ww-page-hero p { max-width: 52ch; color: var(--ww-ink-soft); font-size: 1.08rem; }

.ww-foot {
  background: var(--ww-brand-deep);
  color: rgba(255,255,255,0.82);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.ww-foot a { color: rgba(255,255,255,0.85) !important; }
.ww-foot a:hover { color: #7de0d2 !important; }
.ww-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.ww-foot h3 { color: #fff; font-size: 1rem; }
.ww-foot-brand {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.ww-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.ww-foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ww-form { display: grid; gap: 0.9rem; }
.ww-form label { display: grid; gap: 0.35rem; font-weight: 600; color: var(--ww-brand-deep); }
.ww-form input,
.ww-form textarea,
.ww-form select {
  width: 100%;
  border: 1px solid var(--ww-line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.ww-admin-notice { border-left-color: #0f8a7a !important; }

/* WooCommerce inside WorldWEB layout */
.ww-auto .ww-woo-single .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.ww-auto .woocommerce div.product .product_title {
  font-family: "Sora", system-ui, sans-serif;
  color: var(--ww-brand-deep);
}
.ww-auto .woocommerce div.product p.price,
.ww-auto .woocommerce div.product span.price {
  font-family: "Sora", system-ui, sans-serif;
  color: var(--ww-brand-deep);
  font-size: 1.6rem;
  font-weight: 700;
}
.ww-auto .woocommerce a.button,
.ww-auto .woocommerce button.button,
.ww-auto .woocommerce input.button,
.ww-auto .woocommerce #respond input#submit {
  border-radius: 999px !important;
  background: var(--ww-accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
}
.ww-auto .woocommerce-message,
.ww-auto .woocommerce-info {
  border-top-color: var(--ww-accent);
}

@media (max-width: 960px) {
  .ww-grid-2,
  .ww-grid-3,
  .ww-split,
  .ww-foot-grid,
  .ww-auto .ww-woo-single .product { grid-template-columns: 1fr; }
  .ww-nav ul { display: none; }
  .ww-hero { min-height: 70vh; }
}
