/* HospiMalta Ltd — simple site styles */

:root {
  --navy: #1a4331;
  --teal: #2f9e58;
  --teal-light: #e8f6ec;
  --text: #24302a;
  --text-muted: #5c6b62;
  --bg: #ffffff;
  --bg-alt: #f4f9f5;
  --border: #dfe8e2;
  --radius: 10px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: "Poppins", "Inter", -apple-system, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

a {
  color: var(--teal);
  transition: color 0.15s ease;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 10px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(26, 67, 49, 0.03), 0 4px 16px rgba(26, 67, 49, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
}

.logo-img {
  height: 136px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: right 0.2s ease;
}

.site-nav a:hover {
  color: var(--teal);
}

.site-nav a:hover::after {
  right: 0;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 110px;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 64s ease-in-out infinite;
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 16s; }
.hero-bg-slide:nth-child(3) { animation-delay: 32s; }
.hero-bg-slide:nth-child(4) { animation-delay: 48s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  21%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(15, 41, 30, 0.5) 0%, rgba(15, 41, 30, 0.32) 45%, rgba(15, 41, 30, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .eyebrow {
  color: #bdf0cc;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  max-width: 620px;
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 8px;
  box-shadow: 0 6px 18px rgba(15, 41, 30, 0.22);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 41, 30, 0.28);
}

.procurement-note {
  margin-top: 32px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  max-width: 620px;
  box-shadow: 0 12px 30px rgba(15, 41, 30, 0.25);
}

.procurement-note p {
  margin: 0;
  color: var(--text);
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-pattern {
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='160'%3E%3Cpath d='M0 80 H60 L75 40 L90 120 L105 80 H300' fill='none' stroke='%232f9e58' stroke-width='2' opacity='0.07'/%3E%3Ccircle cx='250' cy='30' r='14' fill='none' stroke='%231a4331' stroke-width='1.5' opacity='0.06'/%3E%3Cpath d='M20 132 v14 M13 139 h14' stroke='%231a4331' stroke-width='2' stroke-linecap='round' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-head .eyebrow {
  display: inline-block;
  position: relative;
  padding-top: 14px;
}

.section-head .eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
}

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

/* Stat row */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: 0 8px 22px rgba(26, 67, 49, 0.06);
}

.stat-num {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Pull quote */

.pull-quote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--teal);
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}

/* Split grid (content + facts card) */

.split-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.facts-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 26px rgba(26, 67, 49, 0.07);
  position: sticky;
  top: 100px;
}

.facts-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 18px;
}

.facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facts-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

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

.facts-list span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.facts-list strong {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
}

.prose {
  max-width: 780px;
}

.prose-center {
  margin: 0 auto;
}

.stat-row-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1000px;
}

.section-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.section-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(26, 67, 49, 0.1);
  min-height: 260px;
}

.section-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.insight-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.insight-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.insight-list i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 1rem;
}

.insight-list h4 {
  margin: 0 0 4px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1rem;
  color: var(--navy);
}

.insight-list p {
  margin: 0;
  font-size: 0.95rem;
}

.bios-head {
  text-align: center;
  max-width: 640px;
  margin: 56px auto 32px;
}

.bios-head h3 {
  margin-bottom: 8px;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 22px rgba(26, 67, 49, 0.06);
}

.bio-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.bio-card h4 {
  margin: 0 0 2px;
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--navy);
}

.bio-role {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
}

.bio-card > p:last-child {
  font-size: 0.95rem;
  margin: 0;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.equip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 22px rgba(26, 67, 49, 0.06);
}

.equip-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 16px;
}

.equip-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.equip-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-list summary {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--teal);
  font-weight: 700;
}

.faq-list details[open] summary::before {
  content: "\2212";
}

.faq-list details p {
  margin: 10px 0 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prose h3 {
  margin-top: 28px;
}

/* Marquee band */

.marquee-band {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 16px 0 22px;
}

.section-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 24px;
  display: block;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.marquee-item i {
  color: var(--teal-light);
  font-size: 1.2rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Contact */

.contact-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline i {
  font-size: 0.9rem;
  color: var(--teal);
  transition: color 0.2s ease;
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn-outline:hover i {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 22px rgba(26, 67, 49, 0.06);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 0.95rem;
  margin: 0 0 10px;
  color: var(--navy);
}

.contact-card p {
  margin-bottom: 8px;
  color: var(--text);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--teal);
}

/* Footer */

.site-footer {
  padding: 32px 0;
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='100'%3E%3Cpath d='M0 50 H40 L50 20 L60 80 L70 50 H200' fill='none' stroke='%232f9e58' stroke-width='2' opacity='0.4'/%3E%3Cpath d='M170 15 v14 M163 22 h14' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' opacity='0.28'/%3E%3Crect x='14' y='68' width='20' height='10' rx='5' fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='0.22'/%3E%3Cline x1='24' y1='68' x2='24' y2='78' stroke='%23ffffff' stroke-width='1.5' opacity='0.22'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-fb {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--teal-light);
}

.footer-fb:hover {
  color: #fff;
}

/* Responsive */

@media (max-width: 800px) {
  .site-nav {
    gap: 16px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .stat-row-4 {
    grid-template-columns: 1fr 1fr;
  }

  .bio-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .equip-grid {
    grid-template-columns: 1fr;
  }

  .facts-card {
    position: static;
  }
}

@media (max-width: 520px) {
  .site-nav {
    gap: 12px;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide,
  .marquee-track {
    animation: none;
  }

  .hero-bg-slide:first-child {
    opacity: 1;
  }
}
