/* ============================================================
   Santi Universe — custom styles layered on top of the Adon theme
   ============================================================ */

/* --- Theme driving ---
   The template applies dark mode via a `.dark` ancestor class. We put `.dark`
   on <html> (set in <head> before paint). Most template rules use `.dark .x`
   (descendant) so they work from <html>. The only body-specific rule is
   `.body-wrapper.dark`, which we mirror here for the html-level class. */
html.dark .body-wrapper {
  background-color: var(--black);
}

/* --- Theme toggle button --- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 16px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}

.theme-toggle:hover {
  background: var(--theme);
  border-color: var(--theme);
  color: #fff;
  transform: rotate(-15deg);
}

/* Show the icon that represents what you'll switch TO */
.theme-toggle .icon-dark,
.theme-toggle .icon-light { pointer-events: none; }

html[data-theme="dark"] .theme-toggle .icon-dark { display: none; }
html[data-theme="dark"] .theme-toggle .icon-light { display: inline-block; }

html[data-theme="light"] .theme-toggle .icon-light { display: none; }
html[data-theme="light"] .theme-toggle .icon-dark { display: inline-block; }

@media (max-width: 1199px) {
  .theme-toggle { margin-right: 10px; }
}

/* --- Bigger logo (the Santi wordmark is wider than the template's mark) --- */
.header-area-17 .header__logo img,
.footer-17-content .footer-logo img,
.offset-logo img {
  width: 150px;
}

/* --- Loader wordmark uses the Astro-Nebula display font --- */
.loader-wrap .loader-wrap-heading .load-text {
  font-family: var(--font_astronebula);
}

/* --- Services: keep the active tab's text readable on dark hover ---
   The active tab title is black text on an orange box; in dark mode hovering
   swaps the box to #1F1F1F, which hides the black text. Turn it white. */
html.dark .services-17-wrapper .nav-tabs .nav-link.active:hover .title {
  color: #ffffff;
}

/* ============================================================
   Rich footer
   ============================================================ */
