:root {
  --gold: #a8882a;
  --gold-light: #b8982e;
  --dark: #1a1a18;
  --dark-2: #252520;
  --brown: #a8882a;
  --text: #1a1a18;
  --muted: #5a5a50;
  --bg: #f0ede6;
  --white: #ffffff;
  --charcoal: #2a2a26;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

a { transition: color 0.25s; }

/* ── HEADER ── */
header {
  background: linear-gradient(rgba(0,0,0,.70), rgba(0,0,0,.70)),
              url('images/headerimage.webp') center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 70px 20px 60px;
}

header img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 18px;
}

header h1 {
  font-size: clamp(28px, 5vw, 52px);
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

header .tagline {
  color: var(--gold-light);
  font-style: italic;
  font-size: 18px;
  margin: 6px 0 22px;
}

/* ── CTA BUTTON ── */
.cta {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 13px 26px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.5px;
  transition: opacity 0.2s, transform 0.2s;
}
.cta:hover { opacity: 0.88; transform: translateY(-2px); }

/* ── NAV ── */
nav {
  background: #1a1a18;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 4px;
  padding: 12px 16px;
}

nav a {
  color: var(--gold);
  padding: 6px 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px;
}

section { margin-bottom: 80px; }

h2 {
  border-left: 5px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 24px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--dark);
}

/* ── LISTS ── */
ul { padding-left: 20px; }
ul li { margin-bottom: 8px; }
ul li::marker { color: var(--gold); }
ul li strong { color: var(--brown); }

/* ── CLIENTS TICKER ── */
.clients-ticker-wrap {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  position: relative;
}

.clients-ticker-wrap::before,
.clients-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}
.clients-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.clients-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.clients-ticker {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.clients-ticker:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  border-radius: 12px;
  padding: 18px 20px;
  min-width: 140px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  border: 1px solid #e8e4dc;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text);
}
.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.13);
  border-color: var(--gold);
}

.client-logo span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
}

.client-logo p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  max-width: 110px;
  line-height: 1.4;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  border-top: 4px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--dark);
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── TEAM CARDS ── */
.team-card {
  display: flex;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  margin-bottom: 40px;
  transition: transform 0.3s;
}
.team-card:hover { transform: scale(1.01); }

.team-card .photo-col {
  flex: 1 1 260px;
  position: relative;
  min-height: 280px;
}

.team-card .photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card .photo-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  color: var(--white);
  padding: 20px;
}
.team-card .photo-overlay h3 { margin: 0; font-size: 18px; }
.team-card .photo-overlay p  { margin: 4px 0 0; font-size: 13px; opacity: 0.9; }

.team-card .bio-col {
  flex: 2 1 300px;
  padding: 30px;
}

.team-card .bio-col p { color: var(--muted); line-height: 1.7; margin-top: 0; }
.team-card .bio-col p:first-child { color: #333; }

/* ── TAGS ── */
.tag-row { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.tag-blue   { background: #e3f2fd; }
.tag-green  { background: #e8f5e9; }
.tag-orange { background: #fff3e0; }
.tag-pink   { background: #fce4ec; }
.tag-purple { background: #ede7f6; }

.team-card h4 { margin-bottom: 10px; color: var(--text); }
.team-card ul  { padding-left: 18px; }
.team-card ul li { color: #444; line-height: 1.8; }

/* ── CONTACT ── */
#contact form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  gap: 10px;
  margin-top: 20px;
}

#contact form label {
  font-weight: 700;
  font-size: 14px;
}

#contact form input,
#contact form textarea {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  width: 100%;
  transition: border-color 0.2s;
}

#contact form input:focus,
#contact form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

#contact form button {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-start;
  font-family: 'Lato', sans-serif;
  transition: opacity 0.2s, transform 0.2s;
}
#contact form button:hover { opacity: 0.85; transform: translateY(-1px); }

#contact ul li strong { color: var(--brown); }
#contact a { color: var(--brown); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

/* ── WHATSAPP BUTTON ── */
.whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25D366;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  z-index: 999;
  transition: transform 0.2s;
}
.whatsapp:hover { transform: scale(1.12); }

/* ── HERO IMAGE FLOAT ── */
.anchor-img {
  float: right;
  margin: 0 0 16px 20px;
  width: 280px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

/* ── SCROLL REVEAL ── */
.fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s, transform 0.9s;
}
.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .anchor-img { float: none; width: 100%; margin: 0 0 16px; }
  .team-card .photo-col { min-height: 220px; }
}
