:root {
  --hydra-navy: #10233d;
  --hydra-cyan: #2cb7c9;
  --hydra-sand: #f5efe7;
  --hydra-ink: #1b1f24;
  --hydra-white: #ffffff;
  --hydra-muted: #677385;
  --hydra-border: rgba(16, 35, 61, 0.12);
  --hydra-shell: min(1280px, calc(100vw - 48px));
  --hydra-radius: 28px;
  --hydra-shadow: 0 24px 60px rgba(16, 35, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hydra-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(44, 183, 201, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf9f6 0%, #ffffff 30%, #f4f7fa 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hydra-shell {
  width: var(--hydra-shell);
  margin: 0 auto;
}

.hydra-narrow {
  max-width: 760px;
}

.hydra-stack > * + * {
  margin-top: 1rem;
}

.hydra-page-padding {
  padding: 80px 0;
}

.hydra-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #05070b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hydra-header-inner,
.hydra-footer-grid,
.hydra-hero-inner,
.hydra-cta-inner,
.hydra-form-grid {
  display: grid;
  gap: 24px;
}

.hydra-header-inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 20px;
}

.hydra-brand {
  display: inline-flex;
  align-items: center;
}

.hydra-brand img {
  max-height: 34px;
  width: auto;
}

/* Header logo: SVG-only white forcing */
.hydra-site-header .hydra-brand img[src$=".svg"] {
  filter: brightness(0) invert(1);
}

/* Inline SVG logo inherits white and force child shapes */
.hydra-site-header .hydra-brand svg {
  color: #fff !important;
  fill: currentColor !important;
}

.hydra-site-header .hydra-brand svg path,
.hydra-site-header .hydra-brand svg g,
.hydra-site-header .hydra-brand svg use,
.hydra-site-header .hydra-brand svg polygon,
.hydra-site-header .hydra-brand svg rect,
.hydra-site-header .hydra-brand svg circle,
.hydra-site-header .hydra-brand svg ellipse {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.hydra-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.hydra-site-header .hydra-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s ease;
}

.hydra-site-header .hydra-menu a:hover {
  color: #fff;
}

.hydra-site-header .hydra-brand {
  color: #fff;
}

.hydra-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hydra-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.hydra-button-primary {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.hydra-button-primary:hover {
  background: #0b5ed7;
  border-color: #0b5ed7;
}

.hydra-button-light {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.hydra-button-light:hover {
  background: #f2f4f8;
  border-color: #f2f4f8;
  color: #111;
}

.hydra-button-ghost {
  border: 1px solid var(--hydra-border);
  background: rgba(255, 255, 255, 0.72);
}

.hydra-kicker {
  display: inline-block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--hydra-cyan);
  font-weight: 700;
}

.hydra-hero {
  padding: 96px 0 88px;
  background:
    linear-gradient(110deg, rgba(16, 35, 61, 0.92), rgba(16, 35, 61, 0.68)),
    var(--hydra-hero-image, linear-gradient(135deg, #19314f, #2cb7c9));
  background-size: cover;
  background-position: center;
  color: var(--hydra-white);
}

.hydra-hero-inner {
  min-height: 420px;
  align-items: end;
}

.hydra-hero-copy {
  max-width: 680px;
}

.hydra-hero h1,
.hydra-intro h2,
.hydra-section h2,
.hydra-cta-banner h2,
.hydra-form-block h2,
.hydra-archive-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
}

.hydra-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  margin-top: 14px;
}

.hydra-hero p,
.hydra-intro p,
.hydra-section-copy,
.hydra-cta-banner p,
.hydra-form-block p {
  color: inherit;
  opacity: 0.94;
  line-height: 1.7;
}

.hydra-hero-actions,
.hydra-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hydra-header-language-switcher,
.hydrafacial-language-switcher--theme-header {
  min-width: 0;
}

.hydrafacial-language-switcher--theme-header .hydrafacial-language-switcher__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hydrafacial-language-switcher--theme-header .hydrafacial-language-switcher__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
}

.hydrafacial-language-switcher--theme-header .hydrafacial-language-switcher__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.hydrafacial-language-switcher--theme-header .hydrafacial-language-switcher__widget,
.hydrafacial-language-switcher--theme-header .gtranslate_wrapper {
  width: auto;
}

.hydrafacial-language-switcher--theme-header .gt_switcher {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  position: relative;
  font-family: inherit !important;
}

.hydrafacial-language-switcher--theme-header .gt_switcher .gt_selected {
  background: transparent !important;
}

.hydrafacial-language-switcher--theme-header .gt_switcher .gt_selected a {
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 24px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.hydrafacial-language-switcher--theme-header .gt_switcher .gt_selected a:after {
  right: 0 !important;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.hydrafacial-language-switcher--theme-header .gt_switcher .gt_selected a img,
.hydrafacial-language-switcher--theme-header .gt_switcher .gt_option a img {
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px;
  object-fit: cover;
  opacity: 1 !important;
}

.hydrafacial-language-switcher--theme-header .gt_switcher .gt_option {
  position: absolute !important;
  top: calc(100% + 10px);
  right: 0;
  left: auto !important;
  width: min(260px, calc(100vw - 32px)) !important;
  margin-top: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22) !important;
  z-index: 1000;
}

.hydrafacial-language-switcher--theme-header .gt_switcher .gt_option a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  color: #111827 !important;
  font-size: 14px !important;
}

.hydra-intro,
.hydra-section,
.hydra-locator,
.hydra-resource-list,
.hydra-faq,
.hydra-form-block,
.hydra-archive-hero {
  padding: 72px 0;
}

.hydra-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.75);
}

