/* ==========================================================================
   Salud Conecta — Design System
   Canvas Cream · Navy · Steel Blue · Serif editorial
   ========================================================================== */

:root {
  /* Brand colors */
  --navy-primary: #234459;
  --navy-deep: #254a59;
  --steel-blue: #6f96a6;
  --pale-blue: #bfd1d9;
  --canvas-cream: #f2f2f2;
  --white: #ffffff;

  /* Text */
  --text-primary: #234459;
  --text-secondary: rgba(35, 68, 89, 0.72);
  --text-muted: rgba(35, 68, 89, 0.55);
  --text-on-dark: #ffffff;
  --text-on-dark-secondary: rgba(255, 255, 255, 0.78);
  --text-on-dark-muted: rgba(255, 255, 255, 0.6);

  /* States */
  --error: #b23a48;
  --error-tint: rgba(178, 58, 72, 0.06);
  --valid-tint: rgba(111, 150, 166, 0.08);

  /* Typography */
  --font-display: "Classico URW", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Utopia Std", "Source Serif Pro", Georgia, "Times New Roman", serif;

  /* Shadow */
  --shadow-card: 0 1px 2px rgba(35, 68, 89, 0.06), 0 4px 12px rgba(35, 68, 89, 0.04);
  --shadow-card-hover: 0 2px 4px rgba(35, 68, 89, 0.08), 0 10px 24px rgba(35, 68, 89, 0.07);
  --shadow-nav: 0 1px 0 rgba(191, 209, 217, 0.6);

  /* Radius */
  --radius-card: 8px;
  --radius-button: 4px;

  /* Layout */
  --max-width: 1200px;
  --gutter: 24px;
  --section-pad-y: 96px;
  --section-pad-y-mobile: 64px;

  /* Transitions */
  --t-fast: 150ms;
  --t-base: 220ms;
  --t-slow: 320ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--canvas-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

/* Accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--navy-primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-button);
  font-size: 14px;
  z-index: 100;
  transition: top var(--t-base) var(--ease);
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--steel-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   Layout Primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad-y);
}
@media (max-width: 767px) {
  .section {
    padding-block: var(--section-pad-y-mobile);
  }
}

.section-dark {
  background: var(--navy-deep);
  color: var(--text-on-dark);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head-center {
  margin-inline: auto;
  text-align: center;
}
.section-head-dark {
  color: var(--text-on-dark);
}
.section-head-dark .section-title {
  color: var(--text-on-dark);
}
.section-head-dark .section-sub {
  color: var(--text-on-dark-secondary);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 20px;
}
.eyebrow-dark {
  color: var(--pale-blue);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 22ch;
}
.section-head-center .section-title {
  margin-inline: auto;
}

.section-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 64ch;
}
.section-head-center .section-sub {
  margin-inline: auto;
}

.lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  transition: background var(--t-base) var(--ease),
    color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--navy-primary);
  border-color: var(--navy-primary);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--navy-primary);
  color: var(--white);
}

.btn-dark-fill {
  background: var(--white);
  color: var(--navy-primary);
  border-color: var(--white);
}
.btn-dark-fill:hover,
.btn-dark-fill:focus-visible {
  background: var(--pale-blue);
  border-color: var(--pale-blue);
}

.btn-dark-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-dark-outline:hover,
.btn-dark-outline:focus-visible {
  background: var(--white);
  color: var(--navy-primary);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--pale-blue);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 84px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-primary);
  transition: opacity var(--t-base) var(--ease);
}
.nav-brand:hover {
  opacity: 0.85;
}

.nav-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy-primary);
}

.nav-brand-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  padding-block: 8px;
  transition: color var(--t-base) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--steel-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-base) var(--ease);
}
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}
.nav-link.is-active {
  color: var(--steel-blue);
}

.nav-cta {
  padding: 12px 22px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--navy-primary);
  transition: transform var(--t-base) var(--ease),
    opacity var(--t-base) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 84px;
  right: 0;
  bottom: 0;
  width: min(86vw, 380px);
  background: var(--canvas-cream);
  border-left: 1px solid var(--pale-blue);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  z-index: 39;
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateX(0);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  gap: 4px;
}
.mobile-link {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--pale-blue);
  transition: color var(--t-base) var(--ease);
}
.mobile-link:last-of-type {
  border-bottom: 0;
}
.mobile-link:hover {
  color: var(--steel-blue);
}
.mobile-cta {
  margin-top: 20px;
  align-self: flex-start;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--canvas-cream);
  position: relative;
  overflow: hidden;
  padding-block: 27px 120px;
}
@media (max-width: 767px) {
  .hero {
    padding-block: 24px 80px;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 72px;
}
@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: clamp(40px, 5.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--pale-blue);
}
@media (max-width: 767px) {
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.hero-meta-item dt {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 10px;
}
.hero-meta-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Circle visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1023px) {
  .hero-visual {
    display: none;
  }
}

.hero-circle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 480px;
}

.hero-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1023px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about .section-head {
  margin-bottom: 0;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-body p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
}
.about-body .lead {
  color: var(--text-primary);
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--pale-blue);
}
.about-pillars li {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--pale-blue);
}
@media (max-width: 640px) {
  .about-pillars li {
    flex-direction: column;
    gap: 12px;
  }
}
.pillar-number {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--steel-blue);
  flex-shrink: 0;
  min-width: 40px;
  letter-spacing: 0.02em;
}
.about-pillars h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.about-pillars p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

/* ==========================================================================
   Mission / Vision
   ========================================================================== */

.mission-vision {
  background: var(--canvas-cream);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}
@media (max-width: 767px) {
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border-left: 4px solid var(--steel-blue);
  padding: 40px 40px 44px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}
.mv-card:hover {
  box-shadow: var(--shadow-card-hover);
}
.mv-card .eyebrow {
  margin-bottom: 16px;
}
.mv-card p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
  text-align: justify;
  hyphens: auto;
}

