/*
Theme Name: SERAS Landing MVP
Theme URI: https://example.com/seras-landing-mvp
Author: OpenAI
Description: A single-page WordPress landing page based on the SERAS MVP PNG mockup, with full-section fallback templates and server-side contact email delivery via wp_mail().
Version: 1.2.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: seras-landing
*/

:root {
  --seras-navy: #07001e;
  --seras-blue: #0078ff;
  --seras-cyan: #00a9c8;
  --seras-teal: #008f96;
  --seras-text: #09051f;
  --seras-muted: #f4f4f6;
  --seras-border: rgba(255,255,255,.35);
  --seras-shadow: 0 18px 50px rgba(9,5,31,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; min-height: 100%; overflow-y: auto; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--seras-text);
  background: #f4f4f6;
  line-height: 1.45;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.seras-site-frame {
  width: min(1440px, 100%);
  margin-inline: auto;
  background: #fff;
  overflow: clip;
}

@supports not (overflow: clip) {
  .seras-site-frame {
    overflow: hidden;
  }
}
a { color: inherit; }
.seras-page { overflow-x: hidden; overflow-y: auto; }
.seras-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 3%;
}

.seras-top-strip {
  min-height: 72px;
  padding: 12px 24px;
  background: #0342a0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.seras-top-strip span:first-child {
  display: block;
}

.seras-top-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(69, 190, 255, 0.35);
  border-top-color: #45beff;
  border-radius: 50%;
  flex: 0 0 auto;
  animation: seras-spin 0.75s linear infinite;
}

@media (max-width: 640px) {
  .seras-top-strip {
    min-height: auto;
    padding: 12px 16px;
    font-size: 14px;
    gap: 10px;
  }

  .seras-top-spinner {
    width: 14px;
    height: 14px;
  }
}



@keyframes seras-spin {
  to {
    transform: rotate(360deg);
  }
}

.seras-header {
  height: 100px;
  background: #fff;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.seras-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}
.seras-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.seras-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
}
.seras-logo small {
  font-size: 7px;
  letter-spacing: .02em;
  color: #2b2b3d;
  font-weight: 700;
  margin-top: 5px;
}
.seras-button {
  border: 0;
  appearance: none;
  background: var(--seras-blue);
  color: #fff;
  font-weight: 800;
  border-radius: 4px;
  padding: 11px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  box-shadow: 0 10px 24px rgba(0,120,255,.24);
}
.seras-button:hover { filter: brightness(.95); }
.seras-button.secondary { background: #fff; color: var(--seras-blue); box-shadow: none; border: 1px solid rgba(0,120,255,.22); }

.seras-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.22) 58%,
      rgba(0, 0, 0, 0.1)
    ),
    url("assets/images/AdobeStock_119090624.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.seras-hero-path {
  position: absolute;
  left: 0;
  top: 20px;
  width: 100%;
  height: 382px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
}

.seras-hero-path path {
  fill: none;
  stroke: #00ff66;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.seras-hero-content {
  position: relative;
  z-index: 2;
  max-width: 990px;
  padding-top: 50px;
}

.seras-hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.seras-hero-content { position: relative; z-index: 2; max-width: 990px; padding-top: 50px; }

.seras-kicker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seras-kicker--left {
  align-items: flex-start;
}

.seras-kicker--center {
  align-items: center;
  text-align: center;
}

