:root {
  /* Distinct sibling palette: teal/emerald primary (vs FTS navy) */
  --primary: #0f766e;
  --primary-dark: #064e46;
  --primary-light: #14b8a6;
  --accent: #f59e0b;
  --ink: #0b1220;
  --ink-2: #1e293b;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b1220;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: 'Sora', 'Inter', sans-serif; color: var(--ink); margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.1rem; }
.muted { color: var(--muted); }
.mt-2 { margin-top: .5rem; }
.small { font-size: .85em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.d-flex { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-dark);
  color: #cbd5e1;
  font-size: .85rem;
  padding: .5rem 0;
}
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar-left span { margin-right: 1.25rem; }
.topbar-left i, .topbar-right i { color: var(--primary-light); margin-right: .35rem; }
@media (max-width: 720px) { .topbar-right { display: none; } }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; padding-bottom: .9rem; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.1rem;
  border-radius: 10px;
  letter-spacing: -1px;
}
.brand-mark .dot { color: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 800; }
.brand-text small { font-size: .75rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: .95rem;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.main-nav a.btn-cta { border: none; }

.btn, .btn-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary);
  color: #fff !important;
  padding: .7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: transform .1s, background .15s, border-color .15s;
}
.btn:hover, .btn-cta:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff !important; }
.btn-light {
  background: #fff;
  color: var(--primary) !important;
  border-color: #fff;
}
.btn-light:hover { background: var(--bg-alt); border-color: var(--bg-alt); color: var(--primary-dark) !important; }

.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .main-nav a.btn-cta { margin-top: .75rem; text-align: center; justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #e2e8f0; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #94a3b8; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(20, 184, 166, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(245, 158, 11, 0.08), transparent 60%),
    linear-gradient(135deg, #0b1220 0%, #0f172a 50%, #064e46 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.6), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: #cbd5e1; font-size: 1.1rem; max-width: 56ch; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: var(--primary-light);
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .8rem; font-weight: 500;
  margin-bottom: 1.25rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(10px);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.hero-card li { display: flex; align-items: flex-start; gap: .6rem; color: #cbd5e1; font-size: .95rem; }
.hero-card li i { color: var(--primary-light); margin-top: .2rem; }

@media (max-width: 900px) {
  .hero { padding: 4rem 0 3rem; }
  .hero .container { grid-template-columns: 1fr; }
}

/* ---------- Pillars / Services grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20,184,166,.15), rgba(15,118,110,.15));
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.pillar {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.pillar.pillar-it { border-top-color: var(--accent); }
.pillar.pillar-it .icon-big { color: var(--accent); background: rgba(245,158,11,.12); }
.pillar .icon-big {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: rgba(15,118,110,.1);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.pillar ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.pillar ul li { padding: .45rem 0; display: flex; align-items: center; gap: .55rem; color: var(--ink-2); }
.pillar ul li i { color: var(--primary); }
.pillar.pillar-it ul li i { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat .num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat .label { color: #94a3b8; font-size: .9rem; margin-top: .5rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #d1fae5; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- Page banner ---------- */
.page-banner {
  background: linear-gradient(135deg, #0b1220 0%, #064e46 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: .5rem; }
.page-banner p { color: #cbd5e1; max-width: 60ch; margin: 0 auto; }
.breadcrumbs { font-size: .85rem; color: #94a3b8; margin-top: .75rem; }
.breadcrumbs a { color: var(--primary-light); }

/* ---------- About blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .feature-img {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: 5rem;
  box-shadow: var(--shadow-md);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--bg-dark);
  color: #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-info-card li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-info-card li i {
  color: var(--primary-light);
  font-size: 1.2rem;
  margin-top: .2rem;
}
.contact-info-card a { color: #e2e8f0; }
.contact-info-card a:hover { color: var(--primary-light); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1rem; }
label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; color: var(--ink-2); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,118,110,.15);
}
textarea { resize: vertical; min-height: 140px; }

.alert {
  padding: .85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.alert-success { background: #d1fae5; color: #064e46; border: 1px solid #6ee7b7; }
.alert-danger { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }

/* ---------- Projects ---------- */
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card .project-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8); font-size: 3rem;
}
.project-card .project-img.it { background: linear-gradient(135deg, #1e293b, var(--accent)); }
.project-card .project-body { padding: 1.5rem; }
.project-card .tag {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary);
  background: rgba(15,118,110,.1);
  padding: .25rem .6rem; border-radius: 999px;
  margin-bottom: .75rem;
}
.project-card .tag.it { color: var(--accent); background: rgba(245,158,11,.1); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 4rem 0 0;
  margin-top: 4rem;
}
.site-footer h5 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: var(--primary-light); }
.footer-links i { color: var(--primary-light); margin-right: .35rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #94a3b8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  font-size: .85rem;
}
.footer-bottom .muted { color: #94a3b8; }
.footer-bottom a { color: var(--primary-light); }

/* ---------- Hero with photo overlay ---------- */
.hero-with-image {
  background:
    linear-gradient(135deg, rgba(11,18,32,.90) 0%, rgba(6,78,70,.88) 60%, rgba(11,18,32,.92) 100%),
    var(--hero-bg) center/cover no-repeat;
}

/* ---------- Page banner with photo ---------- */
.page-banner {
  background:
    linear-gradient(135deg, rgba(11,18,32,.85), rgba(6,78,70,.85)),
    var(--banner-bg, none) center/cover no-repeat;
}

/* ---------- Showcase cards with photo ---------- */
.showcase-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  color: inherit;
}
.showcase-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}
.showcase-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.showcase-card:hover .showcase-img img { transform: scale(1.05); }
.showcase-body { padding: 1.5rem; }
.showcase-body h3 { margin-bottom: .5rem; color: var(--ink); }
.showcase-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Photo-variant feature image (replaces gradient placeholder) */
.feature-img.feature-img-photo {
  padding: 0;
  overflow: hidden;
  background: none;
  color: inherit;
  font-size: 0;
}
.feature-img.feature-img-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Photo-variant project image */
.project-img.project-img-photo {
  padding: 0;
  overflow: hidden;
  background: none;
  color: inherit;
  font-size: 0;
}
.project-img.project-img-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 99;
  transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff !important; }