/* ==========================================================================
   Values (Navy band)
   ========================================================================== */

.values {
  color: var(--text-on-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(191, 209, 217, 0.18);
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  transition: background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}
.value-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(191, 209, 217, 0.32);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pale-blue);
  margin-bottom: 24px;
}
.value-icon svg {
  width: 56px;
  height: 56px;
}

.value-card h3 {
  font-size: 22px;
  color: var(--text-on-dark);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-dark-secondary);
}

/* ==========================================================================
   Services (Cream supporting)
   ========================================================================== */

.services {
  background: var(--canvas-cream);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}


.service-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-number {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--steel-blue);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--steel-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-blue);
  flex-shrink: 0;
}
.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.service-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--pale-blue);
  margin-top: auto;
}
.service-items li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.55;
}
.service-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1px;
  background: var(--steel-blue);
}

/* ==========================================================================
   Certifications / REPSE
   ========================================================================== */

.certifications {
  background: var(--white);
}

.certifications-inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 1023px) {
  .certifications-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.certifications-copy > p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-top: 8px;
  text-align: justify;
  hyphens: auto;
}
.certifications-copy strong {
  font-weight: 600;
  color: var(--text-primary);
}

.cert-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--pale-blue);
}
.cert-details > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--pale-blue);
}
@media (max-width: 640px) {
  .cert-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.cert-details dt {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin: 0;
}
.cert-details dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
}

.certifications-figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.certifications-frame {
  background: var(--canvas-cream);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--pale-blue);
  box-shadow: var(--shadow-card);
}
.certifications-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.certifications-figure figcaption {
  font-size: 13px;
  color: var(--steel-blue);
  letter-spacing: 0.02em;
  text-align: center;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--canvas-cream);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 1023px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 28px;
}
@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--pale-blue);
  padding: 10px 0;
  border-radius: 0;
  width: 100%;
  transition: border-color var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236F96A6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1 L6 6 L11 1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-bottom-color: var(--steel-blue);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--navy-primary);
  background: var(--valid-tint);
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: none;
}
.field input:user-invalid,
.field textarea:user-invalid,
.field select:user-invalid,
.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-bottom-color: var(--error);
  background: var(--error-tint);
}

.contact-submit {
  grid-column: 1 / -1;
  justify-self: flex-start;
  margin-top: 8px;
}

.contact-form-status {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--steel-blue);
  min-height: 1.2em;
}
.contact-form-status.is-success {
  color: var(--navy-primary);
}
.contact-form-status.is-error {
  color: var(--error);
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-side h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  transition: box-shadow var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
  cursor: pointer;
}
.contact-channel:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--steel-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-blue);
  flex-shrink: 0;
}
.contact-channel-icon svg {
  width: 22px;
  height: 22px;
}

.contact-channel > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-channel-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-blue);
}
.contact-channel-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy-primary);
  line-height: 1.3;
}

.contact-side-note {
  padding: 24px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--pale-blue);
  background: rgba(255, 255, 255, 0.5);
}
.contact-side-note p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-align: justify;
  hyphens: auto;
}

/* Arrival hint pulse */
@keyframes hint-pulse {
  0%   { box-shadow: var(--shadow-card); }
  45%  { box-shadow: 0 0 0 4px rgba(111, 150, 166, 0.35), var(--shadow-card); }
  100% { box-shadow: var(--shadow-card); }
}

.hint-active {
  animation: hint-pulse 0.8s ease 2;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy-deep);
  color: var(--text-on-dark);
  padding-block: 72px 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(191, 209, 217, 0.2);
}
@media (max-width: 1023px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 360px;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-circle-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--pale-blue);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.footer-circle-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.01em;
}
.footer-brand-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pale-blue);
  margin-top: 6px;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-dark-secondary);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pale-blue);
  margin-bottom: 18px;
  font-weight: 400;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-secondary);
}
.footer-col a {
  color: var(--text-on-dark-secondary);
  transition: color var(--t-base) var(--ease);
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--text-on-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}
@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
.footer-fine {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Reveal on scroll (subtle)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