.hydra-section .hydra-shell,
.hydra-cta-inner {
  display: grid;
  gap: 20px;
}

.hydra-section-media img,
.hydra-card-media img,
.hydra-single-media img {
  border-radius: var(--hydra-radius);
  box-shadow: var(--hydra-shadow);
}

.hydra-bullet-grid,
.hydra-social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.hydra-bullet-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hydra-bullet-grid li,
.hydra-card,
.hydra-resource-item,
.hydra-faq-item,
.hydra-article-card,
.hydra-search-item {
  padding: 22px;
  border: 1px solid var(--hydra-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(16, 35, 61, 0.05);
}

.hydra-grid-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hydra-card-body h2,
.hydra-card h3,
.hydra-resource-item h3,
.hydra-single-article h1 {
  margin: 0 0 12px;
}

.hydra-cta-banner {
  padding: 32px 0;
}

.hydra-cta-inner {
  grid-template-columns: 1fr auto;
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(16, 35, 61, 0.94), rgba(44, 183, 201, 0.72)),
    var(--hydra-cta-image, none);
  background-size: cover;
  color: var(--hydra-white);
}

.hydra-locator-form,
.hydra-form {
  display: grid;
  gap: 16px;
}

.hydra-locator-form {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hydra-form-grid {
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: start;
}

.hydra-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hydra-border);
  border-radius: var(--hydra-radius);
}

.hydra-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.hydra-form-full {
  grid-column: 1 / -1;
}

.hydra-form input,
.hydra-form textarea,
.hydra-locator-form input,
.search-form input[type="search"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--hydra-border);
  background: #fff;
}

.hydra-check {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.hydra-form-message-success {
  color: #0a7d4f;
}

.hydra-form-message-error {
  color: #ac2f2f;
}

.hydra-resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hydra-footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 56px 0;
}

.hydra-site-footer {
  margin-top: 56px;
  background: var(--hydra-navy);
  color: rgba(255, 255, 255, 0.86);
}

.hydra-site-footer .menu,
.hydra-site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hydra-single-grid {
  display: grid;
}

.hydra-prose > *:first-child {
  margin-top: 0;
}

.hydra-empty-state {
  text-align: center;
}

.hydra-device-query-main {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hydra-device-query-main .hydra-page-padding {
  width: 100%;
  padding: 0;
}

.hydra-device-query-wrap {
  max-width: 860px;
}

.hydra-device-query-head h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.hydra-device-query-head p {
  margin: 0;
  color: var(--hydra-muted);
}

.hydra-device-query-form {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.hydra-device-query-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.hydra-device-query-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--hydra-border);
  font-size: 15px;
}

.hydra-device-result {
  margin-top: 24px;
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid var(--hydra-border);
  background: #fff;
}

.hydra-device-result h2 {
  margin: 0 0 14px;
}

.hydra-device-result ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.hydra-device-result--ok {
  border-color: rgba(10, 125, 79, 0.24);
  background: rgba(10, 125, 79, 0.05);
}

.hydra-device-result--empty {
  border-color: rgba(172, 47, 47, 0.24);
  background: rgba(172, 47, 47, 0.05);
}

.hydra-device-notes p {
  margin: 6px 0 0;
}

@media (max-width: 960px) {
  .hydra-header-inner,
  .hydra-footer-grid,
  .hydra-form-grid,
  .hydra-cta-inner {
    grid-template-columns: 1fr;
  }

  .hydra-main-nav {
    display: none;
  }

  .hydrafacial-language-switcher--theme-header {
    width: 100%;
  }

  .hydrafacial-language-switcher--theme-header .hydrafacial-language-switcher__inner {
    min-height: 44px;
    width: 100%;
  }

  .hydra-form {
    grid-template-columns: 1fr;
  }

  .hydra-device-query-main {
    min-height: 80vh;
    align-items: center;
  }

  .hydra-device-query-row {
    grid-template-columns: 1fr;
  }

  .hydra-device-query-row .hydra-button {
    width: 100%;
  }
}
