:root {
  --deep-sea: #0c2f3d;
  --ink: #071820;
  --eucalyptus: #1b9b8e;
  --mint: #a8dcd3;
  --chalk: #f5f7f6;
  --fog: #d7e4e1;
  --coral: #c45c4a;
  --white: #ffffff;
  --text: #14303a;
  --muted: #4a6670;
  --line: rgba(12, 47, 61, 0.12);
  --shadow: 0 28px 80px rgba(7, 24, 32, 0.28);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "Sora", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--chalk);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--eucalyptus);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--deep-sea);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 246, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 247, 246, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--deep-sea);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--deep-sea);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--eucalyptus);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(27, 155, 142, 0.35);
}

.btn-primary:hover {
  background: #17877c;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--deep-sea);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(12, 47, 61, 0.04);
  color: var(--deep-sea);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(7, 24, 32, 0.92) 0%,
      rgba(7, 24, 32, 0.72) 42%,
      rgba(12, 47, 61, 0.28) 100%
    ),
    linear-gradient(to top, rgba(7, 24, 32, 0.7), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3.25rem;
  max-width: 38rem;
}

.hero-brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 18ch;
  animation: riseIn 0.9s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: rgba(245, 247, 246, 0.86);
  font-size: 1.05rem;
  max-width: 34ch;
  animation: riseIn 0.9s ease 0.16s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s ease 0.24s both;
}

.hero-web-hint {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(245, 247, 246, 0.82);
  animation: riseIn 0.9s ease 0.32s both;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-dark {
  background: var(--deep-sea);
  color: var(--chalk);
}

.section-mint {
  background:
    radial-gradient(circle at 12% 20%, rgba(168, 220, 211, 0.55), transparent 40%),
    radial-gradient(circle at 88% 0%, rgba(27, 155, 142, 0.18), transparent 35%),
    linear-gradient(180deg, #eef6f4, var(--chalk));
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eucalyptus);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--deep-sea);
  max-width: 18ch;
}

.section-dark h2 {
  color: var(--white);
}

.section-lead {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-lead {
  color: rgba(245, 247, 246, 0.78);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }

  .split-reverse {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split-reverse .copy {
    order: 2;
  }

  .hero-content {
    padding: 7rem 0 4.5rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .header-inner {
    gap: 0.65rem;
    min-height: 3.75rem;
  }

  .brand-name {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .header-actions .btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(7, 24, 32, 0.55) 0%,
        rgba(7, 24, 32, 0.78) 42%,
        rgba(7, 24, 32, 0.92) 100%
      );
  }

  .hero-brand {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .section {
    padding: 3.75rem 0;
  }

  .media-frame {
    border-radius: 16px;
  }

  .media-frame img {
    aspect-ratio: 16 / 11;
  }

  .privacy-list {
    padding: 1.15rem;
  }

  .legal {
    padding: 2.5rem 0 3.5rem;
  }
}

@media (max-width: 380px) {
  .brand-name {
    display: none;
  }
}

.media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0a1c24;
  border: 1px solid rgba(12, 47, 61, 0.12);
}

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

.media-rail {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}

@media (min-width: 760px) {
  .media-rail {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.media-rail .media-frame {
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 0.85s ease forwards;
}

.media-rail .media-frame:nth-child(2) {
  animation-delay: 0.12s;
}

.feature-rail {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

@media (min-width: 760px) {
  .feature-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--deep-sea);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-panel {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .privacy-panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}

.privacy-copy {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(245, 247, 246, 0.9);
}

.privacy-list {
  margin: 0;
  padding: 1.5rem;
  list-style: none;
  border: 1px solid rgba(168, 220, 211, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 24, 32, 0.28);
}

.privacy-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.privacy-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.privacy-list strong {
  color: var(--mint);
  font-weight: 600;
}


.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, #0c2f3d 0%, #145a5a 55%, #1b9b8e 100%);
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
  max-width: 16ch;
}

.cta-band p {
  margin: 0 0 1.5rem;
  max-width: 40ch;
  color: rgba(245, 247, 246, 0.85);
}

.site-footer {
  padding: 2.75rem 0 3rem;
  background: var(--ink);
  color: rgba(245, 247, 246, 0.72);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-links a {
  color: rgba(245, 247, 246, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--mint);
}

/* Invisible ops entry: trailing period after “Sesimetria” in the footer. */
a.ops-entry {
  color: inherit;
  text-decoration: none;
  cursor: text;
  font-weight: inherit;
}

a.ops-entry:hover,
a.ops-entry:focus {
  color: inherit;
  outline: none;
}

.legal {
  padding: 3.5rem 0 5rem;
}

.legal article {
  max-width: 760px;
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--deep-sea);
  letter-spacing: -0.03em;
}

.legal .updated {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--deep-sea);
}

.legal h3 {
  margin: 1.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--deep-sea);
}

.legal p,
.legal li {
  font-family: var(--font-body);
  color: var(--text);
}

.legal ul,
.legal ol {
  padding-left: 1.2rem;
}

.legal li {
  margin: 0.35rem 0;
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(12, 47, 61, 0.06);
}

.lang-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--white);
  color: var(--deep-sea);
  box-shadow: 0 4px 14px rgba(7, 24, 32, 0.08);
}

.lang-panel[hidden] {
  display: none;
}

.note {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--eucalyptus);
  background: rgba(27, 155, 142, 0.08);
  border-radius: 0 12px 12px 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