.santi-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 0 50px;
}
@media (max-width: 1100px) { .santi-footer-grid { grid-template-columns: 1fr 1fr; gap: 44px 40px; } }
@media (max-width: 560px)  { .santi-footer-grid { grid-template-columns: 1fr; } }
.santi-footer-col h4 {
  font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); margin: 0 0 22px; font-weight: 600;
}
.santi-footer-col .footer-logo img { width: 150px; margin-bottom: 20px; }
.santi-footer-tag { color: var(--secondary); font-size: 16px; line-height: 1.6; margin-bottom: 24px; max-width: 340px; }
.santi-footer-contact { list-style: none; margin: 0; padding: 0; }
.santi-footer-contact li { display: flex; gap: 12px; color: var(--secondary); font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
.santi-footer-contact li i { color: var(--theme); margin-top: 3px; }
.santi-footer-contact a { color: var(--secondary); }
.santi-footer-contact a:hover { color: var(--theme); }
.santi-footer-hours { list-style: none; margin: 0; padding: 0; }
.santi-footer-hours li { display: flex; justify-content: space-between; gap: 14px; color: var(--secondary); font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.santi-footer-hours li span { color: var(--primary); }
.santi-footer-links { list-style: none; margin: 0; padding: 0; }
.santi-footer-links li { margin-bottom: 12px; }
.santi-footer-links a { color: var(--secondary); font-size: 15px; }
.santi-footer-links a:hover { color: var(--theme); padding-left: 4px; transition: padding .2s ease, color .2s ease; }
.santi-footer-col > p { color: var(--secondary); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.santi-newsletter { display: flex; border: 1px solid var(--border); margin-bottom: 22px; }
.santi-newsletter input { flex: 1; background: transparent; border: 0; outline: none; color: var(--primary); padding: 14px 16px; font-size: 15px; }
.santi-newsletter input::placeholder { color: var(--secondary); }
.santi-newsletter button { background: var(--theme); color: #fff; border: 0; padding: 0 20px; cursor: pointer; font-size: 15px; }
.santi-newsletter button:hover { filter: brightness(1.08); }
.newsletter-msg { font-size: 14px; margin-bottom: 14px; min-height: 1em; }
.newsletter-msg.ok { color: #27ae60; }
.newsletter-msg.err { color: #e74c3c; }
.santi-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px 0; color: var(--secondary); font-size: 14px; }

/* ============================================================
   Mobile safety: never allow horizontal page scroll
   (guards against the off-canvas menu / decorative elements)
   ============================================================ */
html { overflow-x: hidden; }
.santi-page-hero, .santi-section, .santi-section-tight { overflow-x: clip; }

/* No horizontal scroll on mobile — clip on the body-wrapper (ScrollSmoother
   manages html's overflow, so the guard has to live here) */
.body-wrapper { width: 100vw; overflow-x: hidden !important; }

/* Let the open off-canvas menu scroll if its content is taller than the screen */
.side-info.info-open { overflow-y: auto !important; -webkit-overflow-scrolling: touch; }

/* ---- Softer decorative grid lines (kept, just lighter & cleaner) ---- */
.rr-h-line,
.rr-v-lines .rr-line,
.diagonal-line-right::after { background-color: rgba(17, 17, 17, 0.07); }
html.dark .rr-h-line,
html.dark .rr-v-lines .rr-line,
html.dark .diagonal-line-right::after { background-color: rgba(255, 255, 255, 0.06); }

/* Fallback mobile navigation inside the off-canvas (guaranteed to work
   even if the template's meanmenu doesn't build the menu) */
.santi-mobile-nav { list-style: none; margin: 10px 0 28px; padding: 0; }
.santi-mobile-nav > li { border-bottom: 1px solid var(--border); }
.santi-mobile-nav > li > a {
  display: block;
  padding: 15px 2px;
  color: var(--primary);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: color .2s ease, padding-left .2s ease;
}
.santi-mobile-nav > li > a:hover { color: var(--theme); padding-left: 8px; }
.santi-mobile-nav ul { display: none; }

/* ============================================================
   Cookie consent banner
   ============================================================ */
.santi-cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 99990;
  max-width: 880px;
  margin: 0 auto;
  background: #16181d;
  color: #cfd2d6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 26px;
  transform: translateY(140%);
  transition: transform .45s cubic-bezier(.16,.84,.44,1);
}
.santi-cookie-banner.is-visible { transform: translateY(0); }
.santi-cookie-banner .cc-text { margin: 0; font-size: 14.5px; line-height: 1.6; flex: 1; }
.santi-cookie-banner .cc-text a { color: var(--theme); }
.santi-cookie-banner .cc-text a:hover { text-decoration: underline; }
.santi-cookie-banner .cc-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.santi-cookie-banner .cc-btn {
  cursor: pointer; border: 1px solid transparent;
  padding: 12px 24px; font-size: 14px; letter-spacing: .03em; text-transform: uppercase;
  transition: all .2s ease; white-space: nowrap;
}
.santi-cookie-banner .cc-accept { background: var(--theme); color: #fff; }
.santi-cookie-banner .cc-accept:hover { filter: brightness(1.08); }
.santi-cookie-banner .cc-decline { background: transparent; color: #cfd2d6; border-color: rgba(255,255,255,.25); }
.santi-cookie-banner .cc-decline:hover { border-color: #cfd2d6; }
@media (max-width: 700px) {
  .santi-cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .santi-cookie-banner .cc-actions .cc-btn { flex: 1; }
}

/* ============================================================
   Shared page hero + lead (homepage "-17" design language)
   ============================================================ */
.santi-page-hero { padding: 150px 0 40px; }
.santi-lead {
  max-width: 820px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--secondary);
}
.santi-section { padding: 70px 0; }
.santi-section-tight { padding: 40px 0 70px; }

/* Story / rich-text two-column block */
.santi-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .santi-story-grid { grid-template-columns: 1fr; gap: 24px; } }
.santi-story-grid p { color: var(--secondary); font-size: 18px; line-height: 1.7; margin-bottom: 22px; }
.santi-story-grid p b { color: var(--primary); font-weight: 600; }
.santi-geo-line {
  color: var(--theme) !important;
  font-weight: 600;
  font-size: 17px !important;
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 6px;
}
.santi-geo-line i { font-size: 14px; }

/* Consistent contact form (matches AEO/input styling) */
.santi-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .santi-contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.santi-field { margin-bottom: 22px; }
.santi-field label {
  display: block;
  font-size: 13px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--secondary); margin-bottom: 10px;
}
.santi-field input, .santi-field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 16px;
  padding: 16px 18px;
  outline: none;
  transition: border-color .25s ease;
}
.santi-field textarea { min-height: 130px; resize: vertical; }
.santi-field input:focus, .santi-field textarea:focus { border-color: var(--theme); }
.santi-contact-info .item { padding: 22px 0; border-bottom: 1px solid var(--border); }
.santi-contact-info .item:first-child { padding-top: 0; }
.santi-contact-info .k { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--secondary); margin-bottom: 8px; }
.santi-contact-info .v, .santi-contact-info .v a { font-size: 19px; color: var(--primary); }
.santi-contact-info .v a:hover { color: var(--theme); }
.santi-social-row { display: flex; gap: 14px; margin-top: 26px; }
.santi-social-row a {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--primary); font-size: 16px;
  transition: all .25s ease;
}
.santi-social-row a:hover { background: var(--theme); border-color: var(--theme); color: #fff; }

/* ============================================================
   Services — detailed "what's included" breakdown + process
   ============================================================ */
.santi-srv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 46px 0;
  border-top: 1px solid var(--border);
}
.santi-srv:last-child { border-bottom: 1px solid var(--border); }
@media (max-width: 820px) { .santi-srv { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; } }
.santi-srv-head { display: flex; align-items: baseline; gap: 16px; }
.santi-srv-head .num {
  font-size: 15px; color: var(--theme); letter-spacing: .08em; font-weight: 600;
}
.santi-srv-title {
  font-family: var(--font_astronebula);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
}
.santi-srv-body p { color: var(--secondary); font-size: 18px; line-height: 1.7; margin: 0 0 20px; }
.santi-srv-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
@media (max-width: 520px) { .santi-srv-list { grid-template-columns: 1fr; } }
.santi-srv-list li {
  position: relative; padding-left: 22px;
  color: var(--primary); font-size: 16px;
}
.santi-srv-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: var(--theme); transform: rotate(45deg);
}

