/* Aloco Developments – main styles */
:root {
  --primary: #0d47a1;
  --primary-dark: #063a7a;
  --accent: #1565c0;
  --text: #212121;
  --text-muted: #616161;
  --bg-light: #f5f5f5;
  --white: #fff;
  --max-width: 1200px;
  --header-height: 70px;
  --spacing-section: 4rem;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #103487;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  border: 7px solid var(--white);
  border-radius: 4px;
}

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

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 3px;
}

.logo-img--footer {
  height: 36px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

.main-nav a:hover,
.main-nav a.active {
  color: rgba(255, 255, 255, 0.9);
}

.nav-cta {
  background: var(--white);
  color: #103487 !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #103487 !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
  background-image: url("../assets/images/hero.jpeg");
  background-size: cover;
  background-position-y: 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 71, 161, 0.45);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 640px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

.dot.active {
  background: var(--primary);
}

/* Sections */
.section {
  padding: var(--spacing-section) 1.5rem;
}

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

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.5rem auto 0;
  background: var(--primary);
}

.section-intro {
  max-width: 880px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.who-we-are {
  background: var(--white);
}

.section-visual {
  margin: 0 auto 1.5rem;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.who-we-are .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* Specialities */
.specialities {
  background: var(--bg-light);
}

.specialities--bg {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.specialities-bg {
  position: absolute;
  background: #d5e1e9;
  inset: 0;
  z-index: 0;
}

.specialities-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.336);
  z-index: 0;
}

.specialities-inner {
  position: relative;
  z-index: 1;
}

.speciality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.speciality-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.speciality-image {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
}

.speciality-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speciality-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.speciality-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.speciality-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Vision, Mission, Goals */
.vision-section {
  background: var(--bg-light);
}

.vision-grid {
  display: grid;
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}

.vision-card h3,
.goals-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.vision-card p,
.goals-list ul {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.goals-list ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.goals-list li {
  margin-bottom: 0.5rem;
}

/* CEO section */
.ceo-section {
  background: var(--white);
}

.ceo-block {
  max-width: 880px;
  margin: 0 auto;
  text-align: justify;
}

.ceo-block p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: justify;
}

.ceo-signature {
  margin-top: 1.5rem !important;
  text-align: center;
  color: var(--text) !important;
}

/* How We Work */
.how-section {
  background: var(--bg-light);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.how-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.how-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--primary);
}

.how-card ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.how-card li {
  margin-bottom: 0.25rem;
}

/* Projects */
.projects-section {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.project-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.project-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.project-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Team */
.team-section {
  background: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin: 0 auto;
  max-width: 700px;
}

.team-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.team-name {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Values */
.values-section {
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.value-card {
  padding: 1rem;
  border-left: 3px solid var(--primary);
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--primary);
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* Partners */
.partners-section {
  background: var(--bg-light);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.partner-logo {
  height: 88px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* News */
.news-section {
  background: var(--white);
}

.news-placeholder {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
}

.footer-map-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='0.5' d='M0 25 Q25 10 50 25 T100 25'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='0.3' d='M20 15 L80 35 M30 40 L70 10'/%3E%3C/svg%3E");
  background-size: 200px 100px;
}

.footer-main {
  position: relative;
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-contact {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-form label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form input {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-footer {
  margin-top: 0.25rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  width: fit-content;
}

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

.newsletter-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-news-bar {
  position: relative;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer-news-bar .container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-news-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-news-bar a:hover {
  color: var(--white);
}

.footer-bottom {
  position: relative;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom .logo {
  color: var(--white);
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.social-placeholder {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

.social-placeholder span {
  color: rgba(255, 255, 255, 0.8);
  cursor: default;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speciality-grid,
  .speciality-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* Services as list on smaller screens */
@media (max-width: 640px) {
  .speciality-grid,
  .speciality-grid--wide {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .speciality-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1rem;
  }

  .speciality-card .speciality-image {
    width: 72px;
    min-width: 72px;
    aspect-ratio: 1;
    margin: 0;
    flex-shrink: 0;
  }

  .speciality-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .speciality-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
  }

  .speciality-card p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
  }

  .logo-wrapper {
    border-width: 7px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero {
    min-height: 360px;
    padding: 2.5rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .vision-grid,
  .ceo-block,
  .section-intro {
    max-width: 100%;
  }

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

  .newsletter-form {
    align-items: center;
  }

  .btn-footer {
    align-self: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .team-grid {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .team-card {
    padding: 1rem;
  }

  .partners-logos {
    gap: 1.5rem;
  }

  .partner-logo {
    height: 56px;
    max-width: 70px;
  }
}

@media (max-width: 480px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .section {
    padding: 2rem 0.75rem;
  }

  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .specialities-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .project-card,
  .how-card {
    padding: 1rem;
  }

  .footer-main,
  .footer-bottom {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
