:root {
  --dark-1: #2b4a82;
  --dark-2: #3d67b1;
  --text-dark: #1a202c;
  --text-light: #ffffff;
  --accent: #3d67b1;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  line-height: 1.2;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--text-light);
  color: var(--dark-1);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

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

/* Header / Nav */
.site-header {
  background: linear-gradient(135deg, var(--dark-1), var(--dark-2));
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  height: 40px;
  gap: 2rem;
}

.nav-list a {
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  border-color: var(--text-light);
}

/* Hero */
/* background-image is set inline per-page via asset_url() so the hero photo
   itself is cache-busted too; this rule only supplies the gradient fallback
   and the shared layout/sizing. */
.hero {
  background-color: var(--dark-1);
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 15rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--text-light);
  color: var(--dark-1);
}

.btn-primary:hover { opacity: 0.9; }

/* Generic sections */
.section {
  padding: 4rem 0;
}

.section-white {
  background: var(--text-light);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  text-align: center;
  padding: 0 0 1.75rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-card .thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  margin-bottom: 1.25rem;
}

.service-card h3,
.service-card p {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.95rem;
  color: #4a5568;
}

/* Message / quote cards (CEO, Directors) */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.quote-card {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.quote-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #d9d9d9;
  margin: 0 auto 1rem;
}

.quote-card blockquote {
  font-style: italic;
  color: #4a5568;
  margin-bottom: 1rem;
}

.quote-card h3 { font-size: 1.05rem; }
.quote-card .title { font-size: 0.85rem; color: #718096; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { display: block; margin-bottom: 1rem; }
.contact-info a { display: block; margin-bottom: 0.4rem; }
.contact-info a:hover { text-decoration: underline; }

.get-in-touch {
  background: #eef3fb;
}

.get-in-touch-subtitle {
  text-align: center;
  max-width: 46ch;
  margin: -1.5rem auto 2.5rem;
  color: #4a5568;
}

.get-in-touch-card {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(43, 74, 130, 0.1);
  max-width: 720px;
  margin: 0 auto;
  padding: 2.75rem 2.5rem 2.5rem;
}

.phone-columns {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.phone-divider {
  width: 1px;
  background: #e2e8f0;
  align-self: stretch;
}

.phone-group {
  flex: 1;
  max-width: 260px;
  text-align: center;
}

.phone-group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(61, 103, 177, 0.1);
  color: var(--accent);
  margin: 0 auto 0.85rem;
}

.phone-group h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #718096;
  margin-bottom: 1rem;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.phone-list a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.phone-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.phone-entry {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.phone-owner {
  font-size: 0.78rem;
  color: #718096;
}

.contact-info .phone-list a {
  margin-bottom: 0;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 120;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  color: #fff;
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

.get-in-touch-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--dark-1), var(--dark-2));
  color: var(--text-light);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1.1rem;
}

.footer-brand img { display: block; margin-bottom: 1rem; }

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.75;
  max-width: 26ch;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
}

.footer-links a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--accent);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 700px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 200;
    margin-left: auto;
  }

  .nav-list {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-1), var(--dark-2));
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-list.open { transform: translateX(0); }

  .nav-list li { width: 100%; text-align: center; }

  .nav-list a {
    display: block;
    padding: 1.1rem 1.5rem;
    font-size: 1.3rem;
    border-bottom: none;
  }

  body.nav-open { overflow: hidden; }

  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }

  .footer-brand img { margin: 0 auto 1rem; }
  .footer-tagline { max-width: none; margin: 0 auto; }
  .footer-social { justify-content: center; }

  .get-in-touch-card { padding: 2.25rem 1.5rem; }
  .phone-columns { flex-direction: column; gap: 2rem; }
  .phone-group { max-width: none; }
  .phone-divider { width: 100%; height: 1px; }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .nav-list { transition: none; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
