/* Shared presentation for OTOFON Signature templates. */
body.oe-site {
  --oto-navy: #123348;
  --oto-ink: #193849;
  --oto-muted: #485e66;
  --oto-blue: #086765;
  --oto-aqua: #0c726a;
  --oto-mint: #e9f5f1;
  --oto-soft: #f4f8f7;
  --oto-line: #d3e2df;
  --oto-shadow: 0 14px 40px rgba(15, 55, 58, .08);
  --oto-shadow-soft: 0 3px 14px rgba(15, 55, 58, .05);
  --oe-dark: #10394a;
  --oe-accent: #0b655c;
  --oe-radius: 1rem;
  color: var(--oto-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.oe-site :is(.oto-section-head, .oto-exp-heading, .oto-about__section) h2,
body.oe-site .oto-intro-premium__copy h2 {
  font-size: clamp(1.95rem, 1.35rem + 2.2vw, 3.35rem);
  line-height: 1.11;
  font-weight: 680;
  letter-spacing: -.045em;
  text-wrap: balance;
}

body.oe-site :is(.oto-lead, .oto-exp-heading p, .oto-about__lead) {
  line-height: 1.65;
  text-wrap: pretty;
}

body.oe-site :is(.oto-site-header, #main-content, .oto-site-footer, .oto-mobile-actions)
  :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #075e66;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px white;
}

/* Keep the theme's sticky offsets, menu state and WordPress toolbar geometry. */
body.oe-site .oto-topbar {
  color: #deefee;
  background: var(--oe-dark);
  border-bottom-color: transparent;
}

body.oe-site .oto-site-header {
  background: #fff;
  border-bottom-color: var(--oto-line);
}

body.oe-site .oto-site-header.is-scrolled {
  box-shadow: 0 4px 15px rgba(14, 53, 63, .07);
}

body.oe-site .oto-menu a {
  color: var(--oto-ink);
  border-radius: .5rem;
  font-weight: 650;
}

body.oe-site .oto-menu :is(.current_page_item, .current-menu-item) > a,
body.oe-site .oto-menu a:is(:hover, [aria-current="page"]) {
  background: var(--oto-mint);
  color: var(--oe-accent);
}

body.oe-site .oto-lang a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
}

body.oe-site .oto-lang .current-lang a,
body.oe-site .oto-lang a.is-current {
  color: #fff;
  background: var(--oe-accent);
}

body.oe-site :is(.oto-navbar, .oto-exp, .oto-about, .oto-content, .oto-section) .oto-btn {
  border-radius: .65rem;
  box-shadow: none;
  font-weight: 700;
}

body.oe-site :is(.oto-navbar, .oto-exp-actions, .oto-about__actions, .oto-hero__actions,
  .oto-section-action, .oto-aids-hero__actions) .oto-btn:not(.oto-btn--ghost, .oto-about__secondary) {
  color: #fff;
  background: var(--oe-accent);
}

body.oe-site :is(.oto-navbar, .oto-exp-actions, .oto-about__actions, .oto-hero__actions,
  .oto-section-action, .oto-aids-hero__actions) .oto-btn:not(.oto-btn--ghost, .oto-about__secondary):hover {
  background: #074e48;
}

body.oe-site :is(.oto-section, .oto-exp-section) {
  padding-block: clamp(3.25rem, 6.8vw, 6.5rem);
}

body.oe-site .oto-section-head,
body.oe-site .oto-exp-heading {
  margin-bottom: clamp(1.6rem, 3.6vw, 3rem);
}

body.oe-site :is(.oto-section--soft, .oto-exp-section--pale) {
  background: var(--oto-soft);
}

body.oe-site :is(.oto-section--mint, .oto-section--ecosystem, .oto-about__team) {
  background: var(--oto-mint);
}

body.oe-site :is(.oto-section--technology, .oto-exp-section--blue) {
  color: white;
  background: var(--oe-dark);
}

body.oe-site .oto-exp {
  --exp-ink: var(--oto-ink);
  --exp-blue: var(--oe-accent);
  --exp-soft: var(--oto-soft);
  --exp-line: var(--oto-line);
}

body.oe-site :is(.oto-exp-kicker, .oto-about__eyebrow, .oto-product__brand,
  .oto-exp-center-card__city, .oto-center__city) {
  color: var(--oe-accent);
  font-weight: 750;
}

body.oe-site .oto-exp-section--blue .oto-exp-kicker { color: #ade2d9; }

body.oe-site .oto-quick-links { margin-top: 1.25rem; }

body.oe-site .oto-quick-links__grid {
  border-color: var(--oto-line);
  border-radius: var(--oe-radius);
  box-shadow: none;
}

body.oe-site .oto-quick-links__grid > a {
  min-height: 8rem;
  padding: 1.15rem;
}

body.oe-site .oto-quick-links__grid > a:first-child { background: #edf7f3; }
body.oe-site .oto-quick-links__grid > a:hover { background: #e0f1eb; }

body.oe-site .oto-quick-links__grid .oto-icon {
  color: var(--oe-accent);
  background: #e5f2ed;
  border-radius: .65rem;
}

body.oe-site .oto-quick-links__grid > a:first-child .oto-icon {
  color: white;
  background: var(--oe-accent);
}

body.oe-site .oto-quick-links__grid small { font-size: .875rem; }

/* Cards share their outlines and rhythm, while photos keep their original framing. */
body.oe-site :is(.oto-service, .oto-product, .oto-article-card, .oto-center,
  .oto-exp-service-card, .oto-exp-center-card, .oto-exp-contact-options > a,
  .oto-about__steps li, .oto-about__profiles li, .oto-about__brands li) {
  border: 1px solid var(--oto-line);
  border-radius: var(--oe-radius);
  box-shadow: none;
  background-color: white;
}

body.oe-site :is(.oto-product, .oto-article-card, .oto-exp-service-card, .oto-exp-center-card):focus-within {
  border-color: var(--oe-accent);
}

body.oe-site :is(.oto-product__body, .oto-article-card__body, .oto-exp-service-card__body) {
  padding: clamp(1.25rem, 2.1vw, 1.75rem);
}

body.oe-site :is(.oto-product__body, .oto-article-card__body, .oto-exp-service-card,
  .oto-exp-center-card) :is(h2, h3) {
  font-size: clamp(1.25rem, 1rem + .65vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}

body.oe-site :is(.oto-exp-text-link, .oto-exp-center-card__links a, .oto-link) {
  color: var(--oe-accent);
  text-underline-offset: .2em;
}

body.oe-site :is(.oto-exp-text-link, .oto-exp-center-card__links a, .oto-link):hover {
  text-decoration: underline;
}

body.oe-site .oto-filter {
  min-height: 44px;
  color: var(--oto-ink);
  border-color: var(--oto-line);
  background: white;
}

body.oe-site .oto-filter:is(:hover, [aria-pressed="true"]) {
  color: white;
  background: var(--oe-accent);
  border-color: var(--oe-accent);
}

body.oe-site .oto-faq__button::after {
  background: var(--oto-mint);
  color: var(--oe-accent);
}

body.oe-site :is(.oto-exp-hero, .oto-about__hero, .oto-page-hero:not(.oto-aids-showcase)) {
  background: linear-gradient(115deg, #f5f9f7, #e7f4ef);
}

body.oe-site .oto-exp-hero::before {
  border-color: rgba(17, 111, 100, .12);
  box-shadow: 0 0 0 78px rgba(17, 111, 100, .035);
}

body.oe-site :is(.oto-exp-hero h1, .oto-about h1, .oto-page-hero:not(.oto-aids-showcase) h1) {
  color: var(--oto-navy);
  font-size: clamp(2.4rem, 1.65rem + 3.45vw, 4.75rem);
  line-height: 1.07;
  font-weight: 680;
  text-wrap: balance;
}

body.oe-site :is(.oto-exp-hero__visual, .oto-about__photo) {
  border-radius: 1rem clamp(2rem, 5vw, 5rem) 1rem 1rem;
  box-shadow: none;
}

body.oe-site .oto-content .oto-prose {
  width: min(calc(100% - 2.5rem), 68ch);
  font-size: clamp(1rem, .95rem + .4vw, 1.17rem);
  line-height: 1.75;
}

body.oe-site .oto-prose > p { color: var(--oto-ink); }

body.oe-site .oto-prose blockquote {
  padding: 1rem 1.4rem;
  background: var(--oto-mint);
  border-inline-start: 3px solid var(--oe-accent);
}

body.oe-site :is(.oto-exp-form input, .oto-exp-form select, .oto-exp-form textarea, .oto-select) {
  border-color: #78928b;
  border-radius: .55rem;
  font-size: 1rem;
}

body.oe-site .oto-site-footer { background: var(--oe-dark); }
body.oe-site .oto-site-footer a:hover { text-decoration: underline; }

/* Keep the existing app invitation useful without covering the main action. */
body.oe-site #otofon-download-banner {
  left: auto;
  right: 5rem;
  bottom: 1rem;
  width: min(25rem, calc(100vw - 2rem));
  margin: 0;
  border-radius: 1rem;
  box-shadow: 0 14px 36px rgba(11, 40, 52, .18);
}

@media (max-width: 680px) {
  body.oe-site .oto-quick-links__grid > a {
    padding: 1rem;
    min-height: 7.75rem;
  }
  body.oe-site .oto-quick-links__grid strong { overflow-wrap: break-word; }
  body.oe-site :is(.oto-section, .oto-exp-section) { padding-block: 3rem; }
  body.oe-site .oto-section--app { padding-block-end: 0; }
  body.oe-site .oto-exp-hero__visual { border-radius: 1rem 2.5rem 1rem 1rem; }
  body.oe-site #otofon-download-banner {
    left: .65rem;
    right: .65rem;
    bottom: 5.15rem;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.oe-site :is(.oto-article-card, .oto-product, .oto-service, .oto-exp-service-card,
    .oto-exp-contact-options a, .oto-quick-links__grid a, .oto-btn),
  body.oe-site :is(.oto-article-card, .oto-product, .oto-exp-service-card) img {
    transition: none;
    animation: none;
  }
}