/* How we work — process steps */
.santi-process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin-top: 44px;
}
@media (max-width: 1000px) { .santi-process { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; } }
@media (max-width: 560px)  { .santi-process { grid-template-columns: 1fr; } }
.santi-step .num {
  font-family: var(--font_astronebula); font-weight: 300;
  font-size: 48px; color: var(--theme); line-height: 1; display: block; margin-bottom: 16px;
}
.santi-step h4 {
  font-size: 22px; color: var(--primary); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .02em;
}
.santi-step p { color: var(--secondary); font-size: 16px; line-height: 1.6; margin: 0; }

/* ============================================================
   Project / case-study detail page
   ============================================================ */
.proj-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) { .proj-meta-grid { grid-template-columns: repeat(2, 1fr); } }
.proj-meta .k { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--secondary); margin-bottom: 8px; }
.proj-meta .v { font-size: 18px; color: var(--primary); }
.proj-hero-img { margin-top: 50px; aspect-ratio: 16/9; overflow: hidden; background: var(--border); }
.proj-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.proj-body { max-width: 860px; }
.proj-body h3 { font-family: var(--font_astronebula); font-weight: 300; text-transform: uppercase; font-size: 30px; color: var(--primary); margin: 0 0 18px; }
.proj-body p { color: var(--secondary); font-size: 18px; line-height: 1.7; margin-bottom: 26px; }
.proj-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
@media (max-width: 760px) { .proj-gallery { grid-template-columns: 1fr; } }
.proj-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--border); }

/* Legal pages: lists, tables, meta, disclaimer */
.proj-body ul, .proj-body ol { color: var(--secondary); font-size: 17px; line-height: 1.7; margin: 0 0 24px; padding-left: 22px; }
.proj-body li { margin-bottom: 10px; }
.proj-body a { color: var(--theme); }
.proj-body a:hover { text-decoration: underline; }
.proj-body h3 { margin-top: 38px; }
.proj-body h3:first-of-type { margin-top: 0; }
.legal-meta { color: var(--secondary); font-size: 15px; margin: 0 0 28px; }
.legal-disclaimer {
  border: 1px solid var(--border);
  border-left: 3px solid var(--theme);
  padding: 18px 22px;
  margin: 0 0 40px;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.6;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 30px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); color: var(--secondary); vertical-align: top; line-height: 1.5; }
