/* ==========================================================================
   Chronos Dental — main stylesheet
   Design system: "Deep Ocean" — deep navy / ice blue, medical-grade trust
   Type: Manrope (headings) + Inter (body)
   Breakpoints: 1280 / 960 / 640 / 500
   ========================================================================== */

:root {
  /* Color tokens */
  --navy: #0a2540;            /* deep navy — surfaces, headings */
  --navy-deep: #061a30;       /* darkest surface (footer, drawer) */
  --navy-soft: #123c5f;       /* navy hover / soft panel on dark */
  --blue: #0e63a8;            /* primary action blue */
  --blue-bright: #1e9fd8;     /* bright blue accent */
  --ice: #8fd8f9;             /* ice blue accent on dark surfaces */
  --ice-soft: #e4f3fc;        /* ice tint background */
  --bg-soft: #f3f8fc;         /* alternate section background */
  --ink: #12293e;             /* body text */
  --muted: #4e6a82;           /* secondary text */
  --muted-dark: #a9c3d8;      /* secondary text on dark */
  --line: #d9e6f2;            /* hairline borders */
  --white: #fff;

  /* Gradients */
  --grad-deep: linear-gradient(140deg, #061a30 0%, #0a2540 45%, #0e63a8 130%);
  --grad-action: linear-gradient(135deg, #0e63a8, #1e9fd8);
  --grad-ice: linear-gradient(135deg, #eaf6fd, #d3ecfa 55%, #b7e2f7);

  /* Shape & elevation */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px rgba(10, 37, 64, .14);
  --shadow-soft: 0 10px 30px rgba(10, 37, 64, .08);
  --shadow-hover: 0 30px 70px rgba(10, 37, 64, .18);

  /* Layout & motion */
  --pad: clamp(20px, 5vw, 72px);
  --header-h: 76px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Inter", Arial, sans-serif;
  --tr: .28s cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.68;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.015em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2em; }
::selection { background: rgba(14, 99, 168, .18); }

.container { width: min(1280px, 100% - var(--pad) * 2); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - var(--pad) * 2); }
.center-text { text-align: center; }

/* Buttons & links ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; transition: var(--tr); line-height: 1.2;
}
.btn--accent {
  background: var(--grad-action); color: var(--white);
  box-shadow: 0 12px 28px rgba(14, 99, 168, .32);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(14, 99, 168, .42); filter: brightness(1.06); }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--invert { border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
.btn--invert:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: 9px 22px; font-size: 14px; }
.btn--block { width: 100%; }
.text-link {
  color: var(--blue); font-weight: 600; display: inline-block; position: relative;
}
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%;
  background: currentColor; transform: scaleX(.35); transform-origin: left; transition: var(--tr);
}
.text-link:hover::after { transform: scaleX(1); }

/* Header — frosted white glass (vs. source site's dark overlay) ------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(217, 230, 242, .8);
  color: var(--navy);
  transition: var(--tr);
}
.site-header--solid, .site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 32px rgba(10, 37, 64, .09);
}
.header-inner { width: min(1380px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .2px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-action); color: #fff;
  font-size: 21px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(14, 99, 168, .35);
}
.logo-text em { font-style: normal; color: var(--blue-bright); font-weight: 600; margin-left: 4px; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  background: none; border: 0; color: inherit; font-weight: 600; font-size: 15px;
  padding: 10px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px;
  transition: var(--tr);
}
.nav-link:hover, .nav-link.is-active { color: var(--blue); background: var(--ice-soft); }
.nav-dropdown { position: relative; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 264px;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--tr);
}
.nav-dropdown:hover .nav-drop-panel, .nav-dropdown:focus-within .nav-drop-panel { opacity: 1; visibility: visible; transform: none; }
.nav-drop-panel a { padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: 14.5px; }
.nav-drop-panel a:hover { background: var(--ice-soft); color: var(--blue); }
.header-cta { margin-left: 10px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 110; color: var(--navy); }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: var(--tr); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero — deep ocean gradient with ice-blue glow ------------------------------ */
.hero {
  min-height: 92vh; display: flex; align-items: center; justify-content: center;
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(52% 70% at 82% 8%, rgba(56, 189, 248, .22), transparent 62%),
    radial-gradient(46% 60% at 12% 88%, rgba(14, 99, 168, .55), transparent 65%),
    radial-gradient(30% 40% at 50% 120%, rgba(143, 216, 249, .18), transparent 70%),
    var(--grad-deep);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('/static/img/hero-lab.jpg');
  background-size: cover;
  background-position: center;
  opacity: .28;
  mix-blend-mode: luminosity;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(143, 216, 249, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 216, 249, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero-content { position: relative; padding: 130px var(--pad) 90px; max-width: 1040px; }
.hero-title { font-size: clamp(30px, 5.2vw, 64px); font-weight: 800; line-height: 1.12; margin-bottom: 34px; }
.hero-title em { font-style: normal; background: linear-gradient(100deg, var(--ice), #d9f2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); }
.hero-scroll span {
  display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 16px;
  position: relative;
}
.hero-scroll span::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; border-radius: 2px;
  background: var(--ice); transform: translateX(-50%); animation: scrollHint 1.6s infinite;
}
@keyframes scrollHint { 0% { opacity: 1; top: 7px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* Sections ----------------------------------------------------------------- */
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-soft); }
.section-title { font-size: clamp(24px, 3.2vw, 40px); font-weight: 800; line-height: 1.18; margin-bottom: 18px; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 30px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.sub-title { font-size: 20px; font-weight: 700; margin: 34px 0 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; }
.pill {
  padding: 8px 18px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--blue); font-weight: 600; font-size: 14px;
}

/* News category filter */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cat-pill {
  padding: 8px 20px; border-radius: 999px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 600; font-size: 14px;
  transition: var(--tr);
}
.cat-pill:hover { background: rgba(255,255,255,.22); }
.cat-pill.is-active { background: var(--ice); color: var(--navy); border-color: var(--ice); }

/* Media blocks -------------------------------------------------------------- */
.media-block {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; margin: clamp(36px, 5vw, 64px) 0;
}
.media-block--reverse .media-visual { order: 2; }
.media-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.media-text h3 { font-size: clamp(21px, 2.4vw, 29px); font-weight: 700; margin-bottom: 14px; }
.media-text p { color: var(--muted); margin-bottom: 18px; }

/* Placeholder visuals — ice gradient + grid dots ------------------------------ */
.ph { border-radius: var(--radius-lg); background: var(--grad-ice); position: relative; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14, 99, 168, .2) 1.4px, transparent 1.4px); background-size: 22px 22px; }
.ph--vision { aspect-ratio: 4/3; }
.ph--culture { aspect-ratio: 4/3; background: var(--grad-deep); }
.ph--culture::before { background-image: radial-gradient(rgba(143, 216, 249, .22) 1.4px, transparent 1.4px); }
.ph--page { aspect-ratio: 16/10; }
.ph--news { aspect-ratio: 16/9; border-radius: 0; }
.ph--wide { aspect-ratio: 16/7; }
.ph--center { aspect-ratio: 4/3; display: grid; place-items: center; }
.ph--center span { font-size: 42px; font-weight: 800; color: rgba(14, 99, 168, .45); position: relative; }
.ph--big { aspect-ratio: auto; height: 100%; min-height: 340px; }

/* Stats — dark navy band with ice numerals ------------------------------------- */
.stats-band { background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 80% at 85% 20%, rgba(56, 189, 248, .16), transparent 60%); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: clamp(48px, 7vw, 84px) 0; text-align: center; position: relative; }
.stat-value { font-size: clamp(42px, 6vw, 76px); font-weight: 800; background: linear-gradient(180deg, #eaf7ff, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-label { margin-top: 10px; font-weight: 500; font-size: 15px; opacity: .88; }

/* Testimonials ---------------------------------------------------------------- */
.testimonial-slider { max-width: 860px; margin-inline: auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.testimonial { min-width: 100%; padding: 8px 6px; }
.testimonial-quote {
  font-size: clamp(17px, 2vw, 21px); font-weight: 500; line-height: 1.65; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue-bright);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); position: relative;
  box-shadow: var(--shadow-soft);
}
.testimonial-quote::before { content: "“"; position: absolute; top: 2px; left: 18px; font-size: 70px; color: var(--ice); font-weight: 800; opacity: .9; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-left: 8px; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--muted); font-size: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-action); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.avatar--img { object-fit: cover; background: var(--bg-soft); padding: 0; }
.avatar--lg { width: 74px; height: 74px; font-size: 26px; }
.avatar--xl { width: 92px; height: 92px; font-size: 30px; margin-inline: auto; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--blue); background: none; color: var(--blue); font-size: 18px; transition: var(--tr); }
.slider-btn:hover { background: var(--blue); color: #fff; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line); transition: var(--tr); }
.slider-dots button.is-active { background: var(--blue); transform: scale(1.25); }

/* News ------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: var(--tr); display: flex;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(30, 159, 216, .5); }
.news-card-link { display: flex; flex-direction: column; width: 100%; }
.news-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.92); color: var(--blue); font-weight: 700; font-size: 12px; padding: 5px 13px; border-radius: 999px; backdrop-filter: blur(6px); }
.news-body { padding: 20px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); padding: 16px 22px 0; }
.news-tag { color: var(--blue); font-weight: 700; }
.news-card h3 { font-size: 18px; font-weight: 700; line-height: 1.35; padding: 18px 22px 0; }
.news-excerpt { padding: 8px 22px 22px; color: var(--muted); font-size: 14.5px; }

/* Accordion --------------------------------------------------------------------- */
.accordion { display: grid; gap: 12px; }
.acc-item {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: var(--tr);
}
.acc-item[open] { border-color: rgba(30, 159, 216, .45); box-shadow: var(--shadow-soft); }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600;
  position: relative; transition: var(--tr); font-size: 16.5px; font-family: var(--font-display);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { color: var(--blue); }
.acc-icon { position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--blue); transition: var(--tr); }
.acc-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.acc-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.acc-item[open] .acc-icon::after { transform: scaleY(0); }
.acc-body { padding: 0 24px 22px; color: var(--muted); }
.accordion--aside .acc-item { background: #fff; }
.faq-more { text-align: center; margin-top: 42px; display: grid; gap: 16px; justify-items: center; }

/* Page hero / breadcrumb --------------------------------------------------------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 8vw, 90px)) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(50% 90% at 85% 0%, rgba(56, 189, 248, .2), transparent 60%),
    var(--grad-deep);
  color: #fff;
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; margin-top: 14px; }
.page-hero-sub { margin-top: 12px; opacity: .88; max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; opacity: .85; }
.breadcrumb a:hover { color: var(--ice); }
.breadcrumb span.is-last, .breadcrumb .is-last { color: var(--ice); font-weight: 600; }
.crumb-sep { opacity: .5; }

/* Center detail ------------------------------------------------------------------- */
.center-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.center-visual img, .center-visual .ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.center-info { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 18px; }
.info-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--blue); margin-bottom: 6px; }
.info-block p { font-size: 15px; }
.info-block a:hover { color: var(--blue); }
.rich-text { color: #2c4a63; }
.rich-text p { margin-bottom: 1em; }
.rich-text h3 { margin: 1.2em 0 .5em; font-size: 20px; color: var(--navy); }
.rich-text ul { margin: .6em 0 1em; color: #2c4a63; }
.rich-text strong { color: var(--navy); }
.feature-list { list-style: none; display: grid; gap: 12px; margin-top: 10px; }
.feature-list li { position: relative; padding-left: 34px; color: #2c4a63; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 7px;
  background: var(--grad-action);
}
.feature-list li::after { content: "✓"; position: absolute; left: 4.5px; top: 3px; color: #fff; font-size: 12px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip { padding: 10px 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.chip--accent { background: var(--ice-soft); border-color: rgba(30, 159, 216, .4); color: var(--blue); }
.team-mini { display: flex; align-items: center; gap: 18px; }
.team-mini strong { font-size: 18px; display: block; }
.team-mini span { color: var(--muted); font-size: 14.5px; }

/* Center cards --------------------------------------------------------------------- */
.center-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.center-card {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: var(--tr); display: flex; flex-direction: column;
}
.center-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(30, 159, 216, .5); }
.center-card-visual { aspect-ratio: 16/10; overflow: hidden; }
.center-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.center-card:hover .center-card-visual img { transform: scale(1.05); }
.center-card-visual .ph { border-radius: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.center-card-body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.center-card h3 { font-size: 19px; font-weight: 700; }
.center-city { color: var(--muted); font-size: 14px; }

/* Mini cards / steps ------------------------------------------------------------------ */
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: var(--tr); }
.mini-card:hover { border-color: rgba(30, 159, 216, .4); box-shadow: var(--shadow-soft); }
.mini-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.mini-card h4 { margin-bottom: 8px; font-size: 17px; }
.mini-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.steps-list { list-style: none; counter-reset: step; display: grid; gap: 16px; margin-top: 10px; }
.steps-list li {
  counter-increment: step; position: relative; padding: 18px 20px 18px 74px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.steps-list li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px var(--blue-bright); letter-spacing: 1px;
}

/* Team grid ----------------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; margin-top: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 16px; text-align: center; transition: var(--tr); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(30, 159, 216, .4); }
.team-card strong { display: block; margin-top: 12px; font-size: 15px; line-height: 1.3; }
.team-card span { color: var(--muted); font-size: 12.5px; }

/* Jobs ------------------------------------------------------------------------------------ */
.job-list { display: grid; gap: 18px; }
.job-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; display: grid; gap: 14px; }
.job-item-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.job-item h2 { font-size: 20px; }
.job-item h2 a:hover { color: var(--blue); }
.job-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.job-item-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.job-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.spontaneous { margin-top: 46px; padding: 34px; border: 2px dashed rgba(30, 159, 216, .45); border-radius: var(--radius-lg); text-align: center; display: grid; gap: 10px; justify-items: center; background: var(--ice-soft); }
.spontaneous p { color: var(--muted); max-width: 480px; }

/* Article ---------------------------------------------------------------------------------- */
.page-hero--article h1 { font-size: clamp(26px, 3.6vw, 42px); }
.news-tag--hero { display: inline-block; background: rgba(56, 189, 248, .16); color: var(--ice); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-top: 18px; }
.article-cover { margin: 0 0 30px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.article-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.ph--wide { margin-bottom: 30px; }
.article-body { font-size: 16.5px; }
.article-back { margin-top: 36px; }

/* Contact ------------------------------------------------------------------------------------ */
.contact-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.contact-aside { display: grid; gap: 20px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; margin-bottom: 16px; }
.form-field label { font-weight: 600; font-size: 14px; }
.form-field small { color: var(--muted); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 15px; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; transition: var(--tr); width: 100%; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(30, 159, 216, .14);
}
.form-field textarea { resize: vertical; }
.form-legal { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.form-legal a { color: var(--blue); font-weight: 600; }
.form-status { font-size: 14px; font-weight: 600; min-height: 20px; margin-bottom: 10px; }
.form-status.is-ok { color: var(--blue); }
.form-status.is-err { color: #c2374a; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* Modal ---------------------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 26, 48, .62); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; z-index: 2; width: min(640px, calc(100% - 32px)); max-height: min(88vh, 860px); overflow: auto;
  background: #fff; border-radius: var(--radius-lg); margin: 5vh auto 0; padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow); animation: modalIn .3s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px); } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ice-soft); font-size: 15px; color: var(--navy); }
.modal-close:hover { background: var(--line); }
.modal-panel h3 { font-size: 22px; margin-bottom: 20px; }

/* CTA band --------------------------------------------------------------------------------------- */
.section--cta-band { padding-top: 0; }
.cta-band {
  background: var(--grad-deep); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 100% at 90% 10%, rgba(56, 189, 248, .2), transparent 60%); }
.cta-band h3 { font-size: 24px; margin-bottom: 6px; position: relative; }
.cta-band p { opacity: .85; position: relative; }
.cta-band .btn { position: relative; }

/* 404 -------------------------------------------------------------------------------------------- */
.section--404 { padding: calc(var(--header-h) + 80px) 0 100px; }
.code-404 { font-size: clamp(70px, 14vw, 140px); font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--line); line-height: 1; font-family: var(--font-display); }

/* Footer ------------------------------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: var(--muted-dark); }
.footer-main {
  width: min(1280px, 100% - var(--pad) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px;
  padding: clamp(48px, 7vw, 80px) 0 40px;
}
.logo--footer .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; opacity: .8; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col a { font-size: 14px; opacity: .82; transition: var(--tr); }
.footer-col a:hover { opacity: 1; color: var(--ice); }
.footer-bottom {
  width: min(1280px, 100% - var(--pad) * 2); margin-inline: auto;
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; opacity: .75;
}
.footer-bottom a:hover { color: var(--ice); }

/* Empty state ---------------------------------------------------------------------------------------- */
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }

/* Reveal animation ------------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .header-nav {
    position: fixed; inset: 0; background: var(--navy-deep); color: #fff;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 28px 40px; gap: 4px;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; z-index: 105;
  }
  .header-nav.is-open { transform: none; }
  .nav-link { font-size: 19px; width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .nav-link:hover, .nav-link.is-active { background: none; color: var(--ice); }
  .nav-drop-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; color: #fff; box-shadow: none; border: 0; padding: 0 0 6px 16px; min-width: 0;
    display: none;
  }
  .nav-drop-panel.is-open { display: grid; }
  .nav-drop-panel a { color: var(--muted-dark); padding: 10px 4px; }
  .nav-drop-panel a:hover { background: none; color: var(--ice); }
  .header-cta { margin: 16px 0 0; }
  .media-block { grid-template-columns: 1fr; }
  .media-block--reverse .media-visual { order: 0; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .center-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
  .center-detail { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .news-grid { grid-template-columns: 1fr; }
  .center-grid { grid-template-columns: 1fr; }
  .mini-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; }
  .hero-content { padding-top: 110px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .job-item-head { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 500px) {
  .btn { padding: 13px 24px; width: auto; }
  .btn--block { width: 100%; }
  .logo-text { font-size: 17px; }
  .acc-item summary { padding: 16px 46px 16px 18px; font-size: 15px; }
  .acc-body { padding: 0 18px 18px; }
  .job-item { padding: 20px; }
  .contact-form-wrap { padding: 20px; }
}