.seras-kicker-dots {
  display: block;
  width: 42px;
  height: 10px;
  background-image: url("assets/images/dots.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.seras-hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.20;
  font-weight: 900;
  letter-spacing: -.04em;
}

.seras-section { padding: 78px 0; position: relative; }
.seras-section.light { background: var(--seras-muted); }
.seras-section.dark { background: var(--seras-navy); color: #fff; }
.seras-section.dark .seras-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.seras-section.dark .seras-objectives-grid {
  width: 100%;
  margin-inline: auto;
}
.seras-section.dark .seras-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.seras-section.dark .seras-objectives-grid {
  width: 100%;
  margin-inline: auto;
}
.seras-eyebrow {
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .2em;
  padding: 15px 0;
  font-weight: 700;
  margin-bottom: 10px;
  color: inherit;
  opacity: .78;
}
.seras-section h2 {
  margin: 0 0 26px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.04em;
}
.seras-section p { max-width: 760px; margin: 0; font-size: 17px; }
.seras-small-text { font-size: 14px; color: #353346; }
.seras-divider-dot {
  width: 44px;
  height: 44px;

  background-image: url("assets/images/arrow-down.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  z-index: 10;

  display: block;
  pointer-events: none;
}

.seras-partner-band {
  background: #efeff1;
  text-align: center;
  padding: 36px 0 34px;
  margin-top: 18px;
}

.seras-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  background: var(--seras-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 3px;
  margin-bottom: 22px;
}

.seras-partner-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(520px, calc(100% - 48px));
  margin: 0 auto;
}

.seras-partner-logo--unige {
  width: 160px;
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

.seras-objectives-sub { margin-bottom: 34px !important; font-weight: 700; max-width: none !important; }
.seras-objectives-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 50px;
}
.seras-objective-card {
  border: 1px solid var(--seras-border);
  padding: 34px 34px;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 140px;
}
.seras-objective-card {
  border: 1px solid var(--seras-border);
  padding: 34px;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 140px;
}

.seras-objective-icon {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.seras-objective-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}
.seras-objective-card h3 { margin: 0; font-size: 18px; line-height: 1.35; }

.seras-work-layout {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(280px, 1fr);
  gap: 56px;
  align-items: center;
}
.seras-work-layout img { width: 100%; border-radius: 4px; box-shadow: var(--seras-shadow); }
.seras-work-text { font-weight: 650; }
.seras-image-strip {
  height: 150px;
  background-image: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,.06)), url('assets/images/AdobeStock_612737661.png');
  background-size: cover;
  background-position: center;
}

.seras-eu-note {
  background: #fff;
  padding: 32px 0;
  color: #151226;
  font-size: 13px;
}
.seras-eu-note .seras-container {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 32px;
  align-items: center;
}
.seras-eu-flag { display: inline-flex; gap: 12px; align-items: center; font-size: 11px; line-height: 1.05; color: #1680c2; }
.seras-eu-flag {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  line-height: 1.05;
  color: #1680c2;
}

.seras-eu-logo {
  display: block;
  width: 65px;
  height: auto;
  object-fit: contain;
}

.seras-footer {
  background: #f1f1f3;
  padding: 58px 0 46px;
  color: #151226;
}
.seras-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}
.seras-footer h4 { color: var(--seras-blue); text-transform: uppercase; font-size: 12px; letter-spacing: .12em; margin: 0 0 14px; }
.seras-footer a { display: block; text-decoration: none; margin: 8px 0; font-size: 13px; }
.seras-socials { display: flex; gap: 12px; }
.seras-socials a { width: 28px; height: 28px; display: grid; place-items: center; background: var(--seras-blue); color: #fff; border-radius: 3px; font-weight: 800; }
.seras-copyright { text-align: center; padding: 30px 0; background: #e9e9eb; font-size: 13px; }

.seras-modal {
  position: fixed;
  inset: 0;
  background: rgba(7,0,30,.66);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.seras-modal.is-open { display: flex; }
.seras-modal-card {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 25px 90px rgba(0,0,0,.32);
  position: relative;
}
.seras-modal-card h2 { margin: 0 0 10px; font-size: 32px; }
.seras-modal-card p { margin: 0 0 22px; color: #4b4959; }
.seras-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; font-size: 34px; cursor: pointer; color: #4b4959; }
.seras-form-grid { display: grid; gap: 14px; }
.seras-form-grid label { font-weight: 800; font-size: 13px; }
.seras-form-grid input,
.seras-form-grid textarea {
  width: 100%;
  border: 1px solid #d6d6df;
  border-radius: 5px;
  padding: 12px 13px;
  font: inherit;
  margin-top: 5px;
}
.seras-form-grid textarea { min-height: 130px; resize: vertical; }
.seras-alert { padding: 14px 16px; border-radius: 6px; margin: 22px auto 0; width: min(1120px, calc(100% - 48px)); font-weight: 700; }
.seras-alert.success { background: #e5f8ed; color: #0a6d34; }
.seras-alert.error { background: #fdeaea; color: #961f1f; }

@media (max-width: 860px) {
  .seras-container { width: min(100% - 32px, 1120px); }
  .seras-hero { min-height: 440px; }
  .seras-logo-row, .seras-objectives-grid, .seras-work-layout, .seras-eu-note .seras-container, .seras-footer-grid { grid-template-columns: 1fr; }
  .seras-logo-row { gap: 16px; }
  .seras-objectives-grid { gap: 18px; }
  .seras-objective-card { padding: 24px; grid-template-columns: 54px 1fr; }
  .seras-icon-circle { width: 50px; height: 50px; font-size: 22px; }
  .seras-section { padding: 58px 0; }
  .seras-footer-grid { gap: 26px; }
}

/* slider */
.seras-logo-slider {
  position: relative;
  width: min(1320px, calc(100% - 48px));
  margin: 34px auto 0;
}

.seras-logo-slider-viewport {
  position: relative;
  min-height: 90px;
  width: 100%;
  margin-inline: auto;
}

.seras-logo-slide {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 120px));
  align-items: center;
  justify-content: center;
  gap: 34px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  position: absolute;
  inset: 0;

  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.seras-logo-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.seras-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.seras-logo-item img {
  display: block;
  width: auto;
  max-width: 120px;
  max-height: 54px;
  height: auto;
  object-fit: contain;
}

.seras-logo-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.seras-logo-slider-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 0, 30, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--seras-blue);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seras-logo-slider-arrow:hover {
  border-color: var(--seras-blue);
}

.seras-logo-slider-arrow:focus-visible,
.seras-logo-slider-dot:focus-visible {
  outline: 2px solid var(--seras-blue);
  outline-offset: 3px;
}

.seras-logo-slider-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.seras-logo-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--seras-blue);
  opacity: 0.32;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.seras-logo-slider-dot.is-active {
  opacity: 1;
  transform: scale(1.15);
}

@media (max-width: 980px) {
  .seras-logo-slide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .seras-logo-slider-viewport {
    min-height: 160px;
  }
}

@media (max-width: 640px) {
  .seras-logo-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .seras-logo-slider-viewport {
    min-height: 260px;
  }
}
/* slider */

.seras-container--wide-work {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.seras-container--wide-work > .seras-kicker-dots,
.seras-container--wide-work > .seras-eyebrow,
.seras-container--wide-work > h2 {
  width: min(1120px, calc(100% - 48px));
  margin-left: 3%;
}

.seras-work-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin-top: 34px;
}

.seras-work-media {
  width: 100%;
  min-width: 0;
}

.seras-work-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.seras-work-copy {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 8%;
}

.seras-work-text {
  display: block;
  width: 100%;
  max-width: 560px !important;
  margin: 0;
  column-count: 1;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
}

.seras-work-text strong {
  font-weight: 900;
  color: var(--seras-text);
}

@media (max-width: 860px) {
  .seras-work-layout {
    grid-template-columns: 1fr;
  }

  .seras-work-media img {
    min-height: 260px;
  }

  .seras-work-copy {
    padding: 32px 24px;
  }

  .seras-work-text {
    max-width: none !important;
  }
}

.seras-hp-wrap {
  position: fixed !important;
  left: -99999px !important;
  top: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.seras-hp-wrap input,
.seras-hp-wrap label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}


.seras-hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