.legal-table th { color: var(--primary); font-weight: 600; background: rgba(250,129,77,0.06); }
@media (max-width: 640px) { .legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th { display: block; width: 100%; } .legal-table th { border-bottom: 0; } }

/* ============================================================
   AEO tool UI
   ============================================================ */
.aeo-area { padding: 140px 0 100px; }
.aeo-lead {
  max-width: 760px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--secondary);
}
.aeo-form {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
  max-width: 760px;
}
.aeo-input {
  flex: 1 1 320px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 18px;
  padding: 20px 24px;
  border-radius: 0;
  outline: none;
  transition: border-color .25s ease;
}
.aeo-input::placeholder { color: var(--secondary); }
.aeo-input:focus { border-color: var(--theme); }
.aeo-submit {
  border: 0;
  cursor: pointer;
  background: var(--theme);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 20px 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: filter .25s ease, transform .25s ease;
}
.aeo-submit:hover { filter: brightness(1.08); transform: translateY(-2px); }
.aeo-submit:disabled { opacity: .6; cursor: progress; transform: none; }

.aeo-form-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--secondary);
  max-width: 760px;
}
.aeo-form-note a { color: var(--theme); }

.aeo-status {
  margin-top: 28px;
  font-size: 16px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.aeo-status .spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--theme);
  border-radius: 50%;
  animation: aeo-spin .8s linear infinite;
}
.aeo-status.is-error { color: #e74c3c; }
@keyframes aeo-spin { to { transform: rotate(360deg); } }

.aeo-results { margin-top: 56px; }
.aeo-scoreboard {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.aeo-score-ring {
  --val: 0;
  position: relative;
  width: 168px; height: 168px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, var(--white) 79%, transparent 80% 100%),
    conic-gradient(var(--theme) calc(var(--val) * 1%), var(--border) 0);
}
html.dark .aeo-score-ring {
  background:
    radial-gradient(closest-side, var(--black) 79%, transparent 80% 100%),
    conic-gradient(var(--theme) calc(var(--val) * 1%), var(--border) 0);
}
.aeo-score-ring span { font-size: 52px; font-weight: 700; color: var(--primary); line-height: 1; }
.aeo-score-ring small { display: block; text-align: center; color: var(--secondary); font-size: 14px; margin-top: 2px; }
.aeo-grade-wrap { flex: 1 1 280px; }
.aeo-grade {
  display: inline-block;
  font-family: var(--font_astronebula);
  font-size: 64px;
  line-height: 1;
  color: var(--theme);
  margin-bottom: 8px;
}
.aeo-grade-wrap p { color: var(--secondary); font-size: 16px; line-height: 1.5; }
.aeo-grade-wrap .aeo-url-line { color: var(--primary); font-weight: 600; margin-top: 6px; word-break: break-all; }

.aeo-checklist { list-style: none; margin: 8px 0 0; padding: 0; }
.aeo-check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.aeo-check .mark {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; color: #fff; margin-top: 3px;
}
.aeo-check.pass .mark { background: #27ae60; }
.aeo-check.warn .mark { background: #f1c40f; color: #111; }
.aeo-check.fail .mark { background: #e74c3c; }
.aeo-check .c-label { font-size: 19px; color: var(--primary); font-weight: 600; }
.aeo-check .c-detail { font-size: 15px; color: var(--secondary); margin-top: 4px; }
.aeo-check .c-fix { font-size: 14px; color: var(--secondary); margin-top: 8px; opacity: .85; }
.aeo-check .c-fix b { color: var(--theme); font-weight: 600; }

.aeo-cta {
  margin-top: 50px;
  padding: 44px;
  border: 1px solid var(--border);
  text-align: center;
}
.aeo-cta h3 {
  font-family: var(--font_astronebula);
  font-weight: 300;
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* Download report button (sits under the score) */
.aeo-score-actions { margin-top: 18px; }
.aeo-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 13px 22px;
  transition: border-color .25s ease, color .25s ease;
}
.aeo-ghost-btn:hover { border-color: var(--theme); color: var(--theme); }

/* Plain-language legend above the checklist */
.aeo-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 28px 0 4px;
  font-size: 14px;
  color: var(--secondary);
}
.aeo-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.aeo-legend .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.aeo-legend .dot.pass { background: #27ae60; }
.aeo-legend .dot.warn { background: #f1c40f; }
.aeo-legend .dot.fail { background: #e74c3c; }
.aeo-legend-note { margin-left: auto; font-style: italic; opacity: .8; }

/* Check item: status pill + plain-English explanation */
.aeo-check .c-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.aeo-check .c-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 11px;
  border-radius: 20px;
  color: #fff;
}
.aeo-check.pass .c-pill { background: #27ae60; }
.aeo-check.warn .c-pill { background: #c9a000; color: #fff; }
.aeo-check.fail .c-pill { background: #e74c3c; }
.aeo-check .c-plain { font-size: 15.5px; color: var(--secondary); margin-top: 10px; line-height: 1.6; }
/* the technical finding, de-emphasised under the plain explanation */
.aeo-check .c-detail { font-size: 13px; color: var(--secondary); margin-top: 6px; opacity: .55; }

/* "This isn't instant" expectation-setting note */
.aeo-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 46px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--theme);
  background: rgba(250, 129, 77, .05);
}
.aeo-note-icon { color: var(--theme); font-size: 24px; line-height: 1; margin-top: 2px; flex: 0 0 auto; }
.aeo-note h4 { font-size: 19px; color: var(--primary); margin: 0 0 8px; }
.aeo-note p { font-size: 15.5px; color: var(--secondary); line-height: 1.65; margin: 0; }
.aeo-note p b { color: var(--primary); }

/* Help CTA */
.aeo-cta-sub {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 26px;
}
.aeo-cta-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.aeo-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 26px;
  transition: filter .25s ease, transform .25s ease;
}
.aeo-wa-btn:hover { filter: brightness(1.05); transform: translateY(-2px); color: #fff; }

@media (max-width: 600px) {
  .aeo-area { padding: 110px 0 70px; }
  .aeo-cta { padding: 30px 20px; }
  .aeo-note { padding: 22px 20px; gap: 14px; }
  .aeo-legend-note { margin-left: 0; flex-basis: 100%; }
  .aeo-cta-btns { flex-direction: column; }
  .aeo-cta-btns > * { width: 100%; justify-content: center; }
}

/* ============================================================
   Portfolio grid (easy to add case studies to)
   ============================================================ */
.santi-portfolio { padding-top: 50px; }
.santi-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 30px;
}
@media (max-width: 1100px) { .santi-portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .santi-portfolio-grid { grid-template-columns: 1fr; } }

.santi-pf-card { display: block; text-decoration: none; }
.santi-pf-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--border);
}
.santi-pf-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.santi-pf-card:hover .santi-pf-thumb img { transform: scale(1.06); }
.santi-pf-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--secondary);
}
.santi-pf-meta .tag { color: var(--theme); }
.santi-pf-title {
  font-family: var(--font_astronebula);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 8px;
  transition: color .25s ease;
}
.santi-pf-card:hover .santi-pf-title { color: var(--theme); }

.santi-pf-filters {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 8px 0 44px;
}
.santi-pf-filter {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--secondary);
  padding: 10px 22px;
  font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer;
  transition: all .25s ease;
}
.santi-pf-filter:hover, .santi-pf-filter.is-active {
  background: var(--theme); border-color: var(--theme); color: #fff;
}

/* --- Keep the 6-item nav on a single row --- */
.header-area-17 .main-menu > ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}
.header-area-17 .main-menu > ul > li {
  white-space: nowrap;
}
/* Reclaim space on mid-width desktops so nothing wraps */
@media (max-width: 1599px) {
  .header-area-17 .header__logo .info { display: none; }
  .header-area-17 .main-menu > ul > li > a { font-size: 15px; }
}
